| 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:34+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 "pid_namespaces" |
| 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 "pid_namespaces - overview of Linux PID namespaces" |
| 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 "For an overview of namespaces, see B<namespaces>(7)." |
| 63 |
msgstr "" |
| 64 |
|
| 65 |
#. type: Plain text |
| 66 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 67 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 68 |
msgid "" |
| 69 |
"PID namespaces isolate the process ID number space, meaning that processes " |
| 70 |
"in different PID namespaces can have the same PID. PID namespaces allow " |
| 71 |
"containers to provide functionality such as suspending/resuming the set of " |
| 72 |
"processes in the container and migrating the container to a new host while " |
| 73 |
"the processes inside the container maintain the same PIDs." |
| 74 |
msgstr "" |
| 75 |
|
| 76 |
#. type: Plain text |
| 77 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 78 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 79 |
msgid "" |
| 80 |
"PIDs in a new PID namespace start at 1, somewhat like a standalone system, " |
| 81 |
"and calls to B<fork>(2), B<vfork>(2), or B<clone>(2) will produce processes " |
| 82 |
"with PIDs that are unique within the namespace." |
| 83 |
msgstr "" |
| 84 |
|
| 85 |
# |
| 86 |
#. ============================================================ |
| 87 |
#. type: Plain text |
| 88 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 89 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 90 |
msgid "" |
| 91 |
"Use of PID namespaces requires a kernel that is configured with the " |
| 92 |
"B<CONFIG_PID_NS> option." |
| 93 |
msgstr "" |
| 94 |
|
| 95 |
#. type: SS |
| 96 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 97 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 98 |
#, no-wrap |
| 99 |
msgid "The namespace init process" |
| 100 |
msgstr "" |
| 101 |
|
| 102 |
#. type: Plain text |
| 103 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 104 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 105 |
msgid "" |
| 106 |
"The first process created in a new namespace (i.e., the process created " |
| 107 |
"using B<clone>(2) with the B<CLONE_NEWPID> flag, or the first child created " |
| 108 |
"by a process after a call to B<unshare>(2) using the B<CLONE_NEWPID> flag) " |
| 109 |
"has the PID 1, and is the \"init\" process for the namespace (see " |
| 110 |
"B<init>(1)). This process becomes the parent of any child processes that " |
| 111 |
"are orphaned because a process that resides in this PID namespace terminated " |
| 112 |
"(see below for further details)." |
| 113 |
msgstr "" |
| 114 |
|
| 115 |
#. type: Plain text |
| 116 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 117 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 118 |
msgid "" |
| 119 |
"If the \"init\" process of a PID namespace terminates, the kernel terminates " |
| 120 |
"all of the processes in the namespace via a B<SIGKILL> signal. This " |
| 121 |
"behavior reflects the fact that the \"init\" process is essential for the " |
| 122 |
"correct operation of a PID namespace. In this case, a subsequent " |
| 123 |
"B<fork>(2) into this PID namespace fail with the error B<ENOMEM>; it is not " |
| 124 |
"possible to create a new process in a PID namespace whose \"init\" process " |
| 125 |
"has terminated. Such scenarios can occur when, for example, a process uses " |
| 126 |
"an open file descriptor for a I</proc/>pidI</ns/pid> file corresponding to a " |
| 127 |
"process that was in a namespace to B<setns>(2) into that namespace after " |
| 128 |
"the \"init\" process has terminated. Another possible scenario can occur " |
| 129 |
"after a call to B<unshare>(2): if the first child subsequently created by a " |
| 130 |
"B<fork>(2) terminates, then subsequent calls to B<fork>(2) fail with " |
| 131 |
"B<ENOMEM>." |
| 132 |
msgstr "" |
| 133 |
|
| 134 |
#. type: Plain text |
| 135 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 136 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 137 |
msgid "" |
| 138 |
"Only signals for which the \"init\" process has established a signal handler " |
| 139 |
"can be sent to the \"init\" process by other members of the PID namespace. " |
| 140 |
"This restriction applies even to privileged processes, and prevents other " |
| 141 |
"members of the PID namespace from accidentally killing the \"init\" process." |
| 142 |
msgstr "" |
| 143 |
|
| 144 |
#. type: Plain text |
| 145 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 146 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 147 |
msgid "" |
| 148 |
"Likewise, a process in an ancestor namespace can\\[em]subject to the usual " |
| 149 |
"permission checks described in B<kill>(2)\\[em]send signals to the \"init\" " |
| 150 |
"process of a child PID namespace only if the \"init\" process has " |
| 151 |
"established a handler for that signal. (Within the handler, the " |
| 152 |
"I<siginfo_t> I<si_pid> field described in B<sigaction>(2) will be zero.) " |
| 153 |
"B<SIGKILL> or B<SIGSTOP> are treated exceptionally: these signals are " |
| 154 |
"forcibly delivered when sent from an ancestor PID namespace. Neither of " |
| 155 |
"these signals can be caught by the \"init\" process, and so will result in " |
| 156 |
"the usual actions associated with those signals (respectively, terminating " |
| 157 |
"and stopping the process)." |
| 158 |
msgstr "" |
| 159 |
|
| 160 |
# |
| 161 |
#. ============================================================ |
| 162 |
#. type: Plain text |
| 163 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 164 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 165 |
msgid "" |
| 166 |
"Starting with Linux 3.4, the B<reboot>(2) system call causes a signal to be " |
| 167 |
"sent to the namespace \"init\" process. See B<reboot>(2) for more details." |
| 168 |
msgstr "" |
| 169 |
|
| 170 |
#. type: SS |
| 171 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 172 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 173 |
#, no-wrap |
| 174 |
msgid "Nesting PID namespaces" |
| 175 |
msgstr "" |
| 176 |
|
| 177 |
#. commit f2302505775fd13ba93f034206f1e2a587017929 |
| 178 |
#. The kernel constant MAX_PID_NS_LEVEL |
| 179 |
#. type: Plain text |
| 180 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 181 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 182 |
msgid "" |
| 183 |
"PID namespaces can be nested: each PID namespace has a parent, except for " |
| 184 |
"the initial (\"root\") PID namespace. The parent of a PID namespace is the " |
| 185 |
"PID namespace of the process that created the namespace using B<clone>(2) " |
| 186 |
"or B<unshare>(2). PID namespaces thus form a tree, with all namespaces " |
| 187 |
"ultimately tracing their ancestry to the root namespace. Since Linux 3.7, " |
| 188 |
"the kernel limits the maximum nesting depth for PID namespaces to 32." |
| 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 "" |
| 195 |
"A process is visible to other processes in its PID namespace, and to the " |
| 196 |
"processes in each direct ancestor PID namespace going back to the root PID " |
| 197 |
"namespace. In this context, \"visible\" means that one process can be the " |
| 198 |
"target of operations by another process using system calls that specify a " |
| 199 |
"process ID. Conversely, the processes in a child PID namespace can't see " |
| 200 |
"processes in the parent and further removed ancestor namespaces. More " |
| 201 |
"succinctly: a process can see (e.g., send signals with B<kill>(2), set nice " |
| 202 |
"values with B<setpriority>(2), etc.) only processes contained in its own PID " |
| 203 |
"namespace and in descendants of that namespace." |
| 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 |
"A process has one process ID in each of the layers of the PID namespace " |
| 211 |
"hierarchy in which is visible, and walking back though each direct ancestor " |
| 212 |
"namespace through to the root PID namespace. System calls that operate on " |
| 213 |
"process IDs always operate using the process ID that is visible in the PID " |
| 214 |
"namespace of the caller. A call to B<getpid>(2) always returns the PID " |
| 215 |
"associated with the namespace in which the process was created." |
| 216 |
msgstr "" |
| 217 |
|
| 218 |
#. type: Plain text |
| 219 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 220 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 221 |
msgid "" |
| 222 |
"Some processes in a PID namespace may have parents that are outside of the " |
| 223 |
"namespace. For example, the parent of the initial process in the namespace " |
| 224 |
"(i.e., the B<init>(1) process with PID 1) is necessarily in another " |
| 225 |
"namespace. Likewise, the direct children of a process that uses " |
| 226 |
"B<setns>(2) to cause its children to join a PID namespace are in a " |
| 227 |
"different PID namespace from the caller of B<setns>(2). Calls to " |
| 228 |
"B<getppid>(2) for such processes return 0." |
| 229 |
msgstr "" |
| 230 |
|
| 231 |
#. type: Plain text |
| 232 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 233 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 234 |
msgid "" |
| 235 |
"While processes may freely descend into child PID namespaces (e.g., using " |
| 236 |
"B<setns>(2) with a PID namespace file descriptor), they may not move in the " |
| 237 |
"other direction. That is to say, processes may not enter any ancestor " |
| 238 |
"namespaces (parent, grandparent, etc.). Changing PID namespaces is a one-" |
| 239 |
"way operation." |
| 240 |
msgstr "" |
| 241 |
|
| 242 |
# |
| 243 |
#. ============================================================ |
| 244 |
#. type: Plain text |
| 245 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 246 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 247 |
msgid "" |
| 248 |
"The B<NS_GET_PARENT> B<ioctl>(2) operation can be used to discover the " |
| 249 |
"parental relationship between PID namespaces; see B<ioctl_nsfs>(2)." |
| 250 |
msgstr "" |
| 251 |
|
| 252 |
#. type: SS |
| 253 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 254 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 255 |
#, no-wrap |
| 256 |
msgid "setns(2) and unshare(2) semantics" |
| 257 |
msgstr "" |
| 258 |
|
| 259 |
#. type: Plain text |
| 260 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 261 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 262 |
msgid "" |
| 263 |
"Calls to B<setns>(2) that specify a PID namespace file descriptor and calls " |
| 264 |
"to B<unshare>(2) with the B<CLONE_NEWPID> flag cause children subsequently " |
| 265 |
"created by the caller to be placed in a different PID namespace from the " |
| 266 |
"caller. (Since Linux 4.12, that PID namespace is shown via the I</proc/" |
| 267 |
">pidI</ns/pid_for_children> file, as described in B<namespaces>(7).) These " |
| 268 |
"calls do not, however, change the PID namespace of the calling process, " |
| 269 |
"because doing so would change the caller's idea of its own PID (as reported " |
| 270 |
"by B<getpid>()), which would break many applications and libraries." |
| 271 |
msgstr "" |
| 272 |
|
| 273 |
#. type: Plain text |
| 274 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 275 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 276 |
msgid "" |
| 277 |
"To put things another way: a process's PID namespace membership is " |
| 278 |
"determined when the process is created and cannot be changed thereafter. " |
| 279 |
"Among other things, this means that the parental relationship between " |
| 280 |
"processes mirrors the parental relationship between PID namespaces: the " |
| 281 |
"parent of a process is either in the same namespace or resides in the " |
| 282 |
"immediate parent PID namespace." |
| 283 |
msgstr "" |
| 284 |
|
| 285 |
# |
| 286 |
#. ============================================================ |
| 287 |
#. type: Plain text |
| 288 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 289 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 290 |
msgid "" |
| 291 |
"A process may call B<unshare>(2) with the B<CLONE_NEWPID> flag only once. " |
| 292 |
"After it has performed this operation, its I</proc/>pidI</ns/" |
| 293 |
"pid_for_children> symbolic link will be empty until the first child is " |
| 294 |
"created in the namespace." |
| 295 |
msgstr "" |
| 296 |
|
| 297 |
#. type: SS |
| 298 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 299 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 300 |
#, no-wrap |
| 301 |
msgid "Adoption of orphaned children" |
| 302 |
msgstr "" |
| 303 |
|
| 304 |
# |
| 305 |
#. Furthermore, by definition, the parent of the "init" process |
| 306 |
#. of a PID namespace resides in the parent PID namespace. |
| 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 "" |
| 312 |
"When a child process becomes orphaned, it is reparented to the \"init\" " |
| 313 |
"process in the PID namespace of its parent (unless one of the nearer " |
| 314 |
"ancestors of the parent employed the B<prctl>(2) B<PR_SET_CHILD_SUBREAPER> " |
| 315 |
"command to mark itself as the reaper of orphaned descendant processes). " |
| 316 |
"Note that because of the B<setns>(2) and B<unshare>(2) semantics described " |
| 317 |
"above, this may be the \"init\" process in the PID namespace that is the " |
| 318 |
"I<parent> of the child's PID namespace, rather than the \"init\" process in " |
| 319 |
"the child's own PID namespace." |
| 320 |
msgstr "" |
| 321 |
|
| 322 |
#. type: SS |
| 323 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 324 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 325 |
#, no-wrap |
| 326 |
msgid "Compatibility of CLONE_NEWPID with other CLONE_* flags" |
| 327 |
msgstr "" |
| 328 |
|
| 329 |
#. type: Plain text |
| 330 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 331 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 332 |
msgid "" |
| 333 |
"In current versions of Linux, B<CLONE_NEWPID> can't be combined with " |
| 334 |
"B<CLONE_THREAD>. Threads are required to be in the same PID namespace such " |
| 335 |
"that the threads in a process can send signals to each other. Similarly, it " |
| 336 |
"must be possible to see all of the threads of a process in the B<proc>(5) " |
| 337 |
"filesystem. Additionally, if two threads were in different PID namespaces, " |
| 338 |
"the process ID of the process sending a signal could not be meaningfully " |
| 339 |
"encoded when a signal is sent (see the description of the I<siginfo_t> type " |
| 340 |
"in B<sigaction>(2)). Since this is computed when a signal is enqueued, a " |
| 341 |
"signal queue shared by processes in multiple PID namespaces would defeat " |
| 342 |
"that." |
| 343 |
msgstr "" |
| 344 |
|
| 345 |
# |
| 346 |
#. Note these restrictions were all introduced in |
| 347 |
#. 8382fcac1b813ad0a4e68a838fc7ae93fa39eda0 |
| 348 |
#. when CLONE_NEWPID|CLONE_VM was disallowed |
| 349 |
#. (restriction lifted in faf00da544045fdc1454f3b9e6d7f65c841de302) |
| 350 |
#. (restriction lifted in e79f525e99b04390ca4d2366309545a836c03bf1) |
| 351 |
#. ============================================================ |
| 352 |
#. type: Plain text |
| 353 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 354 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 355 |
msgid "" |
| 356 |
"In earlier versions of Linux, B<CLONE_NEWPID> was additionally disallowed " |
| 357 |
"(failing with the error B<EINVAL>) in combination with B<CLONE_SIGHAND> " |
| 358 |
"(before Linux 4.3) as well as B<CLONE_VM> (before Linux 3.12). The changes " |
| 359 |
"that lifted these restrictions have also been ported to earlier stable " |
| 360 |
"kernels." |
| 361 |
msgstr "" |
| 362 |
|
| 363 |
#. type: SS |
| 364 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 365 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 366 |
#, no-wrap |
| 367 |
msgid "/proc and PID namespaces" |
| 368 |
msgstr "" |
| 369 |
|
| 370 |
#. type: Plain text |
| 371 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 372 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 373 |
msgid "" |
| 374 |
"A I</proc> filesystem shows (in the I</proc/>pid directories) only processes " |
| 375 |
"visible in the PID namespace of the process that performed the mount, even " |
| 376 |
"if the I</proc> filesystem is viewed from processes in other namespaces." |
| 377 |
msgstr "" |
| 378 |
|
| 379 |
#. type: Plain text |
| 380 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 381 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 382 |
msgid "" |
| 383 |
"After creating a new PID namespace, it is useful for the child to change its " |
| 384 |
"root directory and mount a new procfs instance at I</proc> so that tools " |
| 385 |
"such as B<ps>(1) work correctly. If a new mount namespace is " |
| 386 |
"simultaneously created by including B<CLONE_NEWNS> in the I<flags> argument " |
| 387 |
"of B<clone>(2) or B<unshare>(2), then it isn't necessary to change the root " |
| 388 |
"directory: a new procfs instance can be mounted directly over I</proc>." |
| 389 |
msgstr "" |
| 390 |
|
| 391 |
#. type: Plain text |
| 392 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 393 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 394 |
msgid "From a shell, the command to mount I</proc> is:" |
| 395 |
msgstr "" |
| 396 |
|
| 397 |
#. type: Plain text |
| 398 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 399 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 400 |
#, no-wrap |
| 401 |
msgid "$ mount -t proc proc /proc\n" |
| 402 |
msgstr "" |
| 403 |
|
| 404 |
# |
| 405 |
#. ============================================================ |
| 406 |
#. type: Plain text |
| 407 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 408 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 409 |
msgid "" |
| 410 |
"Calling B<readlink>(2) on the path I</proc/self> yields the process ID of " |
| 411 |
"the caller in the PID namespace of the procfs mount (i.e., the PID namespace " |
| 412 |
"of the process that mounted the procfs). This can be useful for " |
| 413 |
"introspection purposes, when a process wants to discover its PID in other " |
| 414 |
"namespaces." |
| 415 |
msgstr "" |
| 416 |
|
| 417 |
#. type: SS |
| 418 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 419 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 420 |
#, no-wrap |
| 421 |
msgid "/proc files" |
| 422 |
msgstr "" |
| 423 |
|
| 424 |
#. type: TP |
| 425 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 426 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 427 |
#, no-wrap |
| 428 |
msgid "B</proc/sys/kernel/ns_last_pid> (since Linux 3.3)" |
| 429 |
msgstr "" |
| 430 |
|
| 431 |
#. commit b8f566b04d3cddd192cfd2418ae6d54ac6353792 |
| 432 |
#. type: Plain text |
| 433 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 434 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 435 |
msgid "" |
| 436 |
"This file (which is virtualized per PID namespace) displays the last PID " |
| 437 |
"that was allocated in this PID namespace. When the next PID is allocated, " |
| 438 |
"the kernel will search for the lowest unallocated PID that is greater than " |
| 439 |
"this value, and when this file is subsequently read it will show that PID." |
| 440 |
msgstr "" |
| 441 |
|
| 442 |
# |
| 443 |
#. This ability is necessary to support checkpoint restore in user-space |
| 444 |
#. ============================================================ |
| 445 |
#. type: Plain text |
| 446 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 447 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 448 |
msgid "" |
| 449 |
"This file is writable by a process that has the B<CAP_SYS_ADMIN> or (since " |
| 450 |
"Linux 5.9) B<CAP_CHECKPOINT_RESTORE> capability inside the user namespace " |
| 451 |
"that owns the PID namespace. This makes it possible to determine the PID " |
| 452 |
"that is allocated to the next process that is created inside this PID " |
| 453 |
"namespace." |
| 454 |
msgstr "" |
| 455 |
|
| 456 |
#. type: SS |
| 457 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 458 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 459 |
#, no-wrap |
| 460 |
msgid "Miscellaneous" |
| 461 |
msgstr "" |
| 462 |
|
| 463 |
#. type: Plain text |
| 464 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 465 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 466 |
msgid "" |
| 467 |
"When a process ID is passed over a UNIX domain socket to a process in a " |
| 468 |
"different PID namespace (see the description of B<SCM_CREDENTIALS> in " |
| 469 |
"B<unix>(7)), it is translated into the corresponding PID value in the " |
| 470 |
"receiving process's PID namespace." |
| 471 |
msgstr "" |
| 472 |
|
| 473 |
#. type: SH |
| 474 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 475 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 476 |
#, no-wrap |
| 477 |
msgid "STANDARDS" |
| 478 |
msgstr "" |
| 479 |
|
| 480 |
#. type: Plain text |
| 481 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 482 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 483 |
msgid "Linux." |
| 484 |
msgstr "" |
| 485 |
|
| 486 |
#. type: SH |
| 487 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 488 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 489 |
#, no-wrap |
| 490 |
msgid "EXAMPLES" |
| 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 "See B<user_namespaces>(7)." |
| 497 |
msgstr "" |
| 498 |
|
| 499 |
#. type: SH |
| 500 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 501 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 502 |
#, no-wrap |
| 503 |
msgid "SEE ALSO" |
| 504 |
msgstr "" |
| 505 |
|
| 506 |
#. type: Plain text |
| 507 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 508 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 509 |
msgid "" |
| 510 |
"B<clone>(2), B<reboot>(2), B<setns>(2), B<unshare>(2), B<proc>(5), " |
| 511 |
"B<capabilities>(7), B<credentials>(7), B<mount_namespaces>(7), " |
| 512 |
"B<namespaces>(7), B<user_namespaces>(7), B<switch_root>(8)" |
| 513 |
msgstr "" |
| 514 |
|
| 515 |
#. type: TH |
| 516 |
#: debian-trixie fedora-44 fedora-rawhide |
| 517 |
#, no-wrap |
| 518 |
msgid "2024-06-13" |
| 519 |
msgstr "" |
| 520 |
|
| 521 |
#. type: TH |
| 522 |
#: debian-trixie |
| 523 |
#, no-wrap |
| 524 |
msgid "Linux man-pages 6.9.1" |
| 525 |
msgstr "" |
| 526 |
|
| 527 |
#. type: TH |
| 528 |
#: fedora-44 fedora-rawhide |
| 529 |
#, no-wrap |
| 530 |
msgid "Linux man-pages 6.13" |
| 531 |
msgstr "" |
| 532 |
|
| 533 |
#. type: TH |
| 534 |
#: mageia-cauldron |
| 535 |
#, no-wrap |
| 536 |
msgid "Linux man-pages 6.17" |
| 537 |
msgstr "" |
| 538 |
|
| 539 |
#. type: TH |
| 540 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 541 |
#, no-wrap |
| 542 |
msgid "Linux man-pages (unreleased)" |
| 543 |
msgstr "" |