Home
last modified time | relevance | path

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

1234

/openbsd/usr.bin/which/
H A Dwhich.c79 if (setgid(getegid())) in main()
80 err(1, "Can't set gid to %u", getegid()); in main()
/openbsd/usr.bin/id/
H A Did.c150 gid = pw ? pw->pw_gid : rflag ? getgid() : getegid(); in main()
213 if ((rid = getgid()) != (eid = getegid())) { in pretty()
249 if ((egid = getegid()) != gid) { in current()
/openbsd/lib/libcurses/tinfo/
H A Daccess.c192 || getgid() != getegid())
219 setfsgid(getegid()); \
/openbsd/gnu/usr.bin/cvs/windows-NT/
H A Dpwd.h53 extern int getegid (void);
H A Dpwd.c138 getegid () in getegid() function
/openbsd/gnu/usr.bin/cvs/os2/
H A Dpwd.h53 extern int getegid (void);
H A Dpwd.c131 getegid () in getegid() function
/openbsd/regress/sys/kern/pledge/generic/
H A Dtest_stdio.c35 getegid(); in test_request_stdio()
/openbsd/regress/sys/kern/setuid/
H A Dsetegid.c36 if (getegid() != pw->pw_gid) in main()
/openbsd/games/sail/
H A Dmain.c50 egid = getegid(); in main()
/openbsd/usr.sbin/lpr/lpq/
H A Dlpq.c78 effective_gid = getegid(); in main()
/openbsd/usr.bin/ssh/
H A Duidswap.c55 saved_egid = getegid(); in temporarily_use_uid()
/openbsd/gnu/usr.bin/perl/ext/POSIX/t/
H A Dusage.t16 for my $list ([qw(errno fork getchar getegid geteuid getgid getgroups getlogin
H A Dwrappers.t67 is(POSIX::getegid(), 0 + $), 'getegid');
/openbsd/gnu/llvm/lldb/source/Host/posix/
H A DHostInfoPosix.cpp132 uint32_t HostInfoPosix::GetEffectiveGroupID() { return getegid(); } in GetEffectiveGroupID()
/openbsd/usr.sbin/lpr/lpc/
H A Dlpc.c80 effective_gid = getegid(); in main()
/openbsd/lib/libc/hidden/
H A Dunistd.h72 PROTO_NORMAL(getegid);
/openbsd/regress/sys/kern/sysvsem/
H A Dsemtest.c293 gid_t gid = getegid();
/openbsd/regress/sys/kern/sysvshm/
H A Dshmtest.c257 gid_t gid = getegid();
/openbsd/sbin/newfs_ext2fs/
H A Dmke2fs.c399 sblock.e2fs.e2fs_rgid = getegid(); in mke2fs()
925 node.e2di_gid_low = getegid(); in fsinit()
971 node.e2di_gid_low = getegid(); in fsinit()
1064 node.e2di_gid_low = getegid(); in init_resizeino()
/openbsd/regress/sys/kern/sysvmsg/
H A Dmsgtest.c282 gid_t gid = getegid();
/openbsd/regress/lib/libc/sys/
H A Dt_msgget.c159 const gid_t gid = getegid(); in ATF_TC_BODY()
/openbsd/gnu/usr.bin/perl/ext/POSIX/lib/
H A DPOSIX.pm129 getegid => '$) + 0',
/openbsd/usr.bin/wall/
H A Dwall.c224 gid_t egid = getegid(); in makemsg()
/openbsd/lib/libc/rpc/
H A Dauth_unix.c196 gid = getegid(); in authunix_create_default()

1234