Home
last modified time | relevance | path

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

/haiku/src/system/kernel/
H A Dusergroup.cpp103 common_setreuid(uid_t ruid, uid_t euid, bool setAllIfPrivileged, bool kernel) in common_setreuid() argument
114 if (ruid == (uid_t)-1) { in common_setreuid()
115 ruid = team->real_uid; in common_setreuid()
121 team->saved_set_uid = ruid; in common_setreuid()
122 team->real_uid = ruid; in common_setreuid()
123 team->effective_uid = ruid; in common_setreuid()
128 euid = ruid; in common_setreuid()
129 ruid = team->real_uid; in common_setreuid()
134 if (!privileged && ruid != team->real_uid in common_setreuid()
135 && ruid != team->effective_uid) { in common_setreuid()
[all …]
/haiku/src/system/libroot/posix/unistd/
H A Dusergroup.cpp103 setreuid(uid_t ruid, uid_t euid) in setreuid() argument
105 return set_errno_if_necessary(_kern_setreuid(ruid, euid, false)); in setreuid()
/haiku/headers/private/kernel/
H A Dusergroup.h35 status_t _user_setreuid(uid_t ruid, uid_t euid, bool setAllIfPrivileged);
/haiku/headers/posix/
H A Dunistd.h470 extern int setreuid(uid_t ruid, uid_t euid);
/haiku/headers/private/system/
H A Dsyscalls.h223 extern status_t _kern_setreuid(uid_t ruid, uid_t euid,