Debian Codegraph @

po/ru/man7/capabilities.7.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 # Azamat Hackimov <[email protected]>, 2014.
5 # Dmitriy S. Seregin <[email protected]>, 2013.
6 # Dmitry Bolkhovskikh <[email protected]>, 2017.
7 # Katrin Kutepova <[email protected]>, 2018.
8 # Yuri Kozlov <[email protected]>, 2011-2019.
9 # Иван Павлов <[email protected]>, 2017.
10 msgid ""
11 msgstr ""
12 "Project-Id-Version: manpages-l10n\n"
13 "POT-Creation-Date: 2026-06-05 06:20+0200\n"
14 "PO-Revision-Date: 2024-12-21 19:50+0300\n"
15 "Last-Translator: Yuri Kozlov <[email protected]>\n"
16 "Language-Team: Russian <[email protected]>\n"
17 "Language: ru\n"
18 "MIME-Version: 1.0\n"
19 "Content-Type: text/plain; charset=UTF-8\n"
20 "Content-Transfer-Encoding: 8bit\n"
21 "Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && "
22 "n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || "
23 "(n%100>=11 && n%100<=14)? 2 : 3);\n"
24 "X-Generator: Lokalize 2.0\n"
25
26 #. type: TH
27 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
28 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
29 #, no-wrap
30 msgid "Capabilities"
31 msgstr "Мандаты"
32
33 #. type: TH
34 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
35 #: opensuse-tumbleweed
36 #, no-wrap
37 msgid "2026-02-08"
38 msgstr "8 февраля 2026 г."
39
40 #. type: TH
41 #: archlinux debian-unstable
42 #, fuzzy, no-wrap
43 #| msgid "Linux man-pages 6.17"
44 msgid "Linux man-pages 6.18"
45 msgstr "Справочные страницы Linux 6.17"
46
47 #. type: SH
48 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
49 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
50 #, no-wrap
51 msgid "NAME"
52 msgstr "НАИМЕНОВАНИЕ"
53
54 #. type: Plain text
55 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
56 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
57 msgid "capabilities - overview of Linux capabilities"
58 msgstr "capabilities - обзор мандатов Linux"
59
60 #. type: SH
61 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
62 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
63 #, no-wrap
64 msgid "DESCRIPTION"
65 msgstr "ОПИСАНИЕ"
66
67 #. type: Plain text
68 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
69 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
70 msgid ""
71 "For the purpose of performing permission checks, traditional UNIX "
72 "implementations distinguish two categories of processes: I<privileged> "
73 "processes (whose effective user ID is 0, referred to as superuser or root), "
74 "and I<unprivileged> processes (whose effective UID is nonzero). Privileged "
75 "processes bypass all kernel permission checks, while unprivileged processes "
76 "are subject to full permission checking based on the process's credentials "
77 "(usually: effective UID, effective GID, and supplementary group list)."
78 msgstr ""
79 "Для выполнения проверки прав доступа в обычных реализациях UNIX процессы "
80 "разделяют на две категории: I<привилегированные> (ID эффективного "
81 "пользователя равен 0, как у суперпользователя или root), и I<не "
82 "привилегированные> (ID эффективного пользователя не равен нулю). Для "
83 "привилегированных процессов все проверки прав в ядре не выполняются, а для "
84 "не привилегированных процессов выполняется полная проверка на основе "
85 "мандатов процесса (обычно, эффективного UID, эффективного GID и списка "
86 "дополнительных групп)."
87
88 #. type: Plain text
89 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
90 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
91 #, fuzzy
92 #| msgid ""
93 #| "Starting with kernel 2.2, Linux divides the privileges traditionally "
94 #| "associated with superuser into distinct units, known as I<capabilities>, "
95 #| "which can be independently enabled and disabled. Capabilities are a per-"
96 #| "thread attribute."
97 msgid ""
98 "Starting with Linux 2.2, Linux divides the privileges traditionally "
99 "associated with superuser into distinct units, known as I<capabilities>, "
100 "which can be independently enabled and disabled. Capabilities are a per-"
101 "thread attribute."
102 msgstr ""
103 "В ядре Linux начиная с версии 2.2, все привилегии, обычно связываемые с "
104 "суперпользователем, разделены на несколько частей, называемых I<мандатами> "
105 "(capabilities), которые можно разрешать и запрещать независимо друг от "
106 "друга. Мандаты являются атрибутом нити."
107
108 #. type: SS
109 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
110 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
111 #, no-wrap
112 msgid "Capabilities list"
113 msgstr "Список мандатов"
114
115 #. type: Plain text
116 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
117 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
118 msgid ""
119 "The following list shows the capabilities implemented on Linux, and the "
120 "operations or behaviors that each capability permits:"
121 msgstr ""
122 "В следующим списке показаны мандаты, реализованные в Linux, а также операции "
123 "или поведение, которые эти мандаты разрешают:"
124
125 #. type: TP
126 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
127 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
128 #, no-wrap
129 msgid "B<CAP_AUDIT_CONTROL> (since Linux 2.6.11)"
130 msgstr "B<CAP_AUDIT_CONTROL> (начиная с Linux 2.6.11)"
131
132 #. type: Plain text
133 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
134 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
135 msgid ""
136 "Enable and disable kernel auditing; change auditing filter rules; retrieve "
137 "auditing status and filtering rules."
138 msgstr ""
139 "Позволяет включать или выключать аудит ядра; изменять фильтрующие правила "
140 "аудита; получать состояние аудита и фильтрующие правила."
141
142 #. type: TP
143 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
144 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
145 #, no-wrap
146 msgid "B<CAP_AUDIT_READ> (since Linux 3.16)"
147 msgstr "B<CAP_AUDIT_READ> (начиная с Linux 3.16)"
148
149 #. commit a29b694aa1739f9d76538e34ae25524f9c549d59
150 #. commit 3a101b8de0d39403b2c7e5c23fd0b005668acf48
151 #. type: Plain text
152 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
153 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
154 msgid "Allow reading the audit log via a multicast netlink socket."
155 msgstr "Позволяет читать протокол аудита через многоадресный сокет netlink."
156
157 #. type: TP
158 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
159 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
160 #, no-wrap
161 msgid "B<CAP_AUDIT_WRITE> (since Linux 2.6.11)"
162 msgstr "B<CAP_AUDIT_WRITE> (начиная с Linux 2.6.11)"
163
164 #. FIXME Add FAN_ENABLE_AUDIT
165 #. type: Plain text
166 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
167 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
168 msgid "Write records to kernel auditing log."
169 msgstr "Позволяет записывать данные в журнал аудита ядра."
170
171 #. type: TP
172 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
173 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
174 #, no-wrap
175 msgid "B<CAP_BLOCK_SUSPEND> (since Linux 3.5)"
176 msgstr "B<CAP_BLOCK_SUSPEND> (начиная с Linux 3.5)"
177
178 #. type: Plain text
179 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
180 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
181 msgid ""
182 "Employ features that can block system suspend (B<epoll>(7) B<EPOLLWAKEUP>, "
183 "I</proc/sys/wake_lock>)."
184 msgstr ""
185 "Позволяет использовать возможности, которые могут приводить к блокированию "
186 "приостановки системы (B<epoll>(7) B<EPOLLWAKEUP>, I</proc/sys/wake_lock>)."
187
188 #. type: TP
189 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
190 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
191 #, fuzzy, no-wrap
192 #| msgid "B<CAP_LEASE> (since Linux 2.4)"
193 msgid "B<CAP_BPF> (since Linux 5.8)"
194 msgstr "B<CAP_LEASE> (начиная с Linux 2.4)"
195
196 #. type: Plain text
197 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
198 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
199 msgid "Employ privileged BPF operations; see B<bpf>(2) and B<bpf-helpers>(7)."
200 msgstr ""
201
202 #. type: Plain text
203 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
204 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
205 msgid ""
206 "This capability was added in Linux 5.8 to separate out BPF functionality "
207 "from the overloaded B<CAP_SYS_ADMIN> capability."
208 msgstr ""
209
210 #. type: TP
211 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
212 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
213 #, fuzzy, no-wrap
214 #| msgid "B<CAP_LEASE> (since Linux 2.4)"
215 msgid "B<CAP_CHECKPOINT_RESTORE> (since Linux 5.9)"
216 msgstr "B<CAP_LEASE> (начиная с Linux 2.4)"
217
218 #. type: IP
219 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
220 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
221 #, no-wrap
222 msgid "\\[bu]"
223 msgstr "\\[bu]"
224
225 #. type: Plain text
226 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
227 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
228 msgid "Update I</proc/sys/kernel/ns_last_pid> (see B<pid_namespaces>(7));"
229 msgstr ""
230
231 #. FIXME There is also some use case relating to
232 #. prctl_set_mm_exe_file(); in the 5.9 sources, see
233 #. prctl_set_mm_map().
234 #. type: Plain text
235 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
236 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
237 msgid "employ the I<set_tid> feature of B<clone3>(2);"
238 msgstr ""
239
240 #. type: Plain text
241 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
242 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
243 msgid ""
244 "read the contents of the symbolic links in I</proc/>pidI</map_files> for "
245 "other processes."
246 msgstr ""
247
248 #. type: Plain text
249 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
250 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
251 msgid ""
252 "This capability was added in Linux 5.9 to separate out checkpoint/restore "
253 "functionality from the overloaded B<CAP_SYS_ADMIN> capability."
254 msgstr ""
255
256 #. type: TP
257 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
258 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
259 #, no-wrap
260 msgid "B<CAP_CHOWN>"
261 msgstr "B<CAP_CHOWN>"
262
263 #. type: Plain text
264 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
265 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
266 msgid "Make arbitrary changes to file UIDs and GIDs (see B<chown>(2))."
267 msgstr ""
268 "Позволяет выполнять произвольные изменения файловых UID и GID (смотрите "
269 "B<chown>(2))."
270
271 #. type: TP
272 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
273 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
274 #, no-wrap
275 msgid "B<CAP_DAC_OVERRIDE>"
276 msgstr "B<CAP_DAC_OVERRIDE>"
277
278 #. type: Plain text
279 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
280 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
281 msgid ""
282 "Bypass file read, write, and execute permission checks. (DAC is an "
283 "abbreviation of \"discretionary access control\".)"
284 msgstr ""
285 "Позволяет пропускать проверки доступа к файлу на чтение, запись и выполнение "
286 "(DAC (discretionary access control) — избирательный контроль доступа)."
287
288 #. type: TP
289 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
290 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
291 #, no-wrap
292 msgid "B<CAP_DAC_READ_SEARCH>"
293 msgstr "B<CAP_DAC_READ_SEARCH>"
294
295 #. type: Plain text
296 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
297 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
298 msgid ""
299 "Bypass file read permission checks and directory read and execute permission "
300 "checks;"
301 msgstr ""
302 "Позволяет пропускать проверки доступа к файлу на чтение и доступа к каталогу "
303 "на чтение и выполнение;"
304
305 #. type: Plain text
306 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
307 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
308 msgid "invoke B<open_by_handle_at>(2);"
309 msgstr "Позволяет вызывать B<open_by_handle_at>(2);"
310
311 #. type: Plain text
312 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
313 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
314 msgid ""
315 "use the B<linkat>(2) B<AT_EMPTY_PATH> flag to create a link to a file "
316 "referred to by a file descriptor."
317 msgstr ""
318 "Позволяет использовать B<linkat>(2) с флагом B<AT_EMPTY_PATH> для создания "
319 "ссылки на файл, заданным файловым дескриптором."
320
321 #. type: TP
322 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
323 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
324 #, no-wrap
325 msgid "B<CAP_FOWNER>"
326 msgstr "B<CAP_FOWNER>"
327
328 #. type: Plain text
329 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
330 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
331 msgid ""
332 "Bypass permission checks on operations that normally require the filesystem "
333 "UID of the process to match the UID of the file (e.g., B<chmod>(2), "
334 "B<utime>(2)), excluding those operations covered by B<CAP_DAC_OVERRIDE> and "
335 "B<CAP_DAC_READ_SEARCH>;"
336 msgstr ""
337 "Позволяет пропускать проверки доступа для операций, которые обычно требуют "
338 "совпадения UID файловой системы процесса и UID файла (например, B<chmod>(2), "
339 "B<utime>(2)), исключая операции, охватываемые B<CAP_DAC_OVERRIDE> и "
340 "B<CAP_DAC_READ_SEARCH>;"
341
342 #. type: Plain text
343 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
344 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
345 #, fuzzy
346 #| msgid "set inode flags (see B<ioctl_iflags>(2)) on arbitrary files;"
347 msgid "set inode flags (see B<FS_IOC_SETFLAGS>(2const)) on arbitrary files;"
348 msgstr ""
349 "Позволяет изменять флаги иноды (смотрите B<ioctl_iflags>(2)) у произвольных "
350 "файлов;"
351
352 #. type: Plain text
353 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
354 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
355 msgid "set Access Control Lists (ACLs) on arbitrary files;"
356 msgstr ""
357 "Позволяет устанавливать списки контроля доступа (ACL) произвольных файлов;"
358
359 #. type: Plain text
360 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
361 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
362 msgid "ignore directory sticky bit on file deletion;"
363 msgstr "Позволяет игнорировать закрепляющий бит при удалении файла;"
364
365 #. type: Plain text
366 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
367 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
368 msgid ""
369 "modify I<user> extended attributes on sticky directory owned by any user;"
370 msgstr ""
371 "Позволяет изменять расширенные I<пользовательские> атрибуты закреплённого "
372 "каталога, принадлежащего любому пользователю;"
373
374 #. type: Plain text
375 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
376 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
377 msgid ""
378 "specify B<O_NOATIME> for arbitrary files in B<open>(2) and B<fcntl>(2)."
379 msgstr ""
380 "Позволяет задавать B<O_NOATIME> для произвольных файлов в B<open>(2) и "
381 "B<fcntl>(2)."
382
383 #. type: TP
384 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
385 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
386 #, no-wrap
387 msgid "B<CAP_FSETID>"
388 msgstr "B<CAP_FSETID>"
389
390 #. type: Plain text
391 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
392 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
393 msgid ""
394 "Don't clear set-user-ID and set-group-ID mode bits when a file is modified;"
395 msgstr ""
396 "Позволяет не очищать биты режима set-user-ID и set-group-ID при изменении "
397 "файла;"
398
399 #. type: Plain text
400 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
401 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
402 msgid ""
403 "set the set-group-ID bit for a file whose GID does not match the filesystem "
404 "or any of the supplementary GIDs of the calling process."
405 msgstr ""
406 "Позволяет устанавливать бит set-group-ID на файл, у которого GID не "
407 "совпадает с битом файловой системы или любыми дополнительными GID "
408 "вызывающего процесса."
409
410 #. type: TP
411 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
412 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
413 #, no-wrap
414 msgid "B<CAP_IPC_LOCK>"
415 msgstr "B<CAP_IPC_LOCK>"
416
417 #. type: Plain text
418 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
419 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
420 #, fuzzy
421 #| msgid "Lock memory (B<mlock>(2), B<mlockall>(2), B<mmap>(2), B<shmctl>(2))."
422 msgid "Lock memory (B<mlock>(2), B<mlockall>(2), B<mmap>(2), B<shmctl>(2));"
423 msgstr ""
424 "Позволяет блокировать память (B<mlock>(2), B<mlockall>(2), B<mmap>(2), "
425 "B<shmctl>(2))."
426
427 #. type: Plain text
428 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
429 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
430 #, fuzzy
431 #| msgid "Lock memory (B<mlock>(2), B<mlockall>(2), B<mmap>(2), B<shmctl>(2))."
432 msgid ""
433 "Allocate memory using huge pages (B<memfd_create>(2), B<mmap>(2), "
434 "B<shmctl>(2))."
435 msgstr ""
436 "Позволяет блокировать память (B<mlock>(2), B<mlockall>(2), B<mmap>(2), "
437 "B<shmctl>(2))."
438
439 #. type: TP
440 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
441 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
442 #, no-wrap
443 msgid "B<CAP_IPC_OWNER>"
444 msgstr "B<CAP_IPC_OWNER>"
445
446 #. type: Plain text
447 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
448 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
449 msgid "Bypass permission checks for operations on System V IPC objects."
450 msgstr ""
451 "Позволяет не выполнять проверки доступа для операций с объектами System V "
452 "IPC."
453
454 #. type: TP
455 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
456 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
457 #, no-wrap
458 msgid "B<CAP_KILL>"
459 msgstr "B<CAP_KILL>"
460
461 #. FIXME . CAP_KILL also has an effect for threads + setting child
462 #. termination signal to other than SIGCHLD: without this
463 #. capability, the termination signal reverts to SIGCHLD
464 #. if the child does an exec(). What is the rationale
465 #. for this?
466 #. type: Plain text
467 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
468 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
469 msgid ""
470 "Bypass permission checks for sending signals (see B<kill>(2)). This "
471 "includes use of the B<ioctl>(2) B<KDSIGACCEPT> operation."
472 msgstr ""
473 "Позволяет не выполнять проверки при отправке сигналов (смотрите B<kill>(2)). "
474 "Сюда относится использование B<ioctl>(2) с операцией B<KDSIGACCEPT>."
475
476 #. type: TP
477 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
478 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
479 #, no-wrap
480 msgid "B<CAP_LEASE> (since Linux 2.4)"
481 msgstr "B<CAP_LEASE> (начиная с Linux 2.4)"
482
483 #. type: Plain text
484 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
485 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
486 msgid "Establish leases on arbitrary files (see B<fcntl>(2))."
487 msgstr ""
488 "Позволяет устанавливать аренду на произвольные файлы (смотрите B<fcntl>(2))."
489
490 #. type: TP
491 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
492 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
493 #, no-wrap
494 msgid "B<CAP_LINUX_IMMUTABLE>"
495 msgstr "B<CAP_LINUX_IMMUTABLE>"
496
497 #. type: Plain text
498 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
499 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
500 #, fuzzy
501 #| msgid ""
502 #| "Set the B<FS_APPEND_FL> and B<FS_IMMUTABLE_FL> inode flags (see "
503 #| "B<ioctl_iflags>(2))."
504 msgid ""
505 "Set the B<FS_APPEND_FL> and B<FS_IMMUTABLE_FL> inode flags (see "
506 "B<FS_IOC_SETFLAGS>(2const))."
507 msgstr ""
508 "Позволяет устанавливать флаги иноды B<FS_APPEND_FL> и B<FS_IMMUTABLE_FL> "
509 "(смотрите B<ioctl_iflags>(2))."
510
511 #. type: TP
512 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
513 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
514 #, no-wrap
515 msgid "B<CAP_MAC_ADMIN> (since Linux 2.6.25)"
516 msgstr "B<CAP_MAC_ADMIN> (начиная с Linux 2.6.25)"
517
518 #. type: Plain text
519 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
520 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
521 msgid ""
522 "Allow MAC configuration or state changes. Implemented for the Smack Linux "
523 "Security Module (LSM)."
524 msgstr ""
525 "Разрешает изменять настройку MAC или состояние. Реализован в Smack Linux "
526 "Security Module (LSM)."
527
528 #. type: TP
529 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
530 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
531 #, no-wrap
532 msgid "B<CAP_MAC_OVERRIDE> (since Linux 2.6.25)"
533 msgstr "B<CAP_MAC_OVERRIDE> (начиная с Linux 2.6.25)"
534
535 #. type: Plain text
536 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
537 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
538 msgid ""
539 "Override Mandatory Access Control (MAC). Implemented for the Smack LSM."
540 msgstr ""
541 "Позволяет замещать мандатный контроль доступа (MAC). Реализован в Smack LSM."
542
543 #. type: TP
544 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
545 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
546 #, no-wrap
547 msgid "B<CAP_MKNOD> (since Linux 2.4)"
548 msgstr "B<CAP_MKNOD> (начиная с Linux 2.4)"
549
550 #. type: Plain text
551 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
552 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
553 msgid "Create special files using B<mknod>(2)."
554 msgstr "Позволяет создавать специальные файлы с помощью B<mknod>(2)."
555
556 #. type: TP
557 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
558 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
559 #, no-wrap
560 msgid "B<CAP_NET_ADMIN>"
561 msgstr "B<CAP_NET_ADMIN>"
562
563 #. type: Plain text
564 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
565 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
566 msgid "Perform various network-related operations:"
567 msgstr "Позволяет выполнять различные сетевые операции:"
568
569 #. type: Plain text
570 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
571 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
572 msgid "interface configuration;"
573 msgstr "настройку интерфейса;"
574
575 #. type: Plain text
576 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
577 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
578 msgid "administration of IP firewall, masquerading, and accounting;"
579 msgstr "управление IP МЭ, трансляцией адресов и ведением учёта;"
580
581 #. type: Plain text
582 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
583 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
584 msgid "modify routing tables;"
585 msgstr "изменять таблицы маршрутизации;"
586
587 #. type: Plain text
588 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
589 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
590 msgid "bind to any address for transparent proxying;"
591 msgstr "привязываться к любому адресу для прозрачного проксирования;"
592
593 #. type: Plain text
594 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
595 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
596 #, fuzzy
597 #| msgid "set type-of-service (TOS)"
598 msgid "set type-of-service (TOS);"
599 msgstr "назначать тип сервиса (TOS)"
600
601 #. type: Plain text
602 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
603 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
604 msgid "clear driver statistics;"
605 msgstr "очищать статистику драйвера;"
606
607 #. type: Plain text
608 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
609 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
610 msgid "set promiscuous mode;"
611 msgstr "включать режим захвата (promiscuous);"
612
613 #. type: Plain text
614 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
615 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
616 msgid "enabling multicasting;"
617 msgstr "включать многоадресные рассылки (multicasting);"
618
619 #. type: Plain text
620 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
621 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
622 msgid ""
623 "use B<setsockopt>(2) to set the following socket options: B<SO_DEBUG>, "
624 "B<SO_MARK>, B<SO_PRIORITY> (for a priority outside the range 0 to 6), "
625 "B<SO_RCVBUFFORCE>, and B<SO_SNDBUFFORCE>."
626 msgstr ""
627 "использовать B<setsockopt>(2) для включения следующих параметров сокета: "
628 "B<SO_DEBUG>, B<SO_MARK>, B<SO_PRIORITY> (для приоритетов вне диапазона 0 - "
629 "6), B<SO_RCVBUFFORCE> и B<SO_SNDBUFFORCE>."
630
631 #. type: TP
632 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
633 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
634 #, no-wrap
635 msgid "B<CAP_NET_BIND_SERVICE>"
636 msgstr "B<CAP_NET_BIND_SERVICE>"
637
638 #. type: Plain text
639 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
640 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
641 msgid ""
642 "Bind a socket to Internet domain privileged ports (port numbers less than "
643 "1024)."
644 msgstr ""
645 "Позволяет привязывать сокет к привилегированным портам домена интернета "
646 "(номера портов меньше 1024)."
647
648 #. type: TP
649 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
650 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
651 #, no-wrap
652 msgid "B<CAP_NET_BROADCAST>"
653 msgstr "B<CAP_NET_BROADCAST>"
654
655 #. FIXME Since Linux 4.2, there are use cases for netlink sockets
656 #. commit 59324cf35aba5336b611074028777838a963d03b
657 #. type: Plain text
658 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
659 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
660 msgid "(Unused) Make socket broadcasts, and listen to multicasts."
661 msgstr ""
662 "(не используется) Позволяет осуществлять широковещание с сокета и "
663 "прослушивание многоадресных рассылок."
664
665 #. type: TP
666 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
667 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
668 #, no-wrap
669 msgid "B<CAP_NET_RAW>"
670 msgstr "B<CAP_NET_RAW>"
671
672 #. type: Plain text
673 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
674 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
675 msgid "Use RAW and PACKET sockets;"
676 msgstr "Позволяет использовать сокеты RAW и PACKET;"
677
678 #. type: Plain text
679 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
680 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
681 msgid "bind to any address for transparent proxying."
682 msgstr "позволяет привязываться к любому адресу для прозрачного проксирования."
683
684 #. type: TP
685 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
686 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
687 #, fuzzy, no-wrap
688 #| msgid "B<CAP_MKNOD> (since Linux 2.4)"
689 msgid "B<CAP_PERFMON> (since Linux 5.8)"
690 msgstr "B<CAP_MKNOD> (начиная с Linux 2.4)"
691
692 #. type: Plain text
693 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
694 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
695 msgid "Employ various performance-monitoring mechanisms, including:"
696 msgstr ""
697
698 #. type: Plain text
699 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
700 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
701 msgid "call B<perf_event_open>(2);"
702 msgstr "Позволяет вызывать B<perf_event_open>(2);"
703
704 #. type: Plain text
705 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
706 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
707 msgid "employ various BPF operations that have performance implications."
708 msgstr ""
709
710 #. type: Plain text
711 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
712 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
713 msgid ""
714 "This capability was added in Linux 5.8 to separate out performance "
715 "monitoring functionality from the overloaded B<CAP_SYS_ADMIN> capability. "
716 "See also the kernel source file I<Documentation/admin-guide/perf-"
717 "security.rst>."
718 msgstr ""
719
720 #. type: TP
721 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
722 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
723 #, no-wrap
724 msgid "B<CAP_SETGID>"
725 msgstr "B<CAP_SETGID>"
726
727 #. type: Plain text
728 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
729 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
730 msgid ""
731 "Make arbitrary manipulations of process GIDs and supplementary GID list;"
732 msgstr ""
733 "Позволяет выполнять произвольные действия с GID процесса и списком "
734 "дополнительных GID;"
735
736 #. type: Plain text
737 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
738 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
739 msgid "forge GID when passing socket credentials via UNIX domain sockets;"
740 msgstr ""
741 "Позволяет подделывать GID при передаче мандатов сокета через доменные сокеты "
742 "UNIX;"
743
744 #. type: Plain text
745 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
746 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
747 msgid ""
748 "write a group ID mapping in a user namespace (see B<user_namespaces>(7))."
749 msgstr ""
750 "Позволяет записывать отображение идентификатора группы в пользовательское "
751 "пространство (смотрите B<user_namespaces>(7))."
752
753 #. type: TP
754 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
755 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
756 #, no-wrap
757 msgid "B<CAP_SETFCAP> (since Linux 2.6.24)"
758 msgstr "B<CAP_SETFCAP> (начиная с Linux 2.6.24)"
759
760 #. type: Plain text
761 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
762 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
763 msgid "Set arbitrary capabilities on a file."
764 msgstr "Устанавливает произвольные мандаты на файл."
765
766 #. commit db2e718a47984b9d71ed890eb2ea36ecf150de18
767 #. type: Plain text
768 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
769 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
770 #, fuzzy
771 #| msgid ""
772 #| "write a user ID mapping in a user namespace (see B<user_namespaces>(7))."
773 msgid ""
774 "Since Linux 5.12, this capability is also needed to map user ID 0 in a new "
775 "user namespace; see B<user_namespaces>(7) for details."
776 msgstr ""
777 "Позволяет записывать отображение идентификатора пользователя в "
778 "пользовательское пространство (смотрите B<user_namespaces>(7))."
779
780 #. type: TP
781 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
782 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
783 #, no-wrap
784 msgid "B<CAP_SETPCAP>"
785 msgstr "B<CAP_SETPCAP>"
786
787 #. type: Plain text
788 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
789 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
790 msgid ""
791 "If file capabilities are supported (i.e., since Linux 2.6.24): add any "
792 "capability from the calling thread's bounding set to its inheritable set; "
793 "drop capabilities from the bounding set (via B<prctl>(2) "
794 "B<PR_CAPBSET_DROP>); make changes to the I<securebits> flags."
795 msgstr ""
796 "Если файловые мандаты поддерживаются (т. е., начиная с Linux 2.6.24): "
797 "позволяет добавлять любой мандат из ограничивающего набора вызывающей нити в "
798 "её наследуемый набор; отзывать мандаты из ограничивающего набора (с помощью "
799 "B<prctl>(2) с операцией B<PR_CAPBSET_DROP>); изменять флаги I<securebits>."
800
801 #. type: Plain text
802 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
803 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
804 #, fuzzy
805 #| msgid ""
806 #| "If file capabilities are not supported (i.e., kernels before Linux "
807 #| "2.6.24): grant or remove any capability in the caller's permitted "
808 #| "capability set to or from any other process. (This property of "
809 #| "B<CAP_SETPCAP> is not available when the kernel is configured to support "
810 #| "file capabilities, since B<CAP_SETPCAP> has entirely different semantics "
811 #| "for such kernels.)"
812 msgid ""
813 "If file capabilities are not supported (i.e., before Linux 2.6.24): grant or "
814 "remove any capability in the caller's permitted capability set to or from "
815 "any other process. (This property of B<CAP_SETPCAP> is not available when "
816 "the kernel is configured to support file capabilities, since B<CAP_SETPCAP> "
817 "has entirely different semantics for such kernels.)"
818 msgstr ""
819 "Если файловые мандаты не поддерживаются (т. е., до Linux 2.6.24): позволяет "
820 "предоставлять и отзывать любой мандат в списке разрешённых мандатов "
821 "вызывающего или любого другого процесса (это свойство B<CAP_SETPCAP> "
822 "недоступно, если ядро собрано с поддержкой файловых мандатов, так как "
823 "B<CAP_SETPCAP> имеет полностью другую семантику у таких ядер)."
824
825 #. type: TP
826 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
827 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
828 #, no-wrap
829 msgid "B<CAP_SETUID>"
830 msgstr "B<CAP_SETUID>"
831
832 #. type: Plain text
833 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
834 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
835 msgid ""
836 "Make arbitrary manipulations of process UIDs (B<setuid>(2), B<setreuid>(2), "
837 "B<setresuid>(2), B<setfsuid>(2));"
838 msgstr ""
839 "Позволяет выполнять произвольные действия с UID процесса (B<setuid>(2), "
840 "B<setreuid>(2), B<setresuid>(2), B<setfsuid>(2));"
841
842 #. type: Plain text
843 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
844 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
845 msgid "forge UID when passing socket credentials via UNIX domain sockets;"
846 msgstr ""
847 "Позволяет подделывать UID при передаче мандатов сокета через доменные сокеты "
848 "UNIX;"
849
850 #. type: Plain text
851 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
852 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
853 msgid ""
854 "write a user ID mapping in a user namespace (see B<user_namespaces>(7))."
855 msgstr ""
856 "Позволяет записывать отображение идентификатора пользователя в "
857 "пользовательское пространство (смотрите B<user_namespaces>(7))."
858
859 #. type: TP
860 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
861 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
862 #, no-wrap
863 msgid "B<CAP_SYS_ADMIN>"
864 msgstr "B<CAP_SYS_ADMIN>"
865
866 #. type: Plain text
867 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
868 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
869 #, fuzzy
870 #| msgid ""
871 #| "I<Note>: this capability is overloaded; see I<Notes to kernel "
872 #| "developers>, below."
873 msgid ""
874 "I<Note>: this capability is overloaded; see I<Notes to kernel developers> "
875 "below."
876 msgstr ""
877 "I<Замечание>: данный мандат перегружен; смотрите I<Замечания разработчикам "
878 "ядра> ниже."
879
880 #. type: Plain text
881 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
882 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
883 msgid ""
884 "Perform a range of system administration operations including: "
885 "B<quotactl>(2), B<mount>(2), B<umount>(2), B<pivot_root>(2), B<swapon>(2), "
886 "B<swapoff>(2), B<sethostname>(2), and B<setdomainname>(2);"
887 msgstr ""
888 "Позволяет выполнять следующие задачи управления системой: B<quotactl>(2), "
889 "B<mount>(2), B<umount>(2), B<pivot_root>(2), B<swapon>(2), B<swapoff>(2), "
890 "B<sethostname>(2), and B<setdomainname>(2);"
891
892 #. type: Plain text
893 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
894 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
895 msgid ""
896 "perform privileged B<syslog>(2) operations (since Linux 2.6.37, "
897 "B<CAP_SYSLOG> should be used to permit such operations);"
898 msgstr ""
899 "Позволяет выполнять привилегированные операции B<syslog>(2) (начиная с Linux "
900 "2.6.37, для этих операций нужно использовать B<CAP_SYSLOG>);"
901
902 #. type: Plain text
903 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
904 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
905 msgid "perform B<VM86_REQUEST_IRQ> B<vm86>(2) command;"
906 msgstr "Позволяет выполнять команду B<VM86_REQUEST_IRQ> B<vm86>(2);"
907
908 #. type: Plain text
909 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
910 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
911 msgid ""
912 "access the same checkpoint/restore functionality that is governed by "
913 "B<CAP_CHECKPOINT_RESTORE> (but the latter, weaker capability is preferred "
914 "for accessing that functionality)."
915 msgstr ""
916
917 #. type: Plain text
918 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
919 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
920 msgid ""
921 "perform the same BPF operations as are governed by B<CAP_BPF> (but the "
922 "latter, weaker capability is preferred for accessing that functionality)."
923 msgstr ""
924
925 #. type: Plain text
926 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
927 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
928 msgid ""
929 "employ the same performance monitoring mechanisms as are governed by "
930 "B<CAP_PERFMON> (but the latter, weaker capability is preferred for accessing "
931 "that functionality)."
932 msgstr ""
933
934 #. type: Plain text
935 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
936 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
937 msgid ""
938 "perform B<IPC_SET> and B<IPC_RMID> operations on arbitrary System V IPC "
939 "objects;"
940 msgstr ""
941 "Позволяет выполнять операции B<IPC_SET> и B<IPC_RMID> над произвольными "
942 "объектами System V IPC;"
943
944 #. type: Plain text
945 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
946 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
947 msgid "override B<RLIMIT_NPROC> resource limit;"
948 msgstr "Позволяет перезаписывать ограничение ресурса B<RLIMIT_NPROC>;"
949
950 #. type: Plain text
951 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
952 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
953 #, fuzzy
954 #| msgid ""
955 #| "perform operations on I<trusted> and I<security> Extended Attributes (see "
956 #| "B<xattr>(7));"
957 msgid ""
958 "perform operations on I<trusted> and I<security> extended attributes (see "
959 "B<xattr>(7));"
960 msgstr ""
961 "Позволяет выполнять операции над расширенными атрибутами I<trusted> и "
962 "I<security> (смотрите B<xattr>(7));"
963
964 #. type: Plain text
965 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
966 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
967 msgid "use B<lookup_dcookie>(2);"
968 msgstr "Позволяет использовать B<lookup_dcookie>(2);"
969
970 #. type: Plain text
971 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
972 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
973 msgid ""
974 "use B<ioprio_set>(2) to assign B<IOPRIO_CLASS_RT> and (before Linux "
975 "2.6.25) B<IOPRIO_CLASS_IDLE> I/O scheduling classes;"
976 msgstr ""
977 "Позволяет использовать B<ioprio_set>(2) для назначения классов планирования "
978 "ввода-вывода B<IOPRIO_CLASS_RT> и (до Linux 2.6.25) B<IOPRIO_CLASS_IDLE>;"
979
980 #. type: Plain text
981 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
982 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
983 msgid "forge PID when passing socket credentials via UNIX domain sockets;"
984 msgstr ""
985 "Позволяет подделывать PID при передаче мандатов сокета через доменные сокеты "
986 "UNIX;"
987
988 #. type: Plain text
989 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
990 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
991 msgid ""
992 "exceed I</proc/sys/fs/file-max>, the system-wide limit on the number of open "
993 "files, in system calls that open files (e.g., B<accept>(2), B<execve>(2), "
994 "B<open>(2), B<pipe>(2));"
995 msgstr ""
996 "Позволяет превышать I</proc/sys/fs/file-max>, системное ограничение на "
997 "количество открытых файлов, в системных вызовах, открывающих файлы "
998 "(например, B<accept>(2), B<execve>(2), B<open>(2), B<pipe>(2));"
999
1000 #. type: Plain text
1001 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1002 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1003 msgid ""
1004 "employ B<CLONE_*> flags that create new namespaces with B<clone>(2) and "
1005 "B<unshare>(2) (but, since Linux 3.8, creating user namespaces does not "
1006 "require any capability);"
1007 msgstr ""
1008 "Позволяет задействовать флаги B<CLONE_*>, которые создают новые пространства "
1009 "имён с помощью B<clone>(2) и B<unshare>(2)) (начиная с Linux 3.8 для "
1010 "создания пользовательских пространств имён больше никаких мандатов не "
1011 "требуется);"
1012
1013 #. type: Plain text
1014 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1015 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1016 msgid "access privileged I<perf> event information;"
1017 msgstr ""
1018 "Позволяет получать доступ к информации о привилегированном событии I<perf>;"
1019
1020 #. type: Plain text
1021 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1022 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1023 msgid ""
1024 "call B<setns>(2) (requires B<CAP_SYS_ADMIN> in the I<target> namespace);"
1025 msgstr ""
1026 "Позволяет вызывать B<setns>(2) (требуется B<CAP_SYS_ADMIN> в пространстве "
1027 "имён I<назначения>);"
1028
1029 #. type: Plain text
1030 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1031 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1032 msgid "call B<fanotify_init>(2);"
1033 msgstr "Позволяет вызывать B<fanotify_init>(2);"
1034
1035 #. type: Plain text
1036 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1037 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1038 msgid ""
1039 "perform privileged B<KEYCTL_CHOWN> and B<KEYCTL_SETPERM> B<keyctl>(2) "
1040 "operations;"
1041 msgstr ""
1042 "Позволяет выполнять привилегированные операции B<KEYCTL_CHOWN> и "
1043 "B<KEYCTL_SETPERM> в B<keyctl>(2);"
1044
1045 #. type: Plain text
1046 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1047 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1048 msgid "perform B<madvise>(2) B<MADV_HWPOISON> operation;"
1049 msgstr "Позволяет выполнять операцию B<MADV_HWPOISON> в B<madvise>(2);"
1050
1051 #. type: Plain text
1052 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1053 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1054 msgid ""
1055 "employ the B<TIOCSTI> B<ioctl>(2) to insert characters into the input queue "
1056 "of a terminal other than the caller's controlling terminal;"
1057 msgstr ""
1058 "Позволяет задействовать B<TIOCSTI> в B<ioctl>(2) для вставки символов во "
1059 "входную очередь терминала, отличного от управляющего терминала вызывающего;"
1060
1061 #. type: Plain text
1062 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1063 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1064 msgid "employ the obsolete B<nfsservctl>(2) system call;"
1065 msgstr "Позволяет задействовать устаревший системный вызов B<nfsservctl>(2);"
1066
1067 #. type: Plain text
1068 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1069 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1070 msgid "employ the obsolete B<bdflush>(2) system call;"
1071 msgstr "Позволяет задействовать устаревший системный вызов B<bdflush>(2);"
1072
1073 #. type: Plain text
1074 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1075 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1076 msgid "perform various privileged block-device B<ioctl>(2) operations;"
1077 msgstr ""
1078 "Позволяет выполнять различные привилегированные операции B<ioctl>(2) над "
1079 "блочными устройствами;"
1080
1081 #. type: Plain text
1082 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1083 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1084 msgid "perform various privileged filesystem B<ioctl>(2) operations;"
1085 msgstr ""
1086 "Позволяет выполнять различные привилегированные операции B<ioctl>(2) над "
1087 "файловой системой;"
1088
1089 #. type: Plain text
1090 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1091 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1092 msgid ""
1093 "perform privileged B<ioctl>(2) operations on the I</dev/random> device (see "
1094 "B<random>(4));"
1095 msgstr ""
1096 "Позволяет выполнять привилегированные операции B<ioctl>(2) над устройством "
1097 "I</dev/random> (смотрите B<random>(4));"
1098
1099 #. type: Plain text
1100 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1101 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1102 msgid ""
1103 "install a B<seccomp>(2) filter without first having to set the "
1104 "I<no_new_privs> thread attribute;"
1105 msgstr ""
1106 "Позволяет устанавливать фильтры B<seccomp>(2) без начальной установки "
1107 "атрибута нити I<no_new_privs>;"
1108
1109 #. type: Plain text
1110 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1111 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1112 msgid "modify allow/deny rules for device control groups;"
1113 msgstr ""
1114 "Позволяет изменять правила разрешения/запрета для групп управления "
1115 "устройствами;"
1116
1117 #. type: Plain text
1118 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1119 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1120 msgid ""
1121 "employ the B<ptrace>(2) B<PTRACE_SECCOMP_GET_FILTER> operation to dump "
1122 "tracee's seccomp filters;"
1123 msgstr ""
1124 "Позволяет задействовать операцию B<ptrace>(2) B<PTRACE_SECCOMP_GET_FILTER> "
1125 "для получения дампа фильтров seccomp трассируемого;"
1126
1127 #. type: Plain text
1128 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1129 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1130 msgid ""
1131 "employ the B<ptrace>(2) B<PTRACE_SETOPTIONS> operation to suspend the "
1132 "tracee's seccomp protections (i.e., the B<PTRACE_O_SUSPEND_SECCOMP> flag);"
1133 msgstr ""
1134 "Позволяет задействовать операцию B<ptrace>(2) B<PTRACE_SETOPTIONS> для "
1135 "приостановки защиты seccomp трассируемого (т. е., флаг "
1136 "B<PTRACE_O_SUSPEND_SECCOMP>);"
1137
1138 #. type: Plain text
1139 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1140 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1141 #, fuzzy
1142 #| msgid "perform administrative operations on many device drivers."
1143 msgid "perform administrative operations on many device drivers;"
1144 msgstr ""
1145 "Позволяет выполнять административные операции над многими драйверами "
1146 "устройств."
1147
1148 #. type: Plain text
1149 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1150 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1151 #, fuzzy
1152 #| msgid ""
1153 #| "Modify autogroup nice values by writing to I</proc/[pid]/autogroup> (see "
1154 #| "B<sched>(7))."
1155 msgid ""
1156 "modify autogroup nice values by writing to I</proc/>pidI</autogroup> (see "
1157 "B<sched>(7))."
1158 msgstr ""
1159 "Позволяет изменять значения уступчивости автогруппы, посредством записи в I</"
1160 "proc/[pid]/autogroup> (смотрите B<sched>(7))."
1161
1162 #. type: TP
1163 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1164 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1165 #, no-wrap
1166 msgid "B<CAP_SYS_BOOT>"
1167 msgstr "B<CAP_SYS_BOOT>"
1168
1169 #. type: Plain text
1170 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1171 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1172 msgid "Use B<reboot>(2) and B<kexec_load>(2)."
1173 msgstr "Позволяет использовать B<reboot>(2) и B<kexec_load>(2)."
1174
1175 #. type: TP
1176 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1177 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1178 #, no-wrap
1179 msgid "B<CAP_SYS_CHROOT>"
1180 msgstr "B<CAP_SYS_CHROOT>"
1181
1182 #. type: Plain text
1183 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1184 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1185 msgid "Use B<chroot>(2);"
1186 msgstr "Позволяет использовать B<chroot>(2);"
1187
1188 #. type: Plain text
1189 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1190 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1191 msgid "change mount namespaces using B<setns>(2)."
1192 msgstr ""
1193 "Позволяет изменять пространство имён монтирования с помощью B<setns>(2)."
1194
1195 #. type: TP
1196 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1197 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1198 #, no-wrap
1199 msgid "B<CAP_SYS_MODULE>"
1200 msgstr "B<CAP_SYS_MODULE>"
1201
1202 #. type: Plain text
1203 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1204 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1205 msgid ""
1206 "Load and unload kernel modules (see B<init_module>(2) and "
1207 "B<delete_module>(2));"
1208 msgstr ""
1209 "Позволяет загружать и выгружать модули ядра (смотрите B<init_module>(2) и "
1210 "B<delete_module>(2));"
1211
1212 #. type: Plain text
1213 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1214 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1215 #, fuzzy
1216 #| msgid ""
1217 #| "in kernels before 2.6.25: drop capabilities from the system-wide "
1218 #| "capability bounding set."
1219 msgid ""
1220 "before Linux 2.6.25: drop capabilities from the system-wide capability "
1221 "bounding set."
1222 msgstr ""
1223 "В ядрах до версии 2.6.25: позволяет отзывать мандаты из системного "
1224 "ограничивающего набора мандатов."
1225
1226 #. type: TP
1227 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1228 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1229 #, no-wrap
1230 msgid "B<CAP_SYS_NICE>"
1231 msgstr "B<CAP_SYS_NICE>"
1232
1233 #. type: Plain text
1234 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1235 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1236 #, fuzzy
1237 #| msgid ""
1238 #| "Raise process nice value (B<nice>(2), B<setpriority>(2)) and change the "
1239 #| "nice value for arbitrary processes;"
1240 msgid ""
1241 "Lower the process nice value (B<nice>(2), B<setpriority>(2)) and change the "
1242 "nice value for arbitrary processes;"
1243 msgstr ""
1244 "Позволяет повышать значение уступчивости процесса (B<nice>(2), "
1245 "B<setpriority>(2)) и изменять значение уступчивости у произвольных процессов;"
1246
1247 #. type: Plain text
1248 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1249 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1250 msgid ""
1251 "set real-time scheduling policies for calling process, and set scheduling "
1252 "policies and priorities for arbitrary processes (B<sched_setscheduler>(2), "
1253 "B<sched_setparam>(2), B<sched_setattr>(2));"
1254 msgstr ""
1255 "Позволяет назначать политики планирования реального времени для вызывающего "
1256 "процесса и назначать политики планирования и приоритеты для произвольных "
1257 "процессов (B<sched_setscheduler>(2), B<sched_setparam>(2), "
1258 "B<sched_setattr>(2));"
1259
1260 #. type: Plain text
1261 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1262 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1263 msgid "set CPU affinity for arbitrary processes (B<sched_setaffinity>(2));"
1264 msgstr ""
1265 "Позволяет выполнять привязку к ЦП для произвольных процессов "
1266 "(B<sched_setaffinity>(2));"
1267
1268 #. type: Plain text
1269 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1270 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1271 msgid ""
1272 "set I/O scheduling class and priority for arbitrary processes "
1273 "(B<ioprio_set>(2));"
1274 msgstr ""
1275 "Позволяет назначать класс планирования ввода-вывода и приоритет для "
1276 "произвольных процессов (B<ioprio_set>(2));"
1277
1278 #. FIXME CAP_SYS_NICE also has the following effect for
1279 #. migrate_pages(2):
1280 #. do_migrate_pages(mm, &old, &new,
1281 #. capable(CAP_SYS_NICE) ? MPOL_MF_MOVE_ALL : MPOL_MF_MOVE);
1282 #. Document this.
1283 #. type: Plain text
1284 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1285 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1286 msgid ""
1287 "apply B<migrate_pages>(2) to arbitrary processes and allow processes to be "
1288 "migrated to arbitrary nodes;"
1289 msgstr ""
1290 "Позволяет применять B<migrate_pages>(2) к произвольным процессам для их "
1291 "перемещения на произвольные узлы;"
1292
1293 #. type: Plain text
1294 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1295 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1296 msgid "apply B<move_pages>(2) to arbitrary processes;"
1297 msgstr "Позволяет применять B<move_pages>(2) к произвольным процессам;"
1298
1299 #. type: Plain text
1300 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1301 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1302 msgid ""
1303 "use the B<MPOL_MF_MOVE_ALL> flag with B<mbind>(2) and B<move_pages>(2)."
1304 msgstr ""
1305 "Позволяет использовать флаг B<MPOL_MF_MOVE_ALL> в B<mbind>(2) и "
1306 "B<move_pages>(2)."
1307
1308 #. type: TP
1309 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1310 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1311 #, no-wrap
1312 msgid "B<CAP_SYS_PACCT>"
1313 msgstr "B<CAP_SYS_PACCT>"
1314
1315 #. type: Plain text
1316 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1317 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1318 msgid "Use B<acct>(2)."
1319 msgstr "Позволяет использовать B<acct>(2)."
1320
1321 #. type: TP
1322 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1323 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1324 #, no-wrap
1325 msgid "B<CAP_SYS_PTRACE>"
1326 msgstr "B<CAP_SYS_PTRACE>"
1327
1328 #. type: Plain text
1329 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1330 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1331 msgid "Trace arbitrary processes using B<ptrace>(2);"
1332 msgstr "Позволяет трассировать любой процесс с помощью B<ptrace>(2);"
1333
1334 #. type: Plain text
1335 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1336 #: opensuse-tumbleweed
1337 msgid ""
1338 "inspect sensitive information of other processes via I</proc> (e.g., reading "
1339 "I</proc/>pidI</maps>, I</proc/>pidI</mem>, or reading symbolic links I</proc/"
1340 ">pidI</exe>, I</proc/>pidI</fd/*>);"
1341 msgstr ""
1342
1343 #. type: Plain text
1344 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1345 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1346 msgid "apply B<get_robust_list>(2) to arbitrary processes;"
1347 msgstr "Позволяет применять B<get_robust_list>(2) к произвольным процессам;"
1348
1349 #. type: Plain text
1350 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1351 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1352 msgid ""
1353 "transfer data to or from the memory of arbitrary processes using "
1354 "B<process_vm_readv>(2) and B<process_vm_writev>(2);"
1355 msgstr ""
1356 "Позволяет перемещать данные в/из памяти произвольного процесса с помощью "
1357 "B<process_vm_readv>(2) и B<process_vm_writev>(2);"
1358
1359 #. type: Plain text
1360 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1361 #: opensuse-tumbleweed
1362 #, fuzzy
1363 #| msgid "inspect processes using B<kcmp>(2)."
1364 msgid "inspect processes using B<kcmp>(2);"
1365 msgstr "Позволяет изучать процессы с помощью B<kcmp>(2)."
1366
1367 #. type: Plain text
1368 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1369 #: opensuse-tumbleweed
1370 msgid ""
1371 "perform other privileged process-inspection and debugging operations. (See "
1372 "uses of the I<ptrace_may_access>() kernel function.)"
1373 msgstr ""
1374
1375 #. type: TP
1376 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1377 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1378 #, no-wrap
1379 msgid "B<CAP_SYS_RAWIO>"
1380 msgstr "B<CAP_SYS_RAWIO>"
1381
1382 #. type: Plain text
1383 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1384 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1385 msgid "Perform I/O port operations (B<iopl>(2) and B<ioperm>(2));"
1386 msgstr ""
1387 "Позволяет выполнять операции ввода-вывода из портов (B<iopl>(2) и "
1388 "B<ioperm>(2));"
1389
1390 #. type: Plain text
1391 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1392 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1393 msgid "access I</proc/kcore>;"
1394 msgstr "Разрешает доступ к I</proc/kcore>;"
1395
1396 #. type: Plain text
1397 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1398 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1399 msgid "employ the B<FIBMAP> B<ioctl>(2) operation;"
1400 msgstr "Позволяет задействовать операцию B<FIBMAP> в B<ioctl>(2);"
1401
1402 #. type: Plain text
1403 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1404 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1405 msgid ""
1406 "open devices for accessing x86 model-specific registers (MSRs, see "
1407 "B<msr>(4));"
1408 msgstr ""
1409 "Позволяет открывать устройства для доступа к специальным регистрам x86 (MSR, "
1410 "смотрите B<msr>(4));"
1411
1412 #. type: Plain text
1413 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1414 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1415 msgid "update I</proc/sys/vm/mmap_min_addr>;"
1416 msgstr "Позволяет обновлять I</proc/sys/vm/mmap_min_addr>;"
1417
1418 #. type: Plain text
1419 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1420 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1421 msgid ""
1422 "create memory mappings at addresses below the value specified by I</proc/sys/"
1423 "vm/mmap_min_addr>;"
1424 msgstr ""
1425 "Позволяет создавать отображения памяти по адресам меньше значения, заданного "
1426 "в I</proc/sys/vm/mmap_min_addr>;"
1427
1428 #. type: Plain text
1429 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1430 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1431 msgid "map files in I</proc/bus/pci>;"
1432 msgstr "Позволяет отображать файлы в I</proc/bus/pci>;"
1433
1434 #. type: Plain text
1435 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1436 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1437 msgid "open I</dev/mem> and I</dev/kmem>;"
1438 msgstr "Позволяет открывать I</dev/mem> и I</dev/kmem>;"
1439
1440 #. type: Plain text
1441 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1442 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1443 msgid "perform various SCSI device commands;"
1444 msgstr "Позволяет выполнять различные команды устройств SCSI;"
1445
1446 #. type: Plain text
1447 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1448 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1449 msgid "perform certain operations on B<hpsa>(4) and B<cciss>(4) devices;"
1450 msgstr ""
1451 "Позволяет выполнять определённые операции с устройствами B<hpsa>(4) и "
1452 "B<cciss>(4);"
1453
1454 #. type: Plain text
1455 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1456 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1457 msgid "perform a range of device-specific operations on other devices."
1458 msgstr ""
1459 "Позволяет выполнять некоторые специальные операции с другими устройствами."
1460
1461 #. type: TP
1462 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1463 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1464 #, no-wrap
1465 msgid "B<CAP_SYS_RESOURCE>"
1466 msgstr "B<CAP_SYS_RESOURCE>"
1467
1468 #. type: Plain text
1469 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1470 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1471 msgid "Use reserved space on ext2 filesystems;"
1472 msgstr ""
1473 "Позволяет использовать зарезервированное пространство файловых систем ext2;"
1474
1475 #. type: Plain text
1476 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1477 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1478 msgid "make B<ioctl>(2) calls controlling ext3 journaling;"
1479 msgstr "Позволяет делать вызовы B<ioctl>(2), управляющие журналированием ext3;"
1480
1481 #. type: Plain text
1482 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1483 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1484 msgid "override disk quota limits;"
1485 msgstr "Позволяет превышать ограничение дисковой квоты;"
1486
1487 #. type: Plain text
1488 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1489 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1490 msgid "increase resource limits (see B<setrlimit>(2));"
1491 msgstr ""
1492 "Позволяет увеличивать ограничения по ресурсам (смотрите B<setrlimit>(2));"
1493
1494 #. type: Plain text
1495 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1496 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1497 msgid "override maximum number of consoles on console allocation;"
1498 msgstr ""
1499 "Позволяет превышать максимальное количество консолей при выделении консоли;"
1500
1501 #. type: Plain text
1502 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1503 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1504 msgid "override maximum number of keymaps;"
1505 msgstr "Позволяет превышать максимальное количество раскладок;"
1506
1507 #. type: Plain text
1508 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1509 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1510 msgid "allow more than 64hz interrupts from the real-time clock;"
1511 msgstr ""
1512 "Позволяет использовать более чем 64hz прерывания из часов реального времени;"
1513
1514 #. type: Plain text
1515 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1516 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1517 msgid ""
1518 "raise I<msg_qbytes> limit for a System V message queue above the limit in I</"
1519 "proc/sys/kernel/msgmnb> (see B<msgop>(2) and B<msgctl>(2));"
1520 msgstr ""
1521 "Позволяет назначать значение I<msg_qbytes> очереди сообщений System V больше "
1522 "ограничения I</proc/sys/kernel/msgmnb> (смотрите B<msgop>(2) и B<msgctl>(2));"
1523
1524 #. type: Plain text
1525 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1526 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1527 msgid ""
1528 "allow the B<RLIMIT_NOFILE> resource limit on the number of \"in-flight\" "
1529 "file descriptors to be bypassed when passing file descriptors to another "
1530 "process via a UNIX domain socket (see B<unix>(7));"
1531 msgstr ""
1532 "Позволяет обходить ограничитель ресурса B<RLIMIT_NOFILE> для файловых "
1533 "дескрипторов, находящихся в процессе передачи («в полёте», in-flight), когда "
1534 "файловые дескрипторы передаются в другой процесс через доменный сокет UNIX "
1535 "(смотрите B<unix>(7));"
1536
1537 #. type: Plain text
1538 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1539 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1540 #, fuzzy
1541 #| msgid ""
1542 #| "override the I</proc/sys/fs/pipe-size-max> limit when setting the "
1543 #| "capacity of a pipe using the B<F_SETPIPE_SZ> B<fcntl>(2) command."
1544 msgid ""
1545 "override the I</proc/sys/fs/pipe-size-max> limit when setting the capacity "
1546 "of a pipe using the B<F_SETPIPE_SZ> B<fcntl>(2) command;"
1547 msgstr ""
1548 "Позволяет превышать ограничение I</proc/sys/fs/pipe-size-max> при назначении "
1549 "вместимости канала с помощью команды B<F_SETPIPE_SZ> у B<fcntl>(2)."
1550
1551 #. type: Plain text
1552 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1553 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1554 msgid ""
1555 "use B<F_SETPIPE_SZ> to increase the capacity of a pipe above the limit "
1556 "specified by I</proc/sys/fs/pipe-max-size>;"
1557 msgstr ""
1558 "Позволяет использовать B<F_SETPIPE_SZ> для увеличения вместимости канала "
1559 "больше чем ограничение, задаваемое в I</proc/sys/fs/pipe-max-size>;"
1560
1561 #. type: Plain text
1562 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1563 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1564 #, fuzzy
1565 #| msgid ""
1566 #| "override I</proc/sys/fs/mqueue/queues_max> limit when creating POSIX "
1567 #| "message queues (see B<mq_overview>(7));"
1568 msgid ""
1569 "override I</proc/sys/fs/mqueue/queues_max>, I</proc/sys/fs/mqueue/msg_max>, "
1570 "and I</proc/sys/fs/mqueue/msgsize_max> limits when creating POSIX message "
1571 "queues (see B<mq_overview>(7));"
1572 msgstr ""
1573 "Позволяет превышать ограничение I</proc/sys/fs/mqueue/queues_max> при "
1574 "создании очередей сообщений POSIX (смотрите B<mq_overview>(7));"
1575
1576 #. type: Plain text
1577 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1578 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1579 msgid "employ the B<prctl>(2) B<PR_SET_MM> operation;"
1580 msgstr "Позволяет задействовать операцию B<prctl>(2) B<PR_SET_MM>();"
1581
1582 #. type: Plain text
1583 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1584 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1585 #, fuzzy
1586 #| msgid ""
1587 #| "set I</proc/[pid]/oom_score_adj> to a value lower than the value last set "
1588 #| "by a process with B<CAP_SYS_RESOURCE>."
1589 msgid ""
1590 "set I</proc/>pidI</oom_score_adj> to a value lower than the value last set "
1591 "by a process with B<CAP_SYS_RESOURCE>."
1592 msgstr ""
1593 "Позволяет устанавливать I</proc/[pid]/oom_score_adj> в значение меньшее, чем "
1594 "последнее установленное значение процессом с помощью B<CAP_SYS_RESOURCE>."
1595
1596 #. type: TP
1597 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1598 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1599 #, no-wrap
1600 msgid "B<CAP_SYS_TIME>"
1601 msgstr "B<CAP_SYS_TIME>"
1602
1603 #. type: Plain text
1604 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1605 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1606 msgid ""
1607 "Set system clock (B<settimeofday>(2), B<stime>(2), B<adjtimex>(2)); set real-"
1608 "time (hardware) clock."
1609 msgstr ""
1610 "Позволяет настраивать системные часы (B<settimeofday>(2), B<stime>(2), "
1611 "B<adjtimex>(2)) и часы реального времени (аппаратные)."
1612
1613 #. type: TP
1614 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1615 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1616 #, no-wrap
1617 msgid "B<CAP_SYS_TTY_CONFIG>"
1618 msgstr "B<CAP_SYS_TTY_CONFIG>"
1619
1620 #. type: Plain text
1621 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1622 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1623 msgid ""
1624 "Use B<vhangup>(2); employ various privileged B<ioctl>(2) operations on "
1625 "virtual terminals."
1626 msgstr ""
1627 "Позволяет использовать B<vhangup>(2); задействовать различные "
1628 "привилегированные операции B<ioctl>(2) с виртуальными терминалами."
1629
1630 #. type: TP
1631 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1632 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1633 #, no-wrap
1634 msgid "B<CAP_SYSLOG> (since Linux 2.6.37)"
1635 msgstr "B<CAP_SYSLOG> (начиная с Linux 2.6.37)"
1636
1637 #. type: Plain text
1638 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1639 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1640 msgid ""
1641 "Perform privileged B<syslog>(2) operations. See B<syslog>(2) for "
1642 "information on which operations require privilege."
1643 msgstr ""
1644 "Позволяет выполнять привилегированные операции B<syslog>(2). Смотрите в "
1645 "B<syslog>(2) какие операции требуют прав."
1646
1647 #. type: Plain text
1648 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1649 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1650 msgid ""
1651 "View kernel addresses exposed via I</proc> and other interfaces when I</proc/"
1652 "sys/kernel/kptr_restrict> has the value 1. (See the discussion of the "
1653 "I<kptr_restrict> in B<proc>(5).)"
1654 msgstr ""
1655 "Позволяет просматривать адреса ядра, показываемые в I</proc> и других "
1656 "интерфейсах, когда значение I</proc/sys/kernel/kptr_restrict> равно 1 "
1657 "(смотрите описание I<kptr_restrict> в B<proc>(5))."
1658
1659 #. type: TP
1660 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1661 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1662 #, no-wrap
1663 msgid "B<CAP_WAKE_ALARM> (since Linux 3.0)"
1664 msgstr "B<CAP_WAKE_ALARM> (начиная с Linux 3.0)"
1665
1666 #. type: Plain text
1667 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1668 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1669 msgid ""
1670 "Trigger something that will wake up the system (set B<CLOCK_REALTIME_ALARM> "
1671 "and B<CLOCK_BOOTTIME_ALARM> timers)."
1672 msgstr ""
1673 "Позволяет вызывать что-либо при пробуждении системы (устанавливать таймеры "
1674 "B<CLOCK_REALTIME_ALARM> и B<CLOCK_BOOTTIME_ALARM>)."
1675
1676 #. type: SS
1677 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1678 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1679 #, no-wrap
1680 msgid "Past and current implementation"
1681 msgstr "Старая и текущая реализации"
1682
1683 #. type: Plain text
1684 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1685 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1686 msgid "A full implementation of capabilities requires that:"
1687 msgstr "Для полной реализации мандатов требуется:"
1688
1689 #. type: Plain text
1690 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1691 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1692 msgid ""
1693 "For all privileged operations, the kernel must check whether the thread has "
1694 "the required capability in its effective set."
1695 msgstr ""
1696 "Для всех привилегированных операций ядро должно проверять, имеет ли нить "
1697 "требуемый мандат в его эффективном наборе."
1698
1699 #. type: Plain text
1700 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1701 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1702 msgid ""
1703 "The kernel must provide system calls allowing a thread's capability sets to "
1704 "be changed and retrieved."
1705 msgstr ""
1706 "Ядро должно предоставлять системные вызовы, позволяющие получать и изменять "
1707 "наборы мандатов нити."
1708
1709 #. type: Plain text
1710 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1711 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1712 msgid ""
1713 "The filesystem must support attaching capabilities to an executable file, so "
1714 "that a process gains those capabilities when the file is executed."
1715 msgstr ""
1716 "Файловая система должна поддерживать присоединение мандатов к исполняемому "
1717 "файлу для того, чтобы при исполнении файла у процесса повышались права "
1718 "согласно этим мандатам."
1719
1720 #. type: Plain text
1721 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1722 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1723 #, fuzzy
1724 #| msgid ""
1725 #| "Before kernel 2.6.24, only the first two of these requirements are met; "
1726 #| "since kernel 2.6.24, all three requirements are met."
1727 msgid ""
1728 "Before Linux 2.6.24, only the first two of these requirements are met; since "
1729 "Linux 2.6.24, all three requirements are met."
1730 msgstr ""
1731 "До ядра версии 2.6.24 были реализованы только первые два пункта; начиная с "
1732 "версии 2.6.24 реализованы все три пункта."
1733
1734 #. type: SS
1735 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1736 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1737 #, no-wrap
1738 msgid "Notes to kernel developers"
1739 msgstr "Замечания разработчикам ядра"
1740
1741 #. type: Plain text
1742 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1743 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1744 msgid ""
1745 "When adding a new kernel feature that should be governed by a capability, "
1746 "consider the following points."
1747 msgstr ""
1748 "При добавлении новых возможностей ядра, которые должны регулироваться "
1749 "мандатом, нужно учитывать некоторые моменты."
1750
1751 #. type: Plain text
1752 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1753 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1754 msgid ""
1755 "The goal of capabilities is divide the power of superuser into pieces, such "
1756 "that if a program that has one or more capabilities is compromised, its "
1757 "power to do damage to the system would be less than the same program running "
1758 "with root privilege."
1759 msgstr ""
1760 "Цель мандатов — разделить возможности суперпользователя на части, и если "
1761 "программа с одним или несколькими мандатами будет скомпрометирована, то её "
1762 "возможности нанести вред системе будут меньше, чем от такой же программы, "
1763 "выполняемой с правами суперпользователя."
1764
1765 #. type: Plain text
1766 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1767 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1768 msgid ""
1769 "You have the choice of either creating a new capability for your new "
1770 "feature, or associating the feature with one of the existing capabilities. "
1771 "In order to keep the set of capabilities to a manageable size, the latter "
1772 "option is preferable, unless there are compelling reasons to take the former "
1773 "option. (There is also a technical limit: the size of capability sets is "
1774 "currently limited to 64 bits.)"
1775 msgstr ""
1776 "Вы можете создать новый мандат для новой возможности или привязать "
1777 "возможность к одному из существующих мандатов. Чтобы сохранить набор "
1778 "мандатов приемлемого размера, последний вариант предпочтителен, если нет "
1779 "неопровержимых доводов за первый вариант (есть также техническое "
1780 "ограничение: размер набора мандатов в настоящее время ограничен 64 битами)."
1781
1782 #. type: Plain text
1783 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1784 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1785 msgid ""
1786 "To determine which existing capability might best be associated with your "
1787 "new feature, review the list of capabilities above in order to find a "
1788 "\"silo\" into which your new feature best fits. One approach to take is to "
1789 "determine if there are other features requiring capabilities that will "
1790 "always be used along with the new feature. If the new feature is useless "
1791 "without these other features, you should use the same capability as the "
1792 "other features."
1793 msgstr ""
1794 "Для определения какой существующий мандат мог бы лучше подойти новой "
1795 "возможности, просмотрите список мандатов, представленный выше. Выясните, "
1796 "есть ли другие возможности, требующие мандатов, которые всегда будут "
1797 "использоваться вместе с новой возможностью. Если новая возможность "
1798 "бесполезна без этих других возможностей, то нужно использовать тот же мандат "
1799 "как у других возможностей."
1800
1801 #. type: Plain text
1802 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1803 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1804 msgid ""
1805 "I<Don't> choose B<CAP_SYS_ADMIN> if you can possibly avoid it! A vast "
1806 "proportion of existing capability checks are associated with this capability "
1807 "(see the partial list above). It can plausibly be called \"the new root\", "
1808 "since on the one hand, it confers a wide range of powers, and on the other "
1809 "hand, its broad scope means that this is the capability that is required by "
1810 "many privileged programs. Don't make the problem worse. The only new "
1811 "features that should be associated with B<CAP_SYS_ADMIN> are ones that "
1812 "I<closely> match existing uses in that silo."
1813 msgstr ""
1814 "I<Не> используйте B<CAP_SYS_ADMIN>, если этого можно избежать! С ним связана "
1815 "большая часть существующих проверок мандатов (смотрите часть списка выше). "
1816 "Его оправданно можно называть «новым суперпользователем», так как с одной "
1817 "стороны, он даёт широкий спектр полномочий, а с другой его широкий спектр "
1818 "действия означает, что данный мандат требуется многим привилегированным "
1819 "программам. Не делайте проблему хуже. Новые возможности, которые должны быть "
1820 "связаны с B<CAP_SYS_ADMIN> должны I<сильно> совпадать с существующими, "
1821 "использующими данное хранилище."
1822
1823 #. type: Plain text
1824 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1825 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1826 msgid ""
1827 "If you have determined that it really is necessary to create a new "
1828 "capability for your feature, don't make or name it as a \"single-use\" "
1829 "capability. Thus, for example, the addition of the highly specific "
1830 "B<CAP_SYS_PACCT> was probably a mistake. Instead, try to identify and name "
1831 "your new capability as a broader silo into which other related future use "
1832 "cases might fit."
1833 msgstr ""
1834 "Если действительно необходимо создать новый мандат для новой возможности, не "
1835 "делайте или называйте его как «только для этой возможности». То есть, "
1836 "например, добавление очень специализированного B<CAP_SYS_PACCT> было бы, "
1837 "вероятно, ошибкой. Вместо этого попытайтесь идентифицировать и назвать новый "
1838 "мандат более вместительным понятием, в которое могут войти и другие будущие "
1839 "возможности."
1840
1841 #. type: SS
1842 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1843 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1844 #, no-wrap
1845 msgid "Thread capability sets"
1846 msgstr "Наборы мандатов нити"
1847
1848 #. type: Plain text
1849 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1850 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1851 msgid ""
1852 "Each thread has the following capability sets containing zero or more of the "
1853 "above capabilities:"
1854 msgstr ""
1855 "Каждая нить имеет следующие наборы мандатов, содержащие ноль или более "
1856 "перечисленных выше мандатов:"
1857
1858 #. type: TP
1859 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1860 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1861 #, no-wrap
1862 msgid "I<Permitted>"
1863 msgstr "I<Permitted>"
1864
1865 #. type: Plain text
1866 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1867 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1868 msgid ""
1869 "This is a limiting superset for the effective capabilities that the thread "
1870 "may assume. It is also a limiting superset for the capabilities that may be "
1871 "added to the inheritable set by a thread that does not have the "
1872 "B<CAP_SETPCAP> capability in its effective set."
1873 msgstr ""
1874 "Ограничивающий набор эффективных мандатов, которыми наделяется нить. Этот "
1875 "набор также ограничивает список мандатов, которые могут быть добавлены в "
1876 "наследуемый набор для нити, которая не имеет мандата B<CAP_SETPCAP> в своём "
1877 "эффективном наборе."
1878
1879 #. type: Plain text
1880 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1881 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1882 msgid ""
1883 "If a thread drops a capability from its permitted set, it can never "
1884 "reacquire that capability (unless it B<execve>(2)s either a set-user-ID-root "
1885 "program, or a program whose associated file capabilities grant that "
1886 "capability)."
1887 msgstr ""
1888 "Если нить сбрасывает мандат в своём разрешительном наборе, то она не сможет "
1889 "получить его назад (если только не выполняется B<execve>(2) для программы с "
1890 "set-user-ID-root или программа, чьи соответствующие мандаты файла "
1891 "предоставляют этот мандат)."
1892
1893 #. type: TP
1894 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1895 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1896 #, no-wrap
1897 msgid "I<Inheritable>"
1898 msgstr "I<Inheritable>"
1899
1900 #. type: Plain text
1901 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1902 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1903 msgid ""
1904 "This is a set of capabilities preserved across an B<execve>(2). Inheritable "
1905 "capabilities remain inheritable when executing any program, and inheritable "
1906 "capabilities are added to the permitted set when executing a program that "
1907 "has the corresponding bits set in the file inheritable set."
1908 msgstr ""
1909 "Этот набор мандатов сохраняется при вызове B<execve>(2). Наследуемые мандаты "
1910 "остаются наследуемыми при выполнении любой программы, и наследуемые мандаты "
1911 "добавляются в разрешительный набор, если выполняющаяся программа имеет "
1912 "соответствующие установленные биты в файловом наследуемом наборе."
1913
1914 #. type: Plain text
1915 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1916 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1917 msgid ""
1918 "Because inheritable capabilities are not generally preserved across "
1919 "B<execve>(2) when running as a non-root user, applications that wish to run "
1920 "helper programs with elevated capabilities should consider using ambient "
1921 "capabilities, described below."
1922 msgstr ""
1923 "Так как наследуемые мандаты, обычно, не сохраняются после B<execve>(2), если "
1924 "выполнение происходит не от суперпользователя, то для приложений, которым "
1925 "нужно выполнять вспомогательные программы с повышенными мандатами, нужно "
1926 "использовать наружные мандаты (ambient capabilities), описанные ниже."
1927
1928 #. type: TP
1929 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1930 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1931 #, no-wrap
1932 msgid "I<Effective>"
1933 msgstr "I<Effective>"
1934
1935 #. type: Plain text
1936 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1937 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1938 msgid ""
1939 "This is the set of capabilities used by the kernel to perform permission "
1940 "checks for the thread."
1941 msgstr ""
1942 "Данный набор мандатов используется ядром при выполнении проверок прав нити."
1943
1944 #. type: TP
1945 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1946 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1947 #, no-wrap
1948 msgid "I<Bounding> (per-thread since Linux 2.6.25)"
1949 msgstr "I<Bounding> (в каждой нити начиная с Linux 2.6.25)"
1950
1951 #. type: Plain text
1952 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1953 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1954 msgid ""
1955 "The capability bounding set is a mechanism that can be used to limit the "
1956 "capabilities that are gained during B<execve>(2)."
1957 msgstr ""
1958 "Ограничивающий набор мандатов — это механизм, который можно использовать для "
1959 "ограничения мандатов, которые могут быть получены при B<execve>(2)."
1960
1961 #. type: Plain text
1962 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1963 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1964 msgid ""
1965 "Since Linux 2.6.25, this is a per-thread capability set. In older kernels, "
1966 "the capability bounding set was a system wide attribute shared by all "
1967 "threads on the system."
1968 msgstr ""
1969 "Начиная с Linux 2.6.25 данный набор мандатов есть у каждой нити. В старых "
1970 "ядрах ограничивающий набор мандатов был системным свойством, единым для всех "
1971 "нитей в системе."
1972
1973 #. type: Plain text
1974 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1975 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1976 #, fuzzy
1977 #| msgid "For more details on the capability bounding set, see below."
1978 msgid "For more details, see I<Capability bounding set> below."
1979 msgstr ""
1980 "Дополнительную информацию об ограничивающем наборе мандатов смотрите далее."
1981
1982 #. type: TP
1983 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1984 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1985 #, no-wrap
1986 msgid "I<Ambient> (since Linux 4.3)"
1987 msgstr "I<Ambient> (начиная с Linux 4.3)"
1988
1989 #. commit 58319057b7847667f0c9585b9de0e8932b0fdb08
1990 #. type: Plain text
1991 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1992 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1993 msgid ""
1994 "This is a set of capabilities that are preserved across an B<execve>(2) of "
1995 "a program that is not privileged. The ambient capability set obeys the "
1996 "invariant that no capability can ever be ambient if it is not both permitted "
1997 "and inheritable."
1998 msgstr ""
1999 "Данный набор мандатов сохраняется после B<execve>(2) для непривилегированных "
2000 "программ. Для набора наружных мандатов (ambient capability set) соблюдается "
2001 "правило, что ни один мандат не сможет быть наружным, если он одновременно "
2002 "разрешающий и наследуемый."
2003
2004 #. type: Plain text
2005 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2006 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2007 msgid ""
2008 "The ambient capability set can be directly modified using B<prctl>(2). "
2009 "Ambient capabilities are automatically lowered if either of the "
2010 "corresponding permitted or inheritable capabilities is lowered."
2011 msgstr ""
2012 "Набор наружных мандатов можно непосредственно изменять с помощью "
2013 "B<prctl>(2). Наружные мандаты автоматически понижаются, если понижаются "
2014 "соответствующие разрешительные или наследуемые мандаты."
2015
2016 #. type: Plain text
2017 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2018 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2019 msgid ""
2020 "Executing a program that changes UID or GID due to the set-user-ID or set-"
2021 "group-ID bits or executing a program that has any file capabilities set will "
2022 "clear the ambient set. Ambient capabilities are added to the permitted set "
2023 "and assigned to the effective set when B<execve>(2) is called. If ambient "
2024 "capabilities cause a process's permitted and effective capabilities to "
2025 "increase during an B<execve>(2), this does not trigger the secure-execution "
2026 "mode described in B<ld.so>(8)."
2027 msgstr ""
2028 "При запуске программы, у которой изменяются UID или GID из-за set-user-ID "
2029 "или set-group-ID, или у которой установлен любой набор файловых мандатов, "
2030 "наружный набор будет очищен. Наружные мандаты добавляются в разрешающий "
2031 "набори назначаются в эффективный набор при вызове B<execve>(2). Если из-за "
2032 "наружных мандатов увеличиваются разрешающий и эффективный наборы при "
2033 "B<execve>(2), то это не вызывает режима безопасного выполнения, описанного в "
2034 "B<ld.so>(8)."
2035
2036 #. type: Plain text
2037 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2038 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2039 #, fuzzy
2040 #| msgid ""
2041 #| "A child created via B<fork>(2) inherits copies of its parent's "
2042 #| "capability sets. See below for a discussion of the treatment of "
2043 #| "capabilities during B<execve>(2)."
2044 msgid ""
2045 "A child created via B<fork>(2) inherits copies of its parent's capability "
2046 "sets. For details on how B<execve>(2) affects capabilities, see "
2047 "I<Transformation of capabilities during execve()> below."
2048 msgstr ""
2049 "Потомок, созданный B<fork>(2), наследует копии наборов мандатов своего "
2050 "родителя. Далее смотрите описание отношения к мандатами при B<execve>(2)."
2051
2052 #. type: Plain text
2053 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2054 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2055 #, fuzzy
2056 #| msgid ""
2057 #| "Using B<capset>(2), a thread may manipulate its own capability sets (see "
2058 #| "below)."
2059 msgid ""
2060 "Using B<capset>(2), a thread may manipulate its own capability sets; see "
2061 "I<Programmatically adjusting capability sets> below."
2062 msgstr ""
2063 "С помощью B<capset>(2) нить может изменять свои наборы мандатов (смотрите "
2064 "далее)."
2065
2066 #. commit 73efc0394e148d0e15583e13712637831f926720
2067 #. type: Plain text
2068 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2069 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2070 msgid ""
2071 "Since Linux 3.2, the file I</proc/sys/kernel/cap_last_cap> exposes the "
2072 "numerical value of the highest capability supported by the running kernel; "
2073 "this can be used to determine the highest bit that may be set in a "
2074 "capability set."
2075 msgstr ""
2076 "Начиная с Linux 3.2, файл I</proc/sys/kernel/cap_last_cap> содержит числовое "
2077 "значение самого большого мандата, поддерживаемого работающим ядром; это "
2078 "может быть использовано для определения наибольшего бита, который может быть "
2079 "установлен в наборе мандатов."
2080
2081 #. type: SS
2082 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2083 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2084 #, no-wrap
2085 msgid "File capabilities"
2086 msgstr "Файловые мандаты"
2087
2088 #. type: Plain text
2089 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2090 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2091 #, fuzzy
2092 #| msgid ""
2093 #| "Since kernel 2.6.24, the kernel supports associating capability sets with "
2094 #| "an executable file using B<setcap>(8). The file capability sets are "
2095 #| "stored in an extended attribute (see B<setxattr>(2) and B<xattr>(7)) "
2096 #| "named I<security.capability>. Writing to this extended attribute "
2097 #| "requires the B<CAP_SETFCAP> capability. The file capability sets, in "
2098 #| "conjunction with the capability sets of the thread, determine the "
2099 #| "capabilities of a thread after an B<execve>(2)."
2100 msgid ""
2101 "Since Linux 2.6.24, the kernel supports associating capability sets with an "
2102 "executable file using B<setcap>(8). The file capability sets are stored in "
2103 "an extended attribute (see B<setxattr>(2) and B<xattr>(7)) named "
2104 "I<security.capability>. Writing to this extended attribute requires the "
2105 "B<CAP_SETFCAP> capability. The file capability sets, in conjunction with "
2106 "the capability sets of the thread, determine the capabilities of a thread "
2107 "after an B<execve>(2)."
2108 msgstr ""
2109 "Начиная с ядра версии 2.6.24, с помощью B<setcap>(8) поддерживается связь "
2110 "наборов мандатов с исполняемым файлом. Наборы мандатов файла хранятся в "
2111 "расширенном атрибуте (смотрите B<setxattr>(2) и B<xattr>(7)) с именем "
2112 "I<security.capability>. Для записи в этот расширенный атрибут требуется "
2113 "мандат B<CAP_SETFCAP>. Наборы файловых мандатов вместе с наборами мандатов "
2114 "нити определяют наборы мандатов нити после выполнения B<execve>(2)."
2115
2116 #. type: Plain text
2117 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2118 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2119 msgid "The three file capability sets are:"
2120 msgstr "Три файловых набора мандатов:"
2121
2122 #. type: TP
2123 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2124 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2125 #, no-wrap
2126 msgid "I<Permitted> (formerly known as I<forced>):"
2127 msgstr "I<Permitted> (ранее называвшийся I<forced>):"
2128
2129 #. type: Plain text
2130 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2131 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2132 msgid ""
2133 "These capabilities are automatically permitted to the thread, regardless of "
2134 "the thread's inheritable capabilities."
2135 msgstr ""
2136 "Эти мандаты автоматически разрешаются нити независимо от унаследованных "
2137 "мандатов нити."
2138
2139 #. type: TP
2140 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2141 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2142 #, no-wrap
2143 msgid "I<Inheritable> (formerly known as I<allowed>):"
2144 msgstr "I<Inheritable> (ранее называвшийся I<allowed>):"
2145
2146 #. type: Plain text
2147 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2148 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2149 msgid ""
2150 "This set is ANDed with the thread's inheritable set to determine which "
2151 "inheritable capabilities are enabled in the permitted set of the thread "
2152 "after the B<execve>(2)."
2153 msgstr ""
2154 "Этот набор объединяется (AND) с унаследованным набором нити для определения, "
2155 "какие унаследованные мандаты будут включены в разрешительный набор нити "
2156 "после B<execve>(2)."
2157
2158 #. type: TP
2159 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2160 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2161 #, no-wrap
2162 msgid "I<Effective>:"
2163 msgstr "I<Effective>:"
2164
2165 #. type: Plain text
2166 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2167 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2168 msgid ""
2169 "This is not a set, but rather just a single bit. If this bit is set, then "
2170 "during an B<execve>(2) all of the new permitted capabilities for the thread "
2171 "are also raised in the effective set. If this bit is not set, then after an "
2172 "B<execve>(2), none of the new permitted capabilities is in the new effective "
2173 "set."
2174 msgstr ""
2175 "В действительности, это не набор, а одиночный бит. Если бит включён, то при "
2176 "вызове B<execve>(2) все новые разрешённые мандаты нити будут также добавлены "
2177 "в эффективный набор. Если бит выключен, то после B<execve>(2) ни один из "
2178 "новых разрешённых мандатов не будет добавлен в новый эффективный набор."
2179
2180 #. type: Plain text
2181 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2182 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2183 #, fuzzy
2184 #| msgid ""
2185 #| "Enabling the file effective capability bit implies that any file "
2186 #| "permitted or inheritable capability that causes a thread to acquire the "
2187 #| "corresponding permitted capability during an B<execve>(2) (see the "
2188 #| "transformation rules described below) will also acquire that capability "
2189 #| "in its effective set. Therefore, when assigning capabilities to a file "
2190 #| "(B<setcap>(8), B<cap_set_file>(3), B<cap_set_fd>(3)), if we specify the "
2191 #| "effective flag as being enabled for any capability, then the effective "
2192 #| "flag must also be specified as enabled for all other capabilities for "
2193 #| "which the corresponding permitted or inheritable flags is enabled."
2194 msgid ""
2195 "Enabling the file effective capability bit implies that any file permitted "
2196 "or inheritable capability that causes a thread to acquire the corresponding "
2197 "permitted capability during an B<execve>(2) (see I<Transformation of "
2198 "capabilities during execve()> below) will also acquire that capability in "
2199 "its effective set. Therefore, when assigning capabilities to a file "
2200 "(B<setcap>(8), B<cap_set_file>(3), B<cap_set_fd>(3)), if we specify the "
2201 "effective flag as being enabled for any capability, then the effective flag "
2202 "must also be specified as enabled for all other capabilities for which the "
2203 "corresponding permitted or inheritable flag is enabled."
2204 msgstr ""
2205 "Включение эффективного файлового мандатного бита подразумевает, что любой "
2206 "файловый разрешительный или наследуемый мандат, который позволяет нити "
2207 "получить соответствующий разрешительный мандат при B<execve>(2) (смотрите "
2208 "правила преобразования, описанные далее), также получит этот мандат в "
2209 "эффективном наборе. Поэтому, когда назначаются мандаты файлу (B<setcap>(8), "
2210 "B<cap_set_file>(3), B<cap_set_fd>(3)), если мы укажем эффективный флаг как "
2211 "включённый для любого мандата, то эффективный флаг должен также быть указан "
2212 "включённым для всех остальных мандатов, для которых включён соответствующий "
2213 "разрешительный или наследуемый флаги."
2214
2215 #. type: SS
2216 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2217 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2218 #, no-wrap
2219 msgid "File capability extended attribute versioning"
2220 msgstr "Версии расширенного атрибута файловых мандатов"
2221
2222 #. type: Plain text
2223 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2224 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2225 msgid ""
2226 "To allow extensibility, the kernel supports a scheme to encode a version "
2227 "number inside the I<security.capability> extended attribute that is used to "
2228 "implement file capabilities. These version numbers are internal to the "
2229 "implementation, and not directly visible to user-space applications. To "
2230 "date, the following versions are supported:"
2231 msgstr ""
2232 "С целью расширяемости ядро поддерживает схему кодирования номера версии "
2233 "внутри расширенного атрибута I<security.capability>, который используется в "
2234 "реализации файловых мандатов. Эти номера версий введены только для "
2235 "реализации и непосредственно не видны приложениям пользовательского "
2236 "пространства. В настоящее время поддерживаются следующие версии:"
2237
2238 #. type: TP
2239 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2240 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2241 #, no-wrap
2242 msgid "B<VFS_CAP_REVISION_1>"
2243 msgstr "B<VFS_CAP_REVISION_1>"
2244
2245 #. type: Plain text
2246 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2247 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2248 msgid ""
2249 "This was the original file capability implementation, which supported 32-bit "
2250 "masks for file capabilities."
2251 msgstr ""
2252 "Первоначальная реализация файловых мандатов, поддерживает 32-битные маски "
2253 "файловых мандатов."
2254
2255 #. type: TP
2256 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2257 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2258 #, no-wrap
2259 msgid "B<VFS_CAP_REVISION_2> (since Linux 2.6.25)"
2260 msgstr "B<VFS_CAP_REVISION_2> (начиная с Linux 2.6.25)"
2261
2262 #. commit e338d263a76af78fe8f38a72131188b58fceb591
2263 #. type: Plain text
2264 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2265 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2266 msgid ""
2267 "This version allows for file capability masks that are 64 bits in size, and "
2268 "was necessary as the number of supported capabilities grew beyond 32. The "
2269 "kernel transparently continues to support the execution of files that have "
2270 "32-bit version 1 capability masks, but when adding capabilities to files "
2271 "that did not previously have capabilities, or modifying the capabilities of "
2272 "existing files, it automatically uses the version 2 scheme (or possibly the "
2273 "version 3 scheme, as described below)."
2274 msgstr ""
2275 "В данной версии поддерживаются 64-битные маски файловых мандатов, и и новый "
2276 "номер версии стал необходим для поддержки мандатов более 32. Ядро продолжает "
2277 "прозрачно поддерживать выполнение файлов с 32-битными масками мандатов 1-й "
2278 "версии, но при добавлении мандатов к файлам, у которых их ещё не было, или "
2279 "при изменение мандатов существующих файлов, оно автоматически использует "
2280 "схему 2-й версии (или, возможно, схему 3-ей версии как описано далее)."
2281
2282 #. type: TP
2283 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2284 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2285 #, no-wrap
2286 msgid "B<VFS_CAP_REVISION_3> (since Linux 4.14)"
2287 msgstr "B<VFS_CAP_REVISION_3> (начиная с Linux 4.14)"
2288
2289 #. commit 8db6c34f1dbc8e06aa016a9b829b06902c3e1340
2290 #. type: Plain text
2291 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2292 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2293 msgid ""
2294 "Version 3 file capabilities are provided to support namespaced file "
2295 "capabilities (described below)."
2296 msgstr ""
2297 "Версия 3 файловые мандатов предоставляет поддержку файловых мандатов "
2298 "пространства имён (описано далее)."
2299
2300 #. type: Plain text
2301 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2302 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2303 msgid ""
2304 "As with version 2 file capabilities, version 3 capability masks are 64 bits "
2305 "in size. But in addition, the root user ID of namespace is encoded in the "
2306 "I<security.capability> extended attribute. (A namespace's root user ID is "
2307 "the value that user ID 0 inside that namespace maps to in the initial user "
2308 "namespace.)"
2309 msgstr ""
2310 "Как и в версии 2, версия 3 имеет 64-битную маску файловых мандатов. Но в "
2311 "дополнении, в расширенном атрибуте I<security.capability> кодируется ID "
2312 "суперпользователя пространства имён (ID суперпользователя пространства имён "
2313 "— это значение, на которое отображается пользовательский ID 0 этого "
2314 "пространства имён в изначальном пользовательском пространстве имён)."
2315
2316 #. type: Plain text
2317 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2318 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2319 msgid ""
2320 "Version 3 file capabilities are designed to coexist with version 2 "
2321 "capabilities; that is, on a modern Linux system, there may be some files "
2322 "with version 2 capabilities while others have version 3 capabilities."
2323 msgstr ""
2324 "Файловые мандаты версии 3 могут сосуществовать с мандатами версии 2; то есть "
2325 "в современной системе Linux одни файлы могут быть с мандатами версии 2, а "
2326 "другие с версией 3."
2327
2328 #. type: Plain text
2329 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2330 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2331 msgid ""
2332 "Before Linux 4.14, the only kind of file capability extended attribute that "
2333 "could be attached to a file was a B<VFS_CAP_REVISION_2> attribute. Since "
2334 "Linux 4.14, the version of the I<security.capability> extended attribute "
2335 "that is attached to a file depends on the circumstances in which the "
2336 "attribute was created."
2337 msgstr ""
2338 "До Linux 4.14 типом мандата расширенного атрибута, который мог быть "
2339 "присоединён к файлу, был только атрибут B<VFS_CAP_REVISION_2>. Начиная с "
2340 "Linux 4.14 версия расширенного атрибута I<security.capability>, "
2341 "присоединённого к файлу, зависит от обстоятельств, при которых был создан "
2342 "атрибут."
2343
2344 #. type: Plain text
2345 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2346 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2347 msgid ""
2348 "Starting with Linux 4.14, a I<security.capability> extended attribute is "
2349 "automatically created as (or converted to) a version 3 "
2350 "(B<VFS_CAP_REVISION_3>) attribute if both of the following are true:"
2351 msgstr ""
2352 "Начиная с Linux 4.14, расширенный атрибут I<security.capability> "
2353 "автоматически создаётся (или преобразуется) как атрибут версии 3 "
2354 "(B<VFS_CAP_REVISION_3>), если оба условия истинны:"
2355
2356 #. type: Plain text
2357 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2358 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2359 msgid ""
2360 "The thread writing the attribute resides in a noninitial user namespace. "
2361 "(More precisely: the thread resides in a user namespace other than the one "
2362 "from which the underlying filesystem was mounted.)"
2363 msgstr ""
2364 "Нить, записывающая атрибут, расположена не в изначальном пользовательском "
2365 "пространстве имён (более точно: нить располагается в пользовательском "
2366 "пространстве имён отличном от того, из которого смонтирована нижележащая "
2367 "файловая система)."
2368
2369 #. type: Plain text
2370 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2371 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2372 msgid ""
2373 "The thread has the B<CAP_SETFCAP> capability over the file inode, meaning "
2374 "that (a) the thread has the B<CAP_SETFCAP> capability in its own user "
2375 "namespace; and (b) the UID and GID of the file inode have mappings in the "
2376 "writer's user namespace."
2377 msgstr ""
2378 "Нить имеет мандат B<CAP_SETFCAP> поверх файловой иноды, то есть (a) нит "
2379 "имеет мандат B<CAP_SETFCAP> в своём собственном пользовательском "
2380 "пространстве имён; и (b) UID и GID файловой иноды отображаются в "
2381 "пользовательское пространство имён записывающего."
2382
2383 #. type: Plain text
2384 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2385 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2386 msgid ""
2387 "When a B<VFS_CAP_REVISION_3> I<security.capability> extended attribute is "
2388 "created, the root user ID of the creating thread's user namespace is saved "
2389 "in the extended attribute."
2390 msgstr ""
2391 "При создании расширенного атрибута I<security.capability> с типом "
2392 "B<VFS_CAP_REVISION_3> ID суперпользователя пользовательского пространства "
2393 "имён создающей нити сохраняется в расширенном атрибуте."
2394
2395 #. type: Plain text
2396 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2397 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2398 msgid ""
2399 "By contrast, creating or modifying a I<security.capability> extended "
2400 "attribute from a privileged (B<CAP_SETFCAP>) thread that resides in the "
2401 "namespace where the underlying filesystem was mounted (this normally means "
2402 "the initial user namespace) automatically results in the creation of a "
2403 "version 2 (B<VFS_CAP_REVISION_2>) attribute."
2404 msgstr ""
2405 "Но при создании или изменении расширенного атрибута I<security.capability> "
2406 "из привилегированной (B<CAP_SETFCAP>) нити, находящейся в пространстве имён, "
2407 "в котором смонтирована нижележащая файловая система (обычно, это изначальное "
2408 "пользовательское пространство имён), автоматически вызывает создание "
2409 "атрибута с версией 2 (B<VFS_CAP_REVISION_2>)."
2410
2411 #. type: Plain text
2412 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2413 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2414 msgid ""
2415 "Note that the creation of a version 3 I<security.capability> extended "
2416 "attribute is automatic. That is to say, when a user-space application "
2417 "writes (B<setxattr>(2)) a I<security.capability> attribute in the version 2 "
2418 "format, the kernel will automatically create a version 3 attribute if the "
2419 "attribute is created in the circumstances described above. Correspondingly, "
2420 "when a version 3 I<security.capability> attribute is retrieved "
2421 "(B<getxattr>(2)) by a process that resides inside a user namespace that was "
2422 "created by the root user ID (or a descendant of that user namespace), the "
2423 "returned attribute is (automatically) simplified to appear as a version 2 "
2424 "attribute (i.e., the returned value is the size of a version 2 attribute and "
2425 "does not include the root user ID). These automatic translations mean that "
2426 "no changes are required to user-space tools (e.g., B<setcap>(1) and "
2427 "B<getcap>(1)) in order for those tools to be used to create and retrieve "
2428 "version 3 I<security.capability> attributes."
2429 msgstr ""
2430 "Заметим, что создании расширенного атрибута I<security.capability> версии 3 "
2431 "происходит автоматически. То есть когда приложение пользовательского "
2432 "пространства записывает (B<setxattr>(2)) атрибут I<security.capability> в "
2433 "формате версии 2 ядра автоматически создаёт версию атрибут версии 3, если "
2434 "атрибут создаётся в условиях, описанных выше. И, соответственно, кода "
2435 "атрибут I<security.capability> версии 3 возвращается (B<getxattr>(2)) "
2436 "процессу, расположенному в пользовательском пространстве имён, которое было "
2437 "создано с ID суперпользователя (или потомком этого пользовательского "
2438 "пространства имён), атрибут (автоматически) упрощается до версии 2 (т. е., "
2439 "возвращаемое значение имеет размер атрибута версии 2 и не включает ID "
2440 "суперпользователя). Эти автоматические преобразования позволяют не "
2441 "переписывать требуемые инструменты пользовательского пространства (например, "
2442 "B<setcap>(1) и B<getcap>(1)) для создания и получения атрибута "
2443 "I<security.capability> версии 3."
2444
2445 #. type: Plain text
2446 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2447 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2448 msgid ""
2449 "Note that a file can have either a version 2 or a version 3 "
2450 "I<security.capability> extended attribute associated with it, but not both: "
2451 "creation or modification of the I<security.capability> extended attribute "
2452 "will automatically modify the version according to the circumstances in "
2453 "which the extended attribute is created or modified."
2454 msgstr ""
2455 "Заметим, что файл может иметь расширенный атрибут I<security.capability> "
2456 "версии 2 или версии 3, но не оба одновременно: создание или изменение "
2457 "расширенного атрибута I<security.capability> автоматически приведёт к "
2458 "изменению версии согласно условиям, в которых он изменяется."
2459
2460 #. type: SS
2461 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2462 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2463 #, no-wrap
2464 msgid "Transformation of capabilities during execve()"
2465 msgstr "Преобразование мандатов при execve()"
2466
2467 #. type: Plain text
2468 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2469 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2470 msgid ""
2471 "During an B<execve>(2), the kernel calculates the new capabilities of the "
2472 "process using the following algorithm:"
2473 msgstr ""
2474 "При B<execve>(2) ядро вычисляет новые мандаты процесса по следующему "
2475 "алгоритму:"
2476
2477 #. type: Plain text
2478 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2479 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2480 #, no-wrap
2481 msgid ""
2482 "P'(ambient) = (file is privileged) ? 0 : P(ambient)\n"
2483 "\\&\n"
2484 "P'(permitted) = (P(inheritable) & F(inheritable)) |\n"
2485 " (F(permitted) & P(bounding)) | P'(ambient)\n"
2486 "\\&\n"
2487 "P'(effective) = F(effective) ? P'(permitted) : P'(ambient)\n"
2488 "\\&\n"
2489 "P'(inheritable) = P(inheritable) [i.e., unchanged]\n"
2490 "\\&\n"
2491 "P'(bounding) = P(bounding) [i.e., unchanged]\n"
2492 msgstr ""
2493
2494 #. type: Plain text
2495 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2496 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2497 msgid "where:"
2498 msgstr "где:"
2499
2500 #. type: TP
2501 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2502 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2503 #, no-wrap
2504 msgid "P()"
2505 msgstr "P()"
2506
2507 #. type: Plain text
2508 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2509 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2510 msgid "denotes the value of a thread capability set before the B<execve>(2)"
2511 msgstr "значение набора мандатов нити до B<execve>(2)"
2512
2513 #. type: TP
2514 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2515 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2516 #, no-wrap
2517 msgid "P'()"
2518 msgstr "P'()"
2519
2520 #. type: Plain text
2521 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2522 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2523 msgid "denotes the value of a thread capability set after the B<execve>(2)"
2524 msgstr "значение набора мандатов нити после B<execve>(2)"
2525
2526 #. type: TP
2527 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2528 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2529 #, no-wrap
2530 msgid "F()"
2531 msgstr "F()"
2532
2533 #. type: Plain text
2534 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2535 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2536 msgid "denotes a file capability set"
2537 msgstr "файловый набор мандатов"
2538
2539 #. type: Plain text
2540 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2541 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2542 msgid ""
2543 "Note the following details relating to the above capability transformation "
2544 "rules:"
2545 msgstr "Опишем подробней правила преобразования описанного выше мандата:"
2546
2547 #. type: Plain text
2548 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2549 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2550 msgid ""
2551 "The ambient capability set is present only since Linux 4.3. When "
2552 "determining the transformation of the ambient set during B<execve>(2), a "
2553 "privileged file is one that has capabilities or has the set-user-ID or set-"
2554 "group-ID bit set."
2555 msgstr ""
2556 "Набор мандатов ambient появился начиная с Linux 4.3. При определении "
2557 "преобразования набора ambient в B<execve>(2) привилегированный файл — это "
2558 "файл, имеющий один из этих мандатов, или у него установлен бит set-user-ID "
2559 "или set-group-ID."
2560
2561 #. type: Plain text
2562 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2563 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2564 msgid ""
2565 "Prior to Linux 2.6.25, the bounding set was a system-wide attribute shared "
2566 "by all threads. That system-wide value was employed to calculate the new "
2567 "permitted set during B<execve>(2) in the same manner as shown above for "
2568 "I<P(bounding)>."
2569 msgstr ""
2570 "До Linux 2.6.25 ограничивающий набор мандатов был общесистемным атрибутом, "
2571 "общим для всех нитей. Его значение использовалось для вычисления нового "
2572 "разрешительного набора в B<execve>(2) таким же образом как для "
2573 "I<P(bounding)>, показанном выше."
2574
2575 #. type: Plain text
2576 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
2577 #: opensuse-tumbleweed
2578 #, fuzzy
2579 #| msgid ""
2580 #| "I<Note>: during the capability transitions described above, file "
2581 #| "capabilities may be ignored (treated as empty) for the same reasons that "
2582 #| "the set-user-ID and set-group-ID bits are ignored; see B<execve>(2). "
2583 #| "File capabilities are similarly ignored if the kernel was booted with the "
2584 #| "I<no_file_caps> option."
2585 msgid ""
2586 "I<Note>: during the capability transitions described above, file "
2587 "capabilities may be ignored (treated as empty) for the same reasons that "
2588 "the set-user-ID and set-group-ID bits are ignored; see B<execve>(2). File "
2589 "capabilities are similarly ignored if the kernel was booted with the "
2590 "I<no_file_caps> option."
2591 msgstr ""
2592 "I<Замечание>: во время изменений мандатов, описанных выше, файловые мандаты "
2593 "могут игнорироваться (считаться пустыми) по тем же причинам что и "
2594 "игнорируются биты set-user-ID и set-group-ID; смотрите B<execve>(2). "
2595 "Файловые мандаты также игнорируются, если ядро было загружено с параметром "
2596 "I<no_file_caps>."
2597
2598 #. type: Plain text
2599 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2600 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2601 #, fuzzy
2602 #| msgid ""
2603 #| "I<Note>: according to the rules above, if a process with nonzero user IDs "
2604 #| "performs an B<execve>(2) then any capabilities that are present in its "
2605 #| "permitted and effective sets will be cleared. For the treatment of "
2606 #| "capabilities when a process with a user ID of zero performs an "
2607 #| "B<execve>(2), see below under I<Capabilities and execution of programs by "
2608 #| "root>."
2609 msgid ""
2610 "I<Note>: according to the rules above, if a process with nonzero user IDs "
2611 "performs an B<execve>(2) then any capabilities that are present in its "
2612 "permitted and effective sets will be cleared. For the treatment of "
2613 "capabilities when a process with a user ID of zero performs an B<execve>(2), "
2614 "see I<Capabilities and execution of programs by root> below."
2615 msgstr ""
2616 "I<Замечание>: в соответствии с правилами выше, если процесс ненулевым "
2617 "идентификатором пользователя выполняет B<execve>(2), то все его мандаты в "
2618 "разрешительном и действующим наборах будут очищены. Учёт мандатов в случае, "
2619 "когда процесс имеет нулевой идентификатор пользователя и выполняет "
2620 "B<execve>(2), описан далее в разделе I<Мандаты и выполнение программы с "
2621 "правами root>."
2622
2623 #. type: SS
2624 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2625 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2626 #, no-wrap
2627 msgid "Safety checking for capability-dumb binaries"
2628 msgstr "Проверка на безопасность двоичных файлов, не отзывчивых к мандатам"
2629
2630 #. type: Plain text
2631 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2632 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2633 msgid ""
2634 "A capability-dumb binary is an application that has been marked to have file "
2635 "capabilities, but has not been converted to use the B<libcap>(3) API to "
2636 "manipulate its capabilities. (In other words, this is a traditional set-"
2637 "user-ID-root program that has been switched to use file capabilities, but "
2638 "whose code has not been modified to understand capabilities.) For such "
2639 "applications, the effective capability bit is set on the file, so that the "
2640 "file permitted capabilities are automatically enabled in the process "
2641 "effective set when executing the file. The kernel recognizes a file which "
2642 "has the effective capability bit set as capability-dumb for the purpose of "
2643 "the check described here."
2644 msgstr ""
2645 "Двоичный файл, не отзывчивый к мандатам (capability-dumb binary) — это "
2646 "приложение, которое помечено как имеющее файловые мандаты, но не "
2647 "преобразованное для работы с программным интерфейсом B<libcap>(3) для "
2648 "управления своими мандатами (иначе говоря, это обычная set-user-ID-root "
2649 "программа, у которой указали файловые мандаты, но код которой не был изменён "
2650 "для понимания мандатов). У таких приложений на файле установлен эффективный "
2651 "файловый мандатный бит, из-за чего при исполнении файла у его процесса в "
2652 "эффективном наборе автоматически включаются разрешительные мандаты. Если "
2653 "ядро считает файл с установленным эффективным файловым мандатным битом не "
2654 "отзывчивым к мандатам, то выполняются проверки, описанные далее."
2655
2656 #. type: Plain text
2657 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2658 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2659 #, fuzzy
2660 #| msgid ""
2661 #| "When executing a capability-dumb binary, the kernel checks if the process "
2662 #| "obtained all permitted capabilities that were specified in the file "
2663 #| "permitted set, after the capability transformations described above have "
2664 #| "been performed. (The typical reason why this might I<not> occur is that "
2665 #| "the capability bounding set masked out some of the capabilities in the "
2666 #| "file permitted set.) If the process did not obtain the full set of file "
2667 #| "permitted capabilities, then B<execve>(2) fails with the error "
2668 #| "B<EPERM>. This prevents possible security risks that could arise when a "
2669 #| "capability-dumb application is executed with less privilege that it "
2670 #| "needs. Note that, by definition, the application could not itself "
2671 #| "recognize this problem, since it does not employ the B<libcap>(3) API."
2672 msgid ""
2673 "When executing a capability-dumb binary, the kernel checks if the process "
2674 "obtained all permitted capabilities that were specified in the file "
2675 "permitted set, after the capability transformations described above have "
2676 "been performed. (The typical reason why this might I<not> occur is that the "
2677 "capability bounding set masked out some of the capabilities in the file "
2678 "permitted set.) If the process did not obtain the full set of file "
2679 "permitted capabilities, then B<execve>(2) fails with the error B<EPERM>. "
2680 "This prevents possible security risks that could arise when a capability-"
2681 "dumb application is executed with less privilege than it needs. Note that, "
2682 "by definition, the application could not itself recognize this problem, "
2683 "since it does not employ the B<libcap>(3) API."
2684 msgstr ""
2685 "При запуске выполняемого файла, не отзывчивого к мандатам, ядро проверяет "
2686 "получил ли процесс все разрешительные мандаты, указанные в файловом "
2687 "разрешительном наборе, после преобразований мандатов, описанных выше "
2688 "(обычной причиной, почему это может I<не> произойти, является то, что "
2689 "ограничивающий набор мандатов перекрывает некоторые мандаты из файлового "
2690 "разрешительного набора). Если процесс не получил полный набор файловых "
2691 "разрешительных мандатов, то B<execve>(2) завершится с ошибкой B<EPERM>. Это "
2692 "предотвращает возникновение проблем с безопасностью, которые могли бы "
2693 "появиться, если приложение, не отзывчивое к мандатам, выполняется с меньшими "
2694 "правами чем требуется. Заметим, что по определению само приложение не может "
2695 "увидеть эту проблему, так как не используется программный интерфейс "
2696 "B<libcap>(3)."
2697
2698 #. type: SS
2699 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2700 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2701 #, no-wrap
2702 msgid "Capabilities and execution of programs by root"
2703 msgstr "Мандаты и выполнение программ с правами root"
2704
2705 #. See cap_bprm_set_creds(), bprm_caps_from_vfs_cap() and
2706 #. handle_privileged_root() in security/commoncap.c (Linux 5.0 source)
2707 #. type: Plain text
2708 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2709 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2710 msgid ""
2711 "In order to mirror traditional UNIX semantics, the kernel performs special "
2712 "treatment of file capabilities when a process with UID 0 (root) executes a "
2713 "program and when a set-user-ID-root program is executed."
2714 msgstr ""
2715 "Чтобы отразить обычную семантику UNIX, ядро выполняет специальные действия с "
2716 "файловыми мандатами, когда процесс с UID 0 (корневой) выполняет программу и "
2717 "когда выполняется программа с set-user-ID-root."
2718
2719 #. type: Plain text
2720 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2721 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2722 #, fuzzy
2723 #| msgid ""
2724 #| "After having performed any changes to the process effective ID that were "
2725 #| "triggered by the set-user-ID mode bit of the binary\\(eme.g., switching "
2726 #| "the effective user ID to 0 (root) because a set-user-ID-root program was "
2727 #| "executed\\(emthe kernel calculates the file capability sets as follows:"
2728 msgid ""
2729 "After having performed any changes to the process effective ID that were "
2730 "triggered by the set-user-ID mode bit of the binary\\[em]e.g., switching the "
2731 "effective user ID to 0 (root) because a set-user-ID-root program was "
2732 "executed\\[em]the kernel calculates the file capability sets as follows:"
2733 msgstr ""
2734 "После применения изменений к эффективному ID процесса, которые возникли из-"
2735 "за режимного бита set-user-ID у исполняемого файла — например, переключение "
2736 "действующего ID пользователя на 0 (root) из-за запуска программы с set-user-"
2737 "ID-root — ядро вычисляет набор файловых мандатов следующим образом:"
2738
2739 #. type: IP
2740 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2741 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2742 #, no-wrap
2743 msgid "(1)"
2744 msgstr "(1)"
2745
2746 #. type: Plain text
2747 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2748 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2749 #, fuzzy
2750 #| msgid ""
2751 #| "If the real or effective user ID of the process is 0 (root), then the "
2752 #| "file inheritable and permitted sets are ignored; instead they are "
2753 #| "notionally considered to be all ones (i.e., all capabilities enabled). "
2754 #| "(There is one exception to this behavior, described below in I<Set-user-"
2755 #| "ID-root programs that have file capabilities>.)"
2756 msgid ""
2757 "If the real or effective user ID of the process is 0 (root), then the file "
2758 "inheritable and permitted sets are ignored; instead they are notionally "
2759 "considered to be all ones (i.e., all capabilities enabled). (There is one "
2760 "exception to this behavior, described in I<Set-user-ID-root programs that "
2761 "have file capabilities> below.)"
2762 msgstr ""
2763 "Если реальный и эффективный ID пользователя процесса равен 0 (root), то "
2764 "файловый разрешительные или наследуемые наборы игнорируются; вместо этого "
2765 "условно считается, что все их биты установлены (т. е., разрешены все "
2766 "мандаты). (Существует одно исключение из этого правила, описано в "
2767 "I<Программы set-user-ID-root с файловыми мандатами>.)"
2768
2769 #. type: IP
2770 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2771 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2772 #, no-wrap
2773 msgid "(2)"
2774 msgstr "(2)"
2775
2776 #. type: Plain text
2777 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2778 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2779 msgid ""
2780 "If the effective user ID of the process is 0 (root) or the file effective "
2781 "bit is in fact enabled, then the file effective bit is notionally defined to "
2782 "be one (enabled)."
2783 msgstr ""
2784 "Если эффективный ID пользователя процесса равен 0 (root) или файловый "
2785 "эффективный бит фактически установлен, то файловый эффективный бит условно "
2786 "считается равным единице (включен)."
2787
2788 #. type: Plain text
2789 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2790 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2791 msgid ""
2792 "These notional values for the file's capability sets are then used as "
2793 "described above to calculate the transformation of the process's "
2794 "capabilities during B<execve>(2)."
2795 msgstr ""
2796 "Затем эти условные значения файлового набора мандатов используются, как "
2797 "описано выше, для вычисления преобразования мандатов процесса при "
2798 "B<execve>(2)."
2799
2800 #. type: Plain text
2801 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2802 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2803 msgid ""
2804 "Thus, when a process with nonzero UIDs B<execve>(2)s a set-user-ID-root "
2805 "program that does not have capabilities attached, or when a process whose "
2806 "real and effective UIDs are zero B<execve>(2)s a program, the calculation of "
2807 "the process's new permitted capabilities simplifies to:"
2808 msgstr ""
2809 "Таким образом, когда процесс с ненулевым UID запускает с помощью "
2810 "B<execve>(2) программу с set-user-ID-root, у которой нет присоединённых "
2811 "мандатов, или когда процесс, чей реальный и эффективный UID равны нулю, "
2812 "запускают программу через B<execve>(2), вычисление новых разрешённых "
2813 "мандатов упрощается до:"
2814
2815 #. type: Plain text
2816 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2817 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2818 #, fuzzy, no-wrap
2819 #| msgid "P'(permitted) = P(inheritable) | P(bounding)\n"
2820 msgid ""
2821 "P'(permitted) = P(inheritable) | P(bounding)\n"
2822 "\\&\n"
2823 "P'(effective) = P'(permitted)\n"
2824 msgstr "P'(permitted) = P(inheritable) | P(bounding)\n"
2825
2826 #. type: Plain text
2827 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2828 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2829 msgid ""
2830 "Consequently, the process gains all capabilities in its permitted and "
2831 "effective capability sets, except those masked out by the capability "
2832 "bounding set. (In the calculation of P'(permitted), the P'(ambient) term "
2833 "can be simplified away because it is by definition a proper subset of "
2834 "P(inheritable).)"
2835 msgstr ""
2836 "В связи с этим, процесс получает все мандаты в своих разрешительном и "
2837 "эффективном наборе мандатов , за исключением заглушаемых ограничивающим "
2838 "набором мандатов. (В вычислении P'(permitted), значение P'(ambient) можно "
2839 "сократить, так как оно определяется корректным поднабором P(inheritable).)"
2840
2841 #. type: Plain text
2842 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2843 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2844 msgid ""
2845 "The special treatments of user ID 0 (root) described in this subsection can "
2846 "be disabled using the securebits mechanism described below."
2847 msgstr ""
2848 "Специальное действие для ID пользователя 0 (root), описанное в этом абзаце, "
2849 "можно отключить с помощью механизма securebits, описанного далее."
2850
2851 #. type: SS
2852 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2853 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2854 #, no-wrap
2855 msgid "Set-user-ID-root programs that have file capabilities"
2856 msgstr "Программы set-user-ID-root с файловыми мандатами"
2857
2858 #. type: Plain text
2859 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2860 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2861 #, fuzzy
2862 #| msgid ""
2863 #| "There is one exception to the behavior described under I<Capabilities and "
2864 #| "execution of programs by root>. If (a) the binary that is being executed "
2865 #| "has capabilities attached and (b) the real user ID of the process is "
2866 #| "I<not> 0 (root) and (c) the effective user ID of the process I<is> 0 "
2867 #| "(root), then the file capability bits are honored (i.e., they are not "
2868 #| "notionally considered to be all ones). The usual way in which this "
2869 #| "situation can arise is when executing a set-UID-root program that also "
2870 #| "has file capabilities. When such a program is executed, the process "
2871 #| "gains just the capabilities granted by the program (i.e., not all "
2872 #| "capabilities, as would occur when executing a set-user-ID-root program "
2873 #| "that does not have any associated file capabilities)."
2874 msgid ""
2875 "There is one exception to the behavior described in I<Capabilities and "
2876 "execution of programs by root> above. If (a) the binary that is being "
2877 "executed has capabilities attached and (b) the real user ID of the process "
2878 "is I<not> 0 (root) and (c) the effective user ID of the process I<is> 0 "
2879 "(root), then the file capability bits are honored (i.e., they are not "
2880 "notionally considered to be all ones). The usual way in which this "
2881 "situation can arise is when executing a set-UID-root program that also has "
2882 "file capabilities. When such a program is executed, the process gains just "
2883 "the capabilities granted by the program (i.e., not all capabilities, as "
2884 "would occur when executing a set-user-ID-root program that does not have any "
2885 "associated file capabilities)."
2886 msgstr ""
2887 "Есть одно исключение в поведении, описанном в I<Мандаты и выполнение "
2888 "программ с правами root>. Если (a) к исполняемому двоичному файлу "
2889 "присоединены мандаты и (b) реальный пользовательский ID процесса I<не> равен "
2890 "0 (root) и (c) эффективный пользовательский ID процесса I<равен> 0 (root), "
2891 "то биты файловых мандатов учитываются (т. е., они не условно считаются "
2892 "установленными в единицы). Обычно, эта ситуация может возникать при "
2893 "исполнении программы с set-UID-root, у которой также заданы файловые "
2894 "мандаты. При выполнении такой программы процесс получает только мандаты, "
2895 "данные программе (т. е., не все мандаты, как это происходит, когда "
2896 "выполняемая программа с set-user-ID-root не имеет связанных файловых "
2897 "мандатов)."
2898
2899 #. type: Plain text
2900 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2901 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2902 msgid ""
2903 "Note that one can assign empty capability sets to a program file, and thus "
2904 "it is possible to create a set-user-ID-root program that changes the "
2905 "effective and saved set-user-ID of the process that executes the program to "
2906 "0, but confers no capabilities to that process."
2907 msgstr ""
2908 "Заметим, что файлу программы можно назначить пустой набор мандатов, и таким "
2909 "образом возможно создать программу с set-user-ID-root, которая изменяет "
2910 "эффективный и сохранённый set-user-ID процесса, исполняющего программу, на "
2911 "0, но не даёт мандаты этому процессу."
2912
2913 #. type: SS
2914 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2915 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2916 #, no-wrap
2917 msgid "Capability bounding set"
2918 msgstr "Ограничивающий набор мандатов"
2919
2920 #. type: Plain text
2921 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2922 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2923 msgid ""
2924 "The capability bounding set is a security mechanism that can be used to "
2925 "limit the capabilities that can be gained during an B<execve>(2). The "
2926 "bounding set is used in the following ways:"
2927 msgstr ""
2928 "Ограничивающий набор мандатов — это механизм безопасности, который можно "
2929 "использовать для ограничения мандатов, которые могут быть получены при "
2930 "B<execve>(2). Ограничивающий набор используется так:"
2931
2932 #. type: Plain text
2933 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2934 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2935 msgid ""
2936 "During an B<execve>(2), the capability bounding set is ANDed with the file "
2937 "permitted capability set, and the result of this operation is assigned to "
2938 "the thread's permitted capability set. The capability bounding set thus "
2939 "places a limit on the permitted capabilities that may be granted by an "
2940 "executable file."
2941 msgstr ""
2942 "При B<execve>(2) ограничивающий набор мандатов складывается (AND) с файловым "
2943 "разрешительным набором мандатов, и результат этой операции назначается "
2944 "разрешительному набору мандатов нити. Таким образом, ограничивающий набор "
2945 "мандатов ограничивает разрешённые мандаты, которые может предоставить "
2946 "исполняемый файл."
2947
2948 #. type: Plain text
2949 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2950 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2951 msgid ""
2952 "(Since Linux 2.6.25) The capability bounding set acts as a limiting "
2953 "superset for the capabilities that a thread can add to its inheritable set "
2954 "using B<capset>(2). This means that if a capability is not in the bounding "
2955 "set, then a thread can't add this capability to its inheritable set, even if "
2956 "it was in its permitted capabilities, and thereby cannot have this "
2957 "capability preserved in its permitted set when it B<execve>(2)s a file that "
2958 "has the capability in its inheritable set."
2959 msgstr ""
2960 "(начиная с Linux 2.6.25) Ограничивающий набор мандатов служит ограничивающим "
2961 "набором мандатов, которые нить может добавить в свой наследуемый набор с "
2962 "помощью B<capset>(2). Это означает, что если мандат отсутствует в "
2963 "ограничивающем наборе мандатов, то нить не может добавить этот мандат в свой "
2964 "наследуемый набор даже, если он есть в разрешительном наборе мандатов и "
2965 "поэтому не может сохранить данный мандат в разрешительный набор при вызове "
2966 "B<execve>(2) для файла, который имеет мандат в своём наследуемом наборе."
2967
2968 #. type: Plain text
2969 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2970 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2971 msgid ""
2972 "Note that the bounding set masks the file permitted capabilities, but not "
2973 "the inheritable capabilities. If a thread maintains a capability in its "
2974 "inheritable set that is not in its bounding set, then it can still gain that "
2975 "capability in its permitted set by executing a file that has the capability "
2976 "in its inheritable set."
2977 msgstr ""
2978 "Заметим, что ограничивающий набор скрывает файловые разрешительные мандаты, "
2979 "но не наследуемые мандаты. Если нить имеет мандат в своём наследуемом "
2980 "наборе, который отсутствует в ограничивающем наборе, то она по-прежнему "
2981 "обладает этим мандатом в своём разрешительном наборе при выполнении файла, "
2982 "который имеет мандат в своём наследуемом наборе."
2983
2984 #. type: Plain text
2985 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2986 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2987 msgid ""
2988 "Depending on the kernel version, the capability bounding set is either a "
2989 "system-wide attribute, or a per-process attribute."
2990 msgstr ""
2991 "В зависимости от версии ядра ограничивающий набор мандатов является либо "
2992 "системным свойством, либо атрибутом процесса."
2993
2994 #. type: Plain text
2995 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2996 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2997 msgid "B<Capability bounding set from Linux 2.6.25 onward>"
2998 msgstr "B<Ограничивающий набор мандатов начиная с Linux 2.6.25>"
2999
3000 #. type: Plain text
3001 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3002 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3003 msgid ""
3004 "From Linux 2.6.25, the I<capability bounding set> is a per-thread "
3005 "attribute. (The system-wide capability bounding set described below no "
3006 "longer exists.)"
3007 msgstr ""
3008 "Начиная с Linux 26.25, I<ограничивающий набор мандатов> является атрибутом "
3009 "нити (системного ограничивающего набора мандатов, описываемого далее, больше "
3010 "нет)."
3011
3012 #. type: Plain text
3013 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3014 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3015 msgid ""
3016 "The bounding set is inherited at B<fork>(2) from the thread's parent, and "
3017 "is preserved across an B<execve>(2)."
3018 msgstr ""
3019 "Ограничивающий набор наследуется при B<fork>(2) от нити родителя и "
3020 "сохраняется при B<execve>(2)."
3021
3022 #. type: Plain text
3023 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3024 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3025 msgid ""
3026 "A thread may remove capabilities from its capability bounding set using the "
3027 "B<prctl>(2) B<PR_CAPBSET_DROP> operation, provided it has the "
3028 "B<CAP_SETPCAP> capability. Once a capability has been dropped from the "
3029 "bounding set, it cannot be restored to that set. A thread can determine if "
3030 "a capability is in its bounding set using the B<prctl>(2) "
3031 "B<PR_CAPBSET_READ> operation."
3032 msgstr ""
3033 "Нить может удалять мандаты из своего ограничивающего набора мандатов с "
3034 "помощью вызова B<prctl>(2) с операцией B<PR_CAPBSET_DROP> при наличии "
3035 "мандата B<CAP_SETPCAP>. После удаления мандата из ограничивающего набора "
3036 "обратно его восстановить невозможно. Нить может определить наличие мандата в "
3037 "своём ограничивающем наборе с помощью вызова B<prctl>(2) с операцией "
3038 "B<PR_CAPBSET_READ>."
3039
3040 #. commit b3a222e52e4d4be77cc4520a57af1a4a0d8222d1
3041 #. type: Plain text
3042 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3043 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3044 #, fuzzy
3045 #| msgid ""
3046 #| "Removing capabilities from the bounding set is supported only if file "
3047 #| "capabilities are compiled into the kernel. In kernels before Linux "
3048 #| "2.6.33, file capabilities were an optional feature configurable via the "
3049 #| "B<CONFIG_SECURITY_FILE_CAPABILITIES> option. Since Linux 2.6.33, the "
3050 #| "configuration option has been removed and file capabilities are always "
3051 #| "part of the kernel. When file capabilities are compiled into the kernel, "
3052 #| "the B<init> process (the ancestor of all processes) begins with a full "
3053 #| "bounding set. If file capabilities are not compiled into the kernel, "
3054 #| "then B<init> begins with a full bounding set minus B<CAP_SETPCAP>, "
3055 #| "because this capability has a different meaning when there are no file "
3056 #| "capabilities."
3057 msgid ""
3058 "Removing capabilities from the bounding set is supported only if file "
3059 "capabilities are compiled into the kernel. Before Linux 2.6.33, file "
3060 "capabilities were an optional feature configurable via the "
3061 "B<CONFIG_SECURITY_FILE_CAPABILITIES> option. Since Linux 2.6.33, the "
3062 "configuration option has been removed and file capabilities are always part "
3063 "of the kernel. When file capabilities are compiled into the kernel, the "
3064 "B<init> process (the ancestor of all processes) begins with a full bounding "
3065 "set. If file capabilities are not compiled into the kernel, then B<init> "
3066 "begins with a full bounding set minus B<CAP_SETPCAP>, because this "
3067 "capability has a different meaning when there are no file capabilities."
3068 msgstr ""
3069 "Удаление мандатов из ограничивающего набора доступно только, если ядро "
3070 "собрано с поддержкой файловых мандатов. В ядре Linux до версии 2.6.33 "
3071 "файловые мандаты являлись необязательным свойством, настраиваемым параметром "
3072 "B<CONFIG_SECURITY_FILE_CAPABILITIES>. Начиная с Linux 2.6.33, параметр "
3073 "настройки был удалён и теперь файловые мандаты всегда являются частью ядра. "
3074 "Когда файловые мандаты в ядре, процесс B<init> (предок всех процессов) "
3075 "запускается с полным ограничивающим набором. Если файловые мандаты не "
3076 "добавлены в ядро, то B<init> запускается с полным ограничивающим набором "
3077 "минус B<CAP_SETPCAP>, так как этот мандат имеет другое значение, если "
3078 "файловые мандаты отсутствуют."
3079
3080 #. type: Plain text
3081 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3082 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3083 msgid ""
3084 "Removing a capability from the bounding set does not remove it from the "
3085 "thread's inheritable set. However it does prevent the capability from being "
3086 "added back into the thread's inheritable set in the future."
3087 msgstr ""
3088 "Удаление мандата из ограничивающего набора не удаляет его из наследуемого "
3089 "набора нити. Однако это предотвращает от добавления мандата обратно в "
3090 "наследуемый набор нити в будущем."
3091
3092 #. type: Plain text
3093 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3094 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3095 msgid "B<Capability bounding set prior to Linux 2.6.25>"
3096 msgstr "B<Ограничивающий набор мандатов до Linux 2.6.25>"
3097
3098 #. type: Plain text
3099 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3100 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3101 #, fuzzy
3102 #| msgid ""
3103 #| "In kernels before 2.6.25, the capability bounding set is a system-wide "
3104 #| "attribute that affects all threads on the system. The bounding set is "
3105 #| "accessible via the file I</proc/sys/kernel/cap-bound>. (Confusingly, "
3106 #| "this bit mask parameter is expressed as a signed decimal number in I</"
3107 #| "proc/sys/kernel/cap-bound>.)"
3108 msgid ""
3109 "Before Linux 2.6.25, the capability bounding set is a system-wide attribute "
3110 "that affects all threads on the system. The bounding set is accessible via "
3111 "the file I</proc/sys/kernel/cap-bound>. (Confusingly, this bit mask "
3112 "parameter is expressed as a signed decimal number in I</proc/sys/kernel/cap-"
3113 "bound>.)"
3114 msgstr ""
3115 "В ядрах до версии 2.6.25 ограничивающий набор мандатов был системным "
3116 "атрибутом, который влиял на все нити системы. Ограничивающий набор доступен "
3117 "через файл I</proc/sys/kernel/cap-bound> (по непонятной причине, данный "
3118 "параметр, битовая маска, в I</proc/sys/kernel/cap-bound> записывался в виде "
3119 "знакового десятичного числа)."
3120
3121 #. type: Plain text
3122 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3123 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3124 msgid ""
3125 "Only the B<init> process may set capabilities in the capability bounding "
3126 "set; other than that, the superuser (more precisely: a process with the "
3127 "B<CAP_SYS_MODULE> capability) may only clear capabilities from this set."
3128 msgstr ""
3129 "Только процесс B<init> может задавать мандаты в ограничивающем наборе "
3130 "мандатов; помимо этого, суперпользователь (точнее, процесс с мандатом "
3131 "B<CAP_SYS_MODULE>) может только удалять мандаты из набора."
3132
3133 #. type: Plain text
3134 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3135 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3136 msgid ""
3137 "On a standard system the capability bounding set always masks out the "
3138 "B<CAP_SETPCAP> capability. To remove this restriction (dangerous!), modify "
3139 "the definition of B<CAP_INIT_EFF_SET> in I<include/linux/capability.h> and "
3140 "rebuild the kernel."
3141 msgstr ""
3142 "В стандартной системе в ограничивающем наборе мандатов всегда удаляется "
3143 "мандат B<CAP_SETPCAP>. Чтобы убрать это ограничение (опасно!), нужно "
3144 "изменить определение B<CAP_INIT_EFF_SET> в I<include/linux/capability.h> и "
3145 "пересобрать ядро."
3146
3147 #. type: Plain text
3148 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3149 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3150 #, fuzzy
3151 #| msgid ""
3152 #| "The system-wide capability bounding set feature was added to Linux "
3153 #| "starting with kernel version 2.2.11."
3154 msgid ""
3155 "The system-wide capability bounding set feature was added to Linux 2.2.11."
3156 msgstr ""
3157 "Системное свойство, ограничивающий набор мандатов, было добавлено в ядро "
3158 "Linux версии 2.2.11."
3159
3160 #. type: SS
3161 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3162 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3163 #, no-wrap
3164 msgid "Effect of user ID changes on capabilities"
3165 msgstr "Влияние изменения пользовательского ID на мандаты"
3166
3167 #. type: Plain text
3168 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3169 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3170 msgid ""
3171 "To preserve the traditional semantics for transitions between 0 and nonzero "
3172 "user IDs, the kernel makes the following changes to a thread's capability "
3173 "sets on changes to the thread's real, effective, saved set, and filesystem "
3174 "user IDs (using B<setuid>(2), B<setresuid>(2), or similar):"
3175 msgstr ""
3176 "Для сохранения привычной семантики при переходе от 0 к ненулевым "
3177 "пользовательским ID, ядро делает следующие изменения наборов мандатов нити "
3178 "при изменении у нити реального, эффективного, сохранённого ID и "
3179 "пользовательского ID файловой системы (с помощью B<setuid>(2), "
3180 "B<setresuid>(2) или подобных):"
3181
3182 #. type: Plain text
3183 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3184 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3185 #, fuzzy
3186 #| msgid ""
3187 #| "If one or more of the real, effective or saved set user IDs was "
3188 #| "previously 0, and as a result of the UID changes all of these IDs have a "
3189 #| "nonzero value, then all capabilities are cleared from the permitted, "
3190 #| "effective, and ambient capability sets."
3191 msgid ""
3192 "If one or more of the real, effective, or saved set user IDs was previously "
3193 "0, and as a result of the UID changes all of these IDs have a nonzero value, "
3194 "then all capabilities are cleared from the permitted, effective, and ambient "
3195 "capability sets."
3196 msgstr ""
3197 "Если ранее реальный, эффективный или сохранённый пользовательский ID не был "
3198 "равен 0, и в результате изменения UID все эти ID получили ненулевое "
3199 "значение, то все мандаты удаляются из разрешительного, эффективного, и "
3200 "наружного набора мандатов."
3201
3202 #. type: Plain text
3203 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3204 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3205 msgid ""
3206 "If the effective user ID is changed from 0 to nonzero, then all capabilities "
3207 "are cleared from the effective set."
3208 msgstr ""
3209 "Если эффективный пользовательский ID изменяется с 0 на ненулевое значение, "
3210 "то все мандаты удаляются из эффективного набора мандатов."
3211
3212 #. type: Plain text
3213 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3214 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3215 msgid ""
3216 "If the effective user ID is changed from nonzero to 0, then the permitted "
3217 "set is copied to the effective set."
3218 msgstr ""
3219 "Если эффективный пользовательский ID изменяется с ненулевого значения на 0, "
3220 "то разрешительный набор копируется в эффективный набор."
3221
3222 #. type: Plain text
3223 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3224 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3225 msgid ""
3226 "If the filesystem user ID is changed from 0 to nonzero (see B<setfsuid>(2)), "
3227 "then the following capabilities are cleared from the effective set: "
3228 "B<CAP_CHOWN>, B<CAP_DAC_OVERRIDE>, B<CAP_DAC_READ_SEARCH>, B<CAP_FOWNER>, "
3229 "B<CAP_FSETID>, B<CAP_LINUX_IMMUTABLE> (since Linux 2.6.30), "
3230 "B<CAP_MAC_OVERRIDE>, and B<CAP_MKNOD> (since Linux 2.6.30). If the "
3231 "filesystem UID is changed from nonzero to 0, then any of these capabilities "
3232 "that are enabled in the permitted set are enabled in the effective set."
3233 msgstr ""
3234 "Если пользовательский ID файловой системы изменяется с 0 на ненулевое "
3235 "значение (смотрите B<setfsuid>(2)), то следующие мандаты удаляются из "
3236 "эффективного набора: B<CAP_CHOWN>, B<CAP_DAC_OVERRIDE>, "
3237 "B<CAP_DAC_READ_SEARCH>, B<CAP_FOWNER>, B<CAP_FSETID>, B<CAP_LINUX_IMMUTABLE> "
3238 "(начиная с Linux 2.6.30), B<CAP_MAC_OVERRIDE> и B<CAP_MKNOD> (начиная с "
3239 "Linux 2.6.30). Если пользовательский ID файловой системы изменяется с "
3240 "ненулевого значения на 0, то любой из мандатов, включённых в разрешительный "
3241 "набор, включается в эффективном наборе."
3242
3243 #. type: Plain text
3244 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3245 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3246 msgid ""
3247 "If a thread that has a 0 value for one or more of its user IDs wants to "
3248 "prevent its permitted capability set being cleared when it resets all of its "
3249 "user IDs to nonzero values, it can do so using the B<SECBIT_KEEP_CAPS> "
3250 "securebits flag described below."
3251 msgstr ""
3252 "Если нить, у которой один или более пользовательских ID равно 0, хочет "
3253 "предотвратить удаление разрешительных мандатов при сбросе всех "
3254 "пользовательских ID в ненулевые значения, то она может использовать флаг "
3255 "B<SECBIT_KEEP_CAPS> в securebits, описанный далее."
3256
3257 #. type: SS
3258 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3259 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3260 #, no-wrap
3261 msgid "Programmatically adjusting capability sets"
3262 msgstr "Программное изменение наборов мандатов"
3263
3264 #. type: Plain text
3265 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3266 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3267 msgid ""
3268 "A thread can retrieve and change its permitted, effective, and inheritable "
3269 "capability sets using the B<capget>(2) and B<capset>(2) system calls. "
3270 "However, the use of B<cap_get_proc>(3) and B<cap_set_proc>(3), both "
3271 "provided in the I<libcap> package, is preferred for this purpose. The "
3272 "following rules govern changes to the thread capability sets:"
3273 msgstr ""
3274 "Нить может получать и изменять свои разрешительные, действующие и "
3275 "наследуемые наборы мандатов с помощью системных вызовов B<capget>(2) и "
3276 "B<capset>(2). Однако для этой цели лучше использовать B<cap_get_proc>(3) и "
3277 "B<cap_set_proc>(3) из пакета I<libcap>. Следующие правила применяются при "
3278 "изменении наборов нити:"
3279
3280 #. type: Plain text
3281 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3282 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3283 msgid ""
3284 "If the caller does not have the B<CAP_SETPCAP> capability, the new "
3285 "inheritable set must be a subset of the combination of the existing "
3286 "inheritable and permitted sets."
3287 msgstr ""
3288 "Если вызывающий не имеет мандата B<CAP_SETPCAP>, то новый наследуемый набор "
3289 "должен быть поднабором комбинации существующего наследуемого и "
3290 "разрешительного наборов."
3291
3292 #. type: Plain text
3293 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3294 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3295 msgid ""
3296 "(Since Linux 2.6.25) The new inheritable set must be a subset of the "
3297 "combination of the existing inheritable set and the capability bounding set."
3298 msgstr ""
3299 "(начиная с Linux 2.6.25) Новый наследуемый набор должен быть поднабором "
3300 "комбинации существующего наследуемого и ограничивающего наборов."
3301
3302 #. type: Plain text
3303 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3304 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3305 msgid ""
3306 "The new permitted set must be a subset of the existing permitted set (i.e., "
3307 "it is not possible to acquire permitted capabilities that the thread does "
3308 "not currently have)."
3309 msgstr ""
3310 "Новый разрешительный набор должен быть поднабором существующего "
3311 "разрешительного набора (т. е., невозможно приобрести разрешительные мандаты, "
3312 "которых нить не имеет)."
3313
3314 #. type: Plain text
3315 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3316 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3317 msgid "The new effective set must be a subset of the new permitted set."
3318 msgstr ""
3319 "Новый эффективный набор должен быть поднабором нового разрешительного набора."
3320
3321 #. type: SS
3322 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3323 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3324 #, no-wrap
3325 msgid "The securebits flags: establishing a capabilities-only environment"
3326 msgstr "Флаги securebits: организация исключительно мандатного окружения"
3327
3328 #. For some background:
3329 #. see http://lwn.net/Articles/280279/ and
3330 #. http://article.gmane.org/gmane.linux.kernel.lsm/5476/
3331 #. type: Plain text
3332 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3333 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3334 #, fuzzy
3335 #| msgid ""
3336 #| "Starting with kernel 2.6.26, and with a kernel in which file capabilities "
3337 #| "are enabled, Linux implements a set of per-thread I<securebits> flags "
3338 #| "that can be used to disable special handling of capabilities for UID 0 "
3339 #| "(I<root>). These flags are as follows:"
3340 msgid ""
3341 "Starting with Linux 2.6.26, and with a kernel in which file capabilities are "
3342 "enabled, Linux implements a set of per-thread I<securebits> flags that can "
3343 "be used to disable special handling of capabilities for UID 0 (I<root>). "
3344 "These flags are as follows:"
3345 msgstr ""
3346 "Начиная с ядра версии 2.6.26 с включённой поддержкой файловых мандатов, в "
3347 "Linux реализован набор флагов I<securebits> (для каждой нити), который можно "
3348 "использовать для отключения специальных действий мандатов для UID 0 "
3349 "(I<root>). К этим флагам относятся:"
3350
3351 #. type: TP
3352 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3353 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3354 #, no-wrap
3355 msgid "B<SECBIT_KEEP_CAPS>"
3356 msgstr "B<SECBIT_KEEP_CAPS>"
3357
3358 #. type: Plain text
3359 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3360 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3361 msgid ""
3362 "Setting this flag allows a thread that has one or more 0 UIDs to retain "
3363 "capabilities in its permitted set when it switches all of its UIDs to "
3364 "nonzero values. If this flag is not set, then such a UID switch causes the "
3365 "thread to lose all permitted capabilities. This flag is always cleared on "
3366 "an B<execve>(2)."
3367 msgstr ""
3368 "Установка этого флага позволяет нити иметь один или более 0 UIDов, чтобы "
3369 "оставить мандаты в разрешительном наборе, когда она переключается все свои "
3370 "UIDы в ненулевые значения. Если этот флаг не установлен, то переключение "
3371 "такого UID приводит к тому, что нить теряет все мандаты в этих наборах. Этот "
3372 "флаг всегда сбрасывается при B<execve>(2)."
3373
3374 #. type: Plain text
3375 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3376 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3377 msgid ""
3378 "Note that even with the B<SECBIT_KEEP_CAPS> flag set, the effective "
3379 "capabilities of a thread are cleared when it switches its effective UID to a "
3380 "nonzero value. However, if the thread has set this flag and its effective "
3381 "UID is already nonzero, and the thread subsequently switches all other UIDs "
3382 "to nonzero values, then the effective capabilities will not be cleared."
3383 msgstr ""
3384 "Заметим, что даже с установленным флагом B<SECBIT_KEEP_CAPS> эффективные "
3385 "мандаты нити очищаются, когда она переключает свой эффективный UID на "
3386 "ненулевое значение. Однако, если нить устанавливает этот флаг и её "
3387 "эффективный UID уже не равен нулю и затем нить переключает все другие UID в "
3388 "ненулевые значения, то эффективные мандаты не будут очищены."
3389
3390 #. type: Plain text
3391 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3392 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3393 msgid ""
3394 "The setting of the B<SECBIT_KEEP_CAPS> flag is ignored if the "
3395 "B<SECBIT_NO_SETUID_FIXUP> flag is set. (The latter flag provides a superset "
3396 "of the effect of the former flag.)"
3397 msgstr ""
3398 "Установка флага B<SECBIT_KEEP_CAPS> игнорируется, если указан флаг "
3399 "B<SECBIT_NO_SETUID_FIXUP> (этот флаг предоставляет надмножество свойств "
3400 "первого флага)."
3401
3402 #. type: Plain text
3403 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3404 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3405 msgid ""
3406 "This flag provides the same functionality as the older B<prctl>(2) "
3407 "B<PR_SET_KEEPCAPS> operation."
3408 msgstr ""
3409 "Этот флаг предоставляет возможности старой операции B<PR_SET_KEEPCAPS> "
3410 "вызова B<prctl>(2)."
3411
3412 #. type: TP
3413 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3414 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3415 #, no-wrap
3416 msgid "B<SECBIT_NO_SETUID_FIXUP>"
3417 msgstr "B<SECBIT_NO_SETUID_FIXUP>"
3418
3419 #. type: Plain text
3420 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3421 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3422 #, fuzzy
3423 #| msgid ""
3424 #| "Setting this flag stops the kernel from adjusting the process's "
3425 #| "permitted, effective, and ambient capability sets when the thread's "
3426 #| "effective and filesystem UIDs are switched between zero and nonzero "
3427 #| "values. (See the subsection I<Effect of user ID changes on "
3428 #| "capabilities>.)"
3429 msgid ""
3430 "Setting this flag stops the kernel from adjusting the process's permitted, "
3431 "effective, and ambient capability sets when the thread's effective and "
3432 "filesystem UIDs are switched between zero and nonzero values. See I<Effect "
3433 "of user ID changes on capabilities> above."
3434 msgstr ""
3435 "Установка этого флага не даёт ядру изменить разрешительный, эффективный и "
3436 "наружный набор мандатов при изменении эффективного UID и UID файловой "
3437 "системы нити с 0 на ненулевое значение (смотрите раздел I<Влияние изменения "
3438 "пользовательского ID на мандаты>)."
3439
3440 #. type: TP
3441 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3442 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3443 #, no-wrap
3444 msgid "B<SECBIT_NOROOT>"
3445 msgstr "B<SECBIT_NOROOT>"
3446
3447 #. type: Plain text
3448 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3449 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3450 #, fuzzy
3451 #| msgid ""
3452 #| "If this bit is set, then the kernel does not grant capabilities when a "
3453 #| "set-user-ID-root program is executed, or when a process with an effective "
3454 #| "or real UID of 0 calls B<execve>(2). (See the subsection I<Capabilities "
3455 #| "and execution of programs by root>.)"
3456 msgid ""
3457 "If this bit is set, then the kernel does not grant capabilities when a set-"
3458 "user-ID-root program is executed, or when a process with an effective or "
3459 "real UID of 0 calls B<execve>(2). (See I<Capabilities and execution of "
3460 "programs by root> above.)"
3461 msgstr ""
3462 "Если этот бит установлен, то ядро не предоставляет мандаты при исполнении "
3463 "программы, имеющей бит set-user-ID-root, или когда процесс с эффективным или "
3464 "реальным UID равным 0 вызывает B<execve>(2) (смотрите раздел I<Мандаты и "
3465 "выполнение программа от root>)."
3466
3467 #. type: TP
3468 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3469 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3470 #, no-wrap
3471 msgid "B<SECBIT_NO_CAP_AMBIENT_RAISE>"
3472 msgstr "B<SECBIT_NO_CAP_AMBIENT_RAISE>"
3473
3474 #. type: Plain text
3475 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3476 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3477 msgid ""
3478 "Setting this flag disallows raising ambient capabilities via the "
3479 "B<prctl>(2) B<PR_CAP_AMBIENT_RAISE> operation."
3480 msgstr ""
3481 "Установка этого флага запрещает повышение наружных мандатов посредством "
3482 "B<prctl>(2)с операцией B<PR_CAP_AMBIENT_RAISE>."
3483
3484 #. type: Plain text
3485 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3486 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3487 msgid ""
3488 "Each of the above \"base\" flags has a companion \"locked\" flag. Setting "
3489 "any of the \"locked\" flags is irreversible, and has the effect of "
3490 "preventing further changes to the corresponding \"base\" flag. The locked "
3491 "flags are: B<SECBIT_KEEP_CAPS_LOCKED>, B<SECBIT_NO_SETUID_FIXUP_LOCKED>, "
3492 "B<SECBIT_NOROOT_LOCKED>, and B<SECBIT_NO_CAP_AMBIENT_RAISE_LOCKED>."
3493 msgstr ""
3494 "Каждый из перечисленных выше «базовых» флагов имеет дополнительный флаг "
3495 "«блокировки». Установка любого из флагов «блокировки» необратима и запрещает "
3496 "дальнейшие изменения соответствующего «базового» флага. Флаги блокировки: "
3497 "B<SECBIT_KEEP_CAPS_LOCKED>, B<SECBIT_NO_SETUID_FIXUP_LOCKED>, "
3498 "B<SECBIT_NOROOT_LOCKED> и B<SECBIT_NO_CAP_AMBIENT_RAISE_LOCKED>."
3499
3500 #. type: Plain text
3501 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3502 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3503 msgid ""
3504 "The I<securebits> flags can be modified and retrieved using the B<prctl>(2) "
3505 "B<PR_SET_SECUREBITS> and B<PR_GET_SECUREBITS> operations. The "
3506 "B<CAP_SETPCAP> capability is required to modify the flags. Note that the "
3507 "B<SECBIT_*> constants are available only after including the I<E<lt>linux/"
3508 "securebits.hE<gt>> header file."
3509 msgstr ""
3510 "Флаги I<securebits> можно изменять и получать с помощью вызова B<prctl>(2) с "
3511 "операциями B<PR_SET_SECUREBITS> и B<PR_GET_SECUREBITS>. Для изменения флагов "
3512 "требуется мандат B<CAP_SETPCAP>. Заметим, что константы B<SECBIT_*> доступны "
3513 "только после включения в код заголовочного файла I<E<lt>linux/"
3514 "securebits.hE<gt>>."
3515
3516 #. type: Plain text
3517 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3518 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3519 msgid ""
3520 "The I<securebits> flags are inherited by child processes. During an "
3521 "B<execve>(2), all of the flags are preserved, except B<SECBIT_KEEP_CAPS> "
3522 "which is always cleared."
3523 msgstr ""
3524 "Флаги I<securebits> наследуются дочерними процессами. При B<execve>(2) все "
3525 "флаги сохраняются, за исключением B<SECBIT_KEEP_CAPS>, который всегда "
3526 "сбрасывается."
3527
3528 #. type: Plain text
3529 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3530 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3531 msgid ""
3532 "An application can use the following call to lock itself, and all of its "
3533 "descendants, into an environment where the only way of gaining capabilities "
3534 "is by executing a program with associated file capabilities:"
3535 msgstr ""
3536 "Приложение может использовать следующий вызов для собственной блокировки и "
3537 "помещение всех своих потомков в окружение, в котором есть только один способ "
3538 "добавить права — запустить программу со связанными с ней файловыми мандатами:"
3539
3540 #. type: Plain text
3541 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3542 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3543 #, no-wrap
3544 msgid ""
3545 "prctl(PR_SET_SECUREBITS,\n"
3546 " /* SECBIT_KEEP_CAPS off */\n"
3547 " SECBIT_KEEP_CAPS_LOCKED |\n"
3548 " SECBIT_NO_SETUID_FIXUP |\n"
3549 " SECBIT_NO_SETUID_FIXUP_LOCKED |\n"
3550 " SECBIT_NOROOT |\n"
3551 " SECBIT_NOROOT_LOCKED);\n"
3552 " /* Setting/locking SECBIT_NO_CAP_AMBIENT_RAISE\n"
3553 " is not required */\n"
3554 msgstr ""
3555 "prctl(PR_SET_SECUREBITS,\n"
3556 " /* SECBIT_KEEP_CAPS off */\n"
3557 " SECBIT_KEEP_CAPS_LOCKED |\n"
3558 " SECBIT_NO_SETUID_FIXUP |\n"
3559 " SECBIT_NO_SETUID_FIXUP_LOCKED |\n"
3560 " SECBIT_NOROOT |\n"
3561 " SECBIT_NOROOT_LOCKED);\n"
3562 " /* установка/блокировка SECBIT_NO_CAP_AMBIENT_RAISE\n"
3563 " не требуется */\n"
3564
3565 #. type: SS
3566 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3567 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3568 #, fuzzy, no-wrap
3569 #| msgid "Per-user-namespace \"set-user-ID-root\" programs"
3570 msgid "Per-user-namespace \\[dq]set-user-ID-root\\[dq] programs"
3571 msgstr "Программы set-user-ID-root с отдельными пространствами имён пользователя"
3572
3573 #. type: Plain text
3574 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3575 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3576 msgid ""
3577 "A set-user-ID program whose UID matches the UID that created a user "
3578 "namespace will confer capabilities in the process's permitted and effective "
3579 "sets when executed by any process inside that namespace or any descendant "
3580 "user namespace."
3581 msgstr ""
3582 "Программе set-user-ID, чей UID совпадает с UID создателя пространства имён "
3583 "пользователя, будут предоставлены мандаты в разрешительном и эффективном "
3584 "наборах, при выполнении любого процесса внутри этого пространства имён или в "
3585 "любом дочернем пространстве имён пользователя."
3586
3587 #. type: Plain text
3588 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3589 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3590 #, fuzzy
3591 #| msgid ""
3592 #| "The rules about the transformation of the process's capabilities during "
3593 #| "the B<execve>(2) are exactly as described in the subsections "
3594 #| "I<Transformation of capabilities during execve()> and I<Capabilities and "
3595 #| "execution of programs by root>, with the difference that, in the latter "
3596 #| "subsection, \"root\" is the UID of the creator of the user namespace."
3597 msgid ""
3598 "The rules about the transformation of the process's capabilities during the "
3599 "B<execve>(2) are exactly as described in I<Transformation of capabilities "
3600 "during execve()> and I<Capabilities and execution of programs by root> "
3601 "above, with the difference that, in the latter subsection, \"root\" is the "
3602 "UID of the creator of the user namespace."
3603 msgstr ""
3604 "Правила преобразования мандатов процесса при B<execve>(2) точно такие же как "
3605 "описаны в подразделах I<Преобразование мандатов при execve()> и I<Мандаты и "
3606 "выполнение программы с правами root>, но с отличием: в последнем подразделе "
3607 "«root» это UID создателя пространства имён пользователя."
3608
3609 #. type: SS
3610 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3611 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3612 #, no-wrap
3613 msgid "Namespaced file capabilities"
3614 msgstr "Файловые мандаты пространства имён"
3615
3616 #. commit 8db6c34f1dbc8e06aa016a9b829b06902c3e1340
3617 #. type: Plain text
3618 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3619 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3620 #, fuzzy
3621 #| msgid ""
3622 #| "Traditional (i.e., version 2) file capabilities associate only a set of "
3623 #| "capability masks with a binary executable file. When a process executes "
3624 #| "a binary with such capabilities, it gains the associated capabilities "
3625 #| "(within its user namespace) as per the rules described above in "
3626 #| "\"Transformation of capabilities during execve()\"."
3627 msgid ""
3628 "Traditional (i.e., version 2) file capabilities associate only a set of "
3629 "capability masks with a binary executable file. When a process executes a "
3630 "binary with such capabilities, it gains the associated capabilities (within "
3631 "its user namespace) as per the rules described in I<Transformation of "
3632 "capabilities during execve()> above."
3633 msgstr ""
3634 "Обычные (т. е., с версией 2) файловые мандаты представляют собой только "
3635 "связь набора мандатных масок и двоичного исполняемого файла. Когда процесс "
3636 "выполняет двоичный файл с такими мандатами он получает присоединённые "
3637 "мандаты (внутри своего пользовательского пространства имён) согласно "
3638 "правилам, описанным выше в «Преобразование мандатов при execve()»."
3639
3640 #. type: Plain text
3641 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3642 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3643 msgid ""
3644 "Because version 2 file capabilities confer capabilities to the executing "
3645 "process regardless of which user namespace it resides in, only privileged "
3646 "processes are permitted to associate capabilities with a file. Here, "
3647 "\"privileged\" means a process that has the B<CAP_SETFCAP> capability in the "
3648 "user namespace where the filesystem was mounted (normally the initial user "
3649 "namespace). This limitation renders file capabilities useless for certain "
3650 "use cases. For example, in user-namespaced containers, it can be desirable "
3651 "to be able to create a binary that confers capabilities only to processes "
3652 "executed inside that container, but not to processes that are executed "
3653 "outside the container."
3654 msgstr ""
3655 "Так как файловые мандаты версии 2 предоставляются выполняющемуся процессу "
3656 "независимо от того, в каком пользовательском пространстве имён он "
3657 "располагается, то только привилегированным процессам разрешено связывать "
3658 "мандаты с файлом. Здесь «привилегированным» считается процесс, имеющий "
3659 "мандат B<CAP_SETFCAP> в пользовательском пространстве имён, в котором была "
3660 "смонтирована файловая система (обычно, изначальное пользовательское "
3661 "пространство имён). Это ограничение в определённых случаях делает файловые "
3662 "мандаты бесполезными. Например, в контейнерах пользовательских пространств "
3663 "имён может требоваться возможность создания двоичных файлов, которые "
3664 "предоставляют мандаты только процессам, выполняемым внутри контейнера, но не "
3665 "процессам, выполняемым вне контейнера."
3666
3667 #. type: Plain text
3668 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3669 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3670 #, fuzzy
3671 #| msgid ""
3672 #| "Linux 4.14 added so-called namespaced file capabilities to support such "
3673 #| "use cases. Namespaced file capabilities are recorded as version 3 (i.e., "
3674 #| "B<VFS_CAP_REVISION_3>) I<security.capability> extended attributes. Such "
3675 #| "an attribute is automatically created in the circumstances described "
3676 #| "above under \"File capability extended attribute versioning\". When a "
3677 #| "version 3 I<security.capability> extended attribute is created, the "
3678 #| "kernel records not just the capability masks in the extended attribute, "
3679 #| "but also the namespace root user ID."
3680 msgid ""
3681 "Linux 4.14 added so-called namespaced file capabilities to support such use "
3682 "cases. Namespaced file capabilities are recorded as version 3 (i.e., "
3683 "B<VFS_CAP_REVISION_3>) I<security.capability> extended attributes. Such an "
3684 "attribute is automatically created in the circumstances described in I<File "
3685 "capability extended attribute versioning> above. When a version 3 "
3686 "I<security.capability> extended attribute is created, the kernel records not "
3687 "just the capability masks in the extended attribute, but also the namespace "
3688 "root user ID."
3689 msgstr ""
3690 "В Linux 4.14 добавлены так называемые файловые мандаты пространства имён; "
3691 "это введено специально для таких случаев. Файловые мандаты пространства имён "
3692 "записываются в версию 3 (т. е., B<VFS_CAP_REVISION_3>) расширенных атрибутов "
3693 "I<security.capability>. Данный атрибут автоматически создаётся при условиях, "
3694 "описанных выше в «Версии расширенного атрибута файловых мандатов». Когда "
3695 "создаётся расширенный атрибутI<security.capability> версии 3 ядро записывает "
3696 "в расширенный атрибут не только маску мандатов, но и ID суперпользователя "
3697 "пространства имён."
3698
3699 #. type: Plain text
3700 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3701 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3702 msgid ""
3703 "As with a binary that has B<VFS_CAP_REVISION_2> file capabilities, a binary "
3704 "with B<VFS_CAP_REVISION_3> file capabilities confers capabilities to a "
3705 "process during B<execve>(). However, capabilities are conferred only if the "
3706 "binary is executed by a process that resides in a user namespace whose UID 0 "
3707 "maps to the root user ID that is saved in the extended attribute, or when "
3708 "executed by a process that resides in a descendant of such a namespace."
3709 msgstr ""
3710 "Подобно двоичному файлу с файловыми мандатами B<VFS_CAP_REVISION_2> файл с "
3711 "файловыми мандатами B<VFS_CAP_REVISION_3> предоставляет мандаты процессу при "
3712 "B<execve>(). Однако мандаты предоставляются только, если двоичный файл, "
3713 "выполняемый процессом, располагается в пользовательском пространстве имён, в "
3714 "котором UID 0 отображается в ID суперпользователя, сохранённого в "
3715 "расширенном атрибуте, или когда выполняется процессом, располагаемом в "
3716 "потомке такого пространства имён."
3717
3718 #. type: SS
3719 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3720 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3721 #, no-wrap
3722 msgid "Interaction with user namespaces"
3723 msgstr "Взаимодействие с пользовательскими пространствами имён"
3724
3725 #. type: Plain text
3726 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3727 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3728 msgid ""
3729 "For further information on the interaction of capabilities and user "
3730 "namespaces, see B<user_namespaces>(7)."
3731 msgstr ""
3732 "Дополнительную информацию о связи мандатов с пространствами пользователя "
3733 "смотрите в B<user_namespaces>(7)."
3734
3735 #. type: SH
3736 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3737 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3738 #, no-wrap
3739 msgid "STANDARDS"
3740 msgstr "СТАНДАРТЫ"
3741
3742 #. type: Plain text
3743 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
3744 #: opensuse-tumbleweed
3745 #, fuzzy
3746 #| msgid ""
3747 #| "No standards govern capabilities, but the Linux capability implementation "
3748 #| "is based on the withdrawn POSIX.1e draft standard; see E<.UR https://"
3749 #| "archive.org\\:/details\\:/posix_1003.1e-990310> E<.UE .>"
3750 msgid ""
3751 "No standards govern capabilities, but the Linux capability implementation is "
3752 "based on the withdrawn E<.UR https:\\://archive.org\\:/details\\:/"
3753 "posix_1003.1e-990310> POSIX.1e draft standard E<.UE .>"
3754 msgstr ""
3755 "Стандарты, описывающие мандаты, отсутствуют, но реализация мандатов в Linux "
3756 "основывается на изъятом черновике стандарта POSIX.1e; смотрите E<.UR https://"
3757 "archive.org\\:/details\\:/posix_1003.1e-990310> E<.UE .>"
3758
3759 #. type: SH
3760 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3761 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3762 #, no-wrap
3763 msgid "NOTES"
3764 msgstr "ПРИМЕЧАНИЯ"
3765
3766 #. type: Plain text
3767 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3768 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3769 msgid ""
3770 "When attempting to B<strace>(1) binaries that have capabilities (or set-"
3771 "user-ID-root binaries), you may find the I<-u E<lt>usernameE<gt>> option "
3772 "useful. Something like:"
3773 msgstr ""
3774 "При попытке запуска B<strace>(1) над исполняемыми файлами с мандатами (или с "
3775 "установленным битом set-user-ID-root), вам может понадобиться параметр I<-u "
3776 "E<lt>имя_пользователяE<gt>>. Например так:"
3777
3778 #. type: Plain text
3779 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
3780 #: opensuse-tumbleweed
3781 #, fuzzy, no-wrap
3782 #| msgid "$ B<sudo strace -o trace.log -u ceci ./myprivprog>\n"
3783 msgid "$B< sudo strace -o trace.log -u ceci ./myprivprog>\n"
3784 msgstr "$ B<sudo strace -o trace.log -u ceci ./myprivprog>\n"
3785
3786 #. commit 5915eb53861c5776cfec33ca4fcc1fd20d66dd27 removed
3787 #. CONFIG_SECURITY_CAPABILITIES
3788 #. type: Plain text
3789 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3790 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3791 #, fuzzy
3792 #| msgid ""
3793 #| "From kernel 2.5.27 to kernel 2.6.26, capabilities were an optional kernel "
3794 #| "component, and could be enabled/disabled via the "
3795 #| "B<CONFIG_SECURITY_CAPABILITIES> kernel configuration option."
3796 msgid ""
3797 "From Linux 2.5.27 to Linux 2.6.26, capabilities were an optional kernel "
3798 "component, and could be enabled/disabled via the "
3799 "B<CONFIG_SECURITY_CAPABILITIES> kernel configuration option."
3800 msgstr ""
3801 "Начиная с ядра версии 2.5.27 по 2.6.26, мандаты являются необязательным "
3802 "компонентом ядра, и могут быть включены/выключены с помощью параметра "
3803 "настройки ядра B<CONFIG_SECURITY_CAPABILITIES>."
3804
3805 #. 7b9a7ec565505699f503b4fcf61500dceb36e744
3806 #. type: Plain text
3807 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3808 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3809 #, fuzzy
3810 #| msgid ""
3811 #| "The I</proc/[pid]/task/TID/status> file can be used to view the "
3812 #| "capability sets of a thread. The I</proc/[pid]/status> file shows the "
3813 #| "capability sets of a process's main thread. Before Linux 3.8, "
3814 #| "nonexistent capabilities were shown as being enabled (1) in these sets. "
3815 #| "Since Linux 3.8, all nonexistent capabilities (above B<CAP_LAST_CAP>) "
3816 #| "are shown as disabled (0)."
3817 msgid ""
3818 "The I</proc/>pidI</task/TID/status> file can be used to view the capability "
3819 "sets of a thread. The I</proc/>pidI</status> file shows the capability sets "
3820 "of a process's main thread. Before Linux 3.8, nonexistent capabilities were "
3821 "shown as being enabled (1) in these sets. Since Linux 3.8, all nonexistent "
3822 "capabilities (above B<CAP_LAST_CAP>) are shown as disabled (0)."
3823 msgstr ""
3824 "Файл I</proc/[pid]/task/TID/status> можно использовать для просмотра набора "
3825 "мандатов нити. В файле I</proc/[pid]/status> отражён набор мандатов главной "
3826 "нити процесса. До Linux 3.8, несуществующие мандаты в этих наборах "
3827 "показывались как включённые (1). Начиная с Linux 3.8, все несуществующие "
3828 "мандаты (после B<CAP_LAST_CAP>) показываются выключенными (0)."
3829
3830 #. type: Plain text
3831 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3832 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3833 msgid ""
3834 "The I<libcap> package provides a suite of routines for setting and getting "
3835 "capabilities that is more comfortable and less likely to change than the "
3836 "interface provided by B<capset>(2) and B<capget>(2). This package also "
3837 "provides the B<setcap>(8) and B<getcap>(8) programs. It can be found at"
3838 msgstr ""
3839 "В пакете I<libcap> содержится набор процедур для установки и получения "
3840 "мандатов; он удобнее и менее подвержен изменениям, чем интерфейс "
3841 "предоставляемый B<capset>(2) и B<capget>(2). Также данный пакет "
3842 "предоставляет программы B<setcap>(8) и B<getcap>(8) . Его можно найти здесь:"
3843
3844 #. type: Plain text
3845 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
3846 #: opensuse-tumbleweed
3847 #, fuzzy
3848 #| msgid ""
3849 #| "E<.UR https://git.kernel.org\\:/pub\\:/scm\\:/libs\\:/libcap\\:/"
3850 #| "libcap.git\\:/refs/> E<.UE .>"
3851 msgid ""
3852 "E<.UR https:\\://git.kernel.org\\:/pub\\:/scm\\:/libs\\:/libcap\\:/"
3853 "libcap.git\\:/refs/> E<.UE .>"
3854 msgstr ""
3855 "E<.UR https://git.kernel.org\\:/pub\\:/scm\\:/libs\\:/libcap\\:/"
3856 "libcap.git\\:/refs/> E<.UE .>"
3857
3858 #. type: Plain text
3859 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3860 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3861 #, fuzzy
3862 #| msgid ""
3863 #| "Before kernel 2.6.24, and from kernel 2.6.24 to kernel 2.6.32 if file "
3864 #| "capabilities are not enabled, a thread with the B<CAP_SETPCAP> capability "
3865 #| "can manipulate the capabilities of threads other than itself. However, "
3866 #| "this is only theoretically possible, since no thread ever has "
3867 #| "B<CAP_SETPCAP> in either of these cases:"
3868 msgid ""
3869 "Before Linux 2.6.24, and from Linux 2.6.24 to Linux 2.6.32 if file "
3870 "capabilities are not enabled, a thread with the B<CAP_SETPCAP> capability "
3871 "can manipulate the capabilities of threads other than itself. However, this "
3872 "is only theoretically possible, since no thread ever has B<CAP_SETPCAP> in "
3873 "either of these cases:"
3874 msgstr ""
3875 "До ядра версии 2.6.24, и начиная с версии 2.6.24 по 2.6.32, если файловые "
3876 "мандаты не включены, то нить с мандатом B<CAP_SETPCAP> может управлять "
3877 "мандатами других нитей. Однако, это возможно только теоретически, так как ни "
3878 "одна из нитей не имеет B<CAP_SETPCAP> в любом из двух случаев:"
3879
3880 #. type: Plain text
3881 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3882 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3883 #, fuzzy
3884 #| msgid ""
3885 #| "In the pre-2.6.25 implementation the system-wide capability bounding set, "
3886 #| "I</proc/sys/kernel/cap-bound>, always masks out this capability, and this "
3887 #| "can not be changed without modifying the kernel source and rebuilding."
3888 msgid ""
3889 "In the pre-2.6.25 implementation the system-wide capability bounding set, I</"
3890 "proc/sys/kernel/cap-bound>, always masks out the B<CAP_SETPCAP> capability, "
3891 "and this can not be changed without modifying the kernel source and "
3892 "rebuilding the kernel."
3893 msgstr ""
3894 "Реализация в версии pre-2.6.25 системного ограничивающего набора мандатов, "
3895 "I</proc/sys/kernel/cap-bound>, всегда запрещала этот мандат, и это нельзя "
3896 "было изменить без изменения исходного кода ядра и пересборки."
3897
3898 #. type: Plain text
3899 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3900 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3901 #, fuzzy
3902 #| msgid ""
3903 #| "If file capabilities are disabled in the current implementation, then "
3904 #| "B<init> starts out with this capability removed from its per-process "
3905 #| "bounding set, and that bounding set is inherited by all other processes "
3906 #| "created on the system."
3907 msgid ""
3908 "If file capabilities are disabled (i.e., the kernel "
3909 "B<CONFIG_SECURITY_FILE_CAPABILITIES> option is disabled), then B<init> "
3910 "starts out with the B<CAP_SETPCAP> capability removed from its per-process "
3911 "bounding set, and that bounding set is inherited by all other processes "
3912 "created on the system."
3913 msgstr ""
3914 "Если файловые мандаты выключены в текущей реализации, то у запускаемого "
3915 "B<init> данный мандат отозван из ограничивающего набора мандатов нити, и "
3916 "этот ограничивающий набор наследуется всеми остальными процессами, "
3917 "создаваемыми в системе."
3918
3919 #. type: SH
3920 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3921 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3922 #, no-wrap
3923 msgid "SEE ALSO"
3924 msgstr "СМОТРИТЕ ТАКЖЕ"
3925
3926 #. from libcap-ng
3927 #. from libcap-ng
3928 #. from libcap-ng
3929 #. from libcap-ng
3930 #. type: Plain text
3931 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3932 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3933 #, fuzzy
3934 #| msgid ""
3935 #| "B<capsh>(1), B<setpriv>(1), B<prctl>(2), B<setfsuid>(2), B<cap_clear>(3), "
3936 #| "B<cap_copy_ext>(3), B<cap_from_text>(3), B<cap_get_file>(3), "
3937 #| "B<cap_get_proc>(3), B<cap_init>(3), B<capgetp>(3), B<capsetp>(3), "
3938 #| "B<libcap>(3), B<proc>(5), B<credentials>(7), B<pthreads>(7), "
3939 #| "B<user_namespaces>(7), B<captest>(8), B<filecap>(8), B<getcap>(8), "
3940 #| "B<netcap>(8), B<pscap>(8), B<setcap>(8)"
3941 msgid ""
3942 "B<capsh>(1), B<setpriv>(1), B<prctl>(2), B<setfsuid>(2), B<cap_clear>(3), "
3943 "B<cap_copy_ext>(3), B<cap_from_text>(3), B<cap_get_file>(3), "
3944 "B<cap_get_proc>(3), B<cap_init>(3), B<capgetp>(3), B<capsetp>(3), "
3945 "B<libcap>(3), B<proc>(5), B<credentials>(7), B<pthreads>(7), "
3946 "B<user_namespaces>(7), B<captest>(8), B<filecap>(8), B<getcap>(8), "
3947 "B<getpcaps>(8), B<netcap>(8), B<pscap>(8), B<setcap>(8)"
3948 msgstr ""
3949 "B<capsh>(1), B<setpriv>(1), B<prctl>(2), B<setfsuid>(2), B<cap_clear>(3), "
3950 "B<cap_copy_ext>(3), B<cap_from_text>(3), B<cap_get_file>(3), "
3951 "B<cap_get_proc>(3), B<cap_init>(3), B<capgetp>(3), B<capsetp>(3), "
3952 "B<libcap>(3), B<proc>(5), B<credentials>(7), B<pthreads>(7), "
3953 "B<user_namespaces>(7), B<captest>(8), B<filecap>(8), B<getcap>(8), "
3954 "B<netcap>(8), B<pscap>(8), B<setcap>(8)"
3955
3956 #. type: Plain text
3957 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3958 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3959 msgid "I<include/linux/capability.h> in the Linux kernel source tree"
3960 msgstr "Файл I<include/linux/capability.h> в дереве исходного кода ядра Linux."
3961
3962 #. type: TH
3963 #: debian-trixie fedora-44 fedora-rawhide
3964 #, no-wrap
3965 msgid "2024-06-13"
3966 msgstr "13 июня 2024 г."
3967
3968 #. type: TH
3969 #: debian-trixie
3970 #, no-wrap
3971 msgid "Linux man-pages 6.9.1"
3972 msgstr "Страницы руководства Linux 6.9.1"
3973
3974 #. type: Plain text
3975 #: debian-trixie fedora-44 fedora-rawhide
3976 msgid "inspect processes using B<kcmp>(2)."
3977 msgstr "Позволяет изучать процессы с помощью B<kcmp>(2)."
3978
3979 #. type: Plain text
3980 #: debian-trixie fedora-44 fedora-rawhide
3981 msgid ""
3982 "I<Note>: during the capability transitions described above, file "
3983 "capabilities may be ignored (treated as empty) for the same reasons that the "
3984 "set-user-ID and set-group-ID bits are ignored; see B<execve>(2). File "
3985 "capabilities are similarly ignored if the kernel was booted with the "
3986 "I<no_file_caps> option."
3987 msgstr ""
3988 "I<Замечание>: во время изменений мандатов, описанных выше, файловые мандаты "
3989 "могут игнорироваться (считаться пустыми) по тем же причинам что и "
3990 "игнорируются биты set-user-ID и set-group-ID; смотрите B<execve>(2). "
3991 "Файловые мандаты также игнорируются, если ядро было загружено с параметром "
3992 "I<no_file_caps>."
3993
3994 #. type: Plain text
3995 #: debian-trixie fedora-44 fedora-rawhide
3996 #, fuzzy
3997 #| msgid ""
3998 #| "No standards govern capabilities, but the Linux capability implementation "
3999 #| "is based on the withdrawn POSIX.1e draft standard; see E<.UR https://"
4000 #| "archive.org\\:/details\\:/posix_1003.1e-990310> E<.UE .>"
4001 msgid ""
4002 "No standards govern capabilities, but the Linux capability implementation is "
4003 "based on the withdrawn E<.UR https://archive.org\\:/details\\:/"
4004 "posix_1003.1e-990310> POSIX.1e draft standard E<.UE .>"
4005 msgstr ""
4006 "Стандарты, описывающие мандаты, отсутствуют, но реализация мандатов в Linux "
4007 "основывается на изъятом черновике стандарта POSIX.1e; смотрите E<.UR https://"
4008 "archive.org\\:/details\\:/posix_1003.1e-990310> E<.UE .>"
4009
4010 #. type: Plain text
4011 #: debian-trixie fedora-44 fedora-rawhide
4012 #, no-wrap
4013 msgid "$ B<sudo strace -o trace.log -u ceci ./myprivprog>\n"
4014 msgstr "$ B<sudo strace -o trace.log -u ceci ./myprivprog>\n"
4015
4016 #. type: Plain text
4017 #: debian-trixie fedora-44 fedora-rawhide
4018 msgid ""
4019 "E<.UR https://git.kernel.org\\:/pub\\:/scm\\:/libs\\:/libcap\\:/"
4020 "libcap.git\\:/refs/> E<.UE .>"
4021 msgstr ""
4022 "E<.UR https://git.kernel.org\\:/pub\\:/scm\\:/libs\\:/libcap\\:/"
4023 "libcap.git\\:/refs/> E<.UE .>"
4024
4025 #. type: TH
4026 #: fedora-44 fedora-rawhide
4027 #, no-wrap
4028 msgid "Linux man-pages 6.13"
4029 msgstr "Страницы руководства Linux 6.13"
4030
4031 #. type: TH
4032 #: mageia-cauldron
4033 #, no-wrap
4034 msgid "Linux man-pages 6.17"
4035 msgstr "Страницы руководства Linux 6.17"
4036
4037 #. type: TH
4038 #: opensuse-leap-16-1 opensuse-tumbleweed
4039 #, no-wrap
4040 msgid "Linux man-pages (unreleased)"
4041 msgstr "Страницы руководства Linux (не выпущены)"