Home
last modified time | relevance | path

Searched refs:setsid (Results 1 - 25 of 55) sorted by relevance

123

/third_party/musl/src/unistd/
H A Dsetsid.c4 pid_t setsid(void) in setsid() function
/third_party/python/Lib/
H A Dpty.py95 os.setsid()
105 os.setsid()
/third_party/rust/crates/rustix/src/process/
H A Did.rs297 /// `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 Dmod.rs46 getegid, geteuid, getgid, getpgid, getpgrp, getpid, getppid, getuid, setsid, Gid, Pid, RawGid,
/third_party/rust/crates/rustix/src/backend/libc/process/
H A Dsyscalls.rs413 pub(crate) fn setsid() -> io::Result<Pid> {
415 let pid = ret_c_int(c::setsid())?;
/third_party/toybox/toys/other/
H A Dsetsid.c0 /* 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 Doneit.c41 // - Do a setsid() (so we have our own session).
96 setsid(); in oneit_main()
/third_party/musl/src/misc/
H A Dlogin_tty.c7 setsid(); in login_tty()
/third_party/musl/src/legacy/
H A Ddaemon.c26 if (setsid() < 0) return -1; in daemon()
/third_party/musl/porting/liteos_a/user/src/legacy/
H A Ddaemon.c26 if (setsid() < 0) return -1; in daemon()
/third_party/ltp/testcases/kernel/syscalls/vhangup/
H A Dvhangup02.c26 pid1 = setsid(); in run()
28 tst_brk(TBROK | TTERRNO, "setsid failed"); in run()
/third_party/musl/libc-test/src/functionalext/supplement/unistd/
H A Dsetsid.c32 pid_t result = setsid(); in setsid_0100()
/third_party/ltp/testcases/kernel/containers/share/
H A Dns_create.c57 if (setsid() == -1) { in child_fn()
58 tst_resm(TINFO | TERRNO, "setsid"); in child_fn()
/third_party/ntfs-3g/libntfs-3g/
H A Dcompat.c135 if (setsid() == -1) in daemon()
/third_party/musl/libc-test/src/functionalext/supplement/legacy/
H A Ddaemon.c101 int mode = setsid(); in daemon_0600()
/third_party/toybox/toys/pending/
H A Dopenvt.c77 setsid(); in openvt_main()
H A Dgetty.c128 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 Dinit.c267 setsid(); //new session in final_run()
468 setsid(); in init_main()
/third_party/libwebsockets/lib/misc/
H A Ddaemonize.c191 sid = setsid(); in lws_daemonize()
/third_party/node/tools/
H A Dpseudo-tty.py67 os.setsid()
/third_party/ltp/testcases/kernel/syscalls/setsid/
H A Dsetsid01.c25 * 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 Dcompat.rs152 // 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 Dtest.sh211 setsid sh -c "eval $command" 2>&1 &
/third_party/node/deps/v8/tools/testrunner/local/
H A Dcommand.py201 preexec_fn=os.setsid,
208 # Kill the whole process group (PID == GPID after setsid).
/third_party/musl/porting/liteos_a/user/include/
H A Dunistd.h123 pid_t setsid(void);

Completed in 8 milliseconds

123