/glibc-2.36/nptl/ |
D | tst-setuid1.c | 57 gid_t rgid, egid, sgid; in check_prev_gid() local 58 if (getresgid (&rgid, &egid, &sgid) < 0) in check_prev_gid() 64 if (rgid != prev_rgid || egid != prev_egid || sgid != prev_sgid) in check_prev_gid() 67 rgid, egid, sgid, prev_rgid, prev_egid, prev_sgid); in check_prev_gid() 474 gid_t rgid, egid, sgid; in test_setgid1() local 475 if (getresgid (&rgid, &egid, &sgid) < 0) in test_setgid1() 481 if (rgid != nobody_gid || egid != nobody_gid || sgid != nobody_gid) in test_setgid1() 484 rgid, egid, sgid, nobody_gid, nobody_gid, nobody_gid); in test_setgid1() 527 gid_t rgid, egid, sgid; in test_setgid2() local 528 if (getresgid (&rgid, &egid, &sgid) < 0) in test_setgid2() [all …]
|
/glibc-2.36/sysdeps/mach/hurd/ |
D | getegid.c | 28 gid_t egid; in __getegid() local 37 egid = -1; in __getegid() 40 egid = _hurd_id.gen.gids[0]; in __getegid() 43 egid = _hurd_id.aux.gids[0]; in __getegid() 48 egid = -1; in __getegid() 53 if (egid == -1 && errno == EINTR) in __getegid() 57 return egid; in __getegid()
|
D | setregid.c | 26 __setregid (gid_t rgid, gid_t egid) in __setregid() argument 46 if (egid != -1) in __setregid() 51 newgen = &egid; in __setregid() 56 _hurd_id.gen.gids[0] = egid; in __setregid()
|
D | setresgid.c | 27 __setresgid (gid_t rgid, gid_t egid, gid_t sgid) in __setresgid() argument 48 if (egid != -1) in __setresgid() 53 newgen = &egid; in __setresgid() 58 _hurd_id.gen.gids[0] = egid; in __setresgid()
|
D | getresgid.c | 27 __getresgid (gid_t *rgid, gid_t *egid, gid_t *sgid) in __getresgid() argument 46 *egid = _hurd_id.gen.ngids < 1 ? real : _hurd_id.gen.gids[0]; in __getresgid()
|
/glibc-2.36/sysdeps/posix/ |
D | euidaccess.c | 99 static gid_t egid; variable 127 gid_t egid; in euidaccess() local 135 egid = getegid (); in euidaccess() 138 if (uid == euid && gid == egid) in euidaccess() 157 egid = __getegid (); in euidaccess() 159 if (__getuid () == euid && __getgid () == egid) in euidaccess() 172 else if (egid == stats.st_gid || group_member (stats.st_gid)) in euidaccess()
|
/glibc-2.36/sysdeps/unix/sysv/linux/ |
D | setregid.c | 24 __setregid (gid_t rgid, gid_t egid) in __setregid() argument 27 return INLINE_SETXID_SYSCALL (setregid32, 2, rgid, egid); in __setregid() 29 return INLINE_SETXID_SYSCALL (setregid, 2, rgid, egid); in __setregid()
|
D | setresgid.c | 24 __setresgid (gid_t rgid, gid_t egid, gid_t sgid) in __setresgid() argument 27 return INLINE_SETXID_SYSCALL (setresgid32, 3, rgid, egid, sgid); in __setresgid() 29 return INLINE_SETXID_SYSCALL (setresgid, 3, rgid, egid, sgid); in __setresgid()
|
/glibc-2.36/posix/ |
D | setresgid.c | 25 __setresgid (gid_t rgid, gid_t egid, gid_t sgid) in __setresgid() argument
|
D | getresgid.c | 24 __getresgid (gid_t *rgid, gid_t *egid, gid_t *sgid) in __getresgid() argument
|
/glibc-2.36/manual/ |
D | users.texi | 437 @deftypefun int setregid (gid_t @var{rgid}, gid_t @var{egid}) 443 the effective group ID to @var{egid}. If @var{rgid} is @code{-1}, it 444 means not to change the real group ID; likewise if @var{egid} is
|
/glibc-2.36/ChangeLog.old/ |
D | ChangeLog.13 | 6869 file_exec to effect svuid=euid, svgid=egid if that is not a no-op.
|
D | ChangeLog.16 | 6947 euid and egid.
|