Searched refs:getsid (Results 1 – 25 of 25) sorted by relevance
52 sid = getsid(0); in ATF_TC_BODY()55 if (sid != getsid(getpid())) in ATF_TC_BODY()70 ATF_REQUIRE(getsid(-1) == -1); in ATF_TC_BODY()85 sid = getsid(0); in ATF_TC_BODY()93 csid = getsid(0); in ATF_TC_BODY()99 if (getsid(ppid) != csid) in ATF_TC_BODY()
50 s = getsid(0); in login_tty()
174 pid_t getsid(pid_t);
408 getsid(pid_t pid) in getsid() function
331 getsid
116 if (pid != getsid(0)) { in tcsetsid()
121 if (StoredHostID == HostID && getsid(PID) == -1 && errno == ESRCH) in processStillExecuting()
241 pid_t my_sid = getsid(my_pid); in FORK_TEST()251 EXPECT_EQ(my_sid, getsid(my_pid)); in FORK_TEST()
418 int getsid(pid_t _pid);
274 HX((pid = getsid(pid)) == -1, pid); in getentropy_fallback()
293 HX((pid = getsid(pid)) == -1, pid); in getentropy_fallback()
374 HX((pid = getsid(pid)) == -1, pid); in getentropy_fallback()
245 std::exit(::getsid(::getpid()) == ::getpid() ? EXIT_SUCCESS : EXIT_FAILURE); in check_new_session()
74 std::exit((::getsid(::getpid()) == ::getpid()) ? in child_check_own_session()
214 getsid.2 \
114 getsid;
191 getsid.o \
709 li->li_number = getsid(mypid); in makelist()
270 if (setsid() < 0 && (errno != EPERM || getsid(0) != 1)) in main()
1384 dt_idhash_lookup(dtp->dt_macros, "sid")->di_id = getsid(0); in dtrace_update()
1945 if (getsid(0) != getpid()) in daemonized()
1905 getsid \
323 PRE_SYSCALL(getsid)(long pid) {}325 POST_SYSCALL(getsid)(long res, long pid) {}
2113 PRE_SYSCALL(getsid)(long long pid_) { /* Nothing to do */ }2114 POST_SYSCALL(getsid)(long long res, long long pid_) { /* Nothing to do */ }
1950 fun:getsid=uninstrumented