Home
last modified time | relevance | path

Searched refs:setsid (Results 1 – 25 of 86) sorted by relevance

1234

/src/contrib/netbsd-tests/lib/libc/sys/
H A Dt_getlogin.c96 (void)setsid(); in ATF_TC_BODY()
139 (void)setsid(); in ATF_TC_BODY()
200 (void)setsid(); in ATF_TC_BODY()
/src/sbin/init/
H A DNOTES51 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
/src/contrib/llvm-project/lldb/tools/lldb-server/
H A DLLGSOptions.td42 def setsid: F<"setsid">, HelpText<"Run lldb-server in a new session.">,
44 def: Flag<["-"], "S">, Alias<setsid>,
/src/contrib/libfido2/tools/
H A Dfido2-unprot.sh45 …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…
/src/lib/libutil/
H A Dlogin_tty.c45 s = setsid(); in login_tty()
/src/crypto/openssh/openbsd-compat/
H A Ddaemon.c65 if (setsid() == -1) in daemon()
H A Dbsd-misc.h26 #define setsid() setpgrp(0, getpid()) macro
/src/crypto/heimdal/lib/roken/
H A Ddaemon.c64 if (setsid() == -1) in daemon()
H A Drkpty.c357 if(setsid()<0) in main()
/src/crypto/krb5/src/lib/apputils/
H A Ddaemon.c59 (void) setsid();
/src/lib/libc/gen/
H A Ddaemon.c70 newgrp = setsid(); in daemonfd()
/src/contrib/ntp/ntpsnmpd/
H A Dnetsnmp_daemonize.c213 setsid(); in netsnmp_daemonize()
/src/contrib/kyua/utils/process/
H A Dchild.cpp215 ::setsid(); in fork_capture_aux()
294 ::setsid(); in fork_files_aux()
/src/tools/test/stress2/misc/
H A Drevoke.sh94 if (setsid() < 0) { function
/src/sys/contrib/openzfs/tests/zfs-tests/cmd/
H A Dmkbusy.c61 (void) setsid(); in daemonize()
/src/contrib/llvm-project/lldb/source/Host/common/
H A DPseudoTerminal.cpp155 ::setsid(); in Fork()
/src/usr.sbin/bluetooth/btpand/
H A Dbtpand.c250 if (setsid() == -1) in main_detach()
/src/sys/contrib/openzfs/cmd/zed/
H A Dzed.c157 if (setsid() < 0) in _start_daemonize()
/src/crypto/openssh/
H A Dsshpty.c112 if (setsid() == -1) in pty_make_controlling_tty()
/src/usr.sbin/cron/cron/
H A Dpopen.c118 (void) setsid(); in cron_popen()
/src/contrib/netbsd-tests/kernel/
H A Dt_pty.c195 (void)setsid(); in child_spawn()
/src/contrib/ntp/ntpd/
H A Dntpd.c645 if (setsid() == (pid_t)-1) in detach_from_terminal()
1380 SCMP_SYS(setsid),
1412 SCMP_SYS(setsid),
/src/usr.sbin/bsdinstall/runconsoles/
H A Dchild.c289 sid = setsid(); in child_leader_run()
/src/contrib/netbsd-tests/lib/libc/net/
H A Dh_dns_server.c238 if (setsid() == -1) in daemon2_detach()
/src/lib/libsys/
H A DSymbol.sys.map216 setsid;

1234