/third_party/musl/libc-test/src/functionalext/supplement/unistd/ |
H A D | getsid.c | 22 * @tc.desc : Verify getsid process success 27 pid_t sid = getsid(0); in getsid_0100() 28 EXPECT_EQ("getsid_0100", sid, getsid(0)); in getsid_0100()
|
H A D | setsid.c | 42 pid_t sid = getsid(pid); in setsid_0100()
|
/third_party/ltp/testcases/kernel/containers/pidns/ |
H A D | pidns02.c | 21 TST_EXP_EQ_LI(getsid(0), 0); in child_func() 27 TST_EXP_EQ_LI(getsid(0), 1); in child_func()
|
/third_party/ltp/testcases/kernel/syscalls/getsid/ |
H A D | getsid01.c | 11 * Verify that session IDs returned by getsid() (with argument pid=0) 24 TEST(getsid(0)); in run() 26 tst_res(TFAIL | TTERRNO, "getsid(0) failed in parent"); in run() 35 TEST(getsid(0)); in run() 37 tst_res(TFAIL | TTERRNO, "getsid(0) failed in child"); in run()
|
H A D | getsid02.c | 11 * Verify that getsid(2) fails with ESRCH errno when there is no 22 TST_EXP_FAIL(getsid(unused_pid), ESRCH); in run()
|
/third_party/python/Lib/test/ |
H A D | test_ioctl.py | 19 if rpgrp not in (os.getpgrp(), os.getsid(0)): 33 ids = (os.getpgrp(), os.getsid(0)) 42 ids = (os.getpgrp(), os.getsid(0))
|
/third_party/musl/src/unistd/ |
H A D | getsid.c | 4 pid_t getsid(pid_t pid) in getsid() function
|
/third_party/toybox/porting/liteos_a/toys/posix/ |
H A D | kill.c | 106 sid = getsid(pid = getpid()); in kill_main()
|
/third_party/toybox/toys/posix/ |
H A D | kill.c | 109 sid = getsid(pid = getpid()); in kill_main()
|
/third_party/ltp/testcases/kernel/syscalls/fcntl/ |
H A D | fcntl31.c | 116 if (pid != getsid(0)) { in setup()
|
/third_party/musl/porting/liteos_a/user/include/ |
H A D | unistd.h | 124 pid_t getsid(pid_t);
|
/third_party/musl/porting/uniproton/kernel/include/ |
H A D | unistd.h | 99 pid_t getsid(pid_t);
|
/third_party/musl/porting/linux/user/include/ |
H A D | unistd.h | 126 pid_t getsid(pid_t);
|
/third_party/musl/porting/liteos_m/user/include/ |
H A D | unistd.h | 124 pid_t getsid(pid_t);
|
/third_party/musl/porting/liteos_m_iccarm/kernel/include/ |
H A D | unistd.h | 99 pid_t getsid(pid_t);
|
/third_party/musl/porting/liteos_a/kernel/include/ |
H A D | unistd.h | 104 pid_t getsid(pid_t);
|
/third_party/musl/porting/liteos_m/kernel/include/ |
H A D | unistd.h | 99 pid_t getsid(pid_t);
|
/third_party/musl/include/ |
H A D | unistd.h | 163 pid_t getsid(pid_t);
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
H A D | LockFileManager.cpp | 116 if (StoredHostID == HostID && getsid(PID) == -1 && errno == ESRCH) in processStillExecuting()
|
/third_party/toybox/toys/pending/ |
H A D | getty.c | 128 if ((setsid() < 0) && (getpid() != getsid(0))) in open_tty()
|
/third_party/musl/libc-test/src/api/ |
H A D | unistd.c | 292 {pid_t(*p)(pid_t) = getsid;} in f()
|
/third_party/rust/crates/nix/test/ |
H A D | test_unistd.rs | 217 let none_sid: ::libc::pid_t = getsid(None).unwrap().into(); in test_getsid() 218 let pid_sid: ::libc::pid_t = getsid(Some(getpid())).unwrap().into(); in test_getsid()
|
/third_party/mksh/ |
H A D | Build.sh | 2110 ac_test getsid <<-'EOF' 2112 int main(void) { return ((int)getsid(0)); }
|
H A D | funcs.c | 3468 getsid(kshppid) != getsid(0)) { in c_suspend()
|
/third_party/rust/crates/nix/src/ |
H A D | unistd.rs | 350 /// [getsid(2)](https://pubs.opengroup.org/onlinepubs/9699919799/functions/getsid.html). 356 pub fn getsid(pid: Option<Pid>) -> Result<Pid> { in getsid() functions 357 let res = unsafe { libc::getsid(pid.unwrap_or(Pid(0)).into()) }; in getsid()
|