Home
last modified time | relevance | path

Searched refs:MANAGER_IS_SYSTEM (Results 1 – 20 of 20) sorted by relevance

/systemd-251/src/core/
Dmanager.c614 if (MANAGER_IS_SYSTEM(m)) in manager_setup_signals()
660 if (MANAGER_IS_SYSTEM(m)) { in manager_default_environment()
714 const struct table_entry *p = MANAGER_IS_SYSTEM(m) ? paths_system : paths_user; in manager_setup_prefix()
866 if (MANAGER_IS_SYSTEM(m) && detect_container() <= 0) in manager_new()
873 if (MANAGER_IS_SYSTEM(m)) { in manager_new()
954 if (MANAGER_IS_SYSTEM(m) && lsm_bpf_supported(/* initialize = */ true)) { in manager_new()
963 if (MANAGER_IS_SYSTEM(m)) in manager_new()
1077 if (!MANAGER_IS_SYSTEM(m)) in manager_setup_cgroups_agent()
1711 if (MANAGER_IS_SYSTEM(m)) in manager_setup_bus()
1724 if (!MANAGER_IS_SYSTEM(m)) in manager_preset_all()
[all …]
Dcore-varlink.c99 if (MANAGER_IS_SYSTEM(u->manager)) { in manager_varlink_send_managed_oom_update()
136 if (MANAGER_IS_SYSTEM(u->manager)) in manager_varlink_send_managed_oom_update()
237 if (MANAGER_IS_SYSTEM(m)) in manager_varlink_send_managed_oom_initial()
486 if (!MANAGER_IS_SYSTEM(m)) in manager_varlink_init_system()
592 return MANAGER_IS_SYSTEM(m) ? manager_varlink_init_system(m) : manager_varlink_init_user(m); in manager_varlink_init()
Ddbus.c77 if (!MANAGER_IS_SYSTEM(m)) in bus_forward_agent_released()
823 if (MANAGER_IS_SYSTEM(m) && m->system_bus) in bus_init_api()
826 if (MANAGER_IS_SYSTEM(m)) in bus_init_api()
883 if (MANAGER_IS_SYSTEM(m) && m->api_bus) in bus_init_system()
920 if (MANAGER_IS_SYSTEM(m)) { in bus_init_private()
1019 if (!MANAGER_IS_SYSTEM(m)) in destroy_bus()
Dslice.c129 if (!MANAGER_IS_SYSTEM(u->manager)) in slice_load_system_slice()
346 if (MANAGER_IS_SYSTEM(m)) in slice_enumerate_perpetual()
Dtimer.c96 if (MANAGER_IS_SYSTEM(UNIT(t)->manager)) { in timer_add_default_dependencies()
143 if (MANAGER_IS_SYSTEM(UNIT(t)->manager)) { in timer_setup_persistent()
197 siphash24_compress_boolean(MANAGER_IS_SYSTEM(UNIT(t)->manager), &state); in timer_get_fixed_delay_hash()
Ddbus-manager.c1547 if (!MANAGER_IS_SYSTEM(m)) in method_reboot()
1567 if (!MANAGER_IS_SYSTEM(m)) in method_poweroff()
1587 if (!MANAGER_IS_SYSTEM(m)) in method_halt()
1607 if (!MANAGER_IS_SYSTEM(m)) in method_kexec()
1642 if (!MANAGER_IS_SYSTEM(m)) in method_switch_root()
1831 if (MANAGER_IS_SYSTEM(m) && detect_container() <= 0) in method_set_exit_code()
1852 if (!MANAGER_IS_SYSTEM(m)) in method_lookup_dynamic_user_by_name()
1883 if (!MANAGER_IS_SYSTEM(m)) in method_lookup_dynamic_user_by_uid()
1911 if (!MANAGER_IS_SYSTEM(m)) in method_get_dynamic_users()
Dunit.c196 if (MANAGER_IS_SYSTEM(u->manager)) in unit_init()
1282 if (!MANAGER_IS_SYSTEM(u->manager)) in unit_add_exec_dependencies()
3374 if (MANAGER_IS_SYSTEM(u->manager)) in unit_set_default_slice()
3384 else if (MANAGER_IS_SYSTEM(u->manager)) in unit_set_default_slice()
3588 MANAGER_IS_SYSTEM(u->manager) ? dep : UNIT_WANTS, in unit_add_node_dependency()
5029 … SET_FLAG(p->flags, EXEC_PASS_LOG_UNIT|EXEC_CHOWN_DIRECTORIES, MANAGER_IS_SYSTEM(u->manager)); in unit_set_exec_params()
5176 if (MANAGER_IS_SYSTEM(u->manager)) in unit_get_invocation_path()
5378 if (!MANAGER_IS_SYSTEM(u->manager)) in unit_export_state_files()
5409 if (!MANAGER_IS_SYSTEM(u->manager)) in unit_unlink_state_files()
Dmanager.h467 #define MANAGER_IS_SYSTEM(m) ((m)->unit_file_scope == LOOKUP_SCOPE_SYSTEM) macro
Dcgroup.c793 if (!MANAGER_IS_SYSTEM(u->manager)) in cgroup_xattr_apply()
2257 if (MANAGER_IS_SYSTEM(u->manager)) in unit_attach_pid_to_cgroup_via_bus()
3363 if (!e && MANAGER_IS_SYSTEM(m)) { in manager_setup_cgroup()
3443 … } else if (MANAGER_IS_SYSTEM(m) && manager_owns_host_root_cgroup(m) && !MANAGER_IS_TEST_RUN(m)) { in manager_setup_cgroup()
Dpath.c329 if (MANAGER_IS_SYSTEM(UNIT(p)->manager)) { in path_add_default_dependencies()
Ddbus-service.c111 if (!MANAGER_IS_SYSTEM(u->manager)) in bus_service_method_mount()
Dautomount.c155 if (!MANAGER_IS_SYSTEM(UNIT(a)->manager)) in automount_add_default_dependencies()
Dservice.c121 s->exec_context.keyring_mode = MANAGER_IS_SYSTEM(u->manager) ? in service_init()
643 if (MANAGER_IS_SYSTEM(UNIT(s)->manager)) { in service_add_default_dependencies()
1654MANAGER_IS_SYSTEM(UNIT(s)->manager) && unit_has_name(UNIT(s), SPECIAL_DBUS_SERVICE)); in service_spawn_internal()
Djob.c1325 if (!MANAGER_IS_SYSTEM(j->unit->manager)) in job_shutdown_magic()
Dswap.c263 if (!MANAGER_IS_SYSTEM(UNIT(s)->manager)) in swap_add_default_dependencies()
Dmount.c407 if (!MANAGER_IS_SYSTEM(UNIT(m)->manager)) in mount_add_quota_dependencies()
Ddbus-unit.c2001 system = MANAGER_IS_SYSTEM(u->manager); in bus_set_transient_emergency_action()
Dload-fragment.c5641 r = parse_emergency_action(rvalue, MANAGER_IS_SYSTEM(m), x); in config_parse_emergency_action()
5656 lvalue, MANAGER_IS_SYSTEM(m) ? "user" : "system", rvalue); in config_parse_emergency_action()
Dexecute.c3613 if (MANAGER_IS_SYSTEM(u->manager)) { in apply_mount_namespace()
4253 …setenv("SYSTEMD_ACTIVATION_SCOPE", MANAGER_IS_SYSTEM(unit->manager) ? "system" : "user", true) != … in exec_child()
Dsocket.c275 if (MANAGER_IS_SYSTEM(UNIT(s)->manager)) { in socket_add_default_dependencies()