/freebsd/contrib/sendmail/test/ |
H A D | t_setgid.c | 35 (int) getgid(), (int) getegid()); 46 gid_t effgid = getegid(); 70 if (getegid() != effgid) 94 if (getegid() != effgid)
|
H A D | t_dropgid.c | 35 (int) getgid(), (int) getegid()); 61 gid_t effgid = getegid(); 100 if (getegid() != realgid) 125 if (getegid() != realgid)
|
/freebsd/crypto/openssh/ |
H A D | uidswap.c | 66 saved_egid = getegid(); in temporarily_use_uid() 124 if (setgid(getegid()) == -1) in temporarily_use_uid() 125 debug("setgid %u: %.100s", (u_int) getegid(), strerror(errno)); in temporarily_use_uid() 219 if (getgid() != pw->pw_gid || getegid() != pw->pw_gid) { in permanently_set_uid() 221 __func__, (u_int)getgid(), (u_int)getegid(), in permanently_set_uid()
|
/freebsd/usr.bin/login/ |
H A D | login_audit.c | 95 if ((tok = au_to_subject32(uid, geteuid(), getegid(), uid, gid, pid, in au_login_success() 139 if ((tok = au_to_subject32(-1, geteuid(), getegid(), -1, -1, in au_login_fail() 146 if ((tok = au_to_subject32(uid, geteuid(), getegid(), uid, in au_login_fail() 192 if ((tok = au_to_subject32(uid, geteuid(), getegid(), uid, gid, pid, in audit_logout()
|
/freebsd/usr.bin/at/ |
H A D | privs.h | 75 effective_gid = getegid(); \ 84 effective_gid = getegid(); \
|
/freebsd/contrib/dma/ |
H A D | dma-mbox-create.c | 121 if (getegid() != mail_gid) in main() 122 logfail(EX_NOPERM, "cannot set gid to %d (%s), still at %d", mail_gid, DMA_GROUP, getegid()); in main()
|
/freebsd/crypto/heimdal/lib/roken/ |
H A D | getegid.c | 41 getegid(void) in getegid() function
|
H A D | issuid.c | 50 if(getgid() != getegid()) in issuid()
|
/freebsd/contrib/ncurses/ncurses/tinfo/ |
H A D | access.c | 190 || getgid() != getegid()) 217 setfsgid(getegid()); \
|
/freebsd/sys/contrib/openzfs/lib/libspl/include/ |
H A D | unistd.h | 36 #define issetugid() (geteuid() == 0 || getegid() == 0)
|
/freebsd/usr.bin/id/ |
H A D | id.c | 168 id = pw ? pw->pw_gid : rflag ? getgid() : getegid(); in main() 245 if ((rid = getgid()) != (eid = getegid())) { in pretty() 300 if (p_egid && (egid = getegid()) != gid) { in id_print()
|
/freebsd/crypto/openssl/crypto/ |
H A D | uid.c | 52 return getuid() != geteuid() || getgid() != getegid(); in OPENSSL_issetugid()
|
/freebsd/contrib/sendmail/libsm/ |
H A D | mpeix.c | 511 #undef getegid 517 return getegid(); in sendmail_mpe_getegid()
|
/freebsd/tests/sys/kern/ |
H A D | unix_socketpair_test.c |
|
H A D | unix_stream.c | 74 real_egid = getegid(); in ATF_TC_BODY()
|
/freebsd/contrib/openpam/lib/libpam/ |
H A D | openpam_borrow_cred.c | 83 scred->egid = getegid(); in openpam_borrow_cred()
|
/freebsd/contrib/netbsd-tests/usr.bin/id/ |
H A D | pwgr.c | 56 getegid(void) in getegid() function
|
/freebsd/contrib/netbsd-tests/kernel/ |
H A D | t_sysv.c | 314 gid_t gid = getegid(); in print_msqid_ds() 531 gid_t gid = getegid(); in print_semid_ds() 719 gid_t gid = getegid(); in print_shmid_ds()
|
/freebsd/contrib/tcsh/ |
H A D | sh.types.h | 113 extern gid_t getgid(), getegid();
|
/freebsd/tools/regression/security/cap_test/ |
H A D | cap_test_capmode.c | 141 CHECK_SYSCALL_VOID_NOT_ECAPMODE(getegid); in test_capmode()
|
/freebsd/contrib/llvm-project/lldb/source/Host/posix/ |
H A D | HostInfoPosix.cpp | 132 uint32_t HostInfoPosix::GetEffectiveGroupID() { return getegid(); } in GetEffectiveGroupID()
|
/freebsd/tools/regression/sysvshm/ |
H A D | shmtest.c | 226 gid_t gid = getegid(); in print_shmid_ds()
|
/freebsd/contrib/openbsm/bin/auditdistd/ |
H A D | sandbox.c | 205 egid = getegid(); in sandbox()
|
/freebsd/tools/regression/sysvsem/ |
H A D | semtest.c | 281 gid_t gid = getegid(); in print_semid_ds()
|
/freebsd/libexec/rtld-elf/rtld-libc/ |
H A D | Makefile.inc | 57 cerror geteuid getegid sigfastblock munmap mprotect \
|