Home
last modified time | relevance | path

Searched refs:runtime_dir (Results 1 – 17 of 17) sorted by relevance

/systemd-251/src/test/
Dtest-unit-serialize.c7 static char *runtime_dir = NULL; variable
9 STATIC_DESTRUCTOR_REGISTER(runtime_dir, rm_rf_physical_and_freep);
59 assert_se(runtime_dir = setup_fake_runtime_dir()); in intro()
Dtest-sched-prio.c15 _cleanup_(rm_rf_physical_and_freep) char *runtime_dir = NULL; in main()
31 assert_se(runtime_dir = setup_fake_runtime_dir()); in main()
Dtest-watch-pid.c10 _cleanup_(rm_rf_physical_and_freep) char *runtime_dir = NULL; in main()
27 assert_se(runtime_dir = setup_fake_runtime_dir()); in main()
Dtest-bpf-lsm.c63 _cleanup_(rm_rf_physical_and_freep) char *runtime_dir = NULL; in main()
90 assert_se(runtime_dir = setup_fake_runtime_dir()); in main()
Dtest-cgroup-unit-default.c12 _cleanup_(rm_rf_physical_and_freep) char *runtime_dir = NULL;
28 assert_se(runtime_dir = setup_fake_runtime_dir());
Dtest-socket-bind.c103 _cleanup_(rm_rf_physical_and_freep) char *runtime_dir = NULL; in main()
136 assert_se(runtime_dir = setup_fake_runtime_dir()); in main()
Dtest-cgroup-mask.c30 _cleanup_(rm_rf_physical_and_freep) char *runtime_dir = NULL;
44 assert_se(runtime_dir = setup_fake_runtime_dir());
Dtest-bpf-firewall.c25 _cleanup_(rm_rf_physical_and_freep) char *runtime_dir = NULL; in main()
56 assert_se(runtime_dir = setup_fake_runtime_dir()); in main()
Dtest-bpf-foreign-programs.c271 _cleanup_(rm_rf_physical_and_freep) char *runtime_dir = NULL; in main()
302 assert_se(runtime_dir = setup_fake_runtime_dir()); in main()
Dtest-path.c387 _cleanup_(rm_rf_physical_and_freep) char *runtime_dir = NULL; in main()
395 assert_se(runtime_dir = setup_fake_runtime_dir()); in main()
Dtest-engine.c75 _cleanup_(rm_rf_physical_and_freep) char *runtime_dir = NULL; in main()
94 assert_se(runtime_dir = setup_fake_runtime_dir()); in main()
Dtest-unit-name.c27 static char *runtime_dir = NULL; variable
29 STATIC_DESTRUCTOR_REGISTER(runtime_dir, rm_rf_physical_and_freep);
950 assert_se(runtime_dir = setup_fake_runtime_dir()); in intro()
Dtest-load-fragment.c34 static char *runtime_dir = NULL; variable
36 STATIC_DESTRUCTOR_REGISTER(runtime_dir, rm_rf_physical_and_freep);
1000 assert_se(runtime_dir = setup_fake_runtime_dir()); in intro()
Dtest-execute.c1149 _cleanup_(rm_rf_physical_and_freep) char *runtime_dir = NULL; in main()
1233 assert_se(runtime_dir = setup_fake_runtime_dir()); in main()
1234 assert_se(user_runtime_unit_dir = path_join(runtime_dir, "systemd/user")); in main()
/systemd-251/src/shared/
Dmount-util.c511 const char *runtime_dir, in mode_to_inaccessible_node() argument
531 if (!runtime_dir) in mode_to_inaccessible_node()
532 runtime_dir = "/run"; in mode_to_inaccessible_node()
562 d = path_join(runtime_dir, node); in mode_to_inaccessible_node()
577 d = path_join(runtime_dir, "/systemd/inaccessible/chr"); in mode_to_inaccessible_node()
585 d = path_join(runtime_dir, "/systemd/inaccessible/sock"); in mode_to_inaccessible_node()
Dmount-util.h96 int mode_to_inaccessible_node(const char *runtime_dir, mode_t mode, char **dest);
/systemd-251/src/core/
Dnamespace.c1309 const char *runtime_dir; in apply_one_mount() local
1326 runtime_dir = "/run"; in apply_one_mount()
1331 runtime_dir = tmp; in apply_one_mount()
1334 r = mode_to_inaccessible_node(runtime_dir, target.st_mode, &inaccessible); in apply_one_mount()