Debian Codegraph @

po/ru/man2/setfsuid.2.po

raw
1 # Russian translation of manpages
2 # This file is distributed under the same license as the manpages-l10n package.
3 # Copyright © of this file:
4 # Alexander Golubev <[email protected]>, 2018.
5 # Azamat Hackimov <[email protected]>, 2011, 2014-2016.
6 # Hotellook, 2014.
7 # Nikita <[email protected]>, 2014.
8 # Spiros Georgaras <[email protected]>, 2016.
9 # Vladislav <[email protected]>, 2015.
10 # Yuri Kozlov <[email protected]>, 2011-2019.
11 # Иван Павлов <[email protected]>, 2017.
12 msgid ""
13 msgstr ""
14 "Project-Id-Version: manpages-l10n\n"
15 "POT-Creation-Date: 2026-06-05 06:42+0200\n"
16 "PO-Revision-Date: 2024-12-21 19:49+0300\n"
17 "Last-Translator: Yuri Kozlov <[email protected]>\n"
18 "Language-Team: Russian <[email protected]>\n"
19 "Language: ru\n"
20 "MIME-Version: 1.0\n"
21 "Content-Type: text/plain; charset=UTF-8\n"
22 "Content-Transfer-Encoding: 8bit\n"
23 "Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && "
24 "n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || "
25 "(n%100>=11 && n%100<=14)? 2 : 3);\n"
26 "X-Generator: Lokalize 2.0\n"
27
28 #. type: TH
29 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
30 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
31 #, no-wrap
32 msgid "setfsuid"
33 msgstr "setfsuid"
34
35 #. type: TH
36 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
37 #: opensuse-tumbleweed
38 #, no-wrap
39 msgid "2026-02-08"
40 msgstr "8 февраля 2026 г."
41
42 #. type: TH
43 #: archlinux debian-unstable
44 #, fuzzy, no-wrap
45 #| msgid "Linux man-pages 6.17"
46 msgid "Linux man-pages 6.18"
47 msgstr "Справочные страницы Linux 6.17"
48
49 #. type: SH
50 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
51 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
52 #, no-wrap
53 msgid "NAME"
54 msgstr "НАИМЕНОВАНИЕ"
55
56 #. type: Plain text
57 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
58 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
59 msgid "setfsuid - set user identity used for filesystem checks"
60 msgstr ""
61 "setfsuid - устанавливает идентификатор пользователя для доступа к файловой "
62 "системе"
63
64 #. type: SH
65 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
66 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
67 #, no-wrap
68 msgid "LIBRARY"
69 msgstr "БИБЛИОТЕКА"
70
71 #. type: Plain text
72 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
73 #: opensuse-leap-16-1 opensuse-tumbleweed
74 msgid "Standard C library (I<libc>,\\ I<-lc>)"
75 msgstr "Стандартная библиотека языка C (I<libc>,\\ I<-lc>)"
76
77 #. type: SH
78 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
79 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
80 #, no-wrap
81 msgid "SYNOPSIS"
82 msgstr "СИНТАКСИС"
83
84 #. type: Plain text
85 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
86 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
87 #, no-wrap
88 msgid "B<#include E<lt>sys/fsuid.hE<gt>>\n"
89 msgstr "B<#include E<lt>sys/fsuid.hE<gt>>\n"
90
91 #. type: Plain text
92 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
93 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
94 #, no-wrap
95 msgid "B<[[deprecated]] int setfsuid(uid_t >I<fsuid>B<);>\n"
96 msgstr "B<[[deprecated]] int setfsuid(uid_t >I<fsuid>B<);>\n"
97
98 #. type: SH
99 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
100 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
101 #, no-wrap
102 msgid "DESCRIPTION"
103 msgstr "ОПИСАНИЕ"
104
105 #. type: Plain text
106 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
107 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
108 msgid ""
109 "On Linux, a process has both a filesystem user ID and an effective user ID. "
110 "The (Linux-specific) filesystem user ID is used for permissions checking "
111 "when accessing filesystem objects, while the effective user ID is used for "
112 "various other kinds of permissions checks (see B<credentials>(7))."
113 msgstr ""
114 "В Linux у процесса есть идентификатор пользователя файловой системы и "
115 "эффективный (effective) идентификатор пользователя. Идентификатор "
116 "пользователя файловой системы (есть только в Linux) используется при "
117 "проверки прав доступа к объектам файловой системы, а эффективный "
118 "идентификатор пользователя используется для проверки прав доступа к другим "
119 "различным объектам (смотрите B<credentials>(7))."
120
121 #. type: Plain text
122 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
123 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
124 msgid ""
125 "Normally, the value of the process's filesystem user ID is the same as the "
126 "value of its effective user ID. This is so, because whenever a process's "
127 "effective user ID is changed, the kernel also changes the filesystem user ID "
128 "to be the same as the new value of the effective user ID. A process can "
129 "cause the value of its filesystem user ID to diverge from its effective user "
130 "ID by using B<setfsuid>() to change its filesystem user ID to the value "
131 "given in I<fsuid>."
132 msgstr ""
133 "Обычно, значение идентификатора пользователя файловой системы процесса "
134 "совпадает со значением эффективного идентификатора пользователя. Более того, "
135 "при изменении идентификатора эффективного идентификатора пользователя ядро "
136 "также изменяет и идентификатор пользователя файловой системы на новое "
137 "значение идентификатора эффективного идентификатора пользователя.Процесс "
138 "может изменить значение своего идентификатора пользователя файловой системы "
139 "на отличное от эффективного идентификатора пользователя с помощью "
140 "B<setfsuid>() указав его в параметре I<fsuid>."
141
142 #. type: Plain text
143 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
144 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
145 msgid ""
146 "Explicit calls to B<setfsuid>() and B<setfsgid>(2) are (were) usually used "
147 "only by programs such as the Linux NFS server that need to change what user "
148 "and group ID is used for file access without a corresponding change in the "
149 "real and effective user and group IDs. A change in the normal user IDs for "
150 "a program such as the NFS server is (was) a security hole that can expose it "
151 "to unwanted signals. (However, this issue is historical; see below.)"
152 msgstr ""
153 "Вызовы B<setfsuid>() и B<setfsgid>(2) в явном виде, обычно (теперь), "
154 "используются только в программах Linux типа NFS-сервера, которым требуется "
155 "изменить идентификатор пользователя и группы для доступа к файлам без "
156 "изменения действительного и эффективного идентификаторов пользователя и "
157 "группы. Изменение обычного идентификатора пользователя для программы типа "
158 "NFS-сервера — это нарушение безопасности (раньше), приводящее к возможному "
159 "получению нежелательных сигналов от других групп (однако это было в прошлом, "
160 "читайте далее)."
161
162 #. type: Plain text
163 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
164 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
165 msgid ""
166 "B<setfsuid>() will succeed only if the caller is the superuser or if "
167 "I<fsuid> matches either the caller's real user ID, effective user ID, saved "
168 "set-user-ID, or current filesystem user ID."
169 msgstr ""
170 "Вызов B<setfsuid>() выполняется корректно, только если он был вызван "
171 "суперпользователем или, если I<fsuid> совпадает с действительным, "
172 "эффективным и сохранённым идентификатором пользователя или равен текущему "
173 "значению идентификатора пользователя файловой системы вызывающего."
174
175 #. type: SH
176 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
177 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
178 #, no-wrap
179 msgid "RETURN VALUE"
180 msgstr "ВОЗВРАЩАЕМОЕ ЗНАЧЕНИЕ"
181
182 #. type: Plain text
183 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
184 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
185 msgid ""
186 "On both success and failure, this call returns the previous filesystem user "
187 "ID of the caller."
188 msgstr ""
189 "При успешном выполнении или при ошибке данный вызов возвращает предыдущий "
190 "идентификатор пользователя файловой системы вызвавшего."
191
192 #. type: SH
193 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
194 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
195 #, no-wrap
196 msgid "STANDARDS"
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 "Linux."
203 msgstr "Linux."
204
205 #. type: SH
206 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
207 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
208 #, no-wrap
209 msgid "HISTORY"
210 msgstr "ИСТОРИЯ"
211
212 #. Linux 1.1.44
213 #. and in libc since libc 4.7.6.
214 #. type: Plain text
215 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
216 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
217 msgid "Linux 1.2."
218 msgstr "Linux 1.2."
219
220 #. type: Plain text
221 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
222 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
223 msgid ""
224 "At the time when this system call was introduced, one process could send a "
225 "signal to another process with the same effective user ID. This meant that "
226 "if a privileged process changed its effective user ID for the purpose of "
227 "file permission checking, then it could become vulnerable to receiving "
228 "signals sent by another (unprivileged) process with the same user ID. The "
229 "filesystem user ID attribute was thus added to allow a process to change its "
230 "user ID for the purposes of file permission checking without at the same "
231 "time becoming vulnerable to receiving unwanted signals. Since Linux 2.0, "
232 "signal permission handling is different (see B<kill>(2)), with the result "
233 "that a process can change its effective user ID without being vulnerable to "
234 "receiving signals from unwanted processes. Thus, B<setfsuid>() is nowadays "
235 "unneeded and should be avoided in new applications (likewise for "
236 "B<setfsgid>(2))."
237 msgstr ""
238 "На момент появления данного системного вызова один процесс мог послать "
239 "сигнал другому процессу с тем же эффективным идентификатором пользователя. "
240 "Это означает, что если привилегированный процесс изменит свой эффективный "
241 "идентификатор пользователя с целью проверки доступа к файлу, то он сможет "
242 "стать уязвимым к приёму сигналов, посланных (непривилегированным) процессом "
243 "с тем же идентификатором пользователя. Атрибут идентификатора пользователя "
244 "файловой системы был добавлен как раз для того, чтобы позволить процессу "
245 "изменить свой идентификатор пользователя для проверки доступа к файлу не "
246 "боясь стать уязвимым к приёму нежелаемых сигналов. Начиная с Linux 2.0, "
247 "обработка прав на сигналы была изменена (смотрите B<kill>(2)), что позволило "
248 "процессу изменять свой эффективный идентификатор пользователя без боязни "
249 "стать уязвимым к приёму нежелаемых сигналов от других процессов.Таким "
250 "образом, сейчас системный вызов B<setfsuid>() уже не нужен и не должен "
251 "использоваться в новых приложениях (как и B<setfsgid>(2))."
252
253 #. type: Plain text
254 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
255 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
256 msgid ""
257 "The original Linux B<setfsuid>() system call supported only 16-bit user "
258 "IDs. Subsequently, Linux 2.4 added B<setfsuid32>() supporting 32-bit IDs. "
259 "The glibc B<setfsuid>() wrapper function transparently deals with the "
260 "variation across kernel versions."
261 msgstr ""
262 "Первоначальная версия системного вызова B<setfsuid>() в Linux поддерживала "
263 "только 16-битные идентификаторы пользователя. Позднее в Linux 2.4 был "
264 "добавлен вызов B<setfsuid32>(), поддерживающий 32-битные идентификаторы. В "
265 "glibc обёрточная функция B<setfsuid>() работает одинаково вне зависимости от "
266 "версий ядра."
267
268 #. type: SS
269 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
270 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
271 #, no-wrap
272 msgid "C library/kernel differences"
273 msgstr "Отличия между библиотекой C и ядром"
274
275 #. type: Plain text
276 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
277 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
278 msgid ""
279 "In glibc 2.15 and earlier, when the wrapper for this system call determines "
280 "that the argument can't be passed to the kernel without integer truncation "
281 "(because the kernel is old and does not support 32-bit user IDs), it will "
282 "return -1 and set I<errno> to B<EINVAL> without attempting the system call."
283 msgstr ""
284 "В glibc 2.15 и старее, если обёрточная функция этого системного вызова "
285 "определяет, что аргумент невозможно передать ядру без обрезания целого (так "
286 "как ядро старое и не поддерживает 32-битные ID пользователя), то она "
287 "возвращает -1 и присваивает I<errno> значение B<EINVAL> не пытаясь выполнить "
288 "системный вызов."
289
290 #. type: SH
291 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
292 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
293 #, no-wrap
294 msgid "BUGS"
295 msgstr "ПРОГРАММНЫЕ ОШИБКИ"
296
297 #. type: Plain text
298 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
299 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
300 msgid ""
301 "No error indications of any kind are returned to the caller, and the fact "
302 "that both successful and unsuccessful calls return the same value makes it "
303 "impossible to directly determine whether the call succeeded or failed. "
304 "Instead, the caller must resort to looking at the return value from a "
305 "further call such as I<setfsuid(-1)> (which will always fail), in order to "
306 "determine if a preceding call to B<setfsuid>() changed the filesystem user "
307 "ID. At the very least, B<EPERM> should be returned when the call fails "
308 "(because the caller lacks the B<CAP_SETUID> capability)."
309 msgstr ""
310 "Вызывающему не возвращается никаких ошибок, и факт того, что успешном или не "
311 "успешном выполнении возвращается одинаковое значение, делает невозможным "
312 "напрямую определить как завершился вызов. Вместо этого, вызывающий должен "
313 "получить значение из ещё одного вызова — I<setfsuid(-1)> (который всегда "
314 "завершается с ошибкой), чтобы определить, изменил ли предыдущий вызов "
315 "B<setfsuid>() идентификатор пользователя файловой системы. По крайней мере, "
316 "должно быть получено значение B<EPERM>, если вызов завершится с ошибкой (так "
317 "как у вызывающего нет мандата B<CAP_SETUID>)."
318
319 #. type: SH
320 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
321 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
322 #, no-wrap
323 msgid "SEE ALSO"
324 msgstr "СМОТРИТЕ ТАКЖЕ"
325
326 #. type: Plain text
327 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
328 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
329 msgid "B<kill>(2), B<setfsgid>(2), B<capabilities>(7), B<credentials>(7)"
330 msgstr "B<kill>(2), B<setfsgid>(2), B<capabilities>(7), B<credentials>(7)"
331
332 #. type: TH
333 #: debian-trixie
334 #, no-wrap
335 msgid "2024-05-02"
336 msgstr "2 мая 2024 г."
337
338 #. type: TH
339 #: debian-trixie
340 #, no-wrap
341 msgid "Linux man-pages 6.9.1"
342 msgstr "Страницы руководства Linux 6.9.1"
343
344 #. type: Plain text
345 #: debian-trixie
346 msgid "Standard C library (I<libc>, I<-lc>)"
347 msgstr "Стандартная библиотека языка C (I<libc>, I<-lc>)"
348
349 #. type: TH
350 #: fedora-44 fedora-rawhide
351 #, no-wrap
352 msgid "2024-07-23"
353 msgstr "23 июля 2024 г."
354
355 #. type: TH
356 #: fedora-44 fedora-rawhide
357 #, no-wrap
358 msgid "Linux man-pages 6.13"
359 msgstr "Страницы руководства Linux 6.13"
360
361 #. type: TH
362 #: mageia-cauldron
363 #, no-wrap
364 msgid "Linux man-pages 6.17"
365 msgstr "Страницы руководства Linux 6.17"
366
367 #. type: TH
368 #: opensuse-leap-16-1 opensuse-tumbleweed
369 #, no-wrap
370 msgid "Linux man-pages (unreleased)"
371 msgstr "Страницы руководства Linux (не выпущены)"