Searched refs:rgid (Results 1 – 9 of 9) sorted by relevance
/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 | setresgid.c | 27 __setresgid (gid_t rgid, gid_t egid, gid_t sgid) in __setresgid() argument 43 uid_t auxs[2] = { rgid, sgid }; in __setresgid() 65 if (rgid != -1) in __setresgid() 69 newaux = &rgid; in __setresgid() 74 _hurd_id.aux.gids[0] = rgid; in __setresgid() 81 if (rgid == -1) in __setresgid()
|
D | setregid.c | 26 __setregid (gid_t rgid, gid_t egid) in __setregid() argument 63 if (rgid != -1) in __setregid() 67 newaux = &rgid; in __setregid() 72 _hurd_id.aux.gids[0] = rgid; in __setregid()
|
D | getresgid.c | 27 __getresgid (gid_t *rgid, gid_t *egid, gid_t *sgid) in __getresgid() argument 45 *rgid = real; in __getresgid()
|
/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}) 442 This function sets the real group ID of the process to @var{rgid} and 443 the effective group ID to @var{egid}. If @var{rgid} is @code{-1}, it
|