Debian Codegraph @

templates/man7/capabilities.7.pot

raw
1 # SOME DESCRIPTIVE TITLE
2 # Copyright (C) YEAR Free Software Foundation, Inc.
3 # This file is distributed under the same license as the PACKAGE package.
4 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5 #
6 #, fuzzy
7 msgid ""
8 msgstr ""
9 "Project-Id-Version: PACKAGE VERSION\n"
10 "POT-Creation-Date: 2026-06-05 06:20+0200\n"
11 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
12 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13 "Language-Team: LANGUAGE <[email protected]>\n"
14 "Language: \n"
15 "MIME-Version: 1.0\n"
16 "Content-Type: text/plain; charset=UTF-8\n"
17 "Content-Transfer-Encoding: 8bit\n"
18
19 #. type: TH
20 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
21 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
22 #, no-wrap
23 msgid "Capabilities"
24 msgstr ""
25
26 #. type: TH
27 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
28 #: opensuse-tumbleweed
29 #, no-wrap
30 msgid "2026-02-08"
31 msgstr ""
32
33 #. type: TH
34 #: archlinux debian-unstable
35 #, no-wrap
36 msgid "Linux man-pages 6.18"
37 msgstr ""
38
39 #. type: SH
40 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
41 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
42 #, no-wrap
43 msgid "NAME"
44 msgstr ""
45
46 #. type: Plain text
47 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
48 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
49 msgid "capabilities - overview of Linux capabilities"
50 msgstr ""
51
52 #. type: SH
53 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
54 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
55 #, no-wrap
56 msgid "DESCRIPTION"
57 msgstr ""
58
59 #. type: Plain text
60 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
61 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
62 msgid ""
63 "For the purpose of performing permission checks, traditional UNIX "
64 "implementations distinguish two categories of processes: I<privileged> "
65 "processes (whose effective user ID is 0, referred to as superuser or root), "
66 "and I<unprivileged> processes (whose effective UID is nonzero). Privileged "
67 "processes bypass all kernel permission checks, while unprivileged processes "
68 "are subject to full permission checking based on the process's credentials "
69 "(usually: effective UID, effective GID, and supplementary group list)."
70 msgstr ""
71
72 #. type: Plain text
73 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
74 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
75 msgid ""
76 "Starting with Linux 2.2, Linux divides the privileges traditionally "
77 "associated with superuser into distinct units, known as I<capabilities>, "
78 "which can be independently enabled and disabled. Capabilities are a per-"
79 "thread attribute."
80 msgstr ""
81
82 #. type: SS
83 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
84 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
85 #, no-wrap
86 msgid "Capabilities list"
87 msgstr ""
88
89 #. type: Plain text
90 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
91 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
92 msgid ""
93 "The following list shows the capabilities implemented on Linux, and the "
94 "operations or behaviors that each capability permits:"
95 msgstr ""
96
97 #. type: TP
98 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
99 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
100 #, no-wrap
101 msgid "B<CAP_AUDIT_CONTROL> (since Linux 2.6.11)"
102 msgstr ""
103
104 #. type: Plain text
105 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
106 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
107 msgid ""
108 "Enable and disable kernel auditing; change auditing filter rules; retrieve "
109 "auditing status and filtering rules."
110 msgstr ""
111
112 #. type: TP
113 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
114 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
115 #, no-wrap
116 msgid "B<CAP_AUDIT_READ> (since Linux 3.16)"
117 msgstr ""
118
119 #. commit a29b694aa1739f9d76538e34ae25524f9c549d59
120 #. commit 3a101b8de0d39403b2c7e5c23fd0b005668acf48
121 #. type: Plain text
122 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
123 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
124 msgid "Allow reading the audit log via a multicast netlink socket."
125 msgstr ""
126
127 #. type: TP
128 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
129 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
130 #, no-wrap
131 msgid "B<CAP_AUDIT_WRITE> (since Linux 2.6.11)"
132 msgstr ""
133
134 #. FIXME Add FAN_ENABLE_AUDIT
135 #. type: Plain text
136 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
137 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
138 msgid "Write records to kernel auditing log."
139 msgstr ""
140
141 #. type: TP
142 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
143 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
144 #, no-wrap
145 msgid "B<CAP_BLOCK_SUSPEND> (since Linux 3.5)"
146 msgstr ""
147
148 #. type: Plain text
149 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
150 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
151 msgid ""
152 "Employ features that can block system suspend (B<epoll>(7) B<EPOLLWAKEUP>, "
153 "I</proc/sys/wake_lock>)."
154 msgstr ""
155
156 #. type: TP
157 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
158 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
159 #, no-wrap
160 msgid "B<CAP_BPF> (since Linux 5.8)"
161 msgstr ""
162
163 #. type: Plain text
164 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
165 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
166 msgid "Employ privileged BPF operations; see B<bpf>(2) and B<bpf-helpers>(7)."
167 msgstr ""
168
169 #. type: Plain text
170 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
171 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
172 msgid ""
173 "This capability was added in Linux 5.8 to separate out BPF functionality "
174 "from the overloaded B<CAP_SYS_ADMIN> capability."
175 msgstr ""
176
177 #. type: TP
178 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
179 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
180 #, no-wrap
181 msgid "B<CAP_CHECKPOINT_RESTORE> (since Linux 5.9)"
182 msgstr ""
183
184 #. type: IP
185 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
186 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
187 #, no-wrap
188 msgid "\\[bu]"
189 msgstr ""
190
191 #. type: Plain text
192 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
193 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
194 msgid "Update I</proc/sys/kernel/ns_last_pid> (see B<pid_namespaces>(7));"
195 msgstr ""
196
197 #. FIXME There is also some use case relating to
198 #. prctl_set_mm_exe_file(); in the 5.9 sources, see
199 #. prctl_set_mm_map().
200 #. type: Plain text
201 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
202 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
203 msgid "employ the I<set_tid> feature of B<clone3>(2);"
204 msgstr ""
205
206 #. type: Plain text
207 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
208 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
209 msgid ""
210 "read the contents of the symbolic links in I</proc/>pidI</map_files> for "
211 "other processes."
212 msgstr ""
213
214 #. type: Plain text
215 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
216 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
217 msgid ""
218 "This capability was added in Linux 5.9 to separate out checkpoint/restore "
219 "functionality from the overloaded B<CAP_SYS_ADMIN> capability."
220 msgstr ""
221
222 #. type: TP
223 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
224 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
225 #, no-wrap
226 msgid "B<CAP_CHOWN>"
227 msgstr ""
228
229 #. type: Plain text
230 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
231 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
232 msgid "Make arbitrary changes to file UIDs and GIDs (see B<chown>(2))."
233 msgstr ""
234
235 #. type: TP
236 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
237 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
238 #, no-wrap
239 msgid "B<CAP_DAC_OVERRIDE>"
240 msgstr ""
241
242 #. type: Plain text
243 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
244 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
245 msgid ""
246 "Bypass file read, write, and execute permission checks. (DAC is an "
247 "abbreviation of \"discretionary access control\".)"
248 msgstr ""
249
250 #. type: TP
251 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
252 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
253 #, no-wrap
254 msgid "B<CAP_DAC_READ_SEARCH>"
255 msgstr ""
256
257 #. type: Plain text
258 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
259 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
260 msgid ""
261 "Bypass file read permission checks and directory read and execute permission "
262 "checks;"
263 msgstr ""
264
265 #. type: Plain text
266 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
267 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
268 msgid "invoke B<open_by_handle_at>(2);"
269 msgstr ""
270
271 #. type: Plain text
272 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
273 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
274 msgid ""
275 "use the B<linkat>(2) B<AT_EMPTY_PATH> flag to create a link to a file "
276 "referred to by a file descriptor."
277 msgstr ""
278
279 #. type: TP
280 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
281 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
282 #, no-wrap
283 msgid "B<CAP_FOWNER>"
284 msgstr ""
285
286 #. type: Plain text
287 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
288 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
289 msgid ""
290 "Bypass permission checks on operations that normally require the filesystem "
291 "UID of the process to match the UID of the file (e.g., B<chmod>(2), "
292 "B<utime>(2)), excluding those operations covered by B<CAP_DAC_OVERRIDE> and "
293 "B<CAP_DAC_READ_SEARCH>;"
294 msgstr ""
295
296 #. type: Plain text
297 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
298 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
299 msgid "set inode flags (see B<FS_IOC_SETFLAGS>(2const)) on arbitrary files;"
300 msgstr ""
301
302 #. type: Plain text
303 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
304 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
305 msgid "set Access Control Lists (ACLs) on arbitrary files;"
306 msgstr ""
307
308 #. type: Plain text
309 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
310 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
311 msgid "ignore directory sticky bit on file deletion;"
312 msgstr ""
313
314 #. type: Plain text
315 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
316 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
317 msgid ""
318 "modify I<user> extended attributes on sticky directory owned by any user;"
319 msgstr ""
320
321 #. type: Plain text
322 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
323 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
324 msgid ""
325 "specify B<O_NOATIME> for arbitrary files in B<open>(2) and B<fcntl>(2)."
326 msgstr ""
327
328 #. type: TP
329 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
330 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
331 #, no-wrap
332 msgid "B<CAP_FSETID>"
333 msgstr ""
334
335 #. type: Plain text
336 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
337 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
338 msgid ""
339 "Don't clear set-user-ID and set-group-ID mode bits when a file is modified;"
340 msgstr ""
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 msgid ""
346 "set the set-group-ID bit for a file whose GID does not match the filesystem "
347 "or any of the supplementary GIDs of the calling process."
348 msgstr ""
349
350 #. type: TP
351 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
352 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
353 #, no-wrap
354 msgid "B<CAP_IPC_LOCK>"
355 msgstr ""
356
357 #. type: Plain text
358 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
359 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
360 msgid "Lock memory (B<mlock>(2), B<mlockall>(2), B<mmap>(2), B<shmctl>(2));"
361 msgstr ""
362
363 #. type: Plain text
364 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
365 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
366 msgid ""
367 "Allocate memory using huge pages (B<memfd_create>(2), B<mmap>(2), "
368 "B<shmctl>(2))."
369 msgstr ""
370
371 #. type: TP
372 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
373 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
374 #, no-wrap
375 msgid "B<CAP_IPC_OWNER>"
376 msgstr ""
377
378 #. type: Plain text
379 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
380 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
381 msgid "Bypass permission checks for operations on System V IPC objects."
382 msgstr ""
383
384 #. type: TP
385 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
386 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
387 #, no-wrap
388 msgid "B<CAP_KILL>"
389 msgstr ""
390
391 #. FIXME . CAP_KILL also has an effect for threads + setting child
392 #. termination signal to other than SIGCHLD: without this
393 #. capability, the termination signal reverts to SIGCHLD
394 #. if the child does an exec(). What is the rationale
395 #. for this?
396 #. type: Plain text
397 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
398 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
399 msgid ""
400 "Bypass permission checks for sending signals (see B<kill>(2)). This "
401 "includes use of the B<ioctl>(2) B<KDSIGACCEPT> operation."
402 msgstr ""
403
404 #. type: TP
405 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
406 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
407 #, no-wrap
408 msgid "B<CAP_LEASE> (since Linux 2.4)"
409 msgstr ""
410
411 #. type: Plain text
412 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
413 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
414 msgid "Establish leases on arbitrary files (see B<fcntl>(2))."
415 msgstr ""
416
417 #. type: TP
418 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
419 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
420 #, no-wrap
421 msgid "B<CAP_LINUX_IMMUTABLE>"
422 msgstr ""
423
424 #. type: Plain text
425 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
426 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
427 msgid ""
428 "Set the B<FS_APPEND_FL> and B<FS_IMMUTABLE_FL> inode flags (see "
429 "B<FS_IOC_SETFLAGS>(2const))."
430 msgstr ""
431
432 #. type: TP
433 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
434 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
435 #, no-wrap
436 msgid "B<CAP_MAC_ADMIN> (since Linux 2.6.25)"
437 msgstr ""
438
439 #. type: Plain text
440 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
441 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
442 msgid ""
443 "Allow MAC configuration or state changes. Implemented for the Smack Linux "
444 "Security Module (LSM)."
445 msgstr ""
446
447 #. type: TP
448 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
449 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
450 #, no-wrap
451 msgid "B<CAP_MAC_OVERRIDE> (since Linux 2.6.25)"
452 msgstr ""
453
454 #. type: Plain text
455 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
456 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
457 msgid ""
458 "Override Mandatory Access Control (MAC). Implemented for the Smack LSM."
459 msgstr ""
460
461 #. type: TP
462 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
463 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
464 #, no-wrap
465 msgid "B<CAP_MKNOD> (since Linux 2.4)"
466 msgstr ""
467
468 #. type: Plain text
469 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
470 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
471 msgid "Create special files using B<mknod>(2)."
472 msgstr ""
473
474 #. type: TP
475 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
476 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
477 #, no-wrap
478 msgid "B<CAP_NET_ADMIN>"
479 msgstr ""
480
481 #. type: Plain text
482 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
483 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
484 msgid "Perform various network-related operations:"
485 msgstr ""
486
487 #. type: Plain text
488 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
489 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
490 msgid "interface configuration;"
491 msgstr ""
492
493 #. type: Plain text
494 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
495 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
496 msgid "administration of IP firewall, masquerading, and accounting;"
497 msgstr ""
498
499 #. type: Plain text
500 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
501 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
502 msgid "modify routing tables;"
503 msgstr ""
504
505 #. type: Plain text
506 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
507 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
508 msgid "bind to any address for transparent proxying;"
509 msgstr ""
510
511 #. type: Plain text
512 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
513 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
514 msgid "set type-of-service (TOS);"
515 msgstr ""
516
517 #. type: Plain text
518 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
519 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
520 msgid "clear driver statistics;"
521 msgstr ""
522
523 #. type: Plain text
524 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
525 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
526 msgid "set promiscuous mode;"
527 msgstr ""
528
529 #. type: Plain text
530 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
531 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
532 msgid "enabling multicasting;"
533 msgstr ""
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 "use B<setsockopt>(2) to set the following socket options: B<SO_DEBUG>, "
540 "B<SO_MARK>, B<SO_PRIORITY> (for a priority outside the range 0 to 6), "
541 "B<SO_RCVBUFFORCE>, and B<SO_SNDBUFFORCE>."
542 msgstr ""
543
544 #. type: TP
545 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
546 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
547 #, no-wrap
548 msgid "B<CAP_NET_BIND_SERVICE>"
549 msgstr ""
550
551 #. type: Plain text
552 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
553 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
554 msgid ""
555 "Bind a socket to Internet domain privileged ports (port numbers less than "
556 "1024)."
557 msgstr ""
558
559 #. type: TP
560 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
561 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
562 #, no-wrap
563 msgid "B<CAP_NET_BROADCAST>"
564 msgstr ""
565
566 #. FIXME Since Linux 4.2, there are use cases for netlink sockets
567 #. commit 59324cf35aba5336b611074028777838a963d03b
568 #. type: Plain text
569 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
570 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
571 msgid "(Unused) Make socket broadcasts, and listen to multicasts."
572 msgstr ""
573
574 #. type: TP
575 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
576 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
577 #, no-wrap
578 msgid "B<CAP_NET_RAW>"
579 msgstr ""
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 "Use RAW and PACKET sockets;"
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: TP
594 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
595 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
596 #, no-wrap
597 msgid "B<CAP_PERFMON> (since Linux 5.8)"
598 msgstr ""
599
600 #. type: Plain text
601 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
602 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
603 msgid "Employ various performance-monitoring mechanisms, including:"
604 msgstr ""
605
606 #. type: Plain text
607 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
608 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
609 msgid "call B<perf_event_open>(2);"
610 msgstr ""
611
612 #. type: Plain text
613 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
614 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
615 msgid "employ various BPF operations that have performance implications."
616 msgstr ""
617
618 #. type: Plain text
619 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
620 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
621 msgid ""
622 "This capability was added in Linux 5.8 to separate out performance "
623 "monitoring functionality from the overloaded B<CAP_SYS_ADMIN> capability. "
624 "See also the kernel source file I<Documentation/admin-guide/perf-"
625 "security.rst>."
626 msgstr ""
627
628 #. type: TP
629 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
630 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
631 #, no-wrap
632 msgid "B<CAP_SETGID>"
633 msgstr ""
634
635 #. type: Plain text
636 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
637 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
638 msgid ""
639 "Make arbitrary manipulations of process GIDs and supplementary GID list;"
640 msgstr ""
641
642 #. type: Plain text
643 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
644 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
645 msgid "forge GID when passing socket credentials via UNIX domain sockets;"
646 msgstr ""
647
648 #. type: Plain text
649 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
650 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
651 msgid ""
652 "write a group ID mapping in a user namespace (see B<user_namespaces>(7))."
653 msgstr ""
654
655 #. type: TP
656 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
657 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
658 #, no-wrap
659 msgid "B<CAP_SETFCAP> (since Linux 2.6.24)"
660 msgstr ""
661
662 #. type: Plain text
663 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
664 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
665 msgid "Set arbitrary capabilities on a file."
666 msgstr ""
667
668 #. commit db2e718a47984b9d71ed890eb2ea36ecf150de18
669 #. type: Plain text
670 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
671 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
672 msgid ""
673 "Since Linux 5.12, this capability is also needed to map user ID 0 in a new "
674 "user namespace; see B<user_namespaces>(7) for details."
675 msgstr ""
676
677 #. type: TP
678 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
679 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
680 #, no-wrap
681 msgid "B<CAP_SETPCAP>"
682 msgstr ""
683
684 #. type: Plain text
685 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
686 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
687 msgid ""
688 "If file capabilities are supported (i.e., since Linux 2.6.24): add any "
689 "capability from the calling thread's bounding set to its inheritable set; "
690 "drop capabilities from the bounding set (via B<prctl>(2) "
691 "B<PR_CAPBSET_DROP>); make changes to the I<securebits> flags."
692 msgstr ""
693
694 #. type: Plain text
695 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
696 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
697 msgid ""
698 "If file capabilities are not supported (i.e., before Linux 2.6.24): grant or "
699 "remove any capability in the caller's permitted capability set to or from "
700 "any other process. (This property of B<CAP_SETPCAP> is not available when "
701 "the kernel is configured to support file capabilities, since B<CAP_SETPCAP> "
702 "has entirely different semantics for such kernels.)"
703 msgstr ""
704
705 #. type: TP
706 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
707 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
708 #, no-wrap
709 msgid "B<CAP_SETUID>"
710 msgstr ""
711
712 #. type: Plain text
713 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
714 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
715 msgid ""
716 "Make arbitrary manipulations of process UIDs (B<setuid>(2), B<setreuid>(2), "
717 "B<setresuid>(2), B<setfsuid>(2));"
718 msgstr ""
719
720 #. type: Plain text
721 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
722 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
723 msgid "forge UID when passing socket credentials via UNIX domain sockets;"
724 msgstr ""
725
726 #. type: Plain text
727 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
728 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
729 msgid ""
730 "write a user ID mapping in a user namespace (see B<user_namespaces>(7))."
731 msgstr ""
732
733 #. type: TP
734 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
735 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
736 #, no-wrap
737 msgid "B<CAP_SYS_ADMIN>"
738 msgstr ""
739
740 #. type: Plain text
741 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
742 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
743 msgid ""
744 "I<Note>: this capability is overloaded; see I<Notes to kernel developers> "
745 "below."
746 msgstr ""
747
748 #. type: Plain text
749 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
750 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
751 msgid ""
752 "Perform a range of system administration operations including: "
753 "B<quotactl>(2), B<mount>(2), B<umount>(2), B<pivot_root>(2), B<swapon>(2), "
754 "B<swapoff>(2), B<sethostname>(2), and B<setdomainname>(2);"
755 msgstr ""
756
757 #. type: Plain text
758 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
759 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
760 msgid ""
761 "perform privileged B<syslog>(2) operations (since Linux 2.6.37, "
762 "B<CAP_SYSLOG> should be used to permit such operations);"
763 msgstr ""
764
765 #. type: Plain text
766 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
767 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
768 msgid "perform B<VM86_REQUEST_IRQ> B<vm86>(2) command;"
769 msgstr ""
770
771 #. type: Plain text
772 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
773 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
774 msgid ""
775 "access the same checkpoint/restore functionality that is governed by "
776 "B<CAP_CHECKPOINT_RESTORE> (but the latter, weaker capability is preferred "
777 "for accessing that functionality)."
778 msgstr ""
779
780 #. type: Plain text
781 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
782 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
783 msgid ""
784 "perform the same BPF operations as are governed by B<CAP_BPF> (but the "
785 "latter, weaker capability is preferred for accessing that functionality)."
786 msgstr ""
787
788 #. type: Plain text
789 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
790 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
791 msgid ""
792 "employ the same performance monitoring mechanisms as are governed by "
793 "B<CAP_PERFMON> (but the latter, weaker capability is preferred for accessing "
794 "that functionality)."
795 msgstr ""
796
797 #. type: Plain text
798 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
799 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
800 msgid ""
801 "perform B<IPC_SET> and B<IPC_RMID> operations on arbitrary System V IPC "
802 "objects;"
803 msgstr ""
804
805 #. type: Plain text
806 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
807 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
808 msgid "override B<RLIMIT_NPROC> resource limit;"
809 msgstr ""
810
811 #. type: Plain text
812 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
813 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
814 msgid ""
815 "perform operations on I<trusted> and I<security> extended attributes (see "
816 "B<xattr>(7));"
817 msgstr ""
818
819 #. type: Plain text
820 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
821 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
822 msgid "use B<lookup_dcookie>(2);"
823 msgstr ""
824
825 #. type: Plain text
826 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
827 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
828 msgid ""
829 "use B<ioprio_set>(2) to assign B<IOPRIO_CLASS_RT> and (before Linux "
830 "2.6.25) B<IOPRIO_CLASS_IDLE> I/O scheduling classes;"
831 msgstr ""
832
833 #. type: Plain text
834 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
835 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
836 msgid "forge PID when passing socket credentials via UNIX domain sockets;"
837 msgstr ""
838
839 #. type: Plain text
840 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
841 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
842 msgid ""
843 "exceed I</proc/sys/fs/file-max>, the system-wide limit on the number of open "
844 "files, in system calls that open files (e.g., B<accept>(2), B<execve>(2), "
845 "B<open>(2), B<pipe>(2));"
846 msgstr ""
847
848 #. type: Plain text
849 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
850 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
851 msgid ""
852 "employ B<CLONE_*> flags that create new namespaces with B<clone>(2) and "
853 "B<unshare>(2) (but, since Linux 3.8, creating user namespaces does not "
854 "require any capability);"
855 msgstr ""
856
857 #. type: Plain text
858 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
859 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
860 msgid "access privileged I<perf> event information;"
861 msgstr ""
862
863 #. type: Plain text
864 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
865 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
866 msgid ""
867 "call B<setns>(2) (requires B<CAP_SYS_ADMIN> in the I<target> namespace);"
868 msgstr ""
869
870 #. type: Plain text
871 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
872 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
873 msgid "call B<fanotify_init>(2);"
874 msgstr ""
875
876 #. type: Plain text
877 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
878 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
879 msgid ""
880 "perform privileged B<KEYCTL_CHOWN> and B<KEYCTL_SETPERM> B<keyctl>(2) "
881 "operations;"
882 msgstr ""
883
884 #. type: Plain text
885 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
886 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
887 msgid "perform B<madvise>(2) B<MADV_HWPOISON> operation;"
888 msgstr ""
889
890 #. type: Plain text
891 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
892 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
893 msgid ""
894 "employ the B<TIOCSTI> B<ioctl>(2) to insert characters into the input queue "
895 "of a terminal other than the caller's controlling terminal;"
896 msgstr ""
897
898 #. type: Plain text
899 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
900 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
901 msgid "employ the obsolete B<nfsservctl>(2) system call;"
902 msgstr ""
903
904 #. type: Plain text
905 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
906 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
907 msgid "employ the obsolete B<bdflush>(2) system call;"
908 msgstr ""
909
910 #. type: Plain text
911 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
912 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
913 msgid "perform various privileged block-device B<ioctl>(2) operations;"
914 msgstr ""
915
916 #. type: Plain text
917 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
918 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
919 msgid "perform various privileged filesystem B<ioctl>(2) operations;"
920 msgstr ""
921
922 #. type: Plain text
923 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
924 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
925 msgid ""
926 "perform privileged B<ioctl>(2) operations on the I</dev/random> device (see "
927 "B<random>(4));"
928 msgstr ""
929
930 #. type: Plain text
931 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
932 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
933 msgid ""
934 "install a B<seccomp>(2) filter without first having to set the "
935 "I<no_new_privs> thread attribute;"
936 msgstr ""
937
938 #. type: Plain text
939 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
940 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
941 msgid "modify allow/deny rules for device control groups;"
942 msgstr ""
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 ""
948 "employ the B<ptrace>(2) B<PTRACE_SECCOMP_GET_FILTER> operation to dump "
949 "tracee's seccomp filters;"
950 msgstr ""
951
952 #. type: Plain text
953 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
954 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
955 msgid ""
956 "employ the B<ptrace>(2) B<PTRACE_SETOPTIONS> operation to suspend the "
957 "tracee's seccomp protections (i.e., the B<PTRACE_O_SUSPEND_SECCOMP> flag);"
958 msgstr ""
959
960 #. type: Plain text
961 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
962 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
963 msgid "perform administrative operations on many device drivers;"
964 msgstr ""
965
966 #. type: Plain text
967 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
968 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
969 msgid ""
970 "modify autogroup nice values by writing to I</proc/>pidI</autogroup> (see "
971 "B<sched>(7))."
972 msgstr ""
973
974 #. type: TP
975 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
976 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
977 #, no-wrap
978 msgid "B<CAP_SYS_BOOT>"
979 msgstr ""
980
981 #. type: Plain text
982 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
983 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
984 msgid "Use B<reboot>(2) and B<kexec_load>(2)."
985 msgstr ""
986
987 #. type: TP
988 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
989 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
990 #, no-wrap
991 msgid "B<CAP_SYS_CHROOT>"
992 msgstr ""
993
994 #. type: Plain text
995 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
996 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
997 msgid "Use B<chroot>(2);"
998 msgstr ""
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 "change mount namespaces using B<setns>(2)."
1004 msgstr ""
1005
1006 #. type: TP
1007 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1008 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1009 #, no-wrap
1010 msgid "B<CAP_SYS_MODULE>"
1011 msgstr ""
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 ""
1017 "Load and unload kernel modules (see B<init_module>(2) and "
1018 "B<delete_module>(2));"
1019 msgstr ""
1020
1021 #. type: Plain text
1022 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1023 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1024 msgid ""
1025 "before Linux 2.6.25: drop capabilities from the system-wide capability "
1026 "bounding set."
1027 msgstr ""
1028
1029 #. type: TP
1030 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1031 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1032 #, no-wrap
1033 msgid "B<CAP_SYS_NICE>"
1034 msgstr ""
1035
1036 #. type: Plain text
1037 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1038 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1039 msgid ""
1040 "Lower the process nice value (B<nice>(2), B<setpriority>(2)) and change the "
1041 "nice value for arbitrary processes;"
1042 msgstr ""
1043
1044 #. type: Plain text
1045 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1046 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1047 msgid ""
1048 "set real-time scheduling policies for calling process, and set scheduling "
1049 "policies and priorities for arbitrary processes (B<sched_setscheduler>(2), "
1050 "B<sched_setparam>(2), B<sched_setattr>(2));"
1051 msgstr ""
1052
1053 #. type: Plain text
1054 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1055 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1056 msgid "set CPU affinity for arbitrary processes (B<sched_setaffinity>(2));"
1057 msgstr ""
1058
1059 #. type: Plain text
1060 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1061 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1062 msgid ""
1063 "set I/O scheduling class and priority for arbitrary processes "
1064 "(B<ioprio_set>(2));"
1065 msgstr ""
1066
1067 #
1068 #. FIXME CAP_SYS_NICE also has the following effect for
1069 #. migrate_pages(2):
1070 #. do_migrate_pages(mm, &old, &new,
1071 #. capable(CAP_SYS_NICE) ? MPOL_MF_MOVE_ALL : MPOL_MF_MOVE);
1072 #. Document this.
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 ""
1077 "apply B<migrate_pages>(2) to arbitrary processes and allow processes to be "
1078 "migrated to arbitrary nodes;"
1079 msgstr ""
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 "apply B<move_pages>(2) to arbitrary processes;"
1085 msgstr ""
1086
1087 #. type: Plain text
1088 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1089 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1090 msgid ""
1091 "use the B<MPOL_MF_MOVE_ALL> flag with B<mbind>(2) and B<move_pages>(2)."
1092 msgstr ""
1093
1094 #. type: TP
1095 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1096 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1097 #, no-wrap
1098 msgid "B<CAP_SYS_PACCT>"
1099 msgstr ""
1100
1101 #. type: Plain text
1102 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1103 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1104 msgid "Use B<acct>(2)."
1105 msgstr ""
1106
1107 #. type: TP
1108 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1109 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1110 #, no-wrap
1111 msgid "B<CAP_SYS_PTRACE>"
1112 msgstr ""
1113
1114 #. type: Plain text
1115 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1116 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1117 msgid "Trace arbitrary processes using B<ptrace>(2);"
1118 msgstr ""
1119
1120 #. type: Plain text
1121 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1122 #: opensuse-tumbleweed
1123 msgid ""
1124 "inspect sensitive information of other processes via I</proc> (e.g., reading "
1125 "I</proc/>pidI</maps>, I</proc/>pidI</mem>, or reading symbolic links I</proc/"
1126 ">pidI</exe>, I</proc/>pidI</fd/*>);"
1127 msgstr ""
1128
1129 #. type: Plain text
1130 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1131 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1132 msgid "apply B<get_robust_list>(2) to arbitrary processes;"
1133 msgstr ""
1134
1135 #. type: Plain text
1136 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1137 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1138 msgid ""
1139 "transfer data to or from the memory of arbitrary processes using "
1140 "B<process_vm_readv>(2) and B<process_vm_writev>(2);"
1141 msgstr ""
1142
1143 #. type: Plain text
1144 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1145 #: opensuse-tumbleweed
1146 msgid "inspect processes using B<kcmp>(2);"
1147 msgstr ""
1148
1149 #. type: Plain text
1150 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1151 #: opensuse-tumbleweed
1152 msgid ""
1153 "perform other privileged process-inspection and debugging operations. (See "
1154 "uses of the I<ptrace_may_access>() kernel function.)"
1155 msgstr ""
1156
1157 #. type: TP
1158 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1159 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1160 #, no-wrap
1161 msgid "B<CAP_SYS_RAWIO>"
1162 msgstr ""
1163
1164 #. type: Plain text
1165 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1166 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1167 msgid "Perform I/O port operations (B<iopl>(2) and B<ioperm>(2));"
1168 msgstr ""
1169
1170 #. type: Plain text
1171 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1172 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1173 msgid "access I</proc/kcore>;"
1174 msgstr ""
1175
1176 #. type: Plain text
1177 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1178 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1179 msgid "employ the B<FIBMAP> B<ioctl>(2) operation;"
1180 msgstr ""
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 ""
1186 "open devices for accessing x86 model-specific registers (MSRs, see "
1187 "B<msr>(4));"
1188 msgstr ""
1189
1190 #. type: Plain text
1191 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1192 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1193 msgid "update I</proc/sys/vm/mmap_min_addr>;"
1194 msgstr ""
1195
1196 #. type: Plain text
1197 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1198 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1199 msgid ""
1200 "create memory mappings at addresses below the value specified by I</proc/sys/"
1201 "vm/mmap_min_addr>;"
1202 msgstr ""
1203
1204 #. type: Plain text
1205 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1206 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1207 msgid "map files in I</proc/bus/pci>;"
1208 msgstr ""
1209
1210 #. type: Plain text
1211 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1212 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1213 msgid "open I</dev/mem> and I</dev/kmem>;"
1214 msgstr ""
1215
1216 #. type: Plain text
1217 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1218 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1219 msgid "perform various SCSI device commands;"
1220 msgstr ""
1221
1222 #. type: Plain text
1223 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1224 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1225 msgid "perform certain operations on B<hpsa>(4) and B<cciss>(4) devices;"
1226 msgstr ""
1227
1228 #. type: Plain text
1229 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1230 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1231 msgid "perform a range of device-specific operations on other devices."
1232 msgstr ""
1233
1234 #. type: TP
1235 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1236 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1237 #, no-wrap
1238 msgid "B<CAP_SYS_RESOURCE>"
1239 msgstr ""
1240
1241 #. type: Plain text
1242 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1243 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1244 msgid "Use reserved space on ext2 filesystems;"
1245 msgstr ""
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 "make B<ioctl>(2) calls controlling ext3 journaling;"
1251 msgstr ""
1252
1253 #. type: Plain text
1254 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1255 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1256 msgid "override disk quota limits;"
1257 msgstr ""
1258
1259 #. type: Plain text
1260 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1261 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1262 msgid "increase resource limits (see B<setrlimit>(2));"
1263 msgstr ""
1264
1265 #. type: Plain text
1266 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1267 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1268 msgid "override maximum number of consoles on console allocation;"
1269 msgstr ""
1270
1271 #. type: Plain text
1272 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1273 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1274 msgid "override maximum number of keymaps;"
1275 msgstr ""
1276
1277 #. type: Plain text
1278 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1279 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1280 msgid "allow more than 64hz interrupts from the real-time clock;"
1281 msgstr ""
1282
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 "raise I<msg_qbytes> limit for a System V message queue above the limit in I</"
1288 "proc/sys/kernel/msgmnb> (see B<msgop>(2) and B<msgctl>(2));"
1289 msgstr ""
1290
1291 #. type: Plain text
1292 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1293 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1294 msgid ""
1295 "allow the B<RLIMIT_NOFILE> resource limit on the number of \"in-flight\" "
1296 "file descriptors to be bypassed when passing file descriptors to another "
1297 "process via a UNIX domain socket (see B<unix>(7));"
1298 msgstr ""
1299
1300 #. type: Plain text
1301 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1302 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1303 msgid ""
1304 "override the I</proc/sys/fs/pipe-size-max> limit when setting the capacity "
1305 "of a pipe using the B<F_SETPIPE_SZ> B<fcntl>(2) command;"
1306 msgstr ""
1307
1308 #. type: Plain text
1309 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1310 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1311 msgid ""
1312 "use B<F_SETPIPE_SZ> to increase the capacity of a pipe above the limit "
1313 "specified by I</proc/sys/fs/pipe-max-size>;"
1314 msgstr ""
1315
1316 #. type: Plain text
1317 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1318 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1319 msgid ""
1320 "override I</proc/sys/fs/mqueue/queues_max>, I</proc/sys/fs/mqueue/msg_max>, "
1321 "and I</proc/sys/fs/mqueue/msgsize_max> limits when creating POSIX message "
1322 "queues (see B<mq_overview>(7));"
1323 msgstr ""
1324
1325 #. type: Plain text
1326 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1327 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1328 msgid "employ the B<prctl>(2) B<PR_SET_MM> operation;"
1329 msgstr ""
1330
1331 #. type: Plain text
1332 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1333 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1334 msgid ""
1335 "set I</proc/>pidI</oom_score_adj> to a value lower than the value last set "
1336 "by a process with B<CAP_SYS_RESOURCE>."
1337 msgstr ""
1338
1339 #. type: TP
1340 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1341 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1342 #, no-wrap
1343 msgid "B<CAP_SYS_TIME>"
1344 msgstr ""
1345
1346 #. type: Plain text
1347 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1348 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1349 msgid ""
1350 "Set system clock (B<settimeofday>(2), B<stime>(2), B<adjtimex>(2)); set real-"
1351 "time (hardware) clock."
1352 msgstr ""
1353
1354 #. type: TP
1355 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1356 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1357 #, no-wrap
1358 msgid "B<CAP_SYS_TTY_CONFIG>"
1359 msgstr ""
1360
1361 #. type: Plain text
1362 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1363 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1364 msgid ""
1365 "Use B<vhangup>(2); employ various privileged B<ioctl>(2) operations on "
1366 "virtual terminals."
1367 msgstr ""
1368
1369 #. type: TP
1370 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1371 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1372 #, no-wrap
1373 msgid "B<CAP_SYSLOG> (since Linux 2.6.37)"
1374 msgstr ""
1375
1376 #. type: Plain text
1377 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1378 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1379 msgid ""
1380 "Perform privileged B<syslog>(2) operations. See B<syslog>(2) for "
1381 "information on which operations require privilege."
1382 msgstr ""
1383
1384 #. type: Plain text
1385 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1386 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1387 msgid ""
1388 "View kernel addresses exposed via I</proc> and other interfaces when I</proc/"
1389 "sys/kernel/kptr_restrict> has the value 1. (See the discussion of the "
1390 "I<kptr_restrict> in B<proc>(5).)"
1391 msgstr ""
1392
1393 #. type: TP
1394 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1395 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1396 #, no-wrap
1397 msgid "B<CAP_WAKE_ALARM> (since Linux 3.0)"
1398 msgstr ""
1399
1400 #. type: Plain text
1401 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1402 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1403 msgid ""
1404 "Trigger something that will wake up the system (set B<CLOCK_REALTIME_ALARM> "
1405 "and B<CLOCK_BOOTTIME_ALARM> timers)."
1406 msgstr ""
1407
1408 #. type: SS
1409 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1410 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1411 #, no-wrap
1412 msgid "Past and current implementation"
1413 msgstr ""
1414
1415 #. type: Plain text
1416 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1417 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1418 msgid "A full implementation of capabilities requires that:"
1419 msgstr ""
1420
1421 #. type: Plain text
1422 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1423 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1424 msgid ""
1425 "For all privileged operations, the kernel must check whether the thread has "
1426 "the required capability in its effective set."
1427 msgstr ""
1428
1429 #. type: Plain text
1430 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1431 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1432 msgid ""
1433 "The kernel must provide system calls allowing a thread's capability sets to "
1434 "be changed and retrieved."
1435 msgstr ""
1436
1437 #. type: Plain text
1438 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1439 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1440 msgid ""
1441 "The filesystem must support attaching capabilities to an executable file, so "
1442 "that a process gains those capabilities when the file is executed."
1443 msgstr ""
1444
1445 #. type: Plain text
1446 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1447 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1448 msgid ""
1449 "Before Linux 2.6.24, only the first two of these requirements are met; since "
1450 "Linux 2.6.24, all three requirements are met."
1451 msgstr ""
1452
1453 #. type: SS
1454 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1455 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1456 #, no-wrap
1457 msgid "Notes to kernel developers"
1458 msgstr ""
1459
1460 #. type: Plain text
1461 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1462 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1463 msgid ""
1464 "When adding a new kernel feature that should be governed by a capability, "
1465 "consider the following points."
1466 msgstr ""
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 ""
1472 "The goal of capabilities is divide the power of superuser into pieces, such "
1473 "that if a program that has one or more capabilities is compromised, its "
1474 "power to do damage to the system would be less than the same program running "
1475 "with root privilege."
1476 msgstr ""
1477
1478 #. type: Plain text
1479 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1480 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1481 msgid ""
1482 "You have the choice of either creating a new capability for your new "
1483 "feature, or associating the feature with one of the existing capabilities. "
1484 "In order to keep the set of capabilities to a manageable size, the latter "
1485 "option is preferable, unless there are compelling reasons to take the former "
1486 "option. (There is also a technical limit: the size of capability sets is "
1487 "currently limited to 64 bits.)"
1488 msgstr ""
1489
1490 #. type: Plain text
1491 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1492 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1493 msgid ""
1494 "To determine which existing capability might best be associated with your "
1495 "new feature, review the list of capabilities above in order to find a "
1496 "\"silo\" into which your new feature best fits. One approach to take is to "
1497 "determine if there are other features requiring capabilities that will "
1498 "always be used along with the new feature. If the new feature is useless "
1499 "without these other features, you should use the same capability as the "
1500 "other features."
1501 msgstr ""
1502
1503 #. type: Plain text
1504 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1505 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1506 msgid ""
1507 "I<Don't> choose B<CAP_SYS_ADMIN> if you can possibly avoid it! A vast "
1508 "proportion of existing capability checks are associated with this capability "
1509 "(see the partial list above). It can plausibly be called \"the new root\", "
1510 "since on the one hand, it confers a wide range of powers, and on the other "
1511 "hand, its broad scope means that this is the capability that is required by "
1512 "many privileged programs. Don't make the problem worse. The only new "
1513 "features that should be associated with B<CAP_SYS_ADMIN> are ones that "
1514 "I<closely> match existing uses in that silo."
1515 msgstr ""
1516
1517 #. type: Plain text
1518 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1519 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1520 msgid ""
1521 "If you have determined that it really is necessary to create a new "
1522 "capability for your feature, don't make or name it as a \"single-use\" "
1523 "capability. Thus, for example, the addition of the highly specific "
1524 "B<CAP_SYS_PACCT> was probably a mistake. Instead, try to identify and name "
1525 "your new capability as a broader silo into which other related future use "
1526 "cases might fit."
1527 msgstr ""
1528
1529 #. type: SS
1530 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1531 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1532 #, no-wrap
1533 msgid "Thread capability sets"
1534 msgstr ""
1535
1536 #. type: Plain text
1537 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1538 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1539 msgid ""
1540 "Each thread has the following capability sets containing zero or more of the "
1541 "above capabilities:"
1542 msgstr ""
1543
1544 #. type: TP
1545 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1546 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1547 #, no-wrap
1548 msgid "I<Permitted>"
1549 msgstr ""
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 "This is a limiting superset for the effective capabilities that the thread "
1556 "may assume. It is also a limiting superset for the capabilities that may be "
1557 "added to the inheritable set by a thread that does not have the "
1558 "B<CAP_SETPCAP> capability in its effective set."
1559 msgstr ""
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 msgid ""
1565 "If a thread drops a capability from its permitted set, it can never "
1566 "reacquire that capability (unless it B<execve>(2)s either a set-user-ID-root "
1567 "program, or a program whose associated file capabilities grant that "
1568 "capability)."
1569 msgstr ""
1570
1571 #. type: TP
1572 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1573 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1574 #, no-wrap
1575 msgid "I<Inheritable>"
1576 msgstr ""
1577
1578 #. type: Plain text
1579 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1580 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1581 msgid ""
1582 "This is a set of capabilities preserved across an B<execve>(2). Inheritable "
1583 "capabilities remain inheritable when executing any program, and inheritable "
1584 "capabilities are added to the permitted set when executing a program that "
1585 "has the corresponding bits set in the file inheritable set."
1586 msgstr ""
1587
1588 #. type: Plain text
1589 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1590 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1591 msgid ""
1592 "Because inheritable capabilities are not generally preserved across "
1593 "B<execve>(2) when running as a non-root user, applications that wish to run "
1594 "helper programs with elevated capabilities should consider using ambient "
1595 "capabilities, described below."
1596 msgstr ""
1597
1598 #. type: TP
1599 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1600 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1601 #, no-wrap
1602 msgid "I<Effective>"
1603 msgstr ""
1604
1605 #. type: Plain text
1606 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1607 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1608 msgid ""
1609 "This is the set of capabilities used by the kernel to perform permission "
1610 "checks for the thread."
1611 msgstr ""
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 "I<Bounding> (per-thread since Linux 2.6.25)"
1618 msgstr ""
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 "The capability bounding set is a mechanism that can be used to limit the "
1625 "capabilities that are gained during B<execve>(2)."
1626 msgstr ""
1627
1628 #. type: Plain text
1629 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1630 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1631 msgid ""
1632 "Since Linux 2.6.25, this is a per-thread capability set. In older kernels, "
1633 "the capability bounding set was a system wide attribute shared by all "
1634 "threads on the system."
1635 msgstr ""
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 "For more details, see I<Capability bounding set> below."
1641 msgstr ""
1642
1643 #. type: TP
1644 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1645 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1646 #, no-wrap
1647 msgid "I<Ambient> (since Linux 4.3)"
1648 msgstr ""
1649
1650 #. commit 58319057b7847667f0c9585b9de0e8932b0fdb08
1651 #. type: Plain text
1652 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1653 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1654 msgid ""
1655 "This is a set of capabilities that are preserved across an B<execve>(2) of "
1656 "a program that is not privileged. The ambient capability set obeys the "
1657 "invariant that no capability can ever be ambient if it is not both permitted "
1658 "and inheritable."
1659 msgstr ""
1660
1661 #. type: Plain text
1662 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1663 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1664 msgid ""
1665 "The ambient capability set can be directly modified using B<prctl>(2). "
1666 "Ambient capabilities are automatically lowered if either of the "
1667 "corresponding permitted or inheritable capabilities is lowered."
1668 msgstr ""
1669
1670 #. type: Plain text
1671 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1672 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1673 msgid ""
1674 "Executing a program that changes UID or GID due to the set-user-ID or set-"
1675 "group-ID bits or executing a program that has any file capabilities set will "
1676 "clear the ambient set. Ambient capabilities are added to the permitted set "
1677 "and assigned to the effective set when B<execve>(2) is called. If ambient "
1678 "capabilities cause a process's permitted and effective capabilities to "
1679 "increase during an B<execve>(2), this does not trigger the secure-execution "
1680 "mode described in B<ld.so>(8)."
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 ""
1687 "A child created via B<fork>(2) inherits copies of its parent's capability "
1688 "sets. For details on how B<execve>(2) affects capabilities, see "
1689 "I<Transformation of capabilities during execve()> below."
1690 msgstr ""
1691
1692 #. type: Plain text
1693 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1694 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1695 msgid ""
1696 "Using B<capset>(2), a thread may manipulate its own capability sets; see "
1697 "I<Programmatically adjusting capability sets> below."
1698 msgstr ""
1699
1700 #. commit 73efc0394e148d0e15583e13712637831f926720
1701 #. type: Plain text
1702 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1703 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1704 msgid ""
1705 "Since Linux 3.2, the file I</proc/sys/kernel/cap_last_cap> exposes the "
1706 "numerical value of the highest capability supported by the running kernel; "
1707 "this can be used to determine the highest bit that may be set in a "
1708 "capability set."
1709 msgstr ""
1710
1711 #. type: SS
1712 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1713 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1714 #, no-wrap
1715 msgid "File capabilities"
1716 msgstr ""
1717
1718 #. type: Plain text
1719 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1720 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1721 msgid ""
1722 "Since Linux 2.6.24, the kernel supports associating capability sets with an "
1723 "executable file using B<setcap>(8). The file capability sets are stored in "
1724 "an extended attribute (see B<setxattr>(2) and B<xattr>(7)) named "
1725 "I<security.capability>. Writing to this extended attribute requires the "
1726 "B<CAP_SETFCAP> capability. The file capability sets, in conjunction with "
1727 "the capability sets of the thread, determine the capabilities of a thread "
1728 "after an B<execve>(2)."
1729 msgstr ""
1730
1731 #. type: Plain text
1732 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1733 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1734 msgid "The three file capability sets are:"
1735 msgstr ""
1736
1737 #. type: TP
1738 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1739 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1740 #, no-wrap
1741 msgid "I<Permitted> (formerly known as I<forced>):"
1742 msgstr ""
1743
1744 #. type: Plain text
1745 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1746 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1747 msgid ""
1748 "These capabilities are automatically permitted to the thread, regardless of "
1749 "the thread's inheritable capabilities."
1750 msgstr ""
1751
1752 #. type: TP
1753 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1754 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1755 #, no-wrap
1756 msgid "I<Inheritable> (formerly known as I<allowed>):"
1757 msgstr ""
1758
1759 #. type: Plain text
1760 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1761 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1762 msgid ""
1763 "This set is ANDed with the thread's inheritable set to determine which "
1764 "inheritable capabilities are enabled in the permitted set of the thread "
1765 "after the B<execve>(2)."
1766 msgstr ""
1767
1768 #. type: TP
1769 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1770 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1771 #, no-wrap
1772 msgid "I<Effective>:"
1773 msgstr ""
1774
1775 #. type: Plain text
1776 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1777 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1778 msgid ""
1779 "This is not a set, but rather just a single bit. If this bit is set, then "
1780 "during an B<execve>(2) all of the new permitted capabilities for the thread "
1781 "are also raised in the effective set. If this bit is not set, then after an "
1782 "B<execve>(2), none of the new permitted capabilities is in the new effective "
1783 "set."
1784 msgstr ""
1785
1786 #. type: Plain text
1787 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1788 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1789 msgid ""
1790 "Enabling the file effective capability bit implies that any file permitted "
1791 "or inheritable capability that causes a thread to acquire the corresponding "
1792 "permitted capability during an B<execve>(2) (see I<Transformation of "
1793 "capabilities during execve()> below) will also acquire that capability in "
1794 "its effective set. Therefore, when assigning capabilities to a file "
1795 "(B<setcap>(8), B<cap_set_file>(3), B<cap_set_fd>(3)), if we specify the "
1796 "effective flag as being enabled for any capability, then the effective flag "
1797 "must also be specified as enabled for all other capabilities for which the "
1798 "corresponding permitted or inheritable flag is enabled."
1799 msgstr ""
1800
1801 #. type: SS
1802 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1803 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1804 #, no-wrap
1805 msgid "File capability extended attribute versioning"
1806 msgstr ""
1807
1808 #. type: Plain text
1809 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1810 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1811 msgid ""
1812 "To allow extensibility, the kernel supports a scheme to encode a version "
1813 "number inside the I<security.capability> extended attribute that is used to "
1814 "implement file capabilities. These version numbers are internal to the "
1815 "implementation, and not directly visible to user-space applications. To "
1816 "date, the following versions are supported:"
1817 msgstr ""
1818
1819 #. type: TP
1820 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1821 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1822 #, no-wrap
1823 msgid "B<VFS_CAP_REVISION_1>"
1824 msgstr ""
1825
1826 #. type: Plain text
1827 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1828 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1829 msgid ""
1830 "This was the original file capability implementation, which supported 32-bit "
1831 "masks for file capabilities."
1832 msgstr ""
1833
1834 #. type: TP
1835 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1836 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1837 #, no-wrap
1838 msgid "B<VFS_CAP_REVISION_2> (since Linux 2.6.25)"
1839 msgstr ""
1840
1841 #. commit e338d263a76af78fe8f38a72131188b58fceb591
1842 #. type: Plain text
1843 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1844 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1845 msgid ""
1846 "This version allows for file capability masks that are 64 bits in size, and "
1847 "was necessary as the number of supported capabilities grew beyond 32. The "
1848 "kernel transparently continues to support the execution of files that have "
1849 "32-bit version 1 capability masks, but when adding capabilities to files "
1850 "that did not previously have capabilities, or modifying the capabilities of "
1851 "existing files, it automatically uses the version 2 scheme (or possibly the "
1852 "version 3 scheme, as described below)."
1853 msgstr ""
1854
1855 #. type: TP
1856 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1857 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1858 #, no-wrap
1859 msgid "B<VFS_CAP_REVISION_3> (since Linux 4.14)"
1860 msgstr ""
1861
1862 #. commit 8db6c34f1dbc8e06aa016a9b829b06902c3e1340
1863 #. type: Plain text
1864 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1865 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1866 msgid ""
1867 "Version 3 file capabilities are provided to support namespaced file "
1868 "capabilities (described below)."
1869 msgstr ""
1870
1871 #. type: Plain text
1872 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1873 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1874 msgid ""
1875 "As with version 2 file capabilities, version 3 capability masks are 64 bits "
1876 "in size. But in addition, the root user ID of namespace is encoded in the "
1877 "I<security.capability> extended attribute. (A namespace's root user ID is "
1878 "the value that user ID 0 inside that namespace maps to in the initial user "
1879 "namespace.)"
1880 msgstr ""
1881
1882 #. type: Plain text
1883 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1884 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1885 msgid ""
1886 "Version 3 file capabilities are designed to coexist with version 2 "
1887 "capabilities; that is, on a modern Linux system, there may be some files "
1888 "with version 2 capabilities while others have version 3 capabilities."
1889 msgstr ""
1890
1891 #. type: Plain text
1892 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1893 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1894 msgid ""
1895 "Before Linux 4.14, the only kind of file capability extended attribute that "
1896 "could be attached to a file was a B<VFS_CAP_REVISION_2> attribute. Since "
1897 "Linux 4.14, the version of the I<security.capability> extended attribute "
1898 "that is attached to a file depends on the circumstances in which the "
1899 "attribute was created."
1900 msgstr ""
1901
1902 #. type: Plain text
1903 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1904 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1905 msgid ""
1906 "Starting with Linux 4.14, a I<security.capability> extended attribute is "
1907 "automatically created as (or converted to) a version 3 "
1908 "(B<VFS_CAP_REVISION_3>) attribute if both of the following are true:"
1909 msgstr ""
1910
1911 #. type: Plain text
1912 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1913 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1914 msgid ""
1915 "The thread writing the attribute resides in a noninitial user namespace. "
1916 "(More precisely: the thread resides in a user namespace other than the one "
1917 "from which the underlying filesystem was mounted.)"
1918 msgstr ""
1919
1920 #. type: Plain text
1921 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1922 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1923 msgid ""
1924 "The thread has the B<CAP_SETFCAP> capability over the file inode, meaning "
1925 "that (a) the thread has the B<CAP_SETFCAP> capability in its own user "
1926 "namespace; and (b) the UID and GID of the file inode have mappings in the "
1927 "writer's user namespace."
1928 msgstr ""
1929
1930 #. type: Plain text
1931 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1932 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1933 msgid ""
1934 "When a B<VFS_CAP_REVISION_3> I<security.capability> extended attribute is "
1935 "created, the root user ID of the creating thread's user namespace is saved "
1936 "in the extended attribute."
1937 msgstr ""
1938
1939 #. type: Plain text
1940 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1941 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1942 msgid ""
1943 "By contrast, creating or modifying a I<security.capability> extended "
1944 "attribute from a privileged (B<CAP_SETFCAP>) thread that resides in the "
1945 "namespace where the underlying filesystem was mounted (this normally means "
1946 "the initial user namespace) automatically results in the creation of a "
1947 "version 2 (B<VFS_CAP_REVISION_2>) attribute."
1948 msgstr ""
1949
1950 #. type: Plain text
1951 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1952 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1953 msgid ""
1954 "Note that the creation of a version 3 I<security.capability> extended "
1955 "attribute is automatic. That is to say, when a user-space application "
1956 "writes (B<setxattr>(2)) a I<security.capability> attribute in the version 2 "
1957 "format, the kernel will automatically create a version 3 attribute if the "
1958 "attribute is created in the circumstances described above. Correspondingly, "
1959 "when a version 3 I<security.capability> attribute is retrieved "
1960 "(B<getxattr>(2)) by a process that resides inside a user namespace that was "
1961 "created by the root user ID (or a descendant of that user namespace), the "
1962 "returned attribute is (automatically) simplified to appear as a version 2 "
1963 "attribute (i.e., the returned value is the size of a version 2 attribute and "
1964 "does not include the root user ID). These automatic translations mean that "
1965 "no changes are required to user-space tools (e.g., B<setcap>(1) and "
1966 "B<getcap>(1)) in order for those tools to be used to create and retrieve "
1967 "version 3 I<security.capability> attributes."
1968 msgstr ""
1969
1970 #. type: Plain text
1971 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1972 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1973 msgid ""
1974 "Note that a file can have either a version 2 or a version 3 "
1975 "I<security.capability> extended attribute associated with it, but not both: "
1976 "creation or modification of the I<security.capability> extended attribute "
1977 "will automatically modify the version according to the circumstances in "
1978 "which the extended attribute is created or modified."
1979 msgstr ""
1980
1981 #. type: SS
1982 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1983 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1984 #, no-wrap
1985 msgid "Transformation of capabilities during execve()"
1986 msgstr ""
1987
1988 #. type: Plain text
1989 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1990 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1991 msgid ""
1992 "During an B<execve>(2), the kernel calculates the new capabilities of the "
1993 "process using the following algorithm:"
1994 msgstr ""
1995
1996 #. type: Plain text
1997 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1998 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1999 #, no-wrap
2000 msgid ""
2001 "P'(ambient) = (file is privileged) ? 0 : P(ambient)\n"
2002 "\\&\n"
2003 "P'(permitted) = (P(inheritable) & F(inheritable)) |\n"
2004 " (F(permitted) & P(bounding)) | P'(ambient)\n"
2005 "\\&\n"
2006 "P'(effective) = F(effective) ? P'(permitted) : P'(ambient)\n"
2007 "\\&\n"
2008 "P'(inheritable) = P(inheritable) [i.e., unchanged]\n"
2009 "\\&\n"
2010 "P'(bounding) = P(bounding) [i.e., unchanged]\n"
2011 msgstr ""
2012
2013 #. type: Plain text
2014 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2015 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2016 msgid "where:"
2017 msgstr ""
2018
2019 #. type: TP
2020 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2021 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2022 #, no-wrap
2023 msgid "P()"
2024 msgstr ""
2025
2026 #. type: Plain text
2027 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2028 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2029 msgid "denotes the value of a thread capability set before the B<execve>(2)"
2030 msgstr ""
2031
2032 #. type: TP
2033 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2034 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2035 #, no-wrap
2036 msgid "P'()"
2037 msgstr ""
2038
2039 #. type: Plain text
2040 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2041 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2042 msgid "denotes the value of a thread capability set after the B<execve>(2)"
2043 msgstr ""
2044
2045 #. type: TP
2046 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2047 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2048 #, no-wrap
2049 msgid "F()"
2050 msgstr ""
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 msgid "denotes a file capability set"
2056 msgstr ""
2057
2058 #. type: Plain text
2059 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2060 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2061 msgid ""
2062 "Note the following details relating to the above capability transformation "
2063 "rules:"
2064 msgstr ""
2065
2066 #. type: Plain text
2067 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2068 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2069 msgid ""
2070 "The ambient capability set is present only since Linux 4.3. When "
2071 "determining the transformation of the ambient set during B<execve>(2), a "
2072 "privileged file is one that has capabilities or has the set-user-ID or set-"
2073 "group-ID bit set."
2074 msgstr ""
2075
2076 #. type: Plain text
2077 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2078 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2079 msgid ""
2080 "Prior to Linux 2.6.25, the bounding set was a system-wide attribute shared "
2081 "by all threads. That system-wide value was employed to calculate the new "
2082 "permitted set during B<execve>(2) in the same manner as shown above for "
2083 "I<P(bounding)>."
2084 msgstr ""
2085
2086 #. type: Plain text
2087 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
2088 #: opensuse-tumbleweed
2089 msgid ""
2090 "I<Note>: during the capability transitions described above, file "
2091 "capabilities may be ignored (treated as empty) for the same reasons that "
2092 "the set-user-ID and set-group-ID bits are ignored; see B<execve>(2). File "
2093 "capabilities are similarly ignored if the kernel was booted with the "
2094 "I<no_file_caps> option."
2095 msgstr ""
2096
2097 #. type: Plain text
2098 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2099 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2100 msgid ""
2101 "I<Note>: according to the rules above, if a process with nonzero user IDs "
2102 "performs an B<execve>(2) then any capabilities that are present in its "
2103 "permitted and effective sets will be cleared. For the treatment of "
2104 "capabilities when a process with a user ID of zero performs an B<execve>(2), "
2105 "see I<Capabilities and execution of programs by root> below."
2106 msgstr ""
2107
2108 #. type: SS
2109 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2110 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2111 #, no-wrap
2112 msgid "Safety checking for capability-dumb binaries"
2113 msgstr ""
2114
2115 #. type: Plain text
2116 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2117 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2118 msgid ""
2119 "A capability-dumb binary is an application that has been marked to have file "
2120 "capabilities, but has not been converted to use the B<libcap>(3) API to "
2121 "manipulate its capabilities. (In other words, this is a traditional set-"
2122 "user-ID-root program that has been switched to use file capabilities, but "
2123 "whose code has not been modified to understand capabilities.) For such "
2124 "applications, the effective capability bit is set on the file, so that the "
2125 "file permitted capabilities are automatically enabled in the process "
2126 "effective set when executing the file. The kernel recognizes a file which "
2127 "has the effective capability bit set as capability-dumb for the purpose of "
2128 "the check described here."
2129 msgstr ""
2130
2131 #. type: Plain text
2132 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2133 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2134 msgid ""
2135 "When executing a capability-dumb binary, the kernel checks if the process "
2136 "obtained all permitted capabilities that were specified in the file "
2137 "permitted set, after the capability transformations described above have "
2138 "been performed. (The typical reason why this might I<not> occur is that the "
2139 "capability bounding set masked out some of the capabilities in the file "
2140 "permitted set.) If the process did not obtain the full set of file "
2141 "permitted capabilities, then B<execve>(2) fails with the error B<EPERM>. "
2142 "This prevents possible security risks that could arise when a capability-"
2143 "dumb application is executed with less privilege than it needs. Note that, "
2144 "by definition, the application could not itself recognize this problem, "
2145 "since it does not employ the B<libcap>(3) API."
2146 msgstr ""
2147
2148 #. type: SS
2149 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2150 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2151 #, no-wrap
2152 msgid "Capabilities and execution of programs by root"
2153 msgstr ""
2154
2155 #. See cap_bprm_set_creds(), bprm_caps_from_vfs_cap() and
2156 #. handle_privileged_root() in security/commoncap.c (Linux 5.0 source)
2157 #. type: Plain text
2158 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2159 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2160 msgid ""
2161 "In order to mirror traditional UNIX semantics, the kernel performs special "
2162 "treatment of file capabilities when a process with UID 0 (root) executes a "
2163 "program and when a set-user-ID-root program is executed."
2164 msgstr ""
2165
2166 #. type: Plain text
2167 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2168 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2169 msgid ""
2170 "After having performed any changes to the process effective ID that were "
2171 "triggered by the set-user-ID mode bit of the binary\\[em]e.g., switching the "
2172 "effective user ID to 0 (root) because a set-user-ID-root program was "
2173 "executed\\[em]the kernel calculates the file capability sets as follows:"
2174 msgstr ""
2175
2176 #. type: IP
2177 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2178 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2179 #, no-wrap
2180 msgid "(1)"
2181 msgstr ""
2182
2183 #. type: Plain text
2184 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2185 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2186 msgid ""
2187 "If the real or effective user ID of the process is 0 (root), then the file "
2188 "inheritable and permitted sets are ignored; instead they are notionally "
2189 "considered to be all ones (i.e., all capabilities enabled). (There is one "
2190 "exception to this behavior, described in I<Set-user-ID-root programs that "
2191 "have file capabilities> below.)"
2192 msgstr ""
2193
2194 #. type: IP
2195 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2196 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2197 #, no-wrap
2198 msgid "(2)"
2199 msgstr ""
2200
2201 #. type: Plain text
2202 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2203 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2204 msgid ""
2205 "If the effective user ID of the process is 0 (root) or the file effective "
2206 "bit is in fact enabled, then the file effective bit is notionally defined to "
2207 "be one (enabled)."
2208 msgstr ""
2209
2210 #. type: Plain text
2211 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2212 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2213 msgid ""
2214 "These notional values for the file's capability sets are then used as "
2215 "described above to calculate the transformation of the process's "
2216 "capabilities during B<execve>(2)."
2217 msgstr ""
2218
2219 #. type: Plain text
2220 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2221 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2222 msgid ""
2223 "Thus, when a process with nonzero UIDs B<execve>(2)s a set-user-ID-root "
2224 "program that does not have capabilities attached, or when a process whose "
2225 "real and effective UIDs are zero B<execve>(2)s a program, the calculation of "
2226 "the process's new permitted capabilities simplifies to:"
2227 msgstr ""
2228
2229 #. type: Plain text
2230 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2231 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2232 #, no-wrap
2233 msgid ""
2234 "P'(permitted) = P(inheritable) | P(bounding)\n"
2235 "\\&\n"
2236 "P'(effective) = P'(permitted)\n"
2237 msgstr ""
2238
2239 #. type: Plain text
2240 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2241 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2242 msgid ""
2243 "Consequently, the process gains all capabilities in its permitted and "
2244 "effective capability sets, except those masked out by the capability "
2245 "bounding set. (In the calculation of P'(permitted), the P'(ambient) term "
2246 "can be simplified away because it is by definition a proper subset of "
2247 "P(inheritable).)"
2248 msgstr ""
2249
2250 #. type: Plain text
2251 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2252 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2253 msgid ""
2254 "The special treatments of user ID 0 (root) described in this subsection can "
2255 "be disabled using the securebits mechanism described below."
2256 msgstr ""
2257
2258 #. type: SS
2259 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2260 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2261 #, no-wrap
2262 msgid "Set-user-ID-root programs that have file capabilities"
2263 msgstr ""
2264
2265 #. type: Plain text
2266 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2267 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2268 msgid ""
2269 "There is one exception to the behavior described in I<Capabilities and "
2270 "execution of programs by root> above. If (a) the binary that is being "
2271 "executed has capabilities attached and (b) the real user ID of the process "
2272 "is I<not> 0 (root) and (c) the effective user ID of the process I<is> 0 "
2273 "(root), then the file capability bits are honored (i.e., they are not "
2274 "notionally considered to be all ones). The usual way in which this "
2275 "situation can arise is when executing a set-UID-root program that also has "
2276 "file capabilities. When such a program is executed, the process gains just "
2277 "the capabilities granted by the program (i.e., not all capabilities, as "
2278 "would occur when executing a set-user-ID-root program that does not have any "
2279 "associated file capabilities)."
2280 msgstr ""
2281
2282 #. type: Plain text
2283 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2284 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2285 msgid ""
2286 "Note that one can assign empty capability sets to a program file, and thus "
2287 "it is possible to create a set-user-ID-root program that changes the "
2288 "effective and saved set-user-ID of the process that executes the program to "
2289 "0, but confers no capabilities to that process."
2290 msgstr ""
2291
2292 #. type: SS
2293 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2294 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2295 #, no-wrap
2296 msgid "Capability bounding set"
2297 msgstr ""
2298
2299 #. type: Plain text
2300 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2301 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2302 msgid ""
2303 "The capability bounding set is a security mechanism that can be used to "
2304 "limit the capabilities that can be gained during an B<execve>(2). The "
2305 "bounding set is used in the following ways:"
2306 msgstr ""
2307
2308 #. type: Plain text
2309 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2310 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2311 msgid ""
2312 "During an B<execve>(2), the capability bounding set is ANDed with the file "
2313 "permitted capability set, and the result of this operation is assigned to "
2314 "the thread's permitted capability set. The capability bounding set thus "
2315 "places a limit on the permitted capabilities that may be granted by an "
2316 "executable file."
2317 msgstr ""
2318
2319 #. type: Plain text
2320 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2321 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2322 msgid ""
2323 "(Since Linux 2.6.25) The capability bounding set acts as a limiting "
2324 "superset for the capabilities that a thread can add to its inheritable set "
2325 "using B<capset>(2). This means that if a capability is not in the bounding "
2326 "set, then a thread can't add this capability to its inheritable set, even if "
2327 "it was in its permitted capabilities, and thereby cannot have this "
2328 "capability preserved in its permitted set when it B<execve>(2)s a file that "
2329 "has the capability in its inheritable set."
2330 msgstr ""
2331
2332 #. type: Plain text
2333 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2334 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2335 msgid ""
2336 "Note that the bounding set masks the file permitted capabilities, but not "
2337 "the inheritable capabilities. If a thread maintains a capability in its "
2338 "inheritable set that is not in its bounding set, then it can still gain that "
2339 "capability in its permitted set by executing a file that has the capability "
2340 "in its inheritable set."
2341 msgstr ""
2342
2343 #. type: Plain text
2344 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2345 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2346 msgid ""
2347 "Depending on the kernel version, the capability bounding set is either a "
2348 "system-wide attribute, or a per-process attribute."
2349 msgstr ""
2350
2351 #. type: Plain text
2352 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2353 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2354 msgid "B<Capability bounding set from Linux 2.6.25 onward>"
2355 msgstr ""
2356
2357 #. type: Plain text
2358 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2359 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2360 msgid ""
2361 "From Linux 2.6.25, the I<capability bounding set> is a per-thread "
2362 "attribute. (The system-wide capability bounding set described below no "
2363 "longer exists.)"
2364 msgstr ""
2365
2366 #. type: Plain text
2367 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2368 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2369 msgid ""
2370 "The bounding set is inherited at B<fork>(2) from the thread's parent, and "
2371 "is preserved across an B<execve>(2)."
2372 msgstr ""
2373
2374 #. type: Plain text
2375 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2376 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2377 msgid ""
2378 "A thread may remove capabilities from its capability bounding set using the "
2379 "B<prctl>(2) B<PR_CAPBSET_DROP> operation, provided it has the "
2380 "B<CAP_SETPCAP> capability. Once a capability has been dropped from the "
2381 "bounding set, it cannot be restored to that set. A thread can determine if "
2382 "a capability is in its bounding set using the B<prctl>(2) "
2383 "B<PR_CAPBSET_READ> operation."
2384 msgstr ""
2385
2386 #. commit b3a222e52e4d4be77cc4520a57af1a4a0d8222d1
2387 #. type: Plain text
2388 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2389 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2390 msgid ""
2391 "Removing capabilities from the bounding set is supported only if file "
2392 "capabilities are compiled into the kernel. Before Linux 2.6.33, file "
2393 "capabilities were an optional feature configurable via the "
2394 "B<CONFIG_SECURITY_FILE_CAPABILITIES> option. Since Linux 2.6.33, the "
2395 "configuration option has been removed and file capabilities are always part "
2396 "of the kernel. When file capabilities are compiled into the kernel, the "
2397 "B<init> process (the ancestor of all processes) begins with a full bounding "
2398 "set. If file capabilities are not compiled into the kernel, then B<init> "
2399 "begins with a full bounding set minus B<CAP_SETPCAP>, because this "
2400 "capability has a different meaning when there are no file capabilities."
2401 msgstr ""
2402
2403 #. type: Plain text
2404 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2405 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2406 msgid ""
2407 "Removing a capability from the bounding set does not remove it from the "
2408 "thread's inheritable set. However it does prevent the capability from being "
2409 "added back into the thread's inheritable set in the future."
2410 msgstr ""
2411
2412 #. type: Plain text
2413 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2414 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2415 msgid "B<Capability bounding set prior to Linux 2.6.25>"
2416 msgstr ""
2417
2418 #. type: Plain text
2419 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2420 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2421 msgid ""
2422 "Before Linux 2.6.25, the capability bounding set is a system-wide attribute "
2423 "that affects all threads on the system. The bounding set is accessible via "
2424 "the file I</proc/sys/kernel/cap-bound>. (Confusingly, this bit mask "
2425 "parameter is expressed as a signed decimal number in I</proc/sys/kernel/cap-"
2426 "bound>.)"
2427 msgstr ""
2428
2429 #. type: Plain text
2430 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2431 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2432 msgid ""
2433 "Only the B<init> process may set capabilities in the capability bounding "
2434 "set; other than that, the superuser (more precisely: a process with the "
2435 "B<CAP_SYS_MODULE> capability) may only clear capabilities from this set."
2436 msgstr ""
2437
2438 #. type: Plain text
2439 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2440 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2441 msgid ""
2442 "On a standard system the capability bounding set always masks out the "
2443 "B<CAP_SETPCAP> capability. To remove this restriction (dangerous!), modify "
2444 "the definition of B<CAP_INIT_EFF_SET> in I<include/linux/capability.h> and "
2445 "rebuild the kernel."
2446 msgstr ""
2447
2448 #. type: Plain text
2449 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2450 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2451 msgid ""
2452 "The system-wide capability bounding set feature was added to Linux 2.2.11."
2453 msgstr ""
2454
2455 #. type: SS
2456 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2457 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2458 #, no-wrap
2459 msgid "Effect of user ID changes on capabilities"
2460 msgstr ""
2461
2462 #. type: Plain text
2463 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2464 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2465 msgid ""
2466 "To preserve the traditional semantics for transitions between 0 and nonzero "
2467 "user IDs, the kernel makes the following changes to a thread's capability "
2468 "sets on changes to the thread's real, effective, saved set, and filesystem "
2469 "user IDs (using B<setuid>(2), B<setresuid>(2), or similar):"
2470 msgstr ""
2471
2472 #. type: Plain text
2473 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2474 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2475 msgid ""
2476 "If one or more of the real, effective, or saved set user IDs was previously "
2477 "0, and as a result of the UID changes all of these IDs have a nonzero value, "
2478 "then all capabilities are cleared from the permitted, effective, and ambient "
2479 "capability sets."
2480 msgstr ""
2481
2482 #. type: Plain text
2483 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2484 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2485 msgid ""
2486 "If the effective user ID is changed from 0 to nonzero, then all capabilities "
2487 "are cleared from the effective set."
2488 msgstr ""
2489
2490 #. type: Plain text
2491 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2492 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2493 msgid ""
2494 "If the effective user ID is changed from nonzero to 0, then the permitted "
2495 "set is copied to the effective set."
2496 msgstr ""
2497
2498 #. type: Plain text
2499 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2500 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2501 msgid ""
2502 "If the filesystem user ID is changed from 0 to nonzero (see B<setfsuid>(2)), "
2503 "then the following capabilities are cleared from the effective set: "
2504 "B<CAP_CHOWN>, B<CAP_DAC_OVERRIDE>, B<CAP_DAC_READ_SEARCH>, B<CAP_FOWNER>, "
2505 "B<CAP_FSETID>, B<CAP_LINUX_IMMUTABLE> (since Linux 2.6.30), "
2506 "B<CAP_MAC_OVERRIDE>, and B<CAP_MKNOD> (since Linux 2.6.30). If the "
2507 "filesystem UID is changed from nonzero to 0, then any of these capabilities "
2508 "that are enabled in the permitted set are enabled in the effective set."
2509 msgstr ""
2510
2511 #. type: Plain text
2512 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2513 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2514 msgid ""
2515 "If a thread that has a 0 value for one or more of its user IDs wants to "
2516 "prevent its permitted capability set being cleared when it resets all of its "
2517 "user IDs to nonzero values, it can do so using the B<SECBIT_KEEP_CAPS> "
2518 "securebits flag described below."
2519 msgstr ""
2520
2521 #. type: SS
2522 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2523 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2524 #, no-wrap
2525 msgid "Programmatically adjusting capability sets"
2526 msgstr ""
2527
2528 #. type: Plain text
2529 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2530 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2531 msgid ""
2532 "A thread can retrieve and change its permitted, effective, and inheritable "
2533 "capability sets using the B<capget>(2) and B<capset>(2) system calls. "
2534 "However, the use of B<cap_get_proc>(3) and B<cap_set_proc>(3), both "
2535 "provided in the I<libcap> package, is preferred for this purpose. The "
2536 "following rules govern changes to the thread capability sets:"
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 "If the caller does not have the B<CAP_SETPCAP> capability, the new "
2544 "inheritable set must be a subset of the combination of the existing "
2545 "inheritable and permitted sets."
2546 msgstr ""
2547
2548 #. type: Plain text
2549 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2550 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2551 msgid ""
2552 "(Since Linux 2.6.25) The new inheritable set must be a subset of the "
2553 "combination of the existing inheritable set and the capability bounding set."
2554 msgstr ""
2555
2556 #. type: Plain text
2557 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2558 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2559 msgid ""
2560 "The new permitted set must be a subset of the existing permitted set (i.e., "
2561 "it is not possible to acquire permitted capabilities that the thread does "
2562 "not currently have)."
2563 msgstr ""
2564
2565 #. type: Plain text
2566 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2567 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2568 msgid "The new effective set must be a subset of the new permitted set."
2569 msgstr ""
2570
2571 #. type: SS
2572 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2573 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2574 #, no-wrap
2575 msgid "The securebits flags: establishing a capabilities-only environment"
2576 msgstr ""
2577
2578 #. For some background:
2579 #. see http://lwn.net/Articles/280279/ and
2580 #. http://article.gmane.org/gmane.linux.kernel.lsm/5476/
2581 #. type: Plain text
2582 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2583 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2584 msgid ""
2585 "Starting with Linux 2.6.26, and with a kernel in which file capabilities are "
2586 "enabled, Linux implements a set of per-thread I<securebits> flags that can "
2587 "be used to disable special handling of capabilities for UID 0 (I<root>). "
2588 "These flags are as follows:"
2589 msgstr ""
2590
2591 #. type: TP
2592 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2593 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2594 #, no-wrap
2595 msgid "B<SECBIT_KEEP_CAPS>"
2596 msgstr ""
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 msgid ""
2602 "Setting this flag allows a thread that has one or more 0 UIDs to retain "
2603 "capabilities in its permitted set when it switches all of its UIDs to "
2604 "nonzero values. If this flag is not set, then such a UID switch causes the "
2605 "thread to lose all permitted capabilities. This flag is always cleared on "
2606 "an B<execve>(2)."
2607 msgstr ""
2608
2609 #. type: Plain text
2610 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2611 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2612 msgid ""
2613 "Note that even with the B<SECBIT_KEEP_CAPS> flag set, the effective "
2614 "capabilities of a thread are cleared when it switches its effective UID to a "
2615 "nonzero value. However, if the thread has set this flag and its effective "
2616 "UID is already nonzero, and the thread subsequently switches all other UIDs "
2617 "to nonzero values, then the effective capabilities will not be cleared."
2618 msgstr ""
2619
2620 #. type: Plain text
2621 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2622 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2623 msgid ""
2624 "The setting of the B<SECBIT_KEEP_CAPS> flag is ignored if the "
2625 "B<SECBIT_NO_SETUID_FIXUP> flag is set. (The latter flag provides a superset "
2626 "of the effect of the former flag.)"
2627 msgstr ""
2628
2629 #. type: Plain text
2630 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2631 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2632 msgid ""
2633 "This flag provides the same functionality as the older B<prctl>(2) "
2634 "B<PR_SET_KEEPCAPS> operation."
2635 msgstr ""
2636
2637 #. type: TP
2638 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2639 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2640 #, no-wrap
2641 msgid "B<SECBIT_NO_SETUID_FIXUP>"
2642 msgstr ""
2643
2644 #. type: Plain text
2645 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2646 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2647 msgid ""
2648 "Setting this flag stops the kernel from adjusting the process's permitted, "
2649 "effective, and ambient capability sets when the thread's effective and "
2650 "filesystem UIDs are switched between zero and nonzero values. See I<Effect "
2651 "of user ID changes on capabilities> above."
2652 msgstr ""
2653
2654 #. type: TP
2655 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2656 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2657 #, no-wrap
2658 msgid "B<SECBIT_NOROOT>"
2659 msgstr ""
2660
2661 #. type: Plain text
2662 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2663 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2664 msgid ""
2665 "If this bit is set, then the kernel does not grant capabilities when a set-"
2666 "user-ID-root program is executed, or when a process with an effective or "
2667 "real UID of 0 calls B<execve>(2). (See I<Capabilities and execution of "
2668 "programs by root> above.)"
2669 msgstr ""
2670
2671 #. type: TP
2672 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2673 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2674 #, no-wrap
2675 msgid "B<SECBIT_NO_CAP_AMBIENT_RAISE>"
2676 msgstr ""
2677
2678 #. type: Plain text
2679 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2680 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2681 msgid ""
2682 "Setting this flag disallows raising ambient capabilities via the "
2683 "B<prctl>(2) B<PR_CAP_AMBIENT_RAISE> operation."
2684 msgstr ""
2685
2686 #. type: Plain text
2687 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2688 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2689 msgid ""
2690 "Each of the above \"base\" flags has a companion \"locked\" flag. Setting "
2691 "any of the \"locked\" flags is irreversible, and has the effect of "
2692 "preventing further changes to the corresponding \"base\" flag. The locked "
2693 "flags are: B<SECBIT_KEEP_CAPS_LOCKED>, B<SECBIT_NO_SETUID_FIXUP_LOCKED>, "
2694 "B<SECBIT_NOROOT_LOCKED>, and B<SECBIT_NO_CAP_AMBIENT_RAISE_LOCKED>."
2695 msgstr ""
2696
2697 #. type: Plain text
2698 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2699 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2700 msgid ""
2701 "The I<securebits> flags can be modified and retrieved using the B<prctl>(2) "
2702 "B<PR_SET_SECUREBITS> and B<PR_GET_SECUREBITS> operations. The "
2703 "B<CAP_SETPCAP> capability is required to modify the flags. Note that the "
2704 "B<SECBIT_*> constants are available only after including the I<E<lt>linux/"
2705 "securebits.hE<gt>> header file."
2706 msgstr ""
2707
2708 #. type: Plain text
2709 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2710 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2711 msgid ""
2712 "The I<securebits> flags are inherited by child processes. During an "
2713 "B<execve>(2), all of the flags are preserved, except B<SECBIT_KEEP_CAPS> "
2714 "which is always cleared."
2715 msgstr ""
2716
2717 #. type: Plain text
2718 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2719 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2720 msgid ""
2721 "An application can use the following call to lock itself, and all of its "
2722 "descendants, into an environment where the only way of gaining capabilities "
2723 "is by executing a program with associated file capabilities:"
2724 msgstr ""
2725
2726 #. type: Plain text
2727 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2728 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2729 #, no-wrap
2730 msgid ""
2731 "prctl(PR_SET_SECUREBITS,\n"
2732 " /* SECBIT_KEEP_CAPS off */\n"
2733 " SECBIT_KEEP_CAPS_LOCKED |\n"
2734 " SECBIT_NO_SETUID_FIXUP |\n"
2735 " SECBIT_NO_SETUID_FIXUP_LOCKED |\n"
2736 " SECBIT_NOROOT |\n"
2737 " SECBIT_NOROOT_LOCKED);\n"
2738 " /* Setting/locking SECBIT_NO_CAP_AMBIENT_RAISE\n"
2739 " is not required */\n"
2740 msgstr ""
2741
2742 #. type: SS
2743 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2744 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2745 #, no-wrap
2746 msgid "Per-user-namespace \\[dq]set-user-ID-root\\[dq] programs"
2747 msgstr ""
2748
2749 #. type: Plain text
2750 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2751 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2752 msgid ""
2753 "A set-user-ID program whose UID matches the UID that created a user "
2754 "namespace will confer capabilities in the process's permitted and effective "
2755 "sets when executed by any process inside that namespace or any descendant "
2756 "user namespace."
2757 msgstr ""
2758
2759 #. type: Plain text
2760 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2761 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2762 msgid ""
2763 "The rules about the transformation of the process's capabilities during the "
2764 "B<execve>(2) are exactly as described in I<Transformation of capabilities "
2765 "during execve()> and I<Capabilities and execution of programs by root> "
2766 "above, with the difference that, in the latter subsection, \"root\" is the "
2767 "UID of the creator of the user namespace."
2768 msgstr ""
2769
2770 #. type: SS
2771 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2772 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2773 #, no-wrap
2774 msgid "Namespaced file capabilities"
2775 msgstr ""
2776
2777 #. commit 8db6c34f1dbc8e06aa016a9b829b06902c3e1340
2778 #. type: Plain text
2779 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2780 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2781 msgid ""
2782 "Traditional (i.e., version 2) file capabilities associate only a set of "
2783 "capability masks with a binary executable file. When a process executes a "
2784 "binary with such capabilities, it gains the associated capabilities (within "
2785 "its user namespace) as per the rules described in I<Transformation of "
2786 "capabilities during execve()> above."
2787 msgstr ""
2788
2789 #. type: Plain text
2790 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2791 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2792 msgid ""
2793 "Because version 2 file capabilities confer capabilities to the executing "
2794 "process regardless of which user namespace it resides in, only privileged "
2795 "processes are permitted to associate capabilities with a file. Here, "
2796 "\"privileged\" means a process that has the B<CAP_SETFCAP> capability in the "
2797 "user namespace where the filesystem was mounted (normally the initial user "
2798 "namespace). This limitation renders file capabilities useless for certain "
2799 "use cases. For example, in user-namespaced containers, it can be desirable "
2800 "to be able to create a binary that confers capabilities only to processes "
2801 "executed inside that container, but not to processes that are executed "
2802 "outside the container."
2803 msgstr ""
2804
2805 #. type: Plain text
2806 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2807 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2808 msgid ""
2809 "Linux 4.14 added so-called namespaced file capabilities to support such use "
2810 "cases. Namespaced file capabilities are recorded as version 3 (i.e., "
2811 "B<VFS_CAP_REVISION_3>) I<security.capability> extended attributes. Such an "
2812 "attribute is automatically created in the circumstances described in I<File "
2813 "capability extended attribute versioning> above. When a version 3 "
2814 "I<security.capability> extended attribute is created, the kernel records not "
2815 "just the capability masks in the extended attribute, but also the namespace "
2816 "root user ID."
2817 msgstr ""
2818
2819 #. type: Plain text
2820 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2821 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2822 msgid ""
2823 "As with a binary that has B<VFS_CAP_REVISION_2> file capabilities, a binary "
2824 "with B<VFS_CAP_REVISION_3> file capabilities confers capabilities to a "
2825 "process during B<execve>(). However, capabilities are conferred only if the "
2826 "binary is executed by a process that resides in a user namespace whose UID 0 "
2827 "maps to the root user ID that is saved in the extended attribute, or when "
2828 "executed by a process that resides in a descendant of such a namespace."
2829 msgstr ""
2830
2831 #. type: SS
2832 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2833 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2834 #, no-wrap
2835 msgid "Interaction with user namespaces"
2836 msgstr ""
2837
2838 #. type: Plain text
2839 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2840 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2841 msgid ""
2842 "For further information on the interaction of capabilities and user "
2843 "namespaces, see B<user_namespaces>(7)."
2844 msgstr ""
2845
2846 #. type: SH
2847 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2848 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2849 #, no-wrap
2850 msgid "STANDARDS"
2851 msgstr ""
2852
2853 #. type: Plain text
2854 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
2855 #: opensuse-tumbleweed
2856 msgid ""
2857 "No standards govern capabilities, but the Linux capability implementation is "
2858 "based on the withdrawn E<.UR https:\\://archive.org\\:/details\\:/"
2859 "posix_1003.1e-990310> POSIX.1e draft standard E<.UE .>"
2860 msgstr ""
2861
2862 #. type: SH
2863 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2864 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2865 #, no-wrap
2866 msgid "NOTES"
2867 msgstr ""
2868
2869 #. type: Plain text
2870 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2871 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2872 msgid ""
2873 "When attempting to B<strace>(1) binaries that have capabilities (or set-"
2874 "user-ID-root binaries), you may find the I<-u E<lt>usernameE<gt>> option "
2875 "useful. Something like:"
2876 msgstr ""
2877
2878 #. type: Plain text
2879 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
2880 #: opensuse-tumbleweed
2881 #, no-wrap
2882 msgid "$B< sudo strace -o trace.log -u ceci ./myprivprog>\n"
2883 msgstr ""
2884
2885 #. commit 5915eb53861c5776cfec33ca4fcc1fd20d66dd27 removed
2886 #. CONFIG_SECURITY_CAPABILITIES
2887 #. type: Plain text
2888 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2889 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2890 msgid ""
2891 "From Linux 2.5.27 to Linux 2.6.26, capabilities were an optional kernel "
2892 "component, and could be enabled/disabled via the "
2893 "B<CONFIG_SECURITY_CAPABILITIES> kernel configuration option."
2894 msgstr ""
2895
2896 #. 7b9a7ec565505699f503b4fcf61500dceb36e744
2897 #. type: Plain text
2898 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2899 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2900 msgid ""
2901 "The I</proc/>pidI</task/TID/status> file can be used to view the capability "
2902 "sets of a thread. The I</proc/>pidI</status> file shows the capability sets "
2903 "of a process's main thread. Before Linux 3.8, nonexistent capabilities were "
2904 "shown as being enabled (1) in these sets. Since Linux 3.8, all nonexistent "
2905 "capabilities (above B<CAP_LAST_CAP>) are shown as disabled (0)."
2906 msgstr ""
2907
2908 #. type: Plain text
2909 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2910 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2911 msgid ""
2912 "The I<libcap> package provides a suite of routines for setting and getting "
2913 "capabilities that is more comfortable and less likely to change than the "
2914 "interface provided by B<capset>(2) and B<capget>(2). This package also "
2915 "provides the B<setcap>(8) and B<getcap>(8) programs. It can be found at"
2916 msgstr ""
2917
2918 #. type: Plain text
2919 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
2920 #: opensuse-tumbleweed
2921 msgid ""
2922 "E<.UR https:\\://git.kernel.org\\:/pub\\:/scm\\:/libs\\:/libcap\\:/"
2923 "libcap.git\\:/refs/> E<.UE .>"
2924 msgstr ""
2925
2926 #. type: Plain text
2927 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2928 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2929 msgid ""
2930 "Before Linux 2.6.24, and from Linux 2.6.24 to Linux 2.6.32 if file "
2931 "capabilities are not enabled, a thread with the B<CAP_SETPCAP> capability "
2932 "can manipulate the capabilities of threads other than itself. However, this "
2933 "is only theoretically possible, since no thread ever has B<CAP_SETPCAP> in "
2934 "either of these cases:"
2935 msgstr ""
2936
2937 #. type: Plain text
2938 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2939 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2940 msgid ""
2941 "In the pre-2.6.25 implementation the system-wide capability bounding set, I</"
2942 "proc/sys/kernel/cap-bound>, always masks out the B<CAP_SETPCAP> capability, "
2943 "and this can not be changed without modifying the kernel source and "
2944 "rebuilding the kernel."
2945 msgstr ""
2946
2947 #. type: Plain text
2948 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2949 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2950 msgid ""
2951 "If file capabilities are disabled (i.e., the kernel "
2952 "B<CONFIG_SECURITY_FILE_CAPABILITIES> option is disabled), then B<init> "
2953 "starts out with the B<CAP_SETPCAP> capability removed from its per-process "
2954 "bounding set, and that bounding set is inherited by all other processes "
2955 "created on the system."
2956 msgstr ""
2957
2958 #. type: SH
2959 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2960 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2961 #, no-wrap
2962 msgid "SEE ALSO"
2963 msgstr ""
2964
2965 #. from libcap-ng
2966 #. from libcap-ng
2967 #. from libcap-ng
2968 #. from libcap-ng
2969 #. type: Plain text
2970 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2971 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2972 msgid ""
2973 "B<capsh>(1), B<setpriv>(1), B<prctl>(2), B<setfsuid>(2), B<cap_clear>(3), "
2974 "B<cap_copy_ext>(3), B<cap_from_text>(3), B<cap_get_file>(3), "
2975 "B<cap_get_proc>(3), B<cap_init>(3), B<capgetp>(3), B<capsetp>(3), "
2976 "B<libcap>(3), B<proc>(5), B<credentials>(7), B<pthreads>(7), "
2977 "B<user_namespaces>(7), B<captest>(8), B<filecap>(8), B<getcap>(8), "
2978 "B<getpcaps>(8), B<netcap>(8), B<pscap>(8), B<setcap>(8)"
2979 msgstr ""
2980
2981 #. type: Plain text
2982 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2983 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2984 msgid "I<include/linux/capability.h> in the Linux kernel source tree"
2985 msgstr ""
2986
2987 #. type: TH
2988 #: debian-trixie fedora-44 fedora-rawhide
2989 #, no-wrap
2990 msgid "2024-06-13"
2991 msgstr ""
2992
2993 #. type: TH
2994 #: debian-trixie
2995 #, no-wrap
2996 msgid "Linux man-pages 6.9.1"
2997 msgstr ""
2998
2999 #. type: Plain text
3000 #: debian-trixie fedora-44 fedora-rawhide
3001 msgid "inspect processes using B<kcmp>(2)."
3002 msgstr ""
3003
3004 #. type: Plain text
3005 #: debian-trixie fedora-44 fedora-rawhide
3006 msgid ""
3007 "I<Note>: during the capability transitions described above, file "
3008 "capabilities may be ignored (treated as empty) for the same reasons that the "
3009 "set-user-ID and set-group-ID bits are ignored; see B<execve>(2). File "
3010 "capabilities are similarly ignored if the kernel was booted with the "
3011 "I<no_file_caps> option."
3012 msgstr ""
3013
3014 #. type: Plain text
3015 #: debian-trixie fedora-44 fedora-rawhide
3016 msgid ""
3017 "No standards govern capabilities, but the Linux capability implementation is "
3018 "based on the withdrawn E<.UR https://archive.org\\:/details\\:/"
3019 "posix_1003.1e-990310> POSIX.1e draft standard E<.UE .>"
3020 msgstr ""
3021
3022 #. type: Plain text
3023 #: debian-trixie fedora-44 fedora-rawhide
3024 #, no-wrap
3025 msgid "$ B<sudo strace -o trace.log -u ceci ./myprivprog>\n"
3026 msgstr ""
3027
3028 #. type: Plain text
3029 #: debian-trixie fedora-44 fedora-rawhide
3030 msgid ""
3031 "E<.UR https://git.kernel.org\\:/pub\\:/scm\\:/libs\\:/libcap\\:/"
3032 "libcap.git\\:/refs/> E<.UE .>"
3033 msgstr ""
3034
3035 #. type: TH
3036 #: fedora-44 fedora-rawhide
3037 #, no-wrap
3038 msgid "Linux man-pages 6.13"
3039 msgstr ""
3040
3041 #. type: TH
3042 #: mageia-cauldron
3043 #, no-wrap
3044 msgid "Linux man-pages 6.17"
3045 msgstr ""
3046
3047 #. type: TH
3048 #: opensuse-leap-16-1 opensuse-tumbleweed
3049 #, no-wrap
3050 msgid "Linux man-pages (unreleased)"
3051 msgstr ""