Debian Codegraph @

templates/man2/setfsuid.2.pot

raw
1 # SOME DESCRIPTIVE TITLE
2 # Copyright (C) YEAR Free Software Foundation, Inc.
3 # This file is distributed under the same license as the PACKAGE package.
4 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5 #
6 #, fuzzy
7 msgid ""
8 msgstr ""
9 "Project-Id-Version: PACKAGE VERSION\n"
10 "POT-Creation-Date: 2026-06-05 06:42+0200\n"
11 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
12 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13 "Language-Team: LANGUAGE <[email protected]>\n"
14 "Language: \n"
15 "MIME-Version: 1.0\n"
16 "Content-Type: text/plain; charset=UTF-8\n"
17 "Content-Transfer-Encoding: 8bit\n"
18
19 #. type: TH
20 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
21 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
22 #, no-wrap
23 msgid "setfsuid"
24 msgstr ""
25
26 #. type: TH
27 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
28 #: opensuse-tumbleweed
29 #, no-wrap
30 msgid "2026-02-08"
31 msgstr ""
32
33 #. type: TH
34 #: archlinux debian-unstable
35 #, no-wrap
36 msgid "Linux man-pages 6.18"
37 msgstr ""
38
39 #. type: SH
40 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
41 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
42 #, no-wrap
43 msgid "NAME"
44 msgstr ""
45
46 #. type: Plain text
47 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
48 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
49 msgid "setfsuid - set user identity used for filesystem checks"
50 msgstr ""
51
52 #. type: SH
53 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
54 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
55 #, no-wrap
56 msgid "LIBRARY"
57 msgstr ""
58
59 #. type: Plain text
60 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
61 #: opensuse-leap-16-1 opensuse-tumbleweed
62 msgid "Standard C library (I<libc>,\\ I<-lc>)"
63 msgstr ""
64
65 #. type: SH
66 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
67 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
68 #, no-wrap
69 msgid "SYNOPSIS"
70 msgstr ""
71
72 #. type: Plain text
73 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
74 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
75 #, no-wrap
76 msgid "B<#include E<lt>sys/fsuid.hE<gt>>\n"
77 msgstr ""
78
79 #. type: Plain text
80 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
81 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
82 #, no-wrap
83 msgid "B<[[deprecated]] int setfsuid(uid_t >I<fsuid>B<);>\n"
84 msgstr ""
85
86 #. type: SH
87 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
88 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
89 #, no-wrap
90 msgid "DESCRIPTION"
91 msgstr ""
92
93 #. type: Plain text
94 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
95 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
96 msgid ""
97 "On Linux, a process has both a filesystem user ID and an effective user ID. "
98 "The (Linux-specific) filesystem user ID is used for permissions checking "
99 "when accessing filesystem objects, while the effective user ID is used for "
100 "various other kinds of permissions checks (see B<credentials>(7))."
101 msgstr ""
102
103 #. type: Plain text
104 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
105 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
106 msgid ""
107 "Normally, the value of the process's filesystem user ID is the same as the "
108 "value of its effective user ID. This is so, because whenever a process's "
109 "effective user ID is changed, the kernel also changes the filesystem user ID "
110 "to be the same as the new value of the effective user ID. A process can "
111 "cause the value of its filesystem user ID to diverge from its effective user "
112 "ID by using B<setfsuid>() to change its filesystem user ID to the value "
113 "given in I<fsuid>."
114 msgstr ""
115
116 #. type: Plain text
117 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
118 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
119 msgid ""
120 "Explicit calls to B<setfsuid>() and B<setfsgid>(2) are (were) usually used "
121 "only by programs such as the Linux NFS server that need to change what user "
122 "and group ID is used for file access without a corresponding change in the "
123 "real and effective user and group IDs. A change in the normal user IDs for "
124 "a program such as the NFS server is (was) a security hole that can expose it "
125 "to unwanted signals. (However, this issue is historical; see below.)"
126 msgstr ""
127
128 #. type: Plain text
129 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
130 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
131 msgid ""
132 "B<setfsuid>() will succeed only if the caller is the superuser or if "
133 "I<fsuid> matches either the caller's real user ID, effective user ID, saved "
134 "set-user-ID, or current filesystem user ID."
135 msgstr ""
136
137 #. type: SH
138 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
139 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
140 #, no-wrap
141 msgid "RETURN VALUE"
142 msgstr ""
143
144 #. type: Plain text
145 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
146 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
147 msgid ""
148 "On both success and failure, this call returns the previous filesystem user "
149 "ID of the caller."
150 msgstr ""
151
152 #. type: SH
153 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
154 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
155 #, no-wrap
156 msgid "STANDARDS"
157 msgstr ""
158
159 #. type: Plain text
160 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
161 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
162 msgid "Linux."
163 msgstr ""
164
165 #. type: SH
166 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
167 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
168 #, no-wrap
169 msgid "HISTORY"
170 msgstr ""
171
172 #. Linux 1.1.44
173 #. and in libc since libc 4.7.6.
174 #. type: Plain text
175 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
176 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
177 msgid "Linux 1.2."
178 msgstr ""
179
180 #. type: Plain text
181 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
182 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
183 msgid ""
184 "At the time when this system call was introduced, one process could send a "
185 "signal to another process with the same effective user ID. This meant that "
186 "if a privileged process changed its effective user ID for the purpose of "
187 "file permission checking, then it could become vulnerable to receiving "
188 "signals sent by another (unprivileged) process with the same user ID. The "
189 "filesystem user ID attribute was thus added to allow a process to change its "
190 "user ID for the purposes of file permission checking without at the same "
191 "time becoming vulnerable to receiving unwanted signals. Since Linux 2.0, "
192 "signal permission handling is different (see B<kill>(2)), with the result "
193 "that a process can change its effective user ID without being vulnerable to "
194 "receiving signals from unwanted processes. Thus, B<setfsuid>() is nowadays "
195 "unneeded and should be avoided in new applications (likewise for "
196 "B<setfsgid>(2))."
197 msgstr ""
198
199 #. type: Plain text
200 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
201 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
202 msgid ""
203 "The original Linux B<setfsuid>() system call supported only 16-bit user "
204 "IDs. Subsequently, Linux 2.4 added B<setfsuid32>() supporting 32-bit IDs. "
205 "The glibc B<setfsuid>() wrapper function transparently deals with the "
206 "variation across kernel versions."
207 msgstr ""
208
209 #. type: SS
210 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
211 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
212 #, no-wrap
213 msgid "C library/kernel differences"
214 msgstr ""
215
216 #. type: Plain text
217 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
218 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
219 msgid ""
220 "In glibc 2.15 and earlier, when the wrapper for this system call determines "
221 "that the argument can't be passed to the kernel without integer truncation "
222 "(because the kernel is old and does not support 32-bit user IDs), it will "
223 "return -1 and set I<errno> to B<EINVAL> without attempting the system call."
224 msgstr ""
225
226 #. type: SH
227 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
228 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
229 #, no-wrap
230 msgid "BUGS"
231 msgstr ""
232
233 #. type: Plain text
234 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
235 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
236 msgid ""
237 "No error indications of any kind are returned to the caller, and the fact "
238 "that both successful and unsuccessful calls return the same value makes it "
239 "impossible to directly determine whether the call succeeded or failed. "
240 "Instead, the caller must resort to looking at the return value from a "
241 "further call such as I<setfsuid(-1)> (which will always fail), in order to "
242 "determine if a preceding call to B<setfsuid>() changed the filesystem user "
243 "ID. At the very least, B<EPERM> should be returned when the call fails "
244 "(because the caller lacks the B<CAP_SETUID> capability)."
245 msgstr ""
246
247 #. type: SH
248 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
249 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
250 #, no-wrap
251 msgid "SEE ALSO"
252 msgstr ""
253
254 #. type: Plain text
255 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
256 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
257 msgid "B<kill>(2), B<setfsgid>(2), B<capabilities>(7), B<credentials>(7)"
258 msgstr ""
259
260 #. type: TH
261 #: debian-trixie
262 #, no-wrap
263 msgid "2024-05-02"
264 msgstr ""
265
266 #. type: TH
267 #: debian-trixie
268 #, no-wrap
269 msgid "Linux man-pages 6.9.1"
270 msgstr ""
271
272 #. type: Plain text
273 #: debian-trixie
274 msgid "Standard C library (I<libc>, I<-lc>)"
275 msgstr ""
276
277 #. type: TH
278 #: fedora-44 fedora-rawhide
279 #, no-wrap
280 msgid "2024-07-23"
281 msgstr ""
282
283 #. type: TH
284 #: fedora-44 fedora-rawhide
285 #, no-wrap
286 msgid "Linux man-pages 6.13"
287 msgstr ""
288
289 #. type: TH
290 #: mageia-cauldron
291 #, no-wrap
292 msgid "Linux man-pages 6.17"
293 msgstr ""
294
295 #. type: TH
296 #: opensuse-leap-16-1 opensuse-tumbleweed
297 #, no-wrap
298 msgid "Linux man-pages (unreleased)"
299 msgstr ""