Searched refs:egid (Results 1 – 5 of 5) sorted by relevance
/haiku/src/system/kernel/ |
H A D | usergroup.cpp | 40 common_setregid(gid_t rgid, gid_t egid, bool setAllIfPrivileged, bool kernel) in common_setregid() argument 65 egid = rgid; in common_setregid() 84 if (egid == (gid_t)-1) { in common_setregid() 85 egid = team->effective_gid; in common_setregid() 87 if (!privileged && egid != team->effective_gid in common_setregid() 88 && egid != team->real_gid && egid != team->saved_set_gid) { in common_setregid() 95 team->effective_gid = egid; in common_setregid() 310 _kern_setregid(gid_t rgid, gid_t egid, bool setAllIfPrivileged) in _kern_setregid() argument 312 return common_setregid(rgid, egid, setAllIfPrivileged, true); in _kern_setregid() 359 _user_setregid(gid_t rgid, gid_t egid, bool setAllIfPrivileged) in _user_setregid() argument [all …]
|
/haiku/src/system/libroot/posix/unistd/ |
H A D | usergroup.cpp | 96 setregid(gid_t rgid, gid_t egid) in setregid() argument 98 return set_errno_if_necessary(_kern_setregid(rgid, egid, false)); in setregid()
|
/haiku/headers/private/kernel/ |
H A D | usergroup.h | 34 status_t _user_setregid(gid_t rgid, gid_t egid, bool setAllIfPrivileged);
|
/haiku/headers/posix/ |
H A D | unistd.h | 469 extern int setregid(gid_t rgid, gid_t egid);
|
/haiku/headers/private/system/ |
H A D | syscalls.h | 221 extern status_t _kern_setregid(gid_t rgid, gid_t egid,
|