Home
last modified time | relevance | path

Searched refs:sgid (Results 1 – 8 of 8) 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()
79 if (sgid != -1) in __setresgid()
90 auxs[0] = sgid; in __setresgid()
100 _hurd_id.aux.gids[1] = sgid; in __setresgid()
Dgetresgid.c27 __getresgid (gid_t *rgid, gid_t *egid, gid_t *sgid) in __getresgid() argument
47 *sgid = _hurd_id.aux.ngids < 2 ? real : _hurd_id.aux.gids[1]; in __getresgid()
/glibc-2.36/sysdeps/unix/sysv/linux/
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/ChangeLog.old/
DChangeLog.147817 compliant. Don't change sgid.
DChangeLog.2326117 support: Add capability to fork an sgid child