(uid: Uid)
| 82 | /// [linux_notes]: https://man7.org/linux/man-pages/man2/setuid.2.html#NOTES |
| 83 | #[inline] |
| 84 | pub fn set_thread_uid(uid: Uid) -> io::Result<()> { |
| 85 | backend::thread::syscalls::setuid_thread(uid) |
| 86 | } |
| 87 | |
| 88 | /// `setresuid(ruid, euid, suid)`—Sets the real, effective, and saved user ID |
| 89 | /// of the calling thread. |