/third_party/musl/src/unistd/ |
H A D | setsid.c | 4 pid_t setsid(void) in setsid() function
|
/third_party/python/Lib/ |
H A D | pty.py | 95 os.setsid() 105 os.setsid()
|
/third_party/rust/crates/rustix/src/process/ |
H A D | id.rs | 297 /// `setsid()`—Create a new session. 303 /// [POSIX]: https://pubs.opengroup.org/onlinepubs/9699919799/functions/setsid.html 304 /// [Linux]: https://man7.org/linux/man-pages/man2/setsid.2.html 306 pub fn setsid() -> io::Result<Pid> { in setsid() functions 307 backend::process::syscalls::setsid() in setsid()
|
H A D | mod.rs | 46 getegid, geteuid, getgid, getpgid, getpgrp, getpid, getppid, getuid, setsid, Gid, Pid, RawGid,
|
/third_party/rust/crates/rustix/src/backend/libc/process/ |
H A D | syscalls.rs | 413 pub(crate) fn setsid() -> io::Result<Pid> { 415 let pid = ret_c_int(c::setsid())?;
|
/third_party/toybox/toys/other/ |
H A D | setsid.c | 0 /* setsid.c - Run program in a new session ID. 5 USE_SETSID(NEWTOY(setsid, "^<1t", TOYFLAG_USR|TOYFLAG_BIN)) 8 bool "setsid" 11 usage: setsid [-t] command [args...] 22 while (setsid()<0) if (XVFORK()) _exit(0); in setsid_main()
|
H A D | oneit.c | 41 // - Do a setsid() (so we have our own session). 96 setsid(); in oneit_main()
|
/third_party/musl/src/misc/ |
H A D | login_tty.c | 7 setsid(); in login_tty()
|
/third_party/musl/src/legacy/ |
H A D | daemon.c | 26 if (setsid() < 0) return -1; in daemon()
|
/third_party/musl/porting/liteos_a/user/src/legacy/ |
H A D | daemon.c | 26 if (setsid() < 0) return -1; in daemon()
|
/third_party/ltp/testcases/kernel/syscalls/vhangup/ |
H A D | vhangup02.c | 26 pid1 = setsid(); in run() 28 tst_brk(TBROK | TTERRNO, "setsid failed"); in run()
|
/third_party/musl/libc-test/src/functionalext/supplement/unistd/ |
H A D | setsid.c | 32 pid_t result = setsid(); in setsid_0100()
|
/third_party/ltp/testcases/kernel/containers/share/ |
H A D | ns_create.c | 57 if (setsid() == -1) { in child_fn() 58 tst_resm(TINFO | TERRNO, "setsid"); in child_fn()
|
/third_party/ntfs-3g/libntfs-3g/ |
H A D | compat.c | 135 if (setsid() == -1) in daemon()
|
/third_party/musl/libc-test/src/functionalext/supplement/legacy/ |
H A D | daemon.c | 101 int mode = setsid(); in daemon_0600()
|
/third_party/toybox/toys/pending/ |
H A D | openvt.c | 77 setsid(); in openvt_main()
|
H A D | getty.c | 128 if ((setsid() < 0) && (getpid() != getsid(0))) in open_tty() 129 perror_exit("setsid"); in open_tty() 140 if (setsid() < 0) perror_msg("setsid failed"); in open_tty()
|
H A D | init.c | 267 setsid(); //new session in final_run() 468 setsid(); in init_main()
|
/third_party/libwebsockets/lib/misc/ |
H A D | daemonize.c | 191 sid = setsid(); in lws_daemonize()
|
/third_party/node/tools/ |
H A D | pseudo-tty.py | 67 os.setsid()
|
/third_party/ltp/testcases/kernel/syscalls/setsid/ |
H A D | setsid01.c | 25 * Test to check the error and trivial conditions in setsid system call 91 * group and tries to setsid in main() 182 retval = setsid(); in do_child_1() 185 tst_resm(TPASS, "setsid SUCCESS to set " in do_child_1() 188 tst_resm(TFAIL, "setsid failed, expected %d, " in do_child_1()
|
/third_party/rust/crates/libc/src/unix/solarish/ |
H A D | compat.rs | 152 // our own session, so we call setsid() first. Finally, arrange for in forkpty() 154 if ::setsid() < 0 in forkpty()
|
/third_party/ltp/testcases/lib/ |
H A D | test.sh | 211 setsid sh -c "eval $command" 2>&1 &
|
/third_party/node/deps/v8/tools/testrunner/local/ |
H A D | command.py | 201 preexec_fn=os.setsid, 208 # Kill the whole process group (PID == GPID after setsid).
|
/third_party/musl/porting/liteos_a/user/include/ |
H A D | unistd.h | 123 pid_t setsid(void);
|