@@ -57,9 +57,9 @@ pub fn gettid() -> Pid {
5757///
5858/// # Warning
5959///
60- /// This is not the setxid you are looking for… POSIX requires xids to be
60+ /// This is not the `setuid` you are looking for… POSIX requires uids to be
6161/// process granular, but on Linux they are per-thread. Thus, this call only
62- /// changes the xid for the current *thread*, not the entire process even
62+ /// changes the uid for the current *thread*, not the entire process even
6363/// though that is in violation of the POSIX standard.
6464///
6565/// For details on this distinction, see the C library vs. kernel differences
@@ -83,9 +83,9 @@ pub fn set_thread_uid(uid: Uid) -> io::Result<()> {
8383///
8484/// # Warning
8585///
86- /// This is not the setresxid you are looking for… POSIX requires xids to be
86+ /// This is not the `setresuid` you are looking for… POSIX requires uids to be
8787/// process granular, but on Linux they are per-thread. Thus, this call only
88- /// changes the xid for the current *thread*, not the entire process even
88+ /// changes the uid for the current *thread*, not the entire process even
8989/// though that is in violation of the POSIX standard.
9090///
9191/// For details on this distinction, see the C library vs. kernel differences
@@ -106,9 +106,9 @@ pub fn set_thread_res_uid(ruid: Uid, euid: Uid, suid: Uid) -> io::Result<()> {
106106///
107107/// # Warning
108108///
109- /// This is not the setxid you are looking for… POSIX requires xids to be
109+ /// This is not the `setgid` you are looking for… POSIX requires gids to be
110110/// process granular, but on Linux they are per-thread. Thus, this call only
111- /// changes the xid for the current *thread*, not the entire process even
111+ /// changes the gid for the current *thread*, not the entire process even
112112/// though that is in violation of the POSIX standard.
113113///
114114/// For details on this distinction, see the C library vs. kernel differences
@@ -132,9 +132,9 @@ pub fn set_thread_gid(gid: Gid) -> io::Result<()> {
132132///
133133/// # Warning
134134///
135- /// This is not the setresxid you are looking for… POSIX requires xids to be
135+ /// This is not the `setresgid` you are looking for… POSIX requires gids to be
136136/// process granular, but on Linux they are per-thread. Thus, this call only
137- /// changes the xid for the current *thread*, not the entire process even
137+ /// changes the gid for the current *thread*, not the entire process even
138138/// though that is in violation of the POSIX standard.
139139///
140140/// For details on this distinction, see the C library vs. kernel differences
0 commit comments