Home
last modified time | relevance | path

Searched refs:rgid (Results 1 – 9 of 9) sorted by relevance

/glibc-2.36/nptl/
Dtst-setuid1.c57 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/
Dsetresgid.c27 __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()
Dsetregid.c26 __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()
Dgetresgid.c27 __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/
Dsetregid.c24 __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()
Dsetresgid.c24 __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/
Dsetresgid.c25 __setresgid (gid_t rgid, gid_t egid, gid_t sgid) in __setresgid() argument
Dgetresgid.c24 __getresgid (gid_t *rgid, gid_t *egid, gid_t *sgid) in __getresgid() argument
/glibc-2.36/manual/
Dusers.texi437 @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