Lines Matching refs:ExecContext

185 static const char *exec_context_tty_path(const ExecContext *context) {  in exec_context_tty_path()
197 static void exec_context_tty_reset(const ExecContext *context, const ExecParameters *p) { in exec_context_tty_reset()
245 static bool exec_context_needs_term(const ExecContext *c) { in exec_context_needs_term()
328 const ExecContext *context, in connect_logger_as()
437 const ExecContext *context, in fixup_input()
468 const ExecContext *context, in setup_input()
564 const ExecContext *context, in can_inherit_stderr_from_stdout()
589 const ExecContext *context, in setup_output()
771 const ExecContext *context, in setup_confirm_stdio()
867 static int ask_for_confirmation(const ExecContext *context, const char *vc, Unit *u, const char *cm… in ask_for_confirmation()
954 static int get_fixed_user(const ExecContext *c, const char **user, in get_fixed_user()
977 static int get_fixed_group(const ExecContext *c, const char **group, gid_t *gid) { in get_fixed_group()
995 static int get_supplementary_groups(const ExecContext *c, const char *user, in get_supplementary_groups()
1116 static int enforce_user(const ExecContext *context, uid_t uid) { in enforce_user()
1416 static bool context_has_address_families(const ExecContext *c) { in context_has_address_families()
1423 static bool context_has_syscall_filters(const ExecContext *c) { in context_has_syscall_filters()
1430 static bool context_has_syscall_logs(const ExecContext *c) { in context_has_syscall_logs()
1437 static bool context_has_no_new_privileges(const ExecContext *c) { in context_has_no_new_privileges()
1464 static bool exec_context_has_credentials(const ExecContext *context) { in exec_context_has_credentials()
1483 static int apply_syscall_filter(const Unit* u, const ExecContext *c, bool needs_ambient_hack) { in apply_syscall_filter()
1515 static int apply_syscall_log(const Unit* u, const ExecContext *c) { in apply_syscall_log()
1548 static int apply_syscall_archs(const Unit *u, const ExecContext *c) { in apply_syscall_archs()
1561 static int apply_address_families(const Unit* u, const ExecContext *c) { in apply_address_families()
1574 static int apply_memory_deny_write_execute(const Unit* u, const ExecContext *c) { in apply_memory_deny_write_execute()
1587 static int apply_restrict_realtime(const Unit* u, const ExecContext *c) { in apply_restrict_realtime()
1600 static int apply_restrict_suid_sgid(const Unit* u, const ExecContext *c) { in apply_restrict_suid_sgid()
1613 static int apply_protect_sysctl(const Unit *u, const ExecContext *c) { in apply_protect_sysctl()
1629 static int apply_protect_kernel_modules(const Unit *u, const ExecContext *c) { in apply_protect_kernel_modules()
1644 static int apply_protect_kernel_logs(const Unit *u, const ExecContext *c) { in apply_protect_kernel_logs()
1657 static int apply_protect_clock(const Unit *u, const ExecContext *c) { in apply_protect_clock()
1670 static int apply_private_devices(const Unit *u, const ExecContext *c) { in apply_private_devices()
1685 static int apply_restrict_namespaces(const Unit *u, const ExecContext *c) { in apply_restrict_namespaces()
1698 static int apply_lock_personality(const Unit* u, const ExecContext *c) { in apply_lock_personality()
1727 static int apply_restrict_filesystems(Unit *u, const ExecContext *c) { in apply_restrict_filesystems()
1744 static int apply_protect_hostname(const Unit *u, const ExecContext *c, int *ret_exit_status) { in apply_protect_hostname()
1811 const ExecContext *c, in build_environment()
2003 static int build_pass_environment(const ExecContext *c, char ***ret) { in build_pass_environment()
2031 const ExecContext *context, in exec_needs_mount_namespace()
2266 static bool exec_directory_is_private(const ExecContext *context, ExecDirectoryType type) { in exec_directory_is_private()
2309 const ExecContext *context, in setup_exec_directory()
2635 const ExecContext *context, in load_credential()
2779 const ExecContext *context;
2841 const ExecContext *context, in acquire_credentials()
2977 const ExecContext *context, in setup_credentials_internal()
3127 const ExecContext *context, in setup_credentials()
3250 const ExecContext *context, in setup_smack()
3281 const ExecContext *context, in compile_bind_mounts()
3423 const ExecContext *context, in compile_symlinks()
3474 const ExecContext *context, in insist_on_sandboxing()
3517 const ExecContext *context, in apply_mount_namespace()
3695 const ExecContext *context, in apply_working_directory()
3731 const ExecContext *context, in apply_root_directory()
3751 const ExecContext *context, in setup_keyring()
3943 static int acquire_home(const ExecContext *c, uid_t uid, const char** home, char **buf) { in acquire_home()
3966 static int compile_suggested_paths(const ExecContext *c, const ExecParameters *p, char ***ret) { in compile_suggested_paths()
4039 static int exec_context_cpu_affinity_from_numa(const ExecContext *c, CPUSet *ret) { in exec_context_cpu_affinity_from_numa()
4060 bool exec_context_get_cpu_affinity_from_numa(const ExecContext *c) { in exec_context_get_cpu_affinity_from_numa()
4098 const ExecContext *context, in exec_child()
5165 static int exec_context_load_environment(const Unit *unit, const ExecContext *c, char ***l);
5166 static int exec_context_named_iofds(const ExecContext *c, const ExecParameters *p, int named_iofds[…
5170 const ExecContext *context, in exec_spawn()
5299 void exec_context_init(ExecContext *c) { in exec_context_init()
5325 void exec_context_done(ExecContext *c) { in exec_context_done()
5413 int exec_context_destroy_runtime_directory(const ExecContext *c, const char *runtime_prefix) { in exec_context_destroy_runtime_directory()
5451 int exec_context_destroy_credentials(const ExecContext *c, const char *runtime_prefix, const char *… in exec_context_destroy_credentials()
5522 const char* exec_context_fdname(const ExecContext *c, int fd_index) { in exec_context_fdname()
5551 const ExecContext *c, in exec_context_named_iofds()
5601 static int exec_context_load_environment(const Unit *unit, const ExecContext *c, char ***ret) { in exec_context_load_environment()
5691 static bool exec_context_may_touch_tty(const ExecContext *ec) { in exec_context_may_touch_tty()
5702 bool exec_context_may_touch_console(const ExecContext *ec) { in exec_context_may_touch_console()
5727 void exec_context_dump(const ExecContext *c, FILE* f, const char *prefix) { in exec_context_dump()
6202 bool exec_context_maintains_privileges(const ExecContext *c) { in exec_context_maintains_privileges()
6217 int exec_context_get_effective_ioprio(const ExecContext *c) { in exec_context_get_effective_ioprio()
6232 bool exec_context_get_effective_mount_apivfs(const ExecContext *c) { in exec_context_get_effective_mount_apivfs()
6246 void exec_context_free_log_extra_fields(ExecContext *c) { in exec_context_free_log_extra_fields()
6255 void exec_context_revert_tty(ExecContext *c) { in exec_context_revert_tty()
6299 ExecContext *c, in exec_context_get_clean_directories()
6356 int exec_context_get_clean_mask(ExecContext *c, ExecCleanMask *ret) { in exec_context_get_clean_mask()
6380 void exec_status_exit(ExecStatus *s, const ExecContext *context, pid_t pid, int code, int status) { in exec_status_exit()
6643 const ExecContext *c, in exec_runtime_make()
6687 int exec_runtime_acquire(Manager *m, const ExecContext *c, const char *id, bool create, ExecRuntime… in exec_runtime_acquire()