@@ -57,9 +57,9 @@ pub fn gettid() -> Pid {
57
57
///
58
58
/// # Warning
59
59
///
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
61
61
/// 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
63
63
/// though that is in violation of the POSIX standard.
64
64
///
65
65
/// 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<()> {
83
83
///
84
84
/// # Warning
85
85
///
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
87
87
/// 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
89
89
/// though that is in violation of the POSIX standard.
90
90
///
91
91
/// 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<()> {
106
106
///
107
107
/// # Warning
108
108
///
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
110
110
/// 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
112
112
/// though that is in violation of the POSIX standard.
113
113
///
114
114
/// 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<()> {
132
132
///
133
133
/// # Warning
134
134
///
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
136
136
/// 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
138
138
/// though that is in violation of the POSIX standard.
139
139
///
140
140
/// For details on this distinction, see the C library vs. kernel differences
0 commit comments