Home
last modified time | relevance | path

Searched refs:egid (Results 1 – 5 of 5) sorted by relevance

/haiku/src/system/kernel/
H A Dusergroup.cpp40 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 Dusergroup.cpp96 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 Dusergroup.h34 status_t _user_setregid(gid_t rgid, gid_t egid, bool setAllIfPrivileged);
/haiku/headers/posix/
H A Dunistd.h469 extern int setregid(gid_t rgid, gid_t egid);
/haiku/headers/private/system/
H A Dsyscalls.h221 extern status_t _kern_setregid(gid_t rgid, gid_t egid,