(gid: Gid)
| 136 | /// [linux_notes]: https://man7.org/linux/man-pages/man2/setgid.2.html#NOTES |
| 137 | #[inline] |
| 138 | pub fn set_thread_gid(gid: Gid) -> io::Result<()> { |
| 139 | backend::thread::syscalls::setgid_thread(gid) |
| 140 | } |
| 141 | |
| 142 | /// `setresgid(rgid, egid, sgid)`—Sets the real, effective, and saved group |
| 143 | /// ID of the current thread. |