Searched refs:euid (Results 1 – 7 of 7) sorted by relevance
/haiku/src/system/kernel/ |
H A D | usergroup.cpp | 103 common_setreuid(uid_t ruid, uid_t euid, bool setAllIfPrivileged, bool kernel) in common_setreuid() argument 128 euid = ruid; in common_setreuid() 147 if (euid == (uid_t)-1) { in common_setreuid() 148 euid = team->effective_uid; in common_setreuid() 150 if (!privileged && euid != team->effective_uid in common_setreuid() 151 && euid != team->real_uid && euid != team->saved_set_uid) { in common_setreuid() 158 team->effective_uid = euid; in common_setreuid() 317 _kern_setreuid(uid_t ruid, uid_t euid, bool setAllIfPrivileged) in _kern_setreuid() argument 319 return common_setreuid(ruid, euid, setAllIfPrivileged, true); in _kern_setreuid() 366 _user_setreuid(uid_t ruid, uid_t euid, bool setAllIfPrivileged) in _user_setreuid() argument [all …]
|
/haiku/src/system/libroot/posix/unistd/ |
H A D | usergroup.cpp | 103 setreuid(uid_t ruid, uid_t euid) in setreuid() argument 105 return set_errno_if_necessary(_kern_setreuid(ruid, euid, false)); in setreuid()
|
/haiku/src/system/libroot/posix/sys/ |
H A D | priority.c | 149 uid_t euid = who == 0 ? geteuid() : (uid_t)who; in getpriority() local 155 if (team.uid != euid) in getpriority()
|
/haiku/headers/private/kernel/ |
H A D | usergroup.h | 35 status_t _user_setreuid(uid_t ruid, uid_t euid, bool setAllIfPrivileged);
|
/haiku/src/add-ons/kernel/file_systems/ntfs/ |
H A D | kernel_interface.cpp | 645 const uid_t euid = geteuid(); in fs_write_stat() local 647 const bool isOwnerOrRoot = (euid == 0 || euid == (uid_t)node->uid); in fs_write_stat() 671 if (euid != 0) in fs_write_stat()
|
/haiku/headers/posix/ |
H A D | unistd.h | 470 extern int setreuid(uid_t ruid, uid_t euid);
|
/haiku/headers/private/system/ |
H A D | syscalls.h | 223 extern status_t _kern_setreuid(uid_t ruid, uid_t euid,
|