Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/netbsd-tests/lib/libc/sys/
H A Dt_getsid.c52 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()
/freebsd-12.1/lib/libutil/
H A Dlogin_tty.c50 s = getsid(0); in login_tty()
/freebsd-12.1/crypto/openssh/openbsd-compat/
H A Dbsd-misc.h145 pid_t getsid(pid_t);
H A Dbsd-misc.c305 getsid(pid_t pid) in getsid() function
/freebsd-12.1/sys/kern/
H A Dcapabilities.conf308 getsid
/freebsd-12.1/lib/libc/gen/
H A Dtermios.c116 if (pid != getsid(0)) { in tcsetsid()
/freebsd-12.1/contrib/llvm/lib/Support/
H A DLockFileManager.cpp117 if (StoredHostID == HostID && getsid(PID) == -1 && errno == ESRCH) in processStillExecuting()
/freebsd-12.1/include/
H A Dunistd.h418 int getsid(pid_t _pid);
/freebsd-12.1/contrib/unbound/compat/
H A Dgetentropy_solaris.c293 HX((pid = getsid(pid)) == -1, pid); in getentropy_fallback()
H A Dgetentropy_osx.c274 HX((pid = getsid(pid)) == -1, pid); in getentropy_fallback()
H A Dgetentropy_linux.c374 HX((pid = getsid(pid)) == -1, pid); in getentropy_fallback()
/freebsd-12.1/sys/sys/
H A Dsyscall.mk191 getsid.o \
/freebsd-12.1/lib/libc/sys/
H A DMakefile.inc209 getsid.2 \
H A DSymbol.map114 getsid;
/freebsd-12.1/bin/pkill/
H A Dpkill.c709 li->li_number = getsid(mypid); in makelist()
/freebsd-12.1/sys/compat/linux/
H A Dlinux_misc.c1789 if (ldebug(getsid)) in linux_getsid()
1790 printf(ARGS(getsid, "%i"), args->pid); in linux_getsid()
/freebsd-12.1/sbin/init/
H A Dinit.c270 if (setsid() < 0 && (errno != EPERM || getsid(0) != 1)) in main()
/freebsd-12.1/contrib/gcc/
H A Dsys-protos.h500 extern pid_t getsid(pid_t);
/freebsd-12.1/crypto/openssh/
H A Dmisc.c1592 if (getsid(0) != getpid()) in daemonized()
H A Dconfigure.ac1806 getsid \
H A DChangeLog2512 Add no-op getsid implmentation.
/freebsd-12.1/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddt_module.c1384 dt_idhash_lookup(dtp->dt_macros, "sid")->di_id = getsid(0); in dtrace_update()
/freebsd-12.1/contrib/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_common_syscalls.inc324 PRE_SYSCALL(getsid)(long pid) {}
326 POST_SYSCALL(getsid)(long res, long pid) {}
H A Dsanitizer_syscalls_netbsd.inc2068 PRE_SYSCALL(getsid)(long long pid_) { /* Nothing to do */ }
2069 POST_SYSCALL(getsid)(long long res, long long pid_) { /* Nothing to do */ }
/freebsd-12.1/contrib/compiler-rt/lib/dfsan/
H A Dlibc_ubuntu1404_abilist.txt1950 fun:getsid=uninstrumented