/systemd/src/analyze/ |
H A D | analyze-verify.h | 26 int verify_units(char **filenames, ManagerRunningAs running_as, bool check_man);
|
H A D | analyze-verify.c | 234 int verify_units(char **filenames, ManagerRunningAs running_as, bool check_man) { argument 258 r = manager_new(running_as, true, &m);
|
/systemd/src/test/ |
H A D | test-path-lookup.c | 29 static void test_paths(ManagerRunningAs running_as, bool personal) { argument 42 assert_se(lookup_paths_init(&lp_without_env, running_as, personal, NULL, exists, not, not) == 0); 50 assert_se(lookup_paths_init(&lp_with_env, running_as, personal, NULL, exists, not, not) == 0); 57 static void print_generator_paths(ManagerRunningAs running_as) { argument 61 log_info("Generators dirs (%s):", running_as == MANAGER_SYSTEM ? "system" : "user"); 63 paths = generator_paths(running_as);
|
/systemd/src/shared/ |
H A D | path-lookup.h | 43 char **generator_paths(ManagerRunningAs running_as); 46 ManagerRunningAs running_as,
|
H A D | path-lookup.c | 223 char **generator_paths(ManagerRunningAs running_as) { argument 224 if (running_as == MANAGER_USER) 240 ManagerRunningAs running_as, 282 if (running_as == MANAGER_USER) { 341 if (running_as == MANAGER_SYSTEM) { 238 lookup_paths_init( LookupPaths *p, ManagerRunningAs running_as, bool personal, const char *root_dir, const char *generator, const char *generator_early, const char *generator_late) argument
|
/systemd/src/core/ |
H A D | failure-action.c | 50 if (m->running_as == MANAGER_USER) {
|
H A D | manager.c | 494 if (m->running_as == MANAGER_SYSTEM) 521 if (m->running_as == MANAGER_SYSTEM) { 550 int manager_new(ManagerRunningAs running_as, bool test_run, Manager **_m) { argument 566 assert(running_as >= 0); 567 assert(running_as < _MANAGER_RUNNING_AS_MAX); 574 if (running_as == MANAGER_SYSTEM && detect_container() <= 0) 578 m->running_as = running_as; 585 m->unit_log_field = unit_log_fields[running_as]; 586 m->unit_log_format_string = unit_log_format_strings[running_as]; [all...] |
H A D | dbus.c | 115 if (m->running_as == MANAGER_SYSTEM && m->system_bus) { 693 if (m->running_as == MANAGER_SYSTEM) { 867 if (m->running_as == MANAGER_SYSTEM && m->system_bus) 870 if (m->running_as == MANAGER_SYSTEM) 910 if (m->running_as == MANAGER_USER || m->kdbus_fd >= 0) { 935 if (m->running_as == MANAGER_SYSTEM && m->api_bus) { 986 if (m->running_as == MANAGER_SYSTEM) { 1085 if (m->running_as != MANAGER_SYSTEM)
|
H A D | manager.h | 231 ManagerRunningAs running_as; member in struct:Manager 310 int manager_new(ManagerRunningAs running_as, bool test_run, Manager **m);
|
H A D | dbus-manager.c | 1190 if (m->running_as != MANAGER_SYSTEM) 1209 if (m->running_as != MANAGER_SYSTEM) 1228 if (m->running_as != MANAGER_SYSTEM) 1247 if (m->running_as != MANAGER_SYSTEM) 1268 if (m->running_as != MANAGER_SYSTEM) 1436 if (m->running_as == MANAGER_SYSTEM && detect_container() <= 0) 1469 r = unit_file_get_list(m->running_as == MANAGER_SYSTEM ? UNIT_FILE_SYSTEM : UNIT_FILE_USER, NULL, h); 1517 scope = m->running_as == MANAGER_SYSTEM ? UNIT_FILE_SYSTEM : UNIT_FILE_USER; 1541 scope = m->running_as == MANAGER_SYSTEM ? UNIT_FILE_SYSTEM : UNIT_FILE_USER; 1647 scope = m->running_as [all...] |
H A D | unit-printf.c | 143 if (u->manager->running_as == MANAGER_SYSTEM)
|
H A D | mount.c | 331 if (mount_is_auto(p) && UNIT(m)->manager->running_as == MANAGER_SYSTEM) 347 if (UNIT(m)->manager->running_as != MANAGER_SYSTEM) 393 if (UNIT(m)->manager->running_as != MANAGER_SYSTEM) 1388 if (m->running_as == MANAGER_SYSTEM) { 1416 if (m->running_as == MANAGER_SYSTEM &&
|
H A D | unit.c | 817 if (u->manager->running_as != MANAGER_SYSTEM) 2416 if (u->manager->running_as == MANAGER_SYSTEM) 2426 u->manager->running_as == MANAGER_SYSTEM && !unit_has_name(u, SPECIAL_INIT_SCOPE) 2887 u->manager->running_as == MANAGER_SYSTEM ? dep : UNIT_WANTS, 3165 u->manager->running_as == MANAGER_SYSTEM ? UNIT_FILE_SYSTEM : UNIT_FILE_USER, 3181 u->manager->running_as == MANAGER_SYSTEM ? UNIT_FILE_SYSTEM : UNIT_FILE_USER, 3232 if (u->manager->running_as == MANAGER_USER && 3244 if (u->manager->running_as == MANAGER_USER && 3325 if (u->manager->running_as == MANAGER_USER) {
|
H A D | busname.c | 152 if (UNIT(n)->manager->running_as == MANAGER_SYSTEM) { 321 mode = UNIT(n)->manager->running_as == MANAGER_SYSTEM ? "system" : "user";
|
H A D | timer.c | 112 if (UNIT(t)->manager->running_as == MANAGER_SYSTEM) { 138 if (UNIT(t)->manager->running_as == MANAGER_SYSTEM) {
|
H A D | device.c | 268 property = u->manager->running_as == MANAGER_USER ? "SYSTEMD_USER_WANTS" : "SYSTEMD_WANTS";
|
H A D | path.c | 323 if (UNIT(p)->manager->running_as == MANAGER_SYSTEM) {
|
H A D | cgroup.c | 1268 if (!e && m->running_as == MANAGER_SYSTEM) { 1321 } else if (m->running_as == MANAGER_SYSTEM) {
|
H A D | swap.c | 201 return unit_add_node_link(UNIT(s), s->what, UNIT(s)->manager->running_as == MANAGER_SYSTEM, UNIT_BINDS_TO); 217 if (UNIT(s)->manager->running_as != MANAGER_SYSTEM)
|
H A D | automount.c | 152 if (UNIT(a)->manager->running_as != MANAGER_SYSTEM)
|
H A D | job.c | 1151 if (j->unit->manager->running_as != MANAGER_SYSTEM)
|
H A D | main.c | 1886 if (m->running_as == MANAGER_USER) {
|
H A D | service.c | 528 if (UNIT(s)->manager->running_as == MANAGER_SYSTEM) { 1224 if (UNIT(s)->manager->running_as != MANAGER_SYSTEM) 1271 r = bus_kernel_create_endpoint(UNIT(s)->manager->running_as == MANAGER_SYSTEM ? "system" : "user",
|
H A D | socket.c | 304 if (UNIT(s)->manager->running_as == MANAGER_SYSTEM) {
|
H A D | load-fragment.c | 2592 if (!c->no_new_privileges_set && u->manager->running_as == MANAGER_USER)
|