Debian Codegraph @

po/ar/man7/cgroup_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 4.30.2\n"
8 "POT-Creation-Date: 2026-06-05 06:20+0200\n"
9 "PO-Revision-Date: 2026-05-12 20:13+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 "Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 "
17 "&& n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n"
18 "X-Generator: Lokalize 23.08.5\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 "cgroup_namespaces"
25 msgstr "cgroup_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 فبراير 2026"
33
34 #. type: TH
35 #: archlinux debian-unstable
36 #, no-wrap
37 msgid "Linux man-pages 6.18"
38 msgstr "صفحات دليل لينكس 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 "الاسم"
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 "cgroup_namespaces - overview of Linux cgroup namespaces"
51 msgstr "cgroup_namespaces - نظرة عامة على مساحات أسماء cgroup في لينكس"
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 "الوصف"
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 "للحصول على نظرة عامة على مساحات الأسماء، انظر B<namespaces>(7)."
65
66 #. type: Plain text
67 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
68 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
69 msgid ""
70 "Cgroup namespaces virtualize the view of a process's cgroups (see "
71 "B<cgroups>(7)) as seen via I</proc/>pidI</cgroup> and I</proc/>pidI</"
72 "mountinfo>."
73 msgstr ""
74 "مساحات أسماء cgroup تُظهِر عرض cgroups الخاصة بعملية (انظر B<cgroups>(7)) كما "
75 "تُرى عبر I</proc/>pidI</cgroup> و I</proc/>pidI</mountinfo>."
76
77 #. type: Plain text
78 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
79 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
80 msgid ""
81 "Each cgroup namespace has its own set of cgroup root directories. These "
82 "root directories are the base points for the relative locations displayed in "
83 "the corresponding records in the I</proc/>pidI</cgroup> file. When a "
84 "process creates a new cgroup namespace using B<clone>(2) or B<unshare>(2) "
85 "with the B<CLONE_NEWCGROUP> flag, its current cgroups directories become the "
86 "cgroup root directories of the new namespace. (This applies both for the "
87 "cgroups version 1 hierarchies and the cgroups version 2 unified hierarchy.)"
88 msgstr ""
89 "لكل مساحة اسم cgroup مجموعتها الخاصة من أدلة جذر cgroup. هذه الأدلة الجذرية "
90 "هي النقاط الأساسية للمواقع النسبية المعروضة في السجلات المقابلة في ملف I</"
91 "proc/>pidI</cgroup>. عندما تنشئ عملية مساحة اسم cgroup جديدة باستخدام "
92 "B<clone>(2) أو B<unshare>(2) مع العلم B<CLONE_NEWCGROUP>، تصبح أدلة cgroups "
93 "الحالية أدلة جذر cgroup لمساحة الاسم الجديدة. (ينطبق هذا على كل من تسلسلات "
94 "cgroups الإصدار 1 والتسلسل الموحد cgroups الإصدار 2.)"
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 "When reading the cgroup memberships of a \"target\" process from I</proc/"
101 ">pidI</cgroup>, the pathname shown in the third field of each record will be "
102 "relative to the reading process's root directory for the corresponding "
103 "cgroup hierarchy. If the cgroup directory of the target process lies "
104 "outside the root directory of the reading process's cgroup namespace, then "
105 "the pathname will show I<../> entries for each ancestor level in the cgroup "
106 "hierarchy."
107 msgstr ""
108 "عند قراءة عضويات cgroup لعملية \"هدف\" من I</proc/>pidI</cgroup>، سيكون اسم "
109 "المسار المعروض في الحقل الثالث من كل سجل نسبيًا إلى دليل جذر عملية القراءة "
110 "للتسلسل الهرمي cgroup المقابل. إذا كان دليل cgroup للعملية الهدف يقع خارج "
111 "دليل جذر مساحة اسم cgroup لعملية القراءة، فسيظهر اسم المسار إدخالات I<../> "
112 "لكل مستوى سلف في التسلسل الهرمي cgroup."
113
114 #. type: Plain text
115 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
116 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
117 msgid ""
118 "The following shell session demonstrates the effect of creating a new cgroup "
119 "namespace."
120 msgstr "توضح جلسة الصدفة التالية تأثير إنشاء مساحة اسم cgroup جديدة."
121
122 #. type: Plain text
123 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
124 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
125 msgid ""
126 "First, (as superuser) in a shell in the initial cgroup namespace, we create "
127 "a child cgroup in the I<freezer> hierarchy, and place a process in that "
128 "cgroup that we will use as part of the demonstration below:"
129 msgstr ""
130 "أولاً، (كمستخدم فائق) في صدفة في مساحة اسم cgroup الأولية، ننشئ cgroup فرعيًا "
131 "في التسلسل الهرمي I<freezer>، ونضع عملية في ذلك cgroup سنستخدمها كجزء من "
132 "العرض التوضيحي أدناه:"
133
134 #. type: Plain text
135 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
136 #: opensuse-tumbleweed
137 #, no-wrap
138 msgid ""
139 "#B< mkdir -p /sys/fs/cgroup/freezer/sub2>;\n"
140 "#B< sleep 10000 &> # Create a process that lives for a while\n"
141 "[1] 20124\n"
142 "#B< echo 20124 E<gt> /sys/fs/cgroup/freezer/sub2/cgroup.procs>;\n"
143 msgstr ""
144 "#B< mkdir -p /sys/fs/cgroup/freezer/sub2>;\n"
145 "#B< sleep 10000 &> # Create a process that lives for a while\n"
146 "[1] 20124\n"
147 "#B< echo 20124 E<gt> /sys/fs/cgroup/freezer/sub2/cgroup.procs>;\n"
148
149 #. type: Plain text
150 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
151 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
152 msgid ""
153 "We then create another child cgroup in the I<freezer> hierarchy and put the "
154 "shell into that cgroup:"
155 msgstr ""
156 "ثم ننشئ cgroup فرعيًا آخر في التسلسل الهرمي I<freezer> ونضع الصدفة في ذلك "
157 "cgroup:"
158
159 #. type: Plain text
160 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
161 #: opensuse-tumbleweed
162 #, no-wrap
163 msgid ""
164 "#B< mkdir -p /sys/fs/cgroup/freezer/sub>;\n"
165 "#B< echo $$>; # Show PID of this shell\n"
166 "30655\n"
167 "#B< echo 30655 E<gt> /sys/fs/cgroup/freezer/sub/cgroup.procs>;\n"
168 "#B< cat /proc/self/cgroup | grep freezer>;\n"
169 "7:freezer:/sub\n"
170 msgstr ""
171 "#B< mkdir -p /sys/fs/cgroup/freezer/sub>;\n"
172 "#B< echo $$>; # Show PID of this shell\n"
173 "30655\n"
174 "#B< echo 30655 E<gt> /sys/fs/cgroup/freezer/sub/cgroup.procs>;\n"
175 "#B< cat /proc/self/cgroup | grep freezer>;\n"
176 "7:freezer:/sub\n"
177
178 #. type: Plain text
179 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
180 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
181 msgid ""
182 "Next, we use B<unshare>(1) to create a process running a new shell in new "
183 "cgroup and mount namespaces:"
184 msgstr ""
185 "بعد ذلك، نستخدم B<unshare>(1) لإنشاء عملية تشغل صدفة جديدة في مساحات اسم "
186 "cgroup و mount جديدة:"
187
188 #. type: Plain text
189 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
190 #: opensuse-tumbleweed
191 #, no-wrap
192 msgid "#B< PS1='sh2# ' unshare -Cm bash>;\n"
193 msgstr "#B< PS1='sh2# ' unshare -Cm bash>;\n"
194
195 #. type: Plain text
196 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
197 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
198 msgid ""
199 "From the new shell started by B<unshare>(1), we then inspect the I</proc/"
200 ">pidI</cgroup> files of, respectively, the new shell, a process that is in "
201 "the initial cgroup namespace (I<init>, with PID 1), and the process in the "
202 "sibling cgroup (I<sub2>):"
203 msgstr ""
204 "من الصدفة الجديدة التي بدأها B<unshare>(1)، نفحص بعد ذلك ملفات I</proc/"
205 ">pidI</cgroup> لكل من الصدفة الجديدة، وعملية في مساحة اسم cgroup الأولية "
206 "(I<init>، مع PID 1)، والعملية في cgroup الشقيق (I<sub2>):"
207
208 #. type: Plain text
209 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
210 #: opensuse-tumbleweed
211 #, no-wrap
212 msgid ""
213 "sh2#B< cat /proc/self/cgroup | grep freezer>;\n"
214 "7:freezer:/\n"
215 "sh2#B< cat /proc/1/cgroup | grep freezer>;\n"
216 "7:freezer:/..\n"
217 "sh2#B< cat /proc/20124/cgroup | grep freezer>;\n"
218 "7:freezer:/../sub2\n"
219 msgstr ""
220 "sh2#B< cat /proc/self/cgroup | grep freezer>;\n"
221 "7:freezer:/\n"
222 "sh2#B< cat /proc/1/cgroup | grep freezer>;\n"
223 "7:freezer:/..\n"
224 "sh2#B< cat /proc/20124/cgroup | grep freezer>;\n"
225 "7:freezer:/../sub2\n"
226
227 #. type: Plain text
228 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
229 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
230 msgid ""
231 "From the output of the first command, we see that the freezer cgroup "
232 "membership of the new shell (which is in the same cgroup as the initial "
233 "shell) is shown defined relative to the freezer cgroup root directory that "
234 "was established when the new cgroup namespace was created. (In absolute "
235 "terms, the new shell is in the I</sub> freezer cgroup, and the root "
236 "directory of the freezer cgroup hierarchy in the new cgroup namespace is "
237 "also I</sub>. Thus, the new shell's cgroup membership is displayed as "
238 "\\[aq]/\\[aq].)"
239 msgstr ""
240 "من مخرجات الأمر الأول، نرى أن عضوية freezer cgroup للصدفة الجديدة (الموجودة "
241 "في نفس cgroup مثل الصدفة الأولية) تُعرض معرفة نسبيًا إلى دليل جذر freezer "
242 "cgroup الذي أُنشئ عند إنشاء مساحة اسم cgroup الجديدة. (بالمصطلحات المطلقة، "
243 "الصدفة الجديدة في freezer cgroup I</sub>، ودليل جذر التسلسل الهرمي freezer "
244 "cgroup في مساحة اسم cgroup الجديدة هو أيضًا I</sub>. وبالتالي، تُعرض عضوية "
245 "cgroup للصدفة الجديدة كـ \\[aq]/\\[aq].)"
246
247 #. type: Plain text
248 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
249 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
250 msgid ""
251 "However, when we look in I</proc/self/mountinfo> we see the following "
252 "anomaly:"
253 msgstr "ومع ذلك، عندما ننظر في I</proc/self/mountinfo> نرى الشذوذ التالي:"
254
255 #. type: Plain text
256 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
257 #: opensuse-tumbleweed
258 #, no-wrap
259 msgid ""
260 "sh2#B< cat /proc/self/mountinfo | grep freezer>;\n"
261 "155 145 0:32 /..\\& /sys/fs/cgroup/freezer ...\n"
262 msgstr ""
263 "sh2#B< cat /proc/self/mountinfo | grep freezer>;\n"
264 "155 145 0:32 /..\\& /sys/fs/cgroup/freezer ...\n"
265
266 #. type: Plain text
267 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
268 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
269 msgid ""
270 "The fourth field of this line (I</..>) should show the directory in the "
271 "cgroup filesystem which forms the root of this mount. Since by the "
272 "definition of cgroup namespaces, the process's current freezer cgroup "
273 "directory became its root freezer cgroup directory, we should see \\[aq]/"
274 "\\[aq] in this field. The problem here is that we are seeing a mount entry "
275 "for the cgroup filesystem corresponding to the initial cgroup namespace "
276 "(whose cgroup filesystem is indeed rooted at the parent directory of "
277 "I<sub>). To fix this problem, we must remount the freezer cgroup filesystem "
278 "from the new shell (i.e., perform the mount from a process that is in the "
279 "new cgroup namespace), after which we see the expected results:"
280 msgstr ""
281 "الحقل الرابع من هذا السطر (I</..>) يجب أن يُظهر الدليل في نظام ملفات cgroup "
282 "الذي يشكل جذر هذا mount. نظرًا لأنه بتعريف مساحات اسم cgroup، أصبح دليل "
283 "freezer cgroup الحالي للعملية دليل جذر freezer cgroup الخاص بها، يجب أن نرى "
284 "\\[aq]/\\[aq] في هذا الحقل. المشكلة هنا هي أننا نرى إدخال mount لنظام ملفات "
285 "cgroup المقابل لمساحة اسم cgroup الأولية (التي نظام ملفات cgroup الخاص بها "
286 "متجذر بالفعل في الدليل الأب لـ I<sub>). لإصلاح هذه المشكلة، يجب إعادة mount "
287 "نظام ملفات freezer cgroup من الصدفة الجديدة (أي، تنفيذ mount من عملية في "
288 "مساحة اسم cgroup الجديدة)، وبعد ذلك نرى النتائج المتوقعة:"
289
290 #. type: Plain text
291 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
292 #: opensuse-tumbleweed
293 #, no-wrap
294 msgid ""
295 "sh2#B< mount --make-rslave />; # Don\\[aq]t propagate mount events\n"
296 " # to other namespaces\n"
297 "sh2#B< umount /sys/fs/cgroup/freezer>;\n"
298 "sh2#B< mount -t cgroup -o freezer freezer /sys/fs/cgroup/freezer>;\n"
299 "sh2#B< cat /proc/self/mountinfo | grep freezer>;\n"
300 "155 145 0:32 / /sys/fs/cgroup/freezer rw,relatime ...\n"
301 msgstr ""
302 "sh2#B< mount --make-rslave />; # Don\\[aq]t propagate mount events\n"
303 " # to other namespaces\n"
304 "sh2#B< umount /sys/fs/cgroup/freezer>;\n"
305 "sh2#B< mount -t cgroup -o freezer freezer /sys/fs/cgroup/freezer>;\n"
306 "sh2#B< cat /proc/self/mountinfo | grep freezer>;\n"
307 "155 145 0:32 / /sys/fs/cgroup/freezer rw,relatime ...\n"
308
309 #. type: SH
310 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
311 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
312 #, no-wrap
313 msgid "STANDARDS"
314 msgstr "المعايير"
315
316 #. type: Plain text
317 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
318 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
319 msgid "Linux."
320 msgstr "لينكس."
321
322 #. type: SH
323 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
324 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
325 #, no-wrap
326 msgid "NOTES"
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 "Use of cgroup namespaces requires a kernel that is configured with the "
334 "B<CONFIG_CGROUPS> option."
335 msgstr "يتطلب استخدام مساحات اسم cgroup نواة مهيأة بالخيار B<CONFIG_CGROUPS>."
336
337 #. type: Plain text
338 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
339 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
340 msgid ""
341 "The virtualization provided by cgroup namespaces serves a number of purposes:"
342 msgstr "يخدم التظهير المقدم من مساحات اسم cgroup عددًا من الأغراض:"
343
344 #. type: IP
345 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
346 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
347 #, no-wrap
348 msgid "\\[bu]"
349 msgstr "\\[bu]"
350
351 #. type: Plain text
352 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
353 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
354 msgid ""
355 "It prevents information leaks whereby cgroup directory paths outside of a "
356 "container would otherwise be visible to processes in the container. Such "
357 "leakages could, for example, reveal information about the container "
358 "framework to containerized applications."
359 msgstr ""
360 "يمنع تسرب المعلومات حيث تصبح مسارات دليل cgroup خارج الحاوية مرئية للعمليات "
361 "في الحاوية. مثل هذه التسريبات يمكن، على سبيل المثال، أن تكشف معلومات عن إطار "
362 "الحاوية للتطبيقات المحتواة."
363
364 #. type: Plain text
365 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
366 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
367 msgid ""
368 "It eases tasks such as container migration. The virtualization provided by "
369 "cgroup namespaces allows containers to be isolated from knowledge of the "
370 "pathnames of ancestor cgroups. Without such isolation, the full cgroup "
371 "pathnames (displayed in I</proc/self/cgroups>) would need to be replicated "
372 "on the target system when migrating a container; those pathnames would also "
373 "need to be unique, so that they don't conflict with other pathnames on the "
374 "target system."
375 msgstr ""
376 "يسهل مهام مثل ترحيل الحاويات. التظهير المقدم من مساحات اسم cgroup يسمح بعزل "
377 "الحاويات عن معرفة أسماء مسارات cgroups السلف. بدون هذا العزل، يجب تكرار "
378 "أسماء مسارات cgroup الكاملة (المعروضة في I</proc/self/cgroups>) على النظام "
379 "الهدف عند ترحيل حاوية؛ يجب أيضًا أن تكون أسماء المسارات هذه فريدة، حتى لا "
380 "تتعارض مع أسماء مسارات أخرى على النظام الهدف."
381
382 #. type: Plain text
383 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
384 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
385 msgid ""
386 "It allows better confinement of containerized processes, because it is "
387 "possible to mount the container's cgroup filesystems such that the container "
388 "processes can't gain access to ancestor cgroup directories. Consider, for "
389 "example, the following scenario:"
390 msgstr ""
391 "يسمح بحصر أفضل للعمليات المحتواة، لأنه من الممكن mount أنظمة ملفات cgroup "
392 "للحاوية بحيث لا تستطيع عمليات الحاوية الوصول إلى أدلة cgroup السلف. خذ، على "
393 "سبيل المثال، السيناريو التالي:"
394
395 #. type: Plain text
396 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
397 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
398 msgid "We have a cgroup directory, I</cg/1>, that is owned by user ID 9000."
399 msgstr "لدينا دليل cgroup، I</cg/1>، مملوك لمعرف المستخدم 9000."
400
401 #. type: Plain text
402 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
403 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
404 msgid ""
405 "We have a process, I<X>, also owned by user ID 9000, that is namespaced "
406 "under the cgroup I</cg/1/2> (i.e., I<X> was placed in a new cgroup namespace "
407 "via B<clone>(2) or B<unshare>(2) with the B<CLONE_NEWCGROUP> flag)."
408 msgstr ""
409 "لدينا عملية I<X>، مملوكة أيضًا بواسطة معرف المستخدم 9000، موضوعة في فضاء "
410 "أسماء تحت مجموعة التحكم I</cg/1/2> (أي، وُضعت I<X> في فضاء أسماء مجموعة تحكم "
411 "جديد عبر B<clone>(2) أو B<unshare>(2) مع العلم B<CLONE_NEWCGROUP>)."
412
413 #. type: Plain text
414 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
415 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
416 msgid ""
417 "In the absence of cgroup namespacing, because the cgroup directory I</cg/1> "
418 "is owned (and writable) by UID 9000 and process I<X> is also owned by user "
419 "ID 9000, process I<X> would be able to modify the contents of cgroups files "
420 "(i.e., change cgroup settings) not only in I</cg/1/2> but also in the "
421 "ancestor cgroup directory I</cg/1>. Namespacing process I<X> under the "
422 "cgroup directory I</cg/1/2>, in combination with suitable mount operations "
423 "for the cgroup filesystem (as shown above), prevents it modifying files in "
424 "I</cg/1>, since it cannot even see the contents of that directory (or of "
425 "further removed cgroup ancestor directories). Combined with correct "
426 "enforcement of hierarchical limits, this prevents process I<X> from escaping "
427 "the limits imposed by ancestor cgroups."
428 msgstr ""
429 "في غياب فضاء أسماء مجموعة التحكم، لأن دليل مجموعة التحكم I</cg/1> مملوك "
430 "(وقابل للكتابة) بواسطة UID 9000 والعملية I<X> مملوكة أيضًا بواسطة معرف "
431 "المستخدم 9000، ستكون العملية I<X> قادرة على تعديل محتويات ملفات مجموعات "
432 "التحكم (أي تغيير إعدادات مجموعة التحكم) ليس فقط في I</cg/1/2> ولكن أيضًا في "
433 "دليل مجموعة التحكم السلف I</cg/1>. وضع العملية I<X> في فضاء أسماء تحت دليل "
434 "مجموعة التحكم I</cg/1/2>، مع عمليات وصل مناسبة لنظام ملفات مجموعة التحكم "
435 "(كما هو موضح أعلاه)، يمنعها من تعديل الملفات في I</cg/1>، لأنها لا تستطيع "
436 "حتى رؤية محتويات ذلك الدليل (أو أدلة مجموعة التحكم السلف الأبعد). مع الإنفاذ "
437 "الصحيح للحدود الهرمية، يمنع هذا العملية I<X> من الهروب من الحدود المفروضة "
438 "بواسطة مجموعات التحكم السلف."
439
440 #. type: SH
441 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
442 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
443 #, no-wrap
444 msgid "SEE ALSO"
445 msgstr "انظر أيضًا"
446
447 #. type: Plain text
448 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
449 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
450 msgid ""
451 "B<unshare>(1), B<clone>(2), B<setns>(2), B<unshare>(2), B<proc>(5), "
452 "B<cgroups>(7), B<credentials>(7), B<namespaces>(7), B<user_namespaces>(7)"
453 msgstr ""
454 "B<unshare>(1), B<clone>(2), B<setns>(2), B<unshare>(2), B<proc>(5), "
455 "B<cgroups>(7), B<credentials>(7), B<namespaces>(7), B<user_namespaces>(7)"
456
457 #. type: TH
458 #: debian-trixie fedora-44 fedora-rawhide
459 #, no-wrap
460 msgid "2024-05-02"
461 msgstr "2 مايو 2024"
462
463 #. type: TH
464 #: debian-trixie
465 #, no-wrap
466 msgid "Linux man-pages 6.9.1"
467 msgstr "صفحات دليل لينكس 6.9.1"
468
469 #. type: Plain text
470 #: debian-trixie fedora-44 fedora-rawhide
471 #, no-wrap
472 msgid ""
473 "# B<mkdir -p /sys/fs/cgroup/freezer/sub2>\n"
474 "# B<sleep 10000 &> # Create a process that lives for a while\n"
475 "[1] 20124\n"
476 "# B<echo 20124 E<gt> /sys/fs/cgroup/freezer/sub2/cgroup.procs>\n"
477 msgstr ""
478 "# B<mkdir -p /sys/fs/cgroup/freezer/sub2>\n"
479 "# B<sleep 10000 &> # Create a process that lives for a while\n"
480 "[1] 20124\n"
481 "# B<echo 20124 E<gt> /sys/fs/cgroup/freezer/sub2/cgroup.procs>\n"
482
483 #. type: Plain text
484 #: debian-trixie fedora-44 fedora-rawhide
485 #, no-wrap
486 msgid ""
487 "# B<mkdir -p /sys/fs/cgroup/freezer/sub>\n"
488 "# B<echo $$> # Show PID of this shell\n"
489 "30655\n"
490 "# B<echo 30655 E<gt> /sys/fs/cgroup/freezer/sub/cgroup.procs>\n"
491 "# B<cat /proc/self/cgroup | grep freezer>\n"
492 "7:freezer:/sub\n"
493 msgstr ""
494 "# B<mkdir -p /sys/fs/cgroup/freezer/sub>\n"
495 "# B<echo $$> # Show PID of this shell\n"
496 "30655\n"
497 "# B<echo 30655 E<gt> /sys/fs/cgroup/freezer/sub/cgroup.procs>\n"
498 "# B<cat /proc/self/cgroup | grep freezer>\n"
499 "7:freezer:/sub\n"
500
501 #. type: Plain text
502 #: debian-trixie fedora-44 fedora-rawhide
503 #, no-wrap
504 msgid "# B<PS1=\"sh2# \" unshare -Cm bash>\n"
505 msgstr "# B<PS1=\"sh2# \" unshare -Cm bash>\n"
506
507 #. type: Plain text
508 #: debian-trixie fedora-44 fedora-rawhide
509 #, no-wrap
510 msgid ""
511 "sh2# B<cat /proc/self/cgroup | grep freezer>\n"
512 "7:freezer:/\n"
513 "sh2# B<cat /proc/1/cgroup | grep freezer>\n"
514 "7:freezer:/..\n"
515 "sh2# B<cat /proc/20124/cgroup | grep freezer>\n"
516 "7:freezer:/../sub2\n"
517 msgstr ""
518 "sh2# B<cat /proc/self/cgroup | grep freezer>\n"
519 "7:freezer:/\n"
520 "sh2# B<cat /proc/1/cgroup | grep freezer>\n"
521 "7:freezer:/..\n"
522 "sh2# B<cat /proc/20124/cgroup | grep freezer>\n"
523 "7:freezer:/../sub2\n"
524
525 #. type: Plain text
526 #: debian-trixie fedora-44 fedora-rawhide
527 #, no-wrap
528 msgid ""
529 "sh2# B<cat /proc/self/mountinfo | grep freezer>\n"
530 "155 145 0:32 /.. /sys/fs/cgroup/freezer ...\n"
531 msgstr ""
532 "sh2# B<cat /proc/self/mountinfo | grep freezer>\n"
533 "155 145 0:32 /.. /sys/fs/cgroup/freezer ...\n"
534
535 #. type: Plain text
536 #: debian-trixie fedora-44 fedora-rawhide
537 #, no-wrap
538 msgid ""
539 "sh2# B<mount --make-rslave /> # Don\\[aq]t propagate mount events\n"
540 " # to other namespaces\n"
541 "sh2# B<umount /sys/fs/cgroup/freezer>\n"
542 "sh2# B<mount -t cgroup -o freezer freezer /sys/fs/cgroup/freezer>\n"
543 "sh2# B<cat /proc/self/mountinfo | grep freezer>\n"
544 "155 145 0:32 / /sys/fs/cgroup/freezer rw,relatime ...\n"
545 msgstr ""
546 "sh2# B<mount --make-rslave /> # Don\\[aq]t propagate mount events\n"
547 " # to other namespaces\n"
548 "sh2# B<umount /sys/fs/cgroup/freezer>\n"
549 "sh2# B<mount -t cgroup -o freezer freezer /sys/fs/cgroup/freezer>\n"
550 "sh2# B<cat /proc/self/mountinfo | grep freezer>\n"
551 "155 145 0:32 / /sys/fs/cgroup/freezer rw,relatime ...\n"
552
553 #. type: TH
554 #: fedora-44 fedora-rawhide
555 #, no-wrap
556 msgid "Linux man-pages 6.13"
557 msgstr "صفحات دليل لينكس 6.13"
558
559 #. type: TH
560 #: mageia-cauldron
561 #, no-wrap
562 msgid "Linux man-pages 6.17"
563 msgstr "صفحات دليل لينكس 6.17"
564
565 #. type: TH
566 #: opensuse-leap-16-1 opensuse-tumbleweed
567 #, no-wrap
568 msgid "Linux man-pages (unreleased)"
569 msgstr "صفحات دليل لينكس (لم تصدر بعد)"