Home
last modified time | relevance | path

Searched refs:tempdir (Results 1 – 3 of 3) sorted by relevance

/systemd-251/src/analyze/
Danalyze-verify.c10 static int process_aliases(char *argv[], char *tempdir, char ***ret) { in process_aliases() argument
15 assert(tempdir); in process_aliases()
39 dst = path_join(tempdir, base); in process_aliases()
58 _cleanup_(rm_rf_physical_and_freep) char *tempdir = NULL; in verb_verify()
61 r = mkdtemp_malloc("/tmp/systemd-analyze-XXXXXX", &tempdir); in verb_verify()
65 r = process_aliases(argv, tempdir, &filenames); in verb_verify()
/systemd-251/src/basic/
Dpath-lookup.c236 const char *tempdir, in acquire_generator_dirs() argument
252 if (tempdir) in acquire_generator_dirs()
253 prefix = tempdir; in acquire_generator_dirs()
292 const char *tempdir, in acquire_transient_dir() argument
303 if (tempdir) in acquire_transient_dir()
304 transient = path_join(tempdir, "transient"); in acquire_transient_dir()
516 _cleanup_(rmdir_and_freep) char *tempdir = NULL; in lookup_paths_init()
553 r = mkdtemp_malloc("/tmp/systemd-temporary-XXXXXX", &tempdir); in lookup_paths_init()
571 r = acquire_generator_dirs(scope, tempdir, in lookup_paths_init()
578 r = acquire_transient_dir(scope, tempdir, &transient); in lookup_paths_init()
[all …]
/systemd-251/src/test/
Dtest-fs-util.c414 const char *tempdir, *name, *name2, *name_alias; in TEST() local
417 tempdir = strjoina(arg_test_dir ?: "/tmp", "/test-readlink_and_make_absolute"); in TEST()
418 name = strjoina(tempdir, "/original"); in TEST()
422 assert_se(mkdir_safe(tempdir, 0755, getuid(), getgid(), MKDIR_WARN_MODE) >= 0); in TEST()
435 assert_se(chdir(tempdir) >= 0); in TEST()
444 assert_se(rm_rf(tempdir, REMOVE_ROOT|REMOVE_PHYSICAL) >= 0); in TEST()