Debian Codegraph @

po/ar/man7/pid_namespaces.7.po

raw
1 # Arabic translation of manpages
2 # This file is distributed under the same license as the manpages-l10n package.
3 # Copyright © of this file:
4 # زايد السعيدي <[email protected]>, 2026.
5 msgid ""
6 msgstr ""
7 "Project-Id-Version: manpages-l10n\n"
8 "POT-Creation-Date: 2026-06-05 06:34+0200\n"
9 "PO-Revision-Date: 2026-06-03 04:49+0400\n"
10 "Last-Translator: Zayed Al-Saidi <[email protected]>\n"
11 "Language-Team: Arabic <[email protected]>\n"
12 "Language: ar\n"
13 "MIME-Version: 1.0\n"
14 "Content-Type: text/plain; charset=UTF-8\n"
15 "Content-Transfer-Encoding: 8bit\n"
16 ".MIME-Version: 1.0\n"
17 "Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 "
18 "&& n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n"
19 "X-Generator: Lokalize 23.08.5\n"
20
21 #. type: TH
22 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
23 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
24 #, no-wrap
25 msgid "pid_namespaces"
26 msgstr "pid_namespaces"
27
28 #. type: TH
29 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
30 #: opensuse-tumbleweed
31 #, no-wrap
32 msgid "2026-02-08"
33 msgstr "8 فبراير 2026"
34
35 #. type: TH
36 #: archlinux debian-unstable
37 #, no-wrap
38 msgid "Linux man-pages 6.18"
39 msgstr "صفحات دليل لينكس 6.18"
40
41 #. type: SH
42 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
43 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
44 #, no-wrap
45 msgid "NAME"
46 msgstr "الاسم"
47
48 #. type: Plain text
49 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
50 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
51 msgid "pid_namespaces - overview of Linux PID namespaces"
52 msgstr "pid_namespaces - نظرة عامة على مساحات أسماء PID في لينكس"
53
54 #. type: SH
55 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
56 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
57 #, no-wrap
58 msgid "DESCRIPTION"
59 msgstr "الوصف"
60
61 #. type: Plain text
62 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
63 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
64 msgid "For an overview of namespaces, see B<namespaces>(7)."
65 msgstr "للحصول على نظرة عامة على مساحات الأسماء، انظر 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 "تعزل مساحات أسماء PID فضاء أرقام معرفات العمليات، مما يعني أن العمليات في "
78 "مساحات أسماء PID مختلفة يمكن أن تمتلك نفس PID. تسمح مساحات أسماء PID "
79 "للحاويات بتوفير وظائف مثل تعليق/استئناف مجموعة العمليات في الحاوية وترحيل "
80 "الحاوية إلى مضيف جديد مع احتفاظ العمليات داخل الحاوية بنفس معرفات PID."
81
82 #. type: Plain text
83 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
84 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
85 msgid ""
86 "PIDs in a new PID namespace start at 1, somewhat like a standalone system, "
87 "and calls to B<fork>(2), B<vfork>(2), or B<clone>(2) will produce processes "
88 "with PIDs that are unique within the namespace."
89 msgstr ""
90 "تبدأ معرفات PID في مساحة أسماء PID جديدة من 1، بشكل يشبه النظام المستقل، "
91 "وتنتج استدعاءات B<fork>(2) أو B<vfork>(2) أو B<clone>(2) عمليات ذات معرفات "
92 "PID فريدة داخل مساحة الاسم."
93
94 #
95 #. ============================================================
96 #. type: Plain text
97 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
98 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
99 msgid ""
100 "Use of PID namespaces requires a kernel that is configured with the "
101 "B<CONFIG_PID_NS> option."
102 msgstr "يتطلب استخدام مساحات أسماء PID نواة مكونة مع الخيار B<CONFIG_PID_NS>."
103
104 #. type: SS
105 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
106 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
107 #, no-wrap
108 msgid "The namespace init process"
109 msgstr "عملية init لمساحة الاسم"
110
111 #. type: Plain text
112 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
113 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
114 msgid ""
115 "The first process created in a new namespace (i.e., the process created "
116 "using B<clone>(2) with the B<CLONE_NEWPID> flag, or the first child created "
117 "by a process after a call to B<unshare>(2) using the B<CLONE_NEWPID> flag) "
118 "has the PID 1, and is the \"init\" process for the namespace (see "
119 "B<init>(1)). This process becomes the parent of any child processes that "
120 "are orphaned because a process that resides in this PID namespace terminated "
121 "(see below for further details)."
122 msgstr ""
123 "تمتلك أول عملية منشأة في مساحة اسم جديدة (أي العملية المنشأة باستخدام "
124 "B<clone>(2) مع العلم B<CLONE_NEWPID>، أو أول طفل منشأ بواسطة عملية بعد "
125 "استدعاء B<unshare>(2) باستخدام العلم B<CLONE_NEWPID>) PID 1، وهي عملية "
126 "\"init\" لمساحة الاسم (انظر B<init>(1)). تصبح هذه العملية الوالد لأي عمليات "
127 "طفل يتيمة بسبب إنهاء عملية تقع في مساحة اسم PID هذه (انظر أدناه لمزيد من "
128 "التفاصيل)."
129
130 #. type: Plain text
131 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
132 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
133 msgid ""
134 "If the \"init\" process of a PID namespace terminates, the kernel terminates "
135 "all of the processes in the namespace via a B<SIGKILL> signal. This "
136 "behavior reflects the fact that the \"init\" process is essential for the "
137 "correct operation of a PID namespace. In this case, a subsequent "
138 "B<fork>(2) into this PID namespace fail with the error B<ENOMEM>; it is not "
139 "possible to create a new process in a PID namespace whose \"init\" process "
140 "has terminated. Such scenarios can occur when, for example, a process uses "
141 "an open file descriptor for a I</proc/>pidI</ns/pid> file corresponding to a "
142 "process that was in a namespace to B<setns>(2) into that namespace after "
143 "the \"init\" process has terminated. Another possible scenario can occur "
144 "after a call to B<unshare>(2): if the first child subsequently created by a "
145 "B<fork>(2) terminates, then subsequent calls to B<fork>(2) fail with "
146 "B<ENOMEM>."
147 msgstr ""
148 "إذا أنهيت عملية \"init\" لمساحة اسم PID، تنهي النواة جميع العمليات في مساحة "
149 "الاسم عبر إشارة B<SIGKILL>. يعكس هذا السلوك حقيقة أن عملية \"init\" أساسية "
150 "للتشغيل الصحيح لمساحة اسم PID. في هذه الحالة، يفشل استدعاء B<fork>(2) لاحق "
151 "إلى مساحة اسم PID هذه مع الخطأ B<ENOMEM>؛ لا يمكن إنشاء عملية جديدة في مساحة "
152 "اسم PID التي أنهيت عملية \"init\" الخاصة بها. يمكن أن تحدث مثل هذه "
153 "السيناريوهات عندما، على سبيل المثال، تستخدم عملية واصف ملف مفتوح لملف I</"
154 "proc/>pidI</ns/pid> مطابق لعملية كانت في مساحة اسم لـ B<setns>(2) إلى تلك "
155 "المساحة بعد إنهاء عملية \"init\". يمكن أن يحدث سيناريو آخر محتمل بعد استدعاء "
156 "B<unshare>(2): إذا أنهي أول طفل منشأ لاحقًا بواسطة B<fork>(2)، فإن استدعاءات "
157 "B<fork>(2) اللاحقة تفشل مع B<ENOMEM>."
158
159 #. type: Plain text
160 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
161 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
162 msgid ""
163 "Only signals for which the \"init\" process has established a signal handler "
164 "can be sent to the \"init\" process by other members of the PID namespace. "
165 "This restriction applies even to privileged processes, and prevents other "
166 "members of the PID namespace from accidentally killing the \"init\" process."
167 msgstr ""
168 "يمكن إرسال الإشارات التي أنشأت عملية \"init\" معالج إشارة لها فقط إلى عملية "
169 "\"init\" بواسطة أعضاء آخرين في مساحة اسم PID. ينطبق هذا التقييد حتى على "
170 "العمليات المميزة، ويمنع الأعضاء الآخرين في مساحة اسم PID من قتل عملية "
171 "\"init\" عن طريق الخطأ."
172
173 #. type: Plain text
174 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
175 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
176 msgid ""
177 "Likewise, a process in an ancestor namespace can\\[em]subject to the usual "
178 "permission checks described in B<kill>(2)\\[em]send signals to the \"init\" "
179 "process of a child PID namespace only if the \"init\" process has "
180 "established a handler for that signal. (Within the handler, the "
181 "I<siginfo_t> I<si_pid> field described in B<sigaction>(2) will be zero.) "
182 "B<SIGKILL> or B<SIGSTOP> are treated exceptionally: these signals are "
183 "forcibly delivered when sent from an ancestor PID namespace. Neither of "
184 "these signals can be caught by the \"init\" process, and so will result in "
185 "the usual actions associated with those signals (respectively, terminating "
186 "and stopping the process)."
187 msgstr ""
188 "وبالمثل، يمكن لعملية في مساحة اسم سلف\\[em]مع مراعاة فحوصات الإذن المعتادة "
189 "الموصوفة في B<kill>(2)\\[em]إرسال إشارات إلى عملية \"init\" لمساحة اسم PID "
190 "فرعية فقط إذا أنشأت عملية \"init\" معالجًا لتلك الإشارة. (داخل المعالج، سيكون "
191 "حقل I<siginfo_t> I<si_pid> الموصوف في B<sigaction>(2) صفرًا.) تُعامل "
192 "B<SIGKILL> أو B<SIGSTOP> بشكل استثنائي: تُسلم هذه الإشارات قسرًا عند إرسالها "
193 "من مساحة اسم PID سلف. لا يمكن لعملية \"init\" التقاط أي من هاتين الإشارتين، "
194 "وبالتالي ستؤدي إلى الإجراءات المعتادة المرتبطة بتلك الإشارات (إنهاء العملية "
195 "وإيقافها على التوالي)."
196
197 #
198 #. ============================================================
199 #. type: Plain text
200 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
201 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
202 msgid ""
203 "Starting with Linux 3.4, the B<reboot>(2) system call causes a signal to be "
204 "sent to the namespace \"init\" process. See B<reboot>(2) for more details."
205 msgstr ""
206 "بدءًا من لينكس 3.4، يتسبب استدعاء النظام B<reboot>(2) في إرسال إشارة إلى "
207 "عملية \"init\" لمساحة الاسم. انظر B<reboot>(2) لمزيد من التفاصيل."
208
209 #. type: SS
210 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
211 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
212 #, no-wrap
213 msgid "Nesting PID namespaces"
214 msgstr "تداخل مساحات أسماء PID"
215
216 #. commit f2302505775fd13ba93f034206f1e2a587017929
217 #. The kernel constant MAX_PID_NS_LEVEL
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 "PID namespaces can be nested: each PID namespace has a parent, except for "
223 "the initial (\"root\") PID namespace. The parent of a PID namespace is the "
224 "PID namespace of the process that created the namespace using B<clone>(2) "
225 "or B<unshare>(2). PID namespaces thus form a tree, with all namespaces "
226 "ultimately tracing their ancestry to the root namespace. Since Linux 3.7, "
227 "the kernel limits the maximum nesting depth for PID namespaces to 32."
228 msgstr ""
229 "يمكن تداخل مساحات أسماء PID: لكل مساحة اسم PID والد، باستثناء مساحة اسم PID "
230 "الأولية (\"الجذر\"). والد مساحة اسم PID هو مساحة اسم PID للعملية التي أنشأت "
231 "مساحة الاسم باستخدام B<clone>(2) أو B<unshare>(2). تشكل مساحات أسماء PID "
232 "بذلك شجرة، مع تتبع جميع مساحات الاسم نسبها في النهاية إلى مساحة الاسم الجذر. "
233 "منذ لينكس 3.7، تحد النواة أقصى عمق تداخل لمساحات أسماء PID إلى 32."
234
235 #. type: Plain text
236 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
237 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
238 msgid ""
239 "A process is visible to other processes in its PID namespace, and to the "
240 "processes in each direct ancestor PID namespace going back to the root PID "
241 "namespace. In this context, \"visible\" means that one process can be the "
242 "target of operations by another process using system calls that specify a "
243 "process ID. Conversely, the processes in a child PID namespace can't see "
244 "processes in the parent and further removed ancestor namespaces. More "
245 "succinctly: a process can see (e.g., send signals with B<kill>(2), set nice "
246 "values with B<setpriority>(2), etc.) only processes contained in its own PID "
247 "namespace and in descendants of that namespace."
248 msgstr ""
249 "تكون العملية مرئية للعمليات الأخرى في مساحة اسم PID الخاصة بها، وللعمليات في "
250 "كل مساحة اسم PID سلف مباشر عائدًا إلى مساحة اسم PID الجذر. في هذا السياق، "
251 "يعني \"مرئي\" أن عملية يمكن أن تكون هدفًا لعمليات من قبل عملية أخرى باستخدام "
252 "استدعاءات نظام تحدد معرف عملية. على العكس، لا يمكن للعمليات في مساحة اسم PID "
253 "فرعية رؤية العمليات في مساحة الاسم الوالد ومساحات الاسم السلف البعيدة. بشكل "
254 "أكثر إيجازًا: يمكن لعملية رؤية (مثل إرسال إشارات باستخدام B<kill>(2)، تعيين "
255 "قيم nice باستخدام B<setpriority>(2)، إلخ) فقط العمليات الموجودة في مساحة اسم "
256 "PID الخاصة بها وفي سلالات تلك المساحة."
257
258 #. type: Plain text
259 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
260 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
261 msgid ""
262 "A process has one process ID in each of the layers of the PID namespace "
263 "hierarchy in which is visible, and walking back though each direct ancestor "
264 "namespace through to the root PID namespace. System calls that operate on "
265 "process IDs always operate using the process ID that is visible in the PID "
266 "namespace of the caller. A call to B<getpid>(2) always returns the PID "
267 "associated with the namespace in which the process was created."
268 msgstr ""
269 "تمتلك العملية معرف عملية واحد في كل طبقة من طبقات تسلسل مساحة اسم PID التي "
270 "تكون مرئية فيها، والعودة عبر كل مساحة اسم سلف مباشر حتى مساحة اسم PID الجذر. "
271 "تعمل استدعاءات النظام التي تعمل على معرفات العملية دائمًا باستخدام معرف "
272 "العملية المرئي في مساحة اسم PID للمتصل. يعيد استدعاء B<getpid>(2) دائمًا PID "
273 "المرتبط بمساحة الاسم التي أنشئت فيها العملية."
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 "Some processes in a PID namespace may have parents that are outside of the "
280 "namespace. For example, the parent of the initial process in the namespace "
281 "(i.e., the B<init>(1) process with PID 1) is necessarily in another "
282 "namespace. Likewise, the direct children of a process that uses "
283 "B<setns>(2) to cause its children to join a PID namespace are in a "
284 "different PID namespace from the caller of B<setns>(2). Calls to "
285 "B<getppid>(2) for such processes return 0."
286 msgstr ""
287 "قد يكون لبعض العمليات في مساحة اسم PID آباء خارج مساحة الاسم. على سبيل "
288 "المثال، والد العملية الأولية في مساحة الاسم (أي عملية B<init>(1) مع PID 1) "
289 "هو بالضرورة في مساحة اسم أخرى. وبالمثل، فإن الأطفال المباشرين لعملية تستخدم "
290 "B<setns>(2) لجعل أطفالها ينضمون إلى مساحة اسم PID هم في مساحة اسم PID مختلفة "
291 "عن متصل B<setns>(2). تعيد استدعاءات B<getppid>(2) لمثل هذه العمليات 0."
292
293 #. type: Plain text
294 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
295 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
296 msgid ""
297 "While processes may freely descend into child PID namespaces (e.g., using "
298 "B<setns>(2) with a PID namespace file descriptor), they may not move in the "
299 "other direction. That is to say, processes may not enter any ancestor "
300 "namespaces (parent, grandparent, etc.). Changing PID namespaces is a one-"
301 "way operation."
302 msgstr ""
303 "بينما قد تنزل العمليات بحرية إلى مساحات اسم PID فرعية (مثل استخدام "
304 "B<setns>(2) مع واصف ملف مساحة اسم PID)، لا يمكنها التحرك في الاتجاه الآخر. "
305 "أي أن العمليات لا يمكنها دخول أي مساحات اسم سلف (والد، جد، إلخ). تغيير "
306 "مساحات أسماء PID هو عملية باتجاه واحد."
307
308 #
309 #. ============================================================
310 #. type: Plain text
311 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
312 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
313 msgid ""
314 "The B<NS_GET_PARENT> B<ioctl>(2) operation can be used to discover the "
315 "parental relationship between PID namespaces; see B<ioctl_nsfs>(2)."
316 msgstr ""
317 "يمكن استخدام عملية B<NS_GET_PARENT> B<ioctl>(2) لاكتشاف العلاقة الوالدية بين "
318 "مساحات أسماء PID؛ انظر B<ioctl_nsfs>(2)."
319
320 #. type: SS
321 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
322 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
323 #, no-wrap
324 msgid "setns(2) and unshare(2) semantics"
325 msgstr "دلالات setns(2) و unshare(2)"
326
327 #. type: Plain text
328 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
329 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
330 msgid ""
331 "Calls to B<setns>(2) that specify a PID namespace file descriptor and calls "
332 "to B<unshare>(2) with the B<CLONE_NEWPID> flag cause children subsequently "
333 "created by the caller to be placed in a different PID namespace from the "
334 "caller. (Since Linux 4.12, that PID namespace is shown via the I</proc/"
335 ">pidI</ns/pid_for_children> file, as described in B<namespaces>(7).) These "
336 "calls do not, however, change the PID namespace of the calling process, "
337 "because doing so would change the caller's idea of its own PID (as reported "
338 "by B<getpid>()), which would break many applications and libraries."
339 msgstr ""
340 "تتسبب استدعاءات B<setns>(2) التي تحدد واصف ملف مساحة اسم PID واستدعاءات "
341 "B<unshare>(2) مع العلم B<CLONE_NEWPID> في وضع الأطفال المنشأين لاحقًا بواسطة "
342 "المتصل في مساحة اسم PID مختلفة عن المتصل. (منذ لينكس 4.12، تُعرض مساحة اسم "
343 "PID تلك عبر ملف I</proc/>pidI</ns/pid_for_children>، كما هو موصوف في "
344 "B<namespaces>(7).) لا تغير هذه الاستدعاءات، مع ذلك، مساحة اسم PID لعملية "
345 "المتصل، لأن القيام بذلك سيغير فكرة المتصل عن PID الخاص به (كما أبلغ عنها "
346 "B<getpid>())، مما سيكسر العديد من التطبيقات والمكتبات."
347
348 #. type: Plain text
349 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
350 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
351 msgid ""
352 "To put things another way: a process's PID namespace membership is "
353 "determined when the process is created and cannot be changed thereafter. "
354 "Among other things, this means that the parental relationship between "
355 "processes mirrors the parental relationship between PID namespaces: the "
356 "parent of a process is either in the same namespace or resides in the "
357 "immediate parent PID namespace."
358 msgstr ""
359 "لوضع الأمور بطريقة أخرى: تُحدد عضوية مساحة اسم PID للعملية عند إنشاء العملية "
360 "ولا يمكن تغييرها بعد ذلك. من بين أمور أخرى، يعني هذا أن العلاقة الوالدية بين "
361 "العمليات تعكس العلاقة الوالدية بين مساحات أسماء PID: والد العملية إما في نفس "
362 "مساحة الاسم أو يقيم في مساحة اسم PID الوالد المباشر."
363
364 #
365 #. ============================================================
366 #. type: Plain text
367 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
368 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
369 msgid ""
370 "A process may call B<unshare>(2) with the B<CLONE_NEWPID> flag only once. "
371 "After it has performed this operation, its I</proc/>pidI</ns/"
372 "pid_for_children> symbolic link will be empty until the first child is "
373 "created in the namespace."
374 msgstr ""
375 "يمكن لعملية استدعاء B<unshare>(2) مع العلم B<CLONE_NEWPID> مرة واحدة فقط. "
376 "بعد أن تنفذ هذه العملية، سيكون رابطها الرمزي I</proc/>pidI</ns/"
377 "pid_for_children> فارغًا حتى يُنشأ الطفل الأول في مساحة الاسم."
378
379 #. type: SS
380 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
381 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
382 #, no-wrap
383 msgid "Adoption of orphaned children"
384 msgstr "تبني الأطفال اليتامى"
385
386 #
387 #. Furthermore, by definition, the parent of the "init" process
388 #. of a PID namespace resides in the parent PID namespace.
389 #. ============================================================
390 #. type: Plain text
391 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
392 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
393 msgid ""
394 "When a child process becomes orphaned, it is reparented to the \"init\" "
395 "process in the PID namespace of its parent (unless one of the nearer "
396 "ancestors of the parent employed the B<prctl>(2) B<PR_SET_CHILD_SUBREAPER> "
397 "command to mark itself as the reaper of orphaned descendant processes). "
398 "Note that because of the B<setns>(2) and B<unshare>(2) semantics described "
399 "above, this may be the \"init\" process in the PID namespace that is the "
400 "I<parent> of the child's PID namespace, rather than the \"init\" process in "
401 "the child's own PID namespace."
402 msgstr ""
403 "عندما يصبح أحد العمليات الفرعية معزولًا، يُعاد ربطه بالعملية \"init\" في نطاق "
404 "أسماء PID الخاص بالعملية الأصلية (إلا إذا استخدم أحد أسلاف العملية الأصلية "
405 "الأقرب الأمر B<prctl>(2) B<PR_SET_CHILD_SUBREAPER> لتمييز نفسه كحاصد "
406 "للعمليات الفرعية المعزولة).لاحظ أنه نظرًا لدلالات B<setns>(2) وB<unshare>(2) "
407 "المذكورة أعلاه، فقد تكون هذه العملية \"init\" في نطاق أسماء PID الذي يمثل "
408 "I<parent> لنطاق أسماء PID الخاص بالعملية الفرعية، وليس العملية \"init\" في "
409 "نطاق أسماء PID الخاص بالعملية الفرعية نفسها."
410
411 #. type: SS
412 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
413 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
414 #, no-wrap
415 msgid "Compatibility of CLONE_NEWPID with other CLONE_* flags"
416 msgstr "توافق CLONE_NEWPID مع علامات CLONE_* الأخرى"
417
418 #. type: Plain text
419 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
420 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
421 msgid ""
422 "In current versions of Linux, B<CLONE_NEWPID> can't be combined with "
423 "B<CLONE_THREAD>. Threads are required to be in the same PID namespace such "
424 "that the threads in a process can send signals to each other. Similarly, it "
425 "must be possible to see all of the threads of a process in the B<proc>(5) "
426 "filesystem. Additionally, if two threads were in different PID namespaces, "
427 "the process ID of the process sending a signal could not be meaningfully "
428 "encoded when a signal is sent (see the description of the I<siginfo_t> type "
429 "in B<sigaction>(2)). Since this is computed when a signal is enqueued, a "
430 "signal queue shared by processes in multiple PID namespaces would defeat "
431 "that."
432 msgstr ""
433 "في الإصدارات الحالية من لينكس، لا يمكن الجمع بين B<CLONE_NEWPID> "
434 "وB<CLONE_THREAD>. يجب أن تكون الخيوط في نفس مساحة أسماء PID بحيث تتمكن "
435 "الخيوط الموجودة في عملية ما من إرسال إشارات لبعضها البعض. وبالمثل، يجب أن "
436 "يكون من الممكن رؤية جميع خيوط العملية في نظام الملفات B<proc>(5) . "
437 "بالإضافة إلى ذلك، إذا كان خيطان في مساحات أسماء PID مختلفة، فلن يكون من "
438 "الممكن ترميز معرف العملية التي ترسل الإشارة بشكل ذي معنى عند إرسال الإشارة "
439 "(انظر وصف النوع I<siginfo_t> في B<sigaction>(2)). نظرًا لأن هذا يُحسب عند "
440 "إدراج الإشارة في قائمة الانتظار، فإن قائمة انتظار الإشارات المشتركة بين "
441 "العمليات في مساحات أسماء PID متعددة ستحبط ذلك."
442
443 #
444 #. Note these restrictions were all introduced in
445 #. 8382fcac1b813ad0a4e68a838fc7ae93fa39eda0
446 #. when CLONE_NEWPID|CLONE_VM was disallowed
447 #. (restriction lifted in faf00da544045fdc1454f3b9e6d7f65c841de302)
448 #. (restriction lifted in e79f525e99b04390ca4d2366309545a836c03bf1)
449 #. ============================================================
450 #. type: Plain text
451 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
452 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
453 msgid ""
454 "In earlier versions of Linux, B<CLONE_NEWPID> was additionally disallowed "
455 "(failing with the error B<EINVAL>) in combination with B<CLONE_SIGHAND> "
456 "(before Linux 4.3) as well as B<CLONE_VM> (before Linux 3.12). The changes "
457 "that lifted these restrictions have also been ported to earlier stable "
458 "kernels."
459 msgstr ""
460 "في الإصدارات السابقة من لينكس، كان B<CLONE_NEWPID> ممنوعًا أيضًا (يفشل مع "
461 "الخطأ B<EINVAL>) بالاقتران مع B<CLONE_SIGHAND> (قبل لينكس 4.3) وكذلك "
462 "B<CLONE_VM> (قبل لينكس 3.12). التغييرات التي رفعت هذه القيود نُقلت أيضًا إلى "
463 "النوى المستقرة السابقة."
464
465 #. type: SS
466 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
467 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
468 #, no-wrap
469 msgid "/proc and PID namespaces"
470 msgstr "/proc ومساحات أسماء PID"
471
472 #. type: Plain text
473 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
474 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
475 msgid ""
476 "A I</proc> filesystem shows (in the I</proc/>pid directories) only processes "
477 "visible in the PID namespace of the process that performed the mount, even "
478 "if the I</proc> filesystem is viewed from processes in other namespaces."
479 msgstr ""
480 "نظام الملفات I</proc> يُظهر (في الدلائل I</proc/>pid) فقط العمليات المرئية في "
481 "مساحة اسم PID للعملية التي نفذت الوصل، حتى لو نُظر إلى نظام الملفات I</proc> "
482 "من عمليات في مساحات أسماء أخرى."
483
484 #. type: Plain text
485 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
486 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
487 msgid ""
488 "After creating a new PID namespace, it is useful for the child to change its "
489 "root directory and mount a new procfs instance at I</proc> so that tools "
490 "such as B<ps>(1) work correctly. If a new mount namespace is "
491 "simultaneously created by including B<CLONE_NEWNS> in the I<flags> argument "
492 "of B<clone>(2) or B<unshare>(2), then it isn't necessary to change the root "
493 "directory: a new procfs instance can be mounted directly over I</proc>."
494 msgstr ""
495 "بعد إنشاء مساحة اسم PID جديدة، من المفيد للطفل تغيير دليله الجذر ووصل مثيل "
496 "procfs جديد في I</proc> حتى تعمل أدوات مثل B<ps>(1) بشكل صحيح. إذا أُنشئت "
497 "مساحة اسم وصل جديدة في وقت واحد بتضمين B<CLONE_NEWNS> في وسيط I<flags> لـ "
498 "B<clone>(2) أو B<unshare>(2)، فليس من الضروري تغيير الدليل الجذر: يمكن وصل "
499 "مثيل procfs جديد مباشرة فوق I</proc>."
500
501 #. type: Plain text
502 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
503 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
504 msgid "From a shell, the command to mount I</proc> is:"
505 msgstr "من شل، الأمر لوصل I</proc> هو:"
506
507 #. type: Plain text
508 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
509 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
510 #, no-wrap
511 msgid "$ mount -t proc proc /proc\n"
512 msgstr "$ mount -t proc proc /proc\n"
513
514 #
515 #. ============================================================
516 #. type: Plain text
517 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
518 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
519 msgid ""
520 "Calling B<readlink>(2) on the path I</proc/self> yields the process ID of "
521 "the caller in the PID namespace of the procfs mount (i.e., the PID namespace "
522 "of the process that mounted the procfs). This can be useful for "
523 "introspection purposes, when a process wants to discover its PID in other "
524 "namespaces."
525 msgstr ""
526 "استدعاء B<readlink>(2) على المسار I</proc/self> يُنتج معرف العملية للمتصل في "
527 "مساحة اسم PID لوصل procfs (أي مساحة اسم PID للعملية التي وصلت procfs). يمكن "
528 "أن يكون هذا مفيدًا لأغراض الاستبطان، عندما تريد عملية اكتشاف PID الخاص بها في "
529 "مساحات أسماء أخرى."
530
531 #. type: SS
532 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
533 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
534 #, no-wrap
535 msgid "/proc files"
536 msgstr "ملفات /proc"
537
538 #. type: TP
539 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
540 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
541 #, no-wrap
542 msgid "B</proc/sys/kernel/ns_last_pid> (since Linux 3.3)"
543 msgstr "B</proc/sys/kernel/ns_last_pid> (منذ لينكس 3.3)"
544
545 #. commit b8f566b04d3cddd192cfd2418ae6d54ac6353792
546 #. type: Plain text
547 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
548 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
549 msgid ""
550 "This file (which is virtualized per PID namespace) displays the last PID "
551 "that was allocated in this PID namespace. When the next PID is allocated, "
552 "the kernel will search for the lowest unallocated PID that is greater than "
553 "this value, and when this file is subsequently read it will show that PID."
554 msgstr ""
555 "هذا الملف (الذي يُظاهَر لكل مساحة اسم PID) يُظهر آخر PID خُصص في مساحة اسم PID "
556 "هذه. عندما يُخصص PID التالي، سيبحث النواة عن أدنى PID غير مخصص أكبر من هذه "
557 "القيمة، وعند قراءة هذا الملف لاحقًا سيُظهر ذلك PID."
558
559 #
560 #. This ability is necessary to support checkpoint restore in user-space
561 #. ============================================================
562 #. type: Plain text
563 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
564 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
565 msgid ""
566 "This file is writable by a process that has the B<CAP_SYS_ADMIN> or (since "
567 "Linux 5.9) B<CAP_CHECKPOINT_RESTORE> capability inside the user namespace "
568 "that owns the PID namespace. This makes it possible to determine the PID "
569 "that is allocated to the next process that is created inside this PID "
570 "namespace."
571 msgstr ""
572 "هذا الملف قابل للكتابة بواسطة عملية تمتلك إمكانية B<CAP_SYS_ADMIN> أو (منذ "
573 "لينكس 5.9) B<CAP_CHECKPOINT_RESTORE> داخل مساحة اسم المستخدم التي تملك مساحة "
574 "اسم PID. هذا يجعل من الممكن تحديد PID الذي سيُخصص للعملية التالية التي تُنشأ "
575 "داخل مساحة اسم PID هذه."
576
577 #. type: SS
578 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
579 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
580 #, no-wrap
581 msgid "Miscellaneous"
582 msgstr "متفرقات"
583
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 "When a process ID is passed over a UNIX domain socket to a process in a "
589 "different PID namespace (see the description of B<SCM_CREDENTIALS> in "
590 "B<unix>(7)), it is translated into the corresponding PID value in the "
591 "receiving process's PID namespace."
592 msgstr ""
593 "عند تمرير معرف عملية عبر مقبس نطاق يونكس إلى عملية في مساحة اسم PID مختلفة "
594 "(انظر وصف B<SCM_CREDENTIALS> في B<unix>(7))، يُترجم إلى قيمة PID المقابلة في "
595 "مساحة اسم PID للعملية المستقبلة."
596
597 #. type: SH
598 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
599 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
600 #, no-wrap
601 msgid "STANDARDS"
602 msgstr "المعايير"
603
604 #. type: Plain text
605 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
606 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
607 msgid "Linux."
608 msgstr "لينكس."
609
610 #. type: SH
611 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
612 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
613 #, no-wrap
614 msgid "EXAMPLES"
615 msgstr "أمثلة"
616
617 #. type: Plain text
618 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
619 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
620 msgid "See B<user_namespaces>(7)."
621 msgstr "راجع B<user_namespaces>(7)."
622
623 #. type: SH
624 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
625 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
626 #, no-wrap
627 msgid "SEE ALSO"
628 msgstr "انظر أيضًا"
629
630 #. type: Plain text
631 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
632 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
633 msgid ""
634 "B<clone>(2), B<reboot>(2), B<setns>(2), B<unshare>(2), B<proc>(5), "
635 "B<capabilities>(7), B<credentials>(7), B<mount_namespaces>(7), "
636 "B<namespaces>(7), B<user_namespaces>(7), B<switch_root>(8)"
637 msgstr ""
638 "B<clone>(2), B<reboot>(2), B<setns>(2), B<unshare>(2), B<proc>(5), "
639 "B<capabilities>(7), B<credentials>(7), B<mount_namespaces>(7), "
640 "B<namespaces>(7), B<user_namespaces>(7), B<switch_root>(8)"
641
642 #. type: TH
643 #: debian-trixie fedora-44 fedora-rawhide
644 #, no-wrap
645 msgid "2024-06-13"
646 msgstr "13 يونيو 2024"
647
648 #. type: TH
649 #: debian-trixie
650 #, no-wrap
651 msgid "Linux man-pages 6.9.1"
652 msgstr "صفحات دليل لينكس 6.9.1"
653
654 #. type: TH
655 #: fedora-44 fedora-rawhide
656 #, no-wrap
657 msgid "Linux man-pages 6.13"
658 msgstr "صفحات دليل لينكس 6.13"
659
660 #. type: TH
661 #: mageia-cauldron
662 #, no-wrap
663 msgid "Linux man-pages 6.17"
664 msgstr "صفحات دليل لينكس 6.17"
665
666 #. type: TH
667 #: opensuse-leap-16-1 opensuse-tumbleweed
668 #, no-wrap
669 msgid "Linux man-pages (unreleased)"
670 msgstr "صفحات دليل لينكس (لم تصدر بعد)"