/systemd-251/src/test/ |
D | test-socket-util.c | 161 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()
|
D | test-fd-util.c | 328 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()
|
D | test-rm-rf.c | 48 r = safe_fork("(setresuid)", FORK_DEATHSIG|FORK_WAIT, NULL); in TEST()
|
D | test-data-fd-util.c | 118 r = safe_fork("(sd-pipe)", FORK_RESET_SIGNALS|FORK_DEATHSIG|FORK_LOG, &pid); in TEST()
|
/systemd-251/src/shared/ |
D | exec-util.c | 46 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()
|
D | mkfs-util.c | 149 …r = safe_fork("(mkfs)", FORK_RESET_SIGNALS|FORK_RLIMIT_NOFILE_SAFE|FORK_DEATHSIG|FORK_LOG|FORK_WAI… in make_filesystem()
|
D | pager.c | 321 …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/ |
D | import-common.c | 40 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/ |
D | quotacheck.c | 83 …r = safe_fork("(quotacheck)", FORK_RESET_SIGNALS|FORK_DEATHSIG|FORK_RLIMIT_NOFILE_SAFE|FORK_WAIT|F… in run()
|
/systemd-251/src/udev/ |
D | udevadm-lock.c | 259 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/ |
D | test-resolved-stream.c | 151 … 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/ |
D | sulogin-shell.c | 74 …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/ |
D | bus-container.c | 55 … r = namespace_fork("(sd-buscntrns)", "(sd-buscntr)", NULL, 0, FORK_RESET_SIGNALS|FORK_DEATHSIG, in bus_container_connect_socket()
|
/systemd-251/src/basic/ |
D | process-util.c | 1234 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()
|
D | namespace-util.c | 197 r = safe_fork("(sd-mkuserns)", FORK_CLOSE_ALL_FDS|FORK_DEATHSIG|FORK_NEW_USERNS, &pid); in userns_acquire()
|
D | process-util.h | 141 FORK_DEATHSIG = 1 << 2, /* Set PR_DEATHSIG in the child to SIGTERM */ enumerator
|
/systemd-251/src/remount-fs/ |
D | remount-fs.c | 55 FORK_RESET_SIGNALS|FORK_DEATHSIG|FORK_RLIMIT_NOFILE_SAFE|FORK_LOG, &pid); in do_remount()
|
/systemd-251/src/systemctl/ |
D | systemctl-start-special.c | 87 …r = safe_fork("(kexec)", FORK_WAIT|FORK_RESET_SIGNALS|FORK_DEATHSIG|FORK_RLIMIT_NOFILE_SAFE|FORK_L… in load_kexec_kernel()
|
D | systemctl-sysv-compat.c | 212 …j = safe_fork("(sysv-install)", FORK_RESET_SIGNALS|FORK_DEATHSIG|FORK_RLIMIT_NOFILE_SAFE|FORK_LOG,… in enable_sysv_units()
|
/systemd-251/src/login/ |
D | logind-brightness.c | 140 …r = safe_fork("(sd-bright)", FORK_DEATHSIG|FORK_NULL_STDIO|FORK_CLOSE_ALL_FDS|FORK_LOG|FORK_REOPEN… in brightness_writer_fork()
|
D | inhibit.c | 315 …r = safe_fork("(inhibit)", FORK_RESET_SIGNALS|FORK_DEATHSIG|FORK_CLOSE_ALL_FDS|FORK_RLIMIT_NOFILE_… in run()
|
/systemd-251/src/nspawn/ |
D | nspawn-setuid.c | 33 r = safe_fork("(getent)", FORK_RESET_SIGNALS|FORK_DEATHSIG|FORK_LOG, &pid); in spawn_getent()
|
/systemd-251/src/home/ |
D | homework-cifs.c | 89 …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/ |
D | userdbd-manager.c | 157 r = safe_fork("(sd-worker)", FORK_RESET_SIGNALS|FORK_DEATHSIG|FORK_LOG, &pid); in start_one_worker()
|
/systemd-251/src/machine/ |
D | machine-dbus.c | 264 … 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()
|