/freebsd/contrib/netbsd-tests/lib/libc/sys/ |
H A D | t_getlogin.c | 96 (void)setsid(); in ATF_TC_BODY() 139 (void)setsid(); in ATF_TC_BODY() 200 (void)setsid(); in ATF_TC_BODY()
|
/freebsd/sbin/init/ |
H A D | NOTES | 51 On setsid(): 54 It appears that neither getty nor login call setsid(), so init must 56 way that 'init' should work; it says that setsid() should be called 59 Process group leaders cannot call setsid() -- another reason to 60 fork! Of course setsid() causes the current process to become a 61 process group leader, so we can only call setsid() once. Note that
|
/freebsd/contrib/llvm-project/lldb/tools/lldb-server/ |
H A D | LLGSOptions.td | 42 def setsid: F<"setsid">, HelpText<"Run lldb-server in a new session.">, 44 def: Flag<["-"], "S">, Alias<setsid>,
|
/freebsd/contrib/libfido2/tools/ |
H A D | fido2-unprot.sh | 45 …RESIDENT_RPS=$(echo "${PIN}\n" | setsid -w ${FIDO_TOOLS_PREFIX}fido2-token -L -r $DEV_PATH | cut -… 52 …UNPROT_CREDS=$(echo "${PIN}\n" | setsid -w ${FIDO_TOOLS_PREFIX}fido2-token -L -k $RESIDENT_RP $DEV…
|
/freebsd/lib/libutil/ |
H A D | login_tty.c | 45 s = setsid(); in login_tty()
|
/freebsd/crypto/openssh/openbsd-compat/ |
H A D | daemon.c | 65 if (setsid() == -1) in daemon()
|
H A D | bsd-misc.h | 26 #define setsid() setpgrp(0, getpid()) macro
|
/freebsd/crypto/heimdal/lib/roken/ |
H A D | daemon.c | 64 if (setsid() == -1) in daemon()
|
H A D | rkpty.c | 357 if(setsid()<0) in main()
|
/freebsd/contrib/kyua/utils/process/ |
H A D | child.cpp | 215 ::setsid(); in fork_capture_aux() 270 ::setsid(); in fork_files_aux()
|
/freebsd/lib/libc/gen/ |
H A D | daemon.c | 70 newgrp = setsid(); in daemonfd()
|
/freebsd/contrib/ntp/ntpsnmpd/ |
H A D | netsnmp_daemonize.c | 213 setsid(); in netsnmp_daemonize()
|
/freebsd/tools/test/stress2/misc/ |
H A D | revoke.sh | 94 if (setsid() < 0) { function
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/cmd/ |
H A D | mkbusy.c | 60 (void) setsid(); in daemonize()
|
/freebsd/contrib/llvm-project/lldb/source/Host/common/ |
H A D | PseudoTerminal.cpp | 155 ::setsid(); in Fork()
|
/freebsd/usr.sbin/bluetooth/btpand/ |
H A D | btpand.c | 250 if (setsid() == -1) in main_detach() 251 log_err("setsid() failed"); in main_detach()
|
/freebsd/sys/contrib/openzfs/cmd/zed/ |
H A D | zed.c | 156 if (setsid() < 0) in _start_daemonize()
|
/freebsd/crypto/openssh/ |
H A D | sshpty.c | 112 if (setsid() == -1) in pty_make_controlling_tty()
|
/freebsd/usr.sbin/cron/cron/ |
H A D | popen.c | 116 (void) setsid(); in cron_popen()
|
/freebsd/contrib/netbsd-tests/kernel/ |
H A D | t_pty.c | 195 (void)setsid(); in child_spawn()
|
/freebsd/contrib/ntp/ntpd/ |
H A D | ntpd.c | 645 if (setsid() == (pid_t)-1) in detach_from_terminal() 646 msyslog(LOG_ERR, "setsid(): %m"); in detach_from_terminal() 1380 SCMP_SYS(setsid), 1412 SCMP_SYS(setsid),
|
/freebsd/usr.sbin/bsdinstall/runconsoles/ |
H A D | child.c | 289 sid = setsid(); in child_leader_run()
|
/freebsd/lib/libsys/ |
H A D | Symbol.sys.map | 217 setsid;
|
/freebsd/contrib/netbsd-tests/lib/libc/net/ |
H A D | h_dns_server.c | 238 if (setsid() == -1) in daemon2_detach()
|
/freebsd/tests/sys/audit/ |
H A D | process-control.c | 990 ATF_REQUIRE(setsid() != -1); in ATF_TC_BODY() 1018 setsid(); in ATF_TC_BODY() 1025 ATF_REQUIRE_EQ(-1, setsid()); in ATF_TC_BODY()
|