Home
last modified time | relevance | path

Searched refs:egid (Results 1 – 13 of 13) 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/
Dgetegid.c28 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()
Dsetregid.c26 __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()
Dsetresgid.c27 __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()
Dgetresgid.c27 __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/
Deuidaccess.c99 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/
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})
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/
DChangeLog.136869 file_exec to effect svuid=euid, svgid=egid if that is not a no-op.
DChangeLog.166947 euid and egid.