Debian Codegraph @

po/ro/man7/pid_namespaces.7.po

raw
1 # Romanian translation of manpages
2 # This file is distributed under the same license as the manpages-l10n package.
3 # Copyright © of this file:
4 # Remus-Gabriel Chelu <[email protected]>, 2024, 2025.
5 msgid ""
6 msgstr ""
7 "Project-Id-Version: manpages-l10n 4.23.1\n"
8 "POT-Creation-Date: 2026-06-05 06:34+0200\n"
9 "PO-Revision-Date: 2024-07-09 20:52+0200\n"
10 "Last-Translator: Remus-Gabriel Chelu <[email protected]>\n"
11 "Language-Team: Romanian <[email protected]>\n"
12 "Language: ro\n"
13 "MIME-Version: 1.0\n"
14 "Content-Type: text/plain; charset=UTF-8\n"
15 "Content-Transfer-Encoding: 8bit\n"
16 "Plural-Forms: nplurals=3; plural=n==1 ? 0 : (n==0 || (n%100 > 0 && n%100 < "
17 "20)) ? 1 : 2;\n"
18 "X-Generator: Poedit 3.4.3\n"
19
20 #. type: TH
21 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
22 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
23 #, no-wrap
24 msgid "pid_namespaces"
25 msgstr "pid_namespaces"
26
27 #. type: TH
28 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
29 #: opensuse-tumbleweed
30 #, no-wrap
31 msgid "2026-02-08"
32 msgstr "8 februarie 2026"
33
34 #. type: TH
35 #: archlinux debian-unstable
36 #, no-wrap
37 msgid "Linux man-pages 6.18"
38 msgstr "Pagini de manual de Linux 6.18"
39
40 #. type: SH
41 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
42 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
43 #, no-wrap
44 msgid "NAME"
45 msgstr "NUME"
46
47 #. type: Plain text
48 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
49 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
50 msgid "pid_namespaces - overview of Linux PID namespaces"
51 msgstr "pid_namespaces - vedere de ansamblu a spațiilor de nume PID Linux"
52
53 #. type: SH
54 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
55 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
56 #, no-wrap
57 msgid "DESCRIPTION"
58 msgstr "DESCRIERE"
59
60 #. type: Plain text
61 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
62 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
63 msgid "For an overview of namespaces, see B<namespaces>(7)."
64 msgstr ""
65 "Pentru o descriere generală a spațiilor de nume, consultați B<namespaces>(7)."
66
67 #. type: Plain text
68 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
69 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
70 msgid ""
71 "PID namespaces isolate the process ID number space, meaning that processes "
72 "in different PID namespaces can have the same PID. PID namespaces allow "
73 "containers to provide functionality such as suspending/resuming the set of "
74 "processes in the container and migrating the container to a new host while "
75 "the processes inside the container maintain the same PIDs."
76 msgstr ""
77 "Spațiile de nume PID izolează spațiul numerelor ID ale proceselor, ceea ce "
78 "înseamnă că procesele din diferite spații de nume PID pot avea același PID. "
79 "Spațiile de nume PID permit containerelor să ofere funcționalități precum "
80 "suspendarea/reluarea setului de procese din container și migrarea "
81 "containerului către o nouă gazdă, în timp ce procesele din container "
82 "păstrează aceleași PID-uri."
83
84 #. type: Plain text
85 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
86 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
87 msgid ""
88 "PIDs in a new PID namespace start at 1, somewhat like a standalone system, "
89 "and calls to B<fork>(2), B<vfork>(2), or B<clone>(2) will produce processes "
90 "with PIDs that are unique within the namespace."
91 msgstr ""
92 "PID-urile dintr-un nou spațiu de nume PID încep de la 1, oarecum ca într-un "
93 "sistem autonom, iar apelurile la B<fork>(2), B<vfork>(2) sau B<clone>(2) vor "
94 "produce procese cu PID-uri unice în spațiul de nume."
95
96 #
97 #. ============================================================
98 #. type: Plain text
99 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
100 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
101 msgid ""
102 "Use of PID namespaces requires a kernel that is configured with the "
103 "B<CONFIG_PID_NS> option."
104 msgstr ""
105 "Utilizarea spațiilor de nume PID necesită un nucleu care este configurat cu "
106 "opțiunea B<CONFIG_PID_NS>."
107
108 #. type: SS
109 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
110 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
111 #, no-wrap
112 msgid "The namespace init process"
113 msgstr "Procesul de inițiere (init) a spațiului de nume"
114
115 #. type: Plain text
116 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
117 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
118 msgid ""
119 "The first process created in a new namespace (i.e., the process created "
120 "using B<clone>(2) with the B<CLONE_NEWPID> flag, or the first child created "
121 "by a process after a call to B<unshare>(2) using the B<CLONE_NEWPID> flag) "
122 "has the PID 1, and is the \"init\" process for the namespace (see "
123 "B<init>(1)). This process becomes the parent of any child processes that "
124 "are orphaned because a process that resides in this PID namespace terminated "
125 "(see below for further details)."
126 msgstr ""
127 "Primul proces creat într-un spațiu de nume nou (de exemplu, procesul creat "
128 "folosind B<clone>(2) cu fanionul B<CLONE_NEWPID> sau primul copil creat de "
129 "un proces după un apel la B<unshare>(2) folosind fanionul B<CLONE_NEWPID>) "
130 "are PID-ul 1 și este procesul „init” pentru spațiul de nume (a se vedea "
131 "B<init>(1)). Acest proces devine părintele oricărui proces copil rămas orfan "
132 "din cauza încetării unui proces care se află în acest spațiu de nume PID (a "
133 "se vedea mai jos pentru detalii suplimentare)."
134
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 ""
139 "If the \"init\" process of a PID namespace terminates, the kernel terminates "
140 "all of the processes in the namespace via a B<SIGKILL> signal. This "
141 "behavior reflects the fact that the \"init\" process is essential for the "
142 "correct operation of a PID namespace. In this case, a subsequent "
143 "B<fork>(2) into this PID namespace fail with the error B<ENOMEM>; it is not "
144 "possible to create a new process in a PID namespace whose \"init\" process "
145 "has terminated. Such scenarios can occur when, for example, a process uses "
146 "an open file descriptor for a I</proc/>pidI</ns/pid> file corresponding to a "
147 "process that was in a namespace to B<setns>(2) into that namespace after "
148 "the \"init\" process has terminated. Another possible scenario can occur "
149 "after a call to B<unshare>(2): if the first child subsequently created by a "
150 "B<fork>(2) terminates, then subsequent calls to B<fork>(2) fail with "
151 "B<ENOMEM>."
152 msgstr ""
153 "Dacă procesul „init” al unui spațiu de nume PID se încheie, nucleul încheie "
154 "toate procesele din spațiul de nume prin intermediul unui semnal B<SIGKILL>. "
155 "Acest comportament reflectă faptul că procesul „init” este esențial pentru "
156 "funcționarea corectă a unui spațiu de nume PID. În acest caz, un B<fork>(2) "
157 "ulterior în acest spațiu de nume PID eșuează cu eroarea B<ENOMEM>; nu este "
158 "posibilă crearea unui proces nou într-un spațiu de nume PID al cărui proces "
159 "„init” s-a încheiat. Astfel de scenarii pot apărea atunci când, de exemplu, "
160 "un proces utilizează un descriptor de fișier deschis pentru un fișier I</"
161 "proc/>pidI</ns/pid> corespunzător unui proces care se afla într-un spațiu de "
162 "nume pentru a B<setns>(2) în acel spațiu de nume după ce procesul „init” s-a "
163 "încheiat. Un alt scenariu posibil poate apărea după un apel la "
164 "B<unshare>(2): dacă primul copil creat ulterior de un B<fork>(2) se termină, "
165 "atunci apelurile ulterioare la B<fork>(2) eșuează cu B<ENOMEM>."
166
167 #. type: Plain text
168 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
169 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
170 msgid ""
171 "Only signals for which the \"init\" process has established a signal handler "
172 "can be sent to the \"init\" process by other members of the PID namespace. "
173 "This restriction applies even to privileged processes, and prevents other "
174 "members of the PID namespace from accidentally killing the \"init\" process."
175 msgstr ""
176 "Doar semnalele pentru care procesul „init” a stabilit un gestionar de "
177 "semnale pot fi trimise procesului „init” de către alți membri ai spațiului "
178 "de nume PID. Această restricție se aplică chiar și proceselor privilegiate "
179 "și previne omorârea accidentală a procesului „init” de către alți membri ai "
180 "spațiului de nume PID."
181
182 #. type: Plain text
183 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
184 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
185 msgid ""
186 "Likewise, a process in an ancestor namespace can\\[em]subject to the usual "
187 "permission checks described in B<kill>(2)\\[em]send signals to the \"init\" "
188 "process of a child PID namespace only if the \"init\" process has "
189 "established a handler for that signal. (Within the handler, the "
190 "I<siginfo_t> I<si_pid> field described in B<sigaction>(2) will be zero.) "
191 "B<SIGKILL> or B<SIGSTOP> are treated exceptionally: these signals are "
192 "forcibly delivered when sent from an ancestor PID namespace. Neither of "
193 "these signals can be caught by the \"init\" process, and so will result in "
194 "the usual actions associated with those signals (respectively, terminating "
195 "and stopping the process)."
196 msgstr ""
197 "De asemenea, un proces dintr-un spațiu de nume antecesor poate trimite "
198 "semnale către procesul „init” al unui spațiu de nume PID copil numai dacă "
199 "procesul „init” a stabilit un gestionar pentru semnalul respectiv -- sub "
200 "rezerva verificărilor obișnuite ale permisiunilor descrise în B<kill>(2) --; "
201 "(în cadrul gestionarului, câmpul I<siginfo_t> I<si_pid> descris în "
202 "B<sigaction>(2) va fi zero). B<SIGKILL> sau B<SIGSTOP> sunt tratate în mod "
203 "excepțional: aceste semnale sunt livrate forțat atunci când sunt trimise "
204 "dintr-un spațiu de nume PID antecesor. Niciunul dintre aceste semnale nu "
205 "poate fi capturat de procesul „init” și, prin urmare, va duce la acțiunile "
206 "obișnuite asociate acestor semnale (respectiv, terminarea și oprirea "
207 "procesului)."
208
209 #
210 #. ============================================================
211 #. type: Plain text
212 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
213 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
214 msgid ""
215 "Starting with Linux 3.4, the B<reboot>(2) system call causes a signal to be "
216 "sent to the namespace \"init\" process. See B<reboot>(2) for more details."
217 msgstr ""
218 "Începând cu Linux 3.4, apelul de sistem B<reboot>(2) face ca un semnal să "
219 "fie trimis către procesul „init” din spațiul de nume. Consultați "
220 "B<reboot>(2) pentru mai multe detalii."
221
222 #. type: SS
223 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
224 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
225 #, no-wrap
226 msgid "Nesting PID namespaces"
227 msgstr "Imbricarea spațiilor de nume PID"
228
229 #. commit f2302505775fd13ba93f034206f1e2a587017929
230 #. The kernel constant MAX_PID_NS_LEVEL
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 "PID namespaces can be nested: each PID namespace has a parent, except for "
236 "the initial (\"root\") PID namespace. The parent of a PID namespace is the "
237 "PID namespace of the process that created the namespace using B<clone>(2) "
238 "or B<unshare>(2). PID namespaces thus form a tree, with all namespaces "
239 "ultimately tracing their ancestry to the root namespace. Since Linux 3.7, "
240 "the kernel limits the maximum nesting depth for PID namespaces to 32."
241 msgstr ""
242 "Spațiile de nume PID pot fi imbricate: fiecare spațiu de nume PID are un "
243 "părinte, cu excepția spațiului de nume PID inițial („rădăcină”). Părintele "
244 "unui spațiu de nume PID este spațiul de nume PID al procesului care a creat "
245 "spațiul de nume utilizând B<clone>(2) sau B<unshare>(2). Spațiile de nume "
246 "PID formează astfel un arbore, toate spațiile de nume urmându-și strămoșii "
247 "până la spațiul de nume rădăcină. Începând cu Linux 3.7, nucleul limitează "
248 "la 32 adâncimea maximă de imbricare pentru spațiile de nume PID."
249
250 #. type: Plain text
251 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
252 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
253 msgid ""
254 "A process is visible to other processes in its PID namespace, and to the "
255 "processes in each direct ancestor PID namespace going back to the root PID "
256 "namespace. In this context, \"visible\" means that one process can be the "
257 "target of operations by another process using system calls that specify a "
258 "process ID. Conversely, the processes in a child PID namespace can't see "
259 "processes in the parent and further removed ancestor namespaces. More "
260 "succinctly: a process can see (e.g., send signals with B<kill>(2), set nice "
261 "values with B<setpriority>(2), etc.) only processes contained in its own PID "
262 "namespace and in descendants of that namespace."
263 msgstr ""
264 "Un proces este vizibil pentru alte procese din spațiul său de nume PID și "
265 "pentru procesele din fiecare spațiu de nume PID ancestru direct până la "
266 "spațiul de nume PID rădăcină. În acest context, „vizibil” înseamnă că un "
267 "proces poate fi ținta operațiilor unui alt proces care utilizează apeluri "
268 "sistem care specifică un ID de proces. Invers, procesele dintr-un spațiu de "
269 "nume PID copil nu pot vedea procesele din spațiul de nume părinte și din "
270 "spațiile de nume ancestru mai îndepărtate. Mai succint: un proces poate "
271 "vedea (de exemplu, poate trimite semnale cu B<kill>(2), poate stabili valori "
272 "de curtoazie (nice) cu B<setpriority>(2) etc.) numai proceselor conținute în "
273 "propriul său spațiu de nume PID și în descendenții acestui spațiu de nume."
274
275 #. type: Plain text
276 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
277 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
278 msgid ""
279 "A process has one process ID in each of the layers of the PID namespace "
280 "hierarchy in which is visible, and walking back though each direct ancestor "
281 "namespace through to the root PID namespace. System calls that operate on "
282 "process IDs always operate using the process ID that is visible in the PID "
283 "namespace of the caller. A call to B<getpid>(2) always returns the PID "
284 "associated with the namespace in which the process was created."
285 msgstr ""
286 "Un proces are un ID de proces în fiecare dintre straturile ierarhiei "
287 "spațiului de nume PID în care este vizibil și se deplasează înapoi prin "
288 "fiecare spațiu de nume ancestru direct până la spațiul de nume PID rădăcină. "
289 "Apelurile sistemului care operează asupra ID-urilor de proces operează "
290 "întotdeauna folosind ID-ul de proces care este vizibil în spațiul de nume "
291 "PID al apelantului. Un apel la B<getpid>(2) returnează întotdeauna PID-ul "
292 "asociat cu spațiul de nume în care a fost creat procesul."
293
294 #. type: Plain text
295 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
296 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
297 msgid ""
298 "Some processes in a PID namespace may have parents that are outside of the "
299 "namespace. For example, the parent of the initial process in the namespace "
300 "(i.e., the B<init>(1) process with PID 1) is necessarily in another "
301 "namespace. Likewise, the direct children of a process that uses "
302 "B<setns>(2) to cause its children to join a PID namespace are in a "
303 "different PID namespace from the caller of B<setns>(2). Calls to "
304 "B<getppid>(2) for such processes return 0."
305 msgstr ""
306 "Unele procese dintr-un spațiu de nume PID pot avea părinți care sunt în "
307 "afara spațiului de nume. De exemplu, părintele procesului inițial din "
308 "spațiul de nume (și anume, procesul B<init>(1) cu PID 1) se află în mod "
309 "necesar într-un alt spațiu de nume. De asemenea, copiii direcți ai unui "
310 "proces care utilizează B<setns>(2) pentru a determina copiii săi să se "
311 "alăture unui spațiu de nume PID se află într-un spațiu de nume PID diferit "
312 "de cel care apelează B<setns>(2). Apelurile la B<getppid>(2) pentru astfel "
313 "de procese returnează 0."
314
315 #. type: Plain text
316 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
317 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
318 msgid ""
319 "While processes may freely descend into child PID namespaces (e.g., using "
320 "B<setns>(2) with a PID namespace file descriptor), they may not move in the "
321 "other direction. That is to say, processes may not enter any ancestor "
322 "namespaces (parent, grandparent, etc.). Changing PID namespaces is a one-"
323 "way operation."
324 msgstr ""
325 "În timp ce procesele pot coborî liber în spațiile de nume PID copil (de "
326 "exemplu, utilizând B<setns>(2) cu un descriptor de fișier de spațiu de nume "
327 "PID), acestea nu se pot deplasa în direcția opusă. Cu alte cuvinte, "
328 "procesele nu pot intra în niciun spațiu de nume ancestru (părinte, bunic "
329 "etc.). Schimbarea spațiilor de nume PID este o operație unidirecțională."
330
331 #
332 #. ============================================================
333 #. type: Plain text
334 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
335 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
336 msgid ""
337 "The B<NS_GET_PARENT> B<ioctl>(2) operation can be used to discover the "
338 "parental relationship between PID namespaces; see B<ioctl_nsfs>(2)."
339 msgstr ""
340 "Operația B<NS_GET_PARENT> B<ioctl>(2) poate fi utilizată pentru a descoperi "
341 "relația parentală dintre spațiile de nume PID; a se vedea B<ioctl_nsfs>(2)."
342
343 #. type: SS
344 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
345 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
346 #, no-wrap
347 msgid "setns(2) and unshare(2) semantics"
348 msgstr "Semanticele setns(2) și unshare(2)"
349
350 #. type: Plain text
351 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
352 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
353 msgid ""
354 "Calls to B<setns>(2) that specify a PID namespace file descriptor and calls "
355 "to B<unshare>(2) with the B<CLONE_NEWPID> flag cause children subsequently "
356 "created by the caller to be placed in a different PID namespace from the "
357 "caller. (Since Linux 4.12, that PID namespace is shown via the I</proc/"
358 ">pidI</ns/pid_for_children> file, as described in B<namespaces>(7).) These "
359 "calls do not, however, change the PID namespace of the calling process, "
360 "because doing so would change the caller's idea of its own PID (as reported "
361 "by B<getpid>()), which would break many applications and libraries."
362 msgstr ""
363 "Apelurile la B<setns>(2) care specifică un descriptor de fișier al spațiului "
364 "de nume PID și apelurile la B<unshare>(2) cu fanionul B<CLONE_NEWPID> "
365 "determină ca procesele-copil create ulterior de apelant să fie plasate într-"
366 "un spațiu de nume PID diferit de cel al apelantului; (începând cu Linux "
367 "4.12, acel spațiu de nume PID este indicat prin intermediul fișierului I</"
368 "proc/>pidI</ns/pid_for_children>, așa cum este descris în B<namespaces>(7)). "
369 "Cu toate acestea, aceste apeluri nu modifică spațiul de nume PID al "
370 "procesului apelant, deoarece acest lucru ar schimba ideea apelantului despre "
371 "propriul său PID (așa cum este raportat de B<getpid>()), ceea ce ar rupe "
372 "multe aplicații și biblioteci."
373
374 #. type: Plain text
375 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
376 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
377 msgid ""
378 "To put things another way: a process's PID namespace membership is "
379 "determined when the process is created and cannot be changed thereafter. "
380 "Among other things, this means that the parental relationship between "
381 "processes mirrors the parental relationship between PID namespaces: the "
382 "parent of a process is either in the same namespace or resides in the "
383 "immediate parent PID namespace."
384 msgstr ""
385 "Altfel spus: apartenența unui proces la spațiul de nume PID este determinată "
386 "la crearea procesului și nu poate fi modificată ulterior. Printre altele, "
387 "aceasta înseamnă că relația parentală dintre procese reflectă relația "
388 "parentală dintre spațiile de nume PID: părintele unui proces fie se află în "
389 "același spațiu de nume, fie se află în spațiul de nume PID al părintelui "
390 "imediat."
391
392 #
393 #. ============================================================
394 #. type: Plain text
395 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
396 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
397 msgid ""
398 "A process may call B<unshare>(2) with the B<CLONE_NEWPID> flag only once. "
399 "After it has performed this operation, its I</proc/>pidI</ns/"
400 "pid_for_children> symbolic link will be empty until the first child is "
401 "created in the namespace."
402 msgstr ""
403 "Un proces poate apela B<unshare>(2) cu fanionul B<CLONE_NEWPID> o singură "
404 "dată. După ce a efectuat această operație, legătura sa simbolică I</proc/"
405 ">pidI</ns/pid_for_children> va fi goală până când primul proces-copil este "
406 "creat în spațiul de nume."
407
408 #. type: SS
409 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
410 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
411 #, no-wrap
412 msgid "Adoption of orphaned children"
413 msgstr "Adoptarea proceselor-copil orfane"
414
415 #
416 #. Furthermore, by definition, the parent of the "init" process
417 #. of a PID namespace resides in the parent PID namespace.
418 #. ============================================================
419 #. type: Plain text
420 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
421 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
422 msgid ""
423 "When a child process becomes orphaned, it is reparented to the \"init\" "
424 "process in the PID namespace of its parent (unless one of the nearer "
425 "ancestors of the parent employed the B<prctl>(2) B<PR_SET_CHILD_SUBREAPER> "
426 "command to mark itself as the reaper of orphaned descendant processes). "
427 "Note that because of the B<setns>(2) and B<unshare>(2) semantics described "
428 "above, this may be the \"init\" process in the PID namespace that is the "
429 "I<parent> of the child's PID namespace, rather than the \"init\" process in "
430 "the child's own PID namespace."
431 msgstr ""
432 "Când un proces-copil devine orfan, acesta este transferat către procesul "
433 "„init” din spațiul de nume PID al părintelui său (cu excepția cazului în "
434 "care unul dintre strămoșii mai apropiați ai părintelui a utilizat comanda "
435 "B<prctl>(2) B<PR_SET_CHILD_SUBREAPER> pentru a se marca drept colector al "
436 "proceselor descendente orfane). Rețineți că, din cauza semanticii "
437 "B<setns>(2) și B<unshare>(2) descrise mai sus, acesta poate fi procesul "
438 "„init” din spațiul de nume PID care este I<părintele> spațiului de nume PID "
439 "al copilului, mai degrabă decât procesul „init” din propriul spațiu de nume "
440 "PID al procesului-copil."
441
442 #. type: SS
443 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
444 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
445 #, no-wrap
446 msgid "Compatibility of CLONE_NEWPID with other CLONE_* flags"
447 msgstr "Compatibilitatea CLONE_NEWPID cu alte fanioane CLONE_*"
448
449 #. type: Plain text
450 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
451 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
452 msgid ""
453 "In current versions of Linux, B<CLONE_NEWPID> can't be combined with "
454 "B<CLONE_THREAD>. Threads are required to be in the same PID namespace such "
455 "that the threads in a process can send signals to each other. Similarly, it "
456 "must be possible to see all of the threads of a process in the B<proc>(5) "
457 "filesystem. Additionally, if two threads were in different PID namespaces, "
458 "the process ID of the process sending a signal could not be meaningfully "
459 "encoded when a signal is sent (see the description of the I<siginfo_t> type "
460 "in B<sigaction>(2)). Since this is computed when a signal is enqueued, a "
461 "signal queue shared by processes in multiple PID namespaces would defeat "
462 "that."
463 msgstr ""
464 "În versiunile curente de Linux, B<CLONE_NEWPID> nu poate fi combinat cu "
465 "B<CLONE_THREAD>. Firele trebuie să se afle în același spațiu de nume PID, "
466 "astfel încât firele dintr-un proces să își poată trimite semnale între ele. "
467 "În mod similar, trebuie să fie posibil să se vadă toate firele unui proces "
468 "în sistemul de fișiere B<proc>(5). În plus, dacă două fire de execuție se "
469 "află în spații de nume PID diferite, ID-ul procesului care trimite un semnal "
470 "nu poate fi codificat în mod semnificativ atunci când se trimite un semnal "
471 "(a se vedea descrierea tipului I<siginfo_t> în B<sigaction>(2)). Deoarece "
472 "acesta este calculat atunci când un semnal este pus la coadă, o coadă de "
473 "semnale partajată de procese în mai multe spații de nume PID ar împiedica "
474 "acest lucru."
475
476 #
477 #. Note these restrictions were all introduced in
478 #. 8382fcac1b813ad0a4e68a838fc7ae93fa39eda0
479 #. when CLONE_NEWPID|CLONE_VM was disallowed
480 #. (restriction lifted in faf00da544045fdc1454f3b9e6d7f65c841de302)
481 #. (restriction lifted in e79f525e99b04390ca4d2366309545a836c03bf1)
482 #. ============================================================
483 #. type: Plain text
484 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
485 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
486 msgid ""
487 "In earlier versions of Linux, B<CLONE_NEWPID> was additionally disallowed "
488 "(failing with the error B<EINVAL>) in combination with B<CLONE_SIGHAND> "
489 "(before Linux 4.3) as well as B<CLONE_VM> (before Linux 3.12). The changes "
490 "that lifted these restrictions have also been ported to earlier stable "
491 "kernels."
492 msgstr ""
493 "În versiunile anterioare de Linux, B<CLONE_NEWPID> era în plus interzis "
494 "(eșuând cu eroarea B<EINVAL>) în combinație cu B<CLONE_SIGHAND> (înainte de "
495 "Linux 4.3), precum și cu B<CLONE_VM> (înainte de Linux 3.12). Modificările "
496 "care au eliminat aceste restricții au fost, de asemenea, adaptate la "
497 "nucleele stabile anterioare."
498
499 #. type: SS
500 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
501 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
502 #, no-wrap
503 msgid "/proc and PID namespaces"
504 msgstr "/proc și spațiile de nume PID"
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 "A I</proc> filesystem shows (in the I</proc/>pid directories) only processes "
511 "visible in the PID namespace of the process that performed the mount, even "
512 "if the I</proc> filesystem is viewed from processes in other namespaces."
513 msgstr ""
514 "Un sistem de fișiere I</proc> afișează (în directoarele I</proc/>pid) numai "
515 "procesele vizibile în spațiul de nume PID al procesului care a efectuat "
516 "montarea, chiar dacă sistemul de fișiere I</proc> este vizualizat de procese "
517 "din alte spații de nume."
518
519 #. type: Plain text
520 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
521 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
522 msgid ""
523 "After creating a new PID namespace, it is useful for the child to change its "
524 "root directory and mount a new procfs instance at I</proc> so that tools "
525 "such as B<ps>(1) work correctly. If a new mount namespace is "
526 "simultaneously created by including B<CLONE_NEWNS> in the I<flags> argument "
527 "of B<clone>(2) or B<unshare>(2), then it isn't necessary to change the root "
528 "directory: a new procfs instance can be mounted directly over I</proc>."
529 msgstr ""
530 "După crearea unui nou spațiu de nume PID, este util pentru procesul-copil să "
531 "își schimbe directorul rădăcină și să monteze o nouă instanță «procfs» la I</"
532 "proc>, astfel încât instrumente precum B<ps>(1) să funcționeze corect. Dacă "
533 "un nou spațiu de nume de montare este creat simultan prin includerea "
534 "B<CLONE_NEWNS> în argumentul I<fanioane> al B<clone>(2) sau B<unshare>(2), "
535 "atunci nu este necesar să se schimbe directorul rădăcină: o nouă instanță "
536 "«procfs» poate fi montată direct pe I</proc>."
537
538 #. type: Plain text
539 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
540 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
541 msgid "From a shell, the command to mount I</proc> is:"
542 msgstr "Dintr-un shell, comanda pentru a monta I</proc> este:"
543
544 #. type: Plain text
545 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
546 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
547 #, no-wrap
548 msgid "$ mount -t proc proc /proc\n"
549 msgstr "$ mount -t proc proc /proc\n"
550
551 #
552 #. ============================================================
553 #. type: Plain text
554 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
555 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
556 msgid ""
557 "Calling B<readlink>(2) on the path I</proc/self> yields the process ID of "
558 "the caller in the PID namespace of the procfs mount (i.e., the PID namespace "
559 "of the process that mounted the procfs). This can be useful for "
560 "introspection purposes, when a process wants to discover its PID in other "
561 "namespaces."
562 msgstr ""
563 "Apelarea B<readlink>(2) pe ruta I</proc/self> produce ID-ul procesului "
564 "apelantului în spațiul de nume PID al montării «procfs» (adică spațiul de "
565 "nume PID al procesului care a montat „procfs”). Acest lucru poate fi util în "
566 "scopuri de introspecție, atunci când un proces dorește să își descopere PID-"
567 "ul în alte spații de nume."
568
569 #. type: SS
570 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
571 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
572 #, no-wrap
573 msgid "/proc files"
574 msgstr "Fișiere /proc"
575
576 #. type: TP
577 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
578 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
579 #, no-wrap
580 msgid "B</proc/sys/kernel/ns_last_pid> (since Linux 3.3)"
581 msgstr "B</proc/sys/kernel/ns_last_pid> (începând cu Linux 3.3)"
582
583 #. commit b8f566b04d3cddd192cfd2418ae6d54ac6353792
584 #. type: Plain text
585 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
586 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
587 msgid ""
588 "This file (which is virtualized per PID namespace) displays the last PID "
589 "that was allocated in this PID namespace. When the next PID is allocated, "
590 "the kernel will search for the lowest unallocated PID that is greater than "
591 "this value, and when this file is subsequently read it will show that PID."
592 msgstr ""
593 "Acest fișier (care este virtualizat pentru fiecare spațiu de nume PID) "
594 "afișează ultimul PID care a fost alocat în acest spațiu de nume PID. Atunci "
595 "când următorul PID este alocat, nucleul va căuta cel mai mic PID nealocat "
596 "care este mai mare decât această valoare, iar atunci când acest fișier este "
597 "citit ulterior, va afișa acel PID."
598
599 #
600 #. This ability is necessary to support checkpoint restore in user-space
601 #. ============================================================
602 #. type: Plain text
603 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
604 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
605 msgid ""
606 "This file is writable by a process that has the B<CAP_SYS_ADMIN> or (since "
607 "Linux 5.9) B<CAP_CHECKPOINT_RESTORE> capability inside the user namespace "
608 "that owns the PID namespace. This makes it possible to determine the PID "
609 "that is allocated to the next process that is created inside this PID "
610 "namespace."
611 msgstr ""
612 "Acest fișier poate fi scris de către un proces care are capacitatea "
613 "B<CAP_SYS_ADMIN> sau (începând cu Linux 5.9) B<CAP_CHECKPOINT_RESTORE> în "
614 "spațiul de nume al utilizatorului care deține spațiul de nume PID. Acest "
615 "lucru face posibilă determinarea PID-ului care este alocat următorului "
616 "proces care este creat în acest spațiu de nume PID."
617
618 #. type: SS
619 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
620 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
621 #, no-wrap
622 msgid "Miscellaneous"
623 msgstr "Diverse"
624
625 #. type: Plain text
626 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
627 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
628 msgid ""
629 "When a process ID is passed over a UNIX domain socket to a process in a "
630 "different PID namespace (see the description of B<SCM_CREDENTIALS> in "
631 "B<unix>(7)), it is translated into the corresponding PID value in the "
632 "receiving process's PID namespace."
633 msgstr ""
634 "Atunci când un ID de proces este transmis printr-un soclu de domeniu UNIX "
635 "unui proces dintr-un spațiu de nume PID diferit (a se vedea descrierea "
636 "B<SCM_CREDENTIALS> în B<unix>(7)), acesta este tradus în valoarea PID "
637 "corespunzătoare în spațiul de nume PID al procesului receptor."
638
639 #. type: SH
640 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
641 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
642 #, no-wrap
643 msgid "STANDARDS"
644 msgstr "STANDARDE"
645
646 #. type: Plain text
647 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
648 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
649 msgid "Linux."
650 msgstr "Linux."
651
652 #. type: SH
653 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
654 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
655 #, no-wrap
656 msgid "EXAMPLES"
657 msgstr "EXEMPLE"
658
659 #. type: Plain text
660 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
661 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
662 msgid "See B<user_namespaces>(7)."
663 msgstr "A se vedea B<user_namespaces>(7)."
664
665 #. type: SH
666 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
667 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
668 #, no-wrap
669 msgid "SEE ALSO"
670 msgstr "CONSULTAȚI ȘI"
671
672 #. type: Plain text
673 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
674 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
675 msgid ""
676 "B<clone>(2), B<reboot>(2), B<setns>(2), B<unshare>(2), B<proc>(5), "
677 "B<capabilities>(7), B<credentials>(7), B<mount_namespaces>(7), "
678 "B<namespaces>(7), B<user_namespaces>(7), B<switch_root>(8)"
679 msgstr ""
680 "B<clone>(2), B<reboot>(2), B<setns>(2), B<unshare>(2), B<proc>(5), "
681 "B<capabilities>(7), B<credentials>(7), B<mount_namespaces>(7), "
682 "B<namespaces>(7), B<user_namespaces>(7), B<switch_root>(8)"
683
684 #. type: TH
685 #: debian-trixie fedora-44 fedora-rawhide
686 #, no-wrap
687 msgid "2024-06-13"
688 msgstr "13 iunie 2024"
689
690 #. type: TH
691 #: debian-trixie
692 #, no-wrap
693 msgid "Linux man-pages 6.9.1"
694 msgstr "Pagini de manual de Linux 6.9.1"
695
696 #. type: TH
697 #: fedora-44 fedora-rawhide
698 #, no-wrap
699 msgid "Linux man-pages 6.13"
700 msgstr "Pagini de manual de Linux 6.13"
701
702 #. type: TH
703 #: mageia-cauldron
704 #, no-wrap
705 msgid "Linux man-pages 6.17"
706 msgstr "Pagini de manual de Linux 6.17"
707
708 #. type: TH
709 #: opensuse-leap-16-1 opensuse-tumbleweed
710 #, no-wrap
711 msgid "Linux man-pages (unreleased)"
712 msgstr "Pagini de manual Linux (nepublicate)"