Home
last modified time | relevance | path

Searched refs:FORK_DEATHSIG (Results 1 – 25 of 56) sorted by relevance

123

/systemd-251/src/test/
Dtest-socket-util.c161 r = safe_fork("(getpeercred)", FORK_DEATHSIG|FORK_LOG|FORK_WAIT, NULL); in TEST()
231 r = safe_fork("(passfd_read)", FORK_DEATHSIG|FORK_LOG|FORK_WAIT, NULL); in TEST()
273 r = safe_fork("(passfd_contents_read)", FORK_DEATHSIG|FORK_LOG|FORK_WAIT, NULL); in TEST()
320 r = safe_fork("(receive_nopassfd)", FORK_DEATHSIG|FORK_LOG|FORK_WAIT, NULL); in TEST()
356 r = safe_fork("(send_nodata_nofd)", FORK_DEATHSIG|FORK_LOG|FORK_WAIT, NULL); in TEST()
389 r = safe_fork("(send_emptydata)", FORK_DEATHSIG|FORK_LOG|FORK_WAIT, NULL); in TEST()
Dtest-fd-util.c328 r = safe_fork("(caf-plain)", FORK_CLOSE_ALL_FDS|FORK_DEATHSIG|FORK_LOG|FORK_WAIT, NULL); in TEST()
340 …r = safe_fork("(caf-noproc)", FORK_CLOSE_ALL_FDS|FORK_DEATHSIG|FORK_LOG|FORK_WAIT|FORK_NEW_MOUNTNS… in TEST()
356 r = safe_fork("(caf-seccomp)", FORK_CLOSE_ALL_FDS|FORK_DEATHSIG|FORK_LOG|FORK_WAIT, NULL); in TEST()
368 …r = safe_fork("(caf-scnp)", FORK_CLOSE_ALL_FDS|FORK_DEATHSIG|FORK_LOG|FORK_WAIT|FORK_NEW_MOUNTNS|F… in TEST()
Dtest-rm-rf.c48 r = safe_fork("(setresuid)", FORK_DEATHSIG|FORK_WAIT, NULL); in TEST()
Dtest-data-fd-util.c118 r = safe_fork("(sd-pipe)", FORK_RESET_SIGNALS|FORK_DEATHSIG|FORK_LOG, &pid); in TEST()
/systemd-251/src/shared/
Dexec-util.c46 r = safe_fork("(direxec)", FORK_DEATHSIG|FORK_LOG, &_pid); in do_spawn()
228 r = safe_fork("(sd-executor)", FORK_RESET_SIGNALS|FORK_DEATHSIG|FORK_LOG, &executor_pid); in execute_directories()
495 FORK_RESET_SIGNALS|FORK_DEATHSIG|FORK_CLOSE_ALL_FDS|FORK_REOPEN_LOG, in fork_agent()
Dmkfs-util.c149 …r = safe_fork("(mkfs)", FORK_RESET_SIGNALS|FORK_RLIMIT_NOFILE_SAFE|FORK_DEATHSIG|FORK_LOG|FORK_WAI… in make_filesystem()
Dpager.c321 …r = safe_fork("(man)", FORK_RESET_SIGNALS|FORK_DEATHSIG|(null_stdio ? FORK_NULL_STDIO : 0)|FORK_RL… in show_man_page()
/systemd-251/src/import/
Dimport-common.c40 r = safe_fork("(tar)", FORK_RESET_SIGNALS|FORK_DEATHSIG|FORK_LOG, &pid); in import_fork_tar_x()
113 r = safe_fork("(tar)", FORK_RESET_SIGNALS|FORK_DEATHSIG|FORK_LOG, &pid); in import_fork_tar_c()
/systemd-251/src/quotacheck/
Dquotacheck.c83 …r = safe_fork("(quotacheck)", FORK_RESET_SIGNALS|FORK_DEATHSIG|FORK_RLIMIT_NOFILE_SAFE|FORK_WAIT|F… in run()
/systemd-251/src/udev/
Dudevadm-lock.c259 r = safe_fork("(timed-flock)", FORK_DEATHSIG|FORK_LOG, &flock_pid); in lock_device()
384 …r = safe_fork("(lock)", FORK_RESET_SIGNALS|FORK_DEATHSIG|FORK_CLOSE_ALL_FDS|FORK_RLIMIT_NOFILE_SAF… in lock_main()
/systemd-251/src/resolve/
Dtest-resolved-stream.c151 … FORK_RESET_SIGNALS|FORK_CLOSE_ALL_FDS|FORK_DEATHSIG|FORK_LOG|FORK_REOPEN_LOG, &openssl_pid); in tls_dns_server()
340 r = safe_fork("(usernstest)", FORK_DEATHSIG|FORK_LOG|FORK_WAIT, NULL); in try_isolate_network()
/systemd-251/src/sulogin-shell/
Dsulogin-shell.c74 …r = safe_fork("(sulogin)", FORK_RESET_SIGNALS|FORK_DEATHSIG|FORK_RLIMIT_NOFILE_SAFE|FORK_LOG, &pid… in fork_wait()
/systemd-251/src/libsystemd/sd-bus/
Dbus-container.c55 … r = namespace_fork("(sd-buscntrns)", "(sd-buscntr)", NULL, 0, FORK_RESET_SIGNALS|FORK_DEATHSIG, in bus_container_connect_socket()
/systemd-251/src/basic/
Dprocess-util.c1234 if (flags & (FORK_RESET_SIGNALS|FORK_DEATHSIG)) { in safe_fork_full()
1307 if (flags & (FORK_DEATHSIG|FORK_DEATHSIG_SIGINT)) in safe_fork_full()
1333 if (flags & FORK_DEATHSIG) { in safe_fork_full()
1422 …r = safe_fork_full(outer_name, except_fds, n_except_fds, (flags|FORK_DEATHSIG) & ~(FORK_REOPEN_LOG… in namespace_fork()
Dnamespace-util.c197 r = safe_fork("(sd-mkuserns)", FORK_CLOSE_ALL_FDS|FORK_DEATHSIG|FORK_NEW_USERNS, &pid); in userns_acquire()
Dprocess-util.h141 FORK_DEATHSIG = 1 << 2, /* Set PR_DEATHSIG in the child to SIGTERM */ enumerator
/systemd-251/src/remount-fs/
Dremount-fs.c55 FORK_RESET_SIGNALS|FORK_DEATHSIG|FORK_RLIMIT_NOFILE_SAFE|FORK_LOG, &pid); in do_remount()
/systemd-251/src/systemctl/
Dsystemctl-start-special.c87 …r = safe_fork("(kexec)", FORK_WAIT|FORK_RESET_SIGNALS|FORK_DEATHSIG|FORK_RLIMIT_NOFILE_SAFE|FORK_L… in load_kexec_kernel()
Dsystemctl-sysv-compat.c212 …j = safe_fork("(sysv-install)", FORK_RESET_SIGNALS|FORK_DEATHSIG|FORK_RLIMIT_NOFILE_SAFE|FORK_LOG,… in enable_sysv_units()
/systemd-251/src/login/
Dlogind-brightness.c140 …r = safe_fork("(sd-bright)", FORK_DEATHSIG|FORK_NULL_STDIO|FORK_CLOSE_ALL_FDS|FORK_LOG|FORK_REOPEN… in brightness_writer_fork()
Dinhibit.c315 …r = safe_fork("(inhibit)", FORK_RESET_SIGNALS|FORK_DEATHSIG|FORK_CLOSE_ALL_FDS|FORK_RLIMIT_NOFILE_… in run()
/systemd-251/src/nspawn/
Dnspawn-setuid.c33 r = safe_fork("(getent)", FORK_RESET_SIGNALS|FORK_DEATHSIG|FORK_LOG, &pid); in spawn_getent()
/systemd-251/src/home/
Dhomework-cifs.c89 …r = safe_fork("(mount)", FORK_RESET_SIGNALS|FORK_RLIMIT_NOFILE_SAFE|FORK_DEATHSIG|FORK_LOG|FORK_ST… in home_setup_cifs()
/systemd-251/src/userdb/
Duserdbd-manager.c157 r = safe_fork("(sd-worker)", FORK_RESET_SIGNALS|FORK_DEATHSIG|FORK_LOG, &pid); in start_one_worker()
/systemd-251/src/machine/
Dmachine-dbus.c264 … r = namespace_fork("(sd-addrns)", "(sd-addr)", NULL, 0, FORK_RESET_SIGNALS|FORK_DEATHSIG, in bus_machine_method_get_addresses()
399 … r = namespace_fork("(sd-osrelns)", "(sd-osrel)", NULL, 0, FORK_RESET_SIGNALS|FORK_DEATHSIG, in bus_machine_method_get_os_release()
1102 … r = namespace_fork("(sd-openrootns)", "(sd-openroot)", NULL, 0, FORK_RESET_SIGNALS|FORK_DEATHSIG, in bus_machine_method_open_root_directory()

123