Searched defs:tmp_dir (Results 1 - 5 of 5) sorted by relevance
/systemd/src/test/ |
H A D | test-conf-files.c | 34 static void setup_test_dir(char *tmp_dir, const char *files, ...) { argument 37 assert_se(mkdtemp(tmp_dir) != NULL); 41 _cleanup_free_ char *path = strappend(tmp_dir, files); 49 char tmp_dir[] = "/tmp/test-conf-files-XXXXXX"; local 53 setup_test_dir(tmp_dir, 60 root_dir = tmp_dir; 65 search_1 = strjoina(tmp_dir, "/dir1"); 66 search_2 = strjoina(tmp_dir, "/dir2"); 69 expect_a = strjoina(tmp_dir, "/dir1/a.conf"); 70 expect_b = strjoina(tmp_dir, "/dir [all...] |
H A D | test-ns.c | 47 char tmp_dir[] = "/tmp/systemd-private-XXXXXX", local 50 assert_se(mkdtemp(tmp_dir)); 69 tmp_dir,
|
H A D | test-path-util.c | 225 char tmp_dir[] = "/tmp/test-path-util-XXXXXX"; local 230 assert_se(mkdtemp(tmp_dir) != NULL); 235 char *p = strappend(tmp_dir, *d); 244 path_strv_resolve(search_dirs, tmp_dir); 249 assert_se(rm_rf(tmp_dir, REMOVE_ROOT|REMOVE_PHYSICAL) == 0); 301 char tmp_dir[] = "/tmp/test-path-is-mount-point-XXXXXX"; local 332 assert_se(mkdtemp(tmp_dir) != NULL); 333 file1 = path_join(NULL, tmp_dir, "file1"); 335 file2 = path_join(NULL, tmp_dir, "file2"); 343 link1 = path_join(NULL, tmp_dir, "link [all...] |
/systemd/src/core/ |
H A D | namespace.c | 345 const char *tmp_dir, 372 what = tmp_dir; 423 const char* tmp_dir, 441 n = !!tmp_dir + !!var_tmp_dir + !!bus_endpoint_path + 464 if (tmp_dir) { 540 r = apply_mount(m, tmp_dir, var_tmp_dir); 620 int setup_tmp_dirs(const char *id, char **tmp_dir, char **var_tmp_dir) { argument 625 assert(tmp_dir); 644 *tmp_dir = a; 343 apply_mount( BindMount *m, const char *tmp_dir, const char *var_tmp_dir) argument 418 setup_namespace( const char* root_directory, char** read_write_dirs, char** read_only_dirs, char** inaccessible_dirs, const char* tmp_dir, const char* var_tmp_dir, const char* bus_endpoint_path, bool private_dev, ProtectHome protect_home, ProtectSystem protect_system, unsigned long mount_flags) argument
|
H A D | execute.h | 91 char *tmp_dir; member in struct:ExecRuntime
|
Completed in 28 milliseconds