Debian Codegraph @

po/ar/man2/setns.2.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:43+0200\n"
9 "PO-Revision-Date: 2026-05-18 18:07+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 "setns"
25 msgstr "setns"
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 "setns - reassociate thread with a namespace"
51 msgstr "setns - إعادة ربط خيط مع نطاق"
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 "LIBRARY"
58 msgstr "المكتبة"
59
60 #. type: Plain text
61 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
62 #: opensuse-leap-16-1 opensuse-tumbleweed
63 msgid "Standard C library (I<libc>,\\ I<-lc>)"
64 msgstr "مكتبة سي المعيارية (I<libc>،\\ I<-lc>)"
65
66 #. type: SH
67 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
68 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
69 #, no-wrap
70 msgid "SYNOPSIS"
71 msgstr "موجز"
72
73 #. type: Plain text
74 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
75 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
76 #, no-wrap
77 msgid ""
78 "B<#define _GNU_SOURCE> /* See feature_test_macros(7) */\n"
79 "B<#include E<lt>sched.hE<gt>>\n"
80 msgstr ""
81 "B<#define _GNU_SOURCE> /* انظر feature_test_macros(7) */\n"
82 "B<#include E<lt>sched.hE<gt>>\n"
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 #, no-wrap
88 msgid "B<int setns(int >I<fd>B<, int >I<nstype>B<);>\n"
89 msgstr "B<int setns(int >I<fd>B<, int >I<nstype>B<);>\n"
90
91 #. type: SH
92 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
93 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
94 #, no-wrap
95 msgid "DESCRIPTION"
96 msgstr "الوصف"
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 "The B<setns>() system call allows the calling thread to move into different "
103 "namespaces. The I<fd> argument is one of the following:"
104 msgstr ""
105 "استدعاء النظام B<setns>() يسمح للخيط المستدعي بالانتقال إلى نطاقات مختلفة. "
106 "الوسيط I<fd> هو أحد التالي:"
107
108 #. type: IP
109 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
110 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
111 #, no-wrap
112 msgid "\\[bu]"
113 msgstr "\\[bu]"
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 "a file descriptor referring to one of the magic links in a I</proc/>pidI</ns/"
120 "> directory (or a bind mount to such a link);"
121 msgstr ""
122 "واصف ملف يشير إلى أحد الروابط السحرية في دليل I</proc/>pidI</ns/> (أو ربط "
123 "وصل لمثل هذا الرابط);"
124
125 #. type: Plain text
126 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
127 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
128 msgid "a PID file descriptor (see B<pidfd_open>(2))."
129 msgstr "واصف ملف PID (انظر B<pidfd_open>(2))."
130
131 #. type: Plain text
132 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
133 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
134 msgid "The I<nstype> argument is interpreted differently in each case."
135 msgstr "يُفسر الوسيط I<nstype> بشكل مختلف في كل حالة."
136
137 #. type: SS
138 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
139 #: opensuse-tumbleweed
140 #, no-wrap
141 msgid "fd refers to a \\f[I]/proc/\\fBpid\\f[I]/ns/\\fB link"
142 msgstr "fd يشير إلى رابط \\f[I]/proc/\\fBpid\\f[I]/ns/\\fB"
143
144 #. type: Plain text
145 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
146 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
147 msgid ""
148 "If I<fd> refers to a I</proc/>pidI</ns/> link, then B<setns>() reassociates "
149 "the calling thread with the namespace associated with that link, subject to "
150 "any constraints imposed by the I<nstype> argument. In this usage, each call "
151 "to B<setns>() changes just one of the caller's namespace memberships."
152 msgstr ""
153 "إذا كان I<fd> يشير إلى رابط I</proc/>pidI</ns/>، فإن B<setns>() يعيد ربط "
154 "الخيط المستدعي بالنطاق المرتبط بذلك الرابط، مع مراعاة أي قيود يفرضها الوسيط "
155 "I<nstype>. في هذا الاستخدام، كل استدعاء لـ B<setns>() يغير عضوية نطاق واحدة "
156 "فقط من عضوية المستدعي."
157
158 #. type: Plain text
159 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
160 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
161 msgid ""
162 "The I<nstype> argument specifies which type of namespace the calling thread "
163 "may be reassociated with. This argument can have I<one> of the following "
164 "values:"
165 msgstr ""
166 "يحدد الوسيط I<nstype> نوع النطاق الذي يمكن إعادة ربط الخيط المستدعي به. يمكن "
167 "أن يأخذ هذا الوسيط I<قيمة> واحدة من التالي:"
168
169 #. type: TP
170 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
171 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
172 #, no-wrap
173 msgid "B<0>"
174 msgstr "B<0>"
175
176 #. type: Plain text
177 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
178 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
179 msgid "Allow any type of namespace to be joined."
180 msgstr "السماح بالانضمام إلى أي نوع من النطاقات."
181
182 #. type: TP
183 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
184 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
185 #, no-wrap
186 msgid "B<CLONE_NEWCGROUP> (since Linux 4.6)"
187 msgstr "B<CLONE_NEWCGROUP> (منذ لينكس 4.6)"
188
189 #. type: Plain text
190 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
191 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
192 msgid "I<fd> must refer to a cgroup namespace."
193 msgstr "يجب أن يشير I<fd> إلى نطاق cgroup."
194
195 #. type: TP
196 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
197 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
198 #, no-wrap
199 msgid "B<CLONE_NEWIPC> (since Linux 3.0)"
200 msgstr "B<CLONE_NEWIPC> (منذ Linux 3.0)"
201
202 #. type: Plain text
203 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
204 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
205 msgid "I<fd> must refer to an IPC namespace."
206 msgstr "يجب أن يشير I<fd> إلى نطاق IPC."
207
208 #. type: TP
209 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
210 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
211 #, no-wrap
212 msgid "B<CLONE_NEWNET> (since Linux 3.0)"
213 msgstr "B<CLONE_NEWNET> (منذ Linux 3.0)"
214
215 #. type: Plain text
216 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
217 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
218 msgid "I<fd> must refer to a network namespace."
219 msgstr "يجب أن يشير I<fd> إلى نطاق شبكة."
220
221 #. type: TP
222 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
223 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
224 #, no-wrap
225 msgid "B<CLONE_NEWNS> (since Linux 3.8)"
226 msgstr "B<CLONE_NEWNS> (منذ Linux 3.8)"
227
228 #. type: Plain text
229 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
230 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
231 msgid "I<fd> must refer to a mount namespace."
232 msgstr "يجب أن يشير I<fd> إلى نطاق وصل."
233
234 #. type: TP
235 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
236 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
237 #, no-wrap
238 msgid "B<CLONE_NEWPID> (since Linux 3.8)"
239 msgstr "B<CLONE_NEWPID> (منذ لينكس 3.8)"
240
241 #. type: Plain text
242 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
243 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
244 msgid "I<fd> must refer to a descendant PID namespace."
245 msgstr "يجب أن يشير I<fd> إلى نطاق PID سليل."
246
247 #. type: TP
248 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
249 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
250 #, no-wrap
251 msgid "B<CLONE_NEWTIME> (since Linux 5.8)"
252 msgstr "B<CLONE_NEWTIME> (منذ Linux 5.8)"
253
254 #. commit 76c12881a38aaa83e1eb4ce2fada36c3a732bad4
255 #. type: Plain text
256 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
257 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
258 msgid "I<fd> must refer to a time namespace."
259 msgstr "يجب أن يشير I<fd> إلى نطاق زمن."
260
261 #. type: TP
262 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
263 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
264 #, no-wrap
265 msgid "B<CLONE_NEWUSER> (since Linux 3.8)"
266 msgstr "B<CLONE_NEWUSER> (منذ لينكس 3.8)"
267
268 #. type: Plain text
269 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
270 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
271 msgid "I<fd> must refer to a user namespace."
272 msgstr "يجب أن يشير I<fd> إلى نطاق مستخدم."
273
274 #. type: TP
275 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
276 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
277 #, no-wrap
278 msgid "B<CLONE_NEWUTS> (since Linux 3.0)"
279 msgstr "B<CLONE_NEWUTS> (منذ Linux 3.0)"
280
281 #. type: Plain text
282 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
283 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
284 msgid "I<fd> must refer to a UTS namespace."
285 msgstr "يجب أن يشير I<fd> إلى نطاق UTS."
286
287 #. type: Plain text
288 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
289 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
290 msgid ""
291 "Specifying I<nstype> as 0 suffices if the caller knows (or does not care) "
292 "what type of namespace is referred to by I<fd>. Specifying a nonzero value "
293 "for I<nstype> is useful if the caller does not know what type of namespace "
294 "is referred to by I<fd> and wants to ensure that the namespace is of a "
295 "particular type. (The caller might not know the type of the namespace "
296 "referred to by I<fd> if the file descriptor was opened by another process "
297 "and, for example, passed to the caller via a UNIX domain socket.)"
298 msgstr ""
299 "يكفي تحديد I<nstype> كـ 0 إذا كان المستدعي يعرف (أو لا يهتم) بنوع النطاق "
300 "الذي يشير إليه I<fd>. تحديد قيمة غير صفرية لـ I<nstype> مفيد إذا كان "
301 "المستدعي لا يعرف نوع النطاق الذي يشير إليه I<fd> ويريد التأكد من أن النطاق "
302 "من نوع معين. (قد لا يعرف المستدعي نوع النطاق الذي يشير إليه I<fd> إذا تم فتح "
303 "واصف الملف بواسطة عملية أخرى و، على سبيل المثال، تم تمريره إلى المستدعي عبر "
304 "مقبس نطاق UNIX.)"
305
306 #. type: SS
307 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
308 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
309 #, no-wrap
310 msgid "fd is a PID file descriptor"
311 msgstr "fd هو واصف ملف PID"
312
313 #. type: Plain text
314 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
315 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
316 msgid ""
317 "Since Linux 5.8, I<fd> may refer to a PID file descriptor obtained from "
318 "B<pidfd_open>(2) or B<clone>(2). In this usage, B<setns>() atomically "
319 "moves the calling thread into one or more of the same namespaces as the "
320 "thread referred to by I<fd>."
321 msgstr ""
322 "منذ Linux 5.8، يمكن أن يشير I<fd> إلى واصف ملف PID تم الحصول عليه من "
323 "B<pidfd_open>(2) أو B<clone>(2). في هذا الاستخدام، ينقل B<setns>() الخيط "
324 "المستدعي بشكل ذري إلى واحد أو أكثر من نفس النطاقات مثل الخيط المشار إليه "
325 "بواسطة I<fd>."
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 "The I<nstype> argument is a bit mask specified by ORing together I<one or "
332 "more> of the B<CLONE_NEW*> namespace constants listed above. The caller is "
333 "moved into each of the target thread's namespaces that is specified in "
334 "I<nstype>; the caller's memberships in the remaining namespaces are left "
335 "unchanged."
336 msgstr ""
337 "الوسيط I<nstype> هو قناع بت يتم تحديده عن طريق الجمع بـ OR لـ I<واحد أو "
338 "أكثر> من ثوابت النطاق B<CLONE_NEW*> المذكورة أعلاه. يتم نقل المستدعي إلى كل "
339 "نطاق من نطاقات الخيط الهدف المحددة في I<nstype>؛ تبقى عضويات المستدعي في "
340 "النطاقات المتبقية دون تغيير."
341
342 #. type: Plain text
343 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
344 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
345 msgid ""
346 "For example, the following code would move the caller into the same user, "
347 "network, and UTS namespaces as PID 1234, but would leave the caller's other "
348 "namespace memberships unchanged:"
349 msgstr ""
350 "على سبيل المثال، الكود التالي سينقل المستدعي إلى نفس نطاقات المستخدم والشبكة "
351 "وUTS مثل PID 1234، لكنه سيترك عضويات المستدعي الأخرى في النطاقات دون تغيير:"
352
353 #. type: Plain text
354 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
355 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
356 #, no-wrap
357 msgid ""
358 "int fd = pidfd_open(1234, 0);\n"
359 "setns(fd, CLONE_NEWUSER | CLONE_NEWNET | CLONE_NEWUTS);\n"
360 msgstr ""
361 "int fd = pidfd_open(1234, 0);\n"
362 "setns(fd, CLONE_NEWUSER | CLONE_NEWNET | CLONE_NEWUTS);\n"
363
364 #. type: SS
365 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
366 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
367 #, no-wrap
368 msgid "Details for specific namespace types"
369 msgstr "تفاصيل لأنواع مساحات الأسماء المحددة"
370
371 #. type: Plain text
372 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
373 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
374 msgid ""
375 "Note the following details and restrictions when reassociating with specific "
376 "namespace types:"
377 msgstr ""
378 "لاحظ التفاصيل والقيود التالية عند إعادة الارتباط بأنواع مساحات أسماء محددة:"
379
380 #. type: TP
381 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
382 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
383 #, no-wrap
384 msgid "User namespaces"
385 msgstr "مساحات أسماء المستخدم"
386
387 #. See kernel/user_namespace.c:userns_install() [3.8 source]
388 #. type: Plain text
389 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
390 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
391 msgid ""
392 "A process reassociating itself with a user namespace must have the "
393 "B<CAP_SYS_ADMIN> capability in the target user namespace. (This necessarily "
394 "implies that it is only possible to join a descendant user namespace.) Upon "
395 "successfully joining a user namespace, a process is granted all capabilities "
396 "in that namespace, regardless of its user and group IDs."
397 msgstr ""
398 "يجب أن تمتلك عملية تعيد ربط نفسها بمساحة اسم مستخدم القدرة B<CAP_SYS_ADMIN> "
399 "في مساحة اسم المستخدم الهدف. (هذا يعني بالضرورة أنه من الممكن فقط الانضمام "
400 "إلى مساحة اسم مستخدم سليلة.) عند الانضمام بنجاح إلى مساحة اسم مستخدم، تُمنح "
401 "العملية جميع القدرات في تلك المساحة، بغض النظر عن معرفات المستخدم والمجموعة "
402 "الخاصة بها."
403
404 #. type: Plain text
405 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
406 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
407 msgid "A multithreaded process may not change user namespace with B<setns>()."
408 msgstr ""
409 "لا يجوز لعملية متعددة الخيوط تغيير مساحة اسم المستخدم باستخدام B<setns>()."
410
411 #. type: Plain text
412 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
413 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
414 msgid ""
415 "It is not permitted to use B<setns>() to reenter the caller's current user "
416 "namespace. This prevents a caller that has dropped capabilities from "
417 "regaining those capabilities via a call to B<setns>()."
418 msgstr ""
419 "لا يُسمح باستخدام B<setns>() لإعادة الدخول إلى مساحة اسم المستخدم الحالية "
420 "للمتصل. هذا يمنع المتصل الذي أسقط القدرات من استعادة تلك القدرات عبر استدعاء "
421 "B<setns>()."
422
423 #. commit e66eded8309ebf679d3d3c1f5820d1f2ca332c71
424 #. https://lwn.net/Articles/543273/
425 #. type: Plain text
426 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
427 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
428 msgid ""
429 "For security reasons, a process can't join a new user namespace if it is "
430 "sharing filesystem-related attributes (the attributes whose sharing is "
431 "controlled by the B<clone>(2) B<CLONE_FS> flag) with another process."
432 msgstr ""
433 "لأسباب أمنية، لا يمكن لعملية الانضمام إلى مساحة اسم مستخدم جديدة إذا كانت "
434 "تشارك سمات متعلقة بنظام الملفات (السمات التي يتحكم في مشاركتها علم "
435 "B<clone>(2) B<CLONE_FS>) مع عملية أخرى."
436
437 #. type: Plain text
438 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
439 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
440 msgid "For further details on user namespaces, see B<user_namespaces>(7)."
441 msgstr ""
442 "لمزيد من التفاصيل حول مساحات أسماء المستخدم، انظر B<user_namespaces>(7)."
443
444 #. type: TP
445 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
446 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
447 #, no-wrap
448 msgid "Mount namespaces"
449 msgstr "فضاءات أسماء الوصل"
450
451 #. type: Plain text
452 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
453 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
454 msgid ""
455 "Changing the mount namespace requires that the caller possess both "
456 "B<CAP_SYS_CHROOT> and B<CAP_SYS_ADMIN> capabilities in its own user "
457 "namespace and B<CAP_SYS_ADMIN> in the user namespace that owns the target "
458 "mount namespace."
459 msgstr ""
460 "يتطلب تغيير مساحة اسم التثبيت أن يمتلك المتصل كلاً من القدرتين "
461 "B<CAP_SYS_CHROOT> و B<CAP_SYS_ADMIN> في مساحة اسم المستخدم الخاصة به و "
462 "B<CAP_SYS_ADMIN> في مساحة اسم المستخدم التي تمتلك مساحة اسم التثبيت الهدف."
463
464 #. Above check is in fs/namespace.c:mntns_install() [3.8 source]
465 #. type: Plain text
466 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
467 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
468 msgid ""
469 "A process can't join a new mount namespace if it is sharing filesystem-"
470 "related attributes (the attributes whose sharing is controlled by the "
471 "B<clone>(2) B<CLONE_FS> flag) with another process."
472 msgstr ""
473 "لا يمكن لعملية الانضمام إلى مساحة اسم تثبيت جديدة إذا كانت تشارك سمات متعلقة "
474 "بنظام الملفات (السمات التي يتحكم في مشاركتها علم B<clone>(2) B<CLONE_FS>) مع "
475 "عملية أخرى."
476
477 #. type: Plain text
478 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
479 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
480 msgid ""
481 "See B<user_namespaces>(7) for details on the interaction of user namespaces "
482 "and mount namespaces."
483 msgstr ""
484 "انظر B<user_namespaces>(7) للحصول على تفاصيل حول تفاعل مساحات أسماء المستخدم "
485 "ومساحات أسماء التثبيت."
486
487 #. type: TP
488 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
489 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
490 #, no-wrap
491 msgid "PID namespaces"
492 msgstr "مساحات أسماء PID"
493
494 #. type: Plain text
495 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
496 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
497 msgid ""
498 "In order to reassociate itself with a new PID namespace, the caller must "
499 "have the B<CAP_SYS_ADMIN> capability both in its own user namespace and in "
500 "the user namespace that owns the target PID namespace."
501 msgstr ""
502 "من أجل إعادة ربط نفسها بمساحة اسم PID جديدة، يجب أن يمتلك المتصل القدرة "
503 "B<CAP_SYS_ADMIN> في كل من مساحة اسم المستخدم الخاصة به وفي مساحة اسم "
504 "المستخدم التي تمتلك مساحة اسم 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 "Reassociating the PID namespace has somewhat different from other namespace "
511 "types. Reassociating the calling thread with a PID namespace changes only "
512 "the PID namespace that subsequently created child processes of the caller "
513 "will be placed in; it does not change the PID namespace of the caller itself."
514 msgstr ""
515 "إعادة ربط مساحة اسم PID يختلف نوعًا ما عن أنواع مساحات الأسماء الأخرى. إعادة "
516 "ربط خيط الاستدعاء بمساحة اسم PID يغير فقط مساحة اسم PID التي ستوضع فيها "
517 "العمليات التابعة التي تم إنشاؤها لاحقًا للمتصل؛ لا يغير مساحة اسم PID للمتصل "
518 "نفسه."
519
520 #. type: Plain text
521 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
522 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
523 msgid ""
524 "Reassociating with a PID namespace is allowed only if the target PID "
525 "namespace is a descendant (child, grandchild, etc.) of, or is the same as, "
526 "the current PID namespace of the caller."
527 msgstr ""
528 "يُسمح بإعادة الارتباط بمساحة اسم PID فقط إذا كانت مساحة اسم PID الهدف سليلة "
529 "(تابعة، حفيدة، إلخ) لمساحة اسم PID الحالية للمتصل، أو مطابقة لها."
530
531 #. type: Plain text
532 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
533 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
534 msgid "For further details on PID namespaces, see B<pid_namespaces>(7)."
535 msgstr "لمزيد من التفاصيل حول مساحات أسماء PID، انظر B<pid_namespaces>(7)."
536
537 #. type: TP
538 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
539 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
540 #, no-wrap
541 msgid "Cgroup namespaces"
542 msgstr "مساحات أسماء Cgroup"
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 msgid ""
548 "In order to reassociate itself with a new cgroup namespace, the caller must "
549 "have the B<CAP_SYS_ADMIN> capability both in its own user namespace and in "
550 "the user namespace that owns the target cgroup namespace."
551 msgstr ""
552 "من أجل إعادة ربط نفسها بمساحة اسم cgroup جديدة، يجب أن يمتلك المتصل القدرة "
553 "B<CAP_SYS_ADMIN> في كل من مساحة اسم المستخدم الخاصة به وفي مساحة اسم "
554 "المستخدم التي تمتلك مساحة اسم cgroup الهدف."
555
556 #. type: Plain text
557 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
558 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
559 msgid ""
560 "Using B<setns>() to change the caller's cgroup namespace does not change "
561 "the caller's cgroup memberships."
562 msgstr ""
563 "استخدام B<setns>() لتغيير مساحة اسم cgroup للمتصل لا يغير عضويات cgroup "
564 "الخاصة بالمتصل."
565
566 #. type: TP
567 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
568 #: opensuse-leap-16-1 opensuse-tumbleweed
569 #, no-wrap
570 msgid "Time namespaces"
571 msgstr "مساحات أسماء الوقت"
572
573 #. type: Plain text
574 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
575 #: opensuse-leap-16-1 opensuse-tumbleweed
576 msgid ""
577 "In order to reassociate itself with a new time namespace, the caller must "
578 "have the B<CAP_SYS_ADMIN> capability both in its own user namespace and in "
579 "the user namespace that owns the target namespace."
580 msgstr ""
581 "من أجل إعادة ربط نفسها بمساحة اسم وقت جديدة، يجب أن يمتلك المتصل القدرة "
582 "B<CAP_SYS_ADMIN> في كل من مساحة اسم المستخدم الخاصة به وفي مساحة اسم "
583 "المستخدم التي تمتلك مساحة الاسم الهدف."
584
585 #. type: Plain text
586 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
587 #: opensuse-leap-16-1 opensuse-tumbleweed
588 msgid "A multithreaded process may not change time namespace with B<setns>()."
589 msgstr ""
590 "لا يجوز لعملية متعددة الخيوط تغيير مساحة اسم الوقت باستخدام B<setns>()."
591
592 #. type: TP
593 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
594 #: opensuse-leap-16-1 opensuse-tumbleweed
595 #, no-wrap
596 msgid "Network, IPC, and UTS namespaces"
597 msgstr "مساحات أسماء الشبكة و IPC و UTS"
598
599 #. type: Plain text
600 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
601 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
602 msgid ""
603 "In order to reassociate itself with a new network, IPC, time, or UTS "
604 "namespace, the caller must have the B<CAP_SYS_ADMIN> capability both in its "
605 "own user namespace and in the user namespace that owns the target namespace."
606 msgstr ""
607 "من أجل إعادة ربط نفسها بمساحة اسم شبكة أو IPC أو وقت أو UTS جديدة، يجب أن "
608 "يمتلك المتصل القدرة B<CAP_SYS_ADMIN> في كل من مساحة اسم المستخدم الخاصة به "
609 "وفي مساحة اسم المستخدم التي تمتلك مساحة الاسم الهدف."
610
611 #. type: SH
612 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
613 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
614 #, no-wrap
615 msgid "RETURN VALUE"
616 msgstr "قيمة الإرجاع"
617
618 #. type: Plain text
619 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
620 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
621 msgid ""
622 "On success, B<setns>() returns 0. On failure, -1 is returned and I<errno> "
623 "is set to indicate the error."
624 msgstr ""
625 "عند النجاح، تُرجع B<setns>() 0. عند الفشل، تُرجع -1 ويُضبط I<errno> للإشارة إلى "
626 "الخطأ."
627
628 #. type: SH
629 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
630 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
631 #, no-wrap
632 msgid "ERRORS"
633 msgstr "الأخطاء"
634
635 #. type: TP
636 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
637 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
638 #, no-wrap
639 msgid "B<EBADF>"
640 msgstr "B<EBADF>"
641
642 #. type: Plain text
643 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
644 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
645 msgid "I<fd> is not a valid file descriptor."
646 msgstr "I<fd> ليس واصف ملف صالح."
647
648 #. type: TP
649 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
650 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
651 #, no-wrap
652 msgid "B<EINVAL>"
653 msgstr "B<EINVAL>"
654
655 #. type: Plain text
656 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
657 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
658 msgid ""
659 "I<fd> refers to a namespace whose type does not match that specified in "
660 "I<nstype>."
661 msgstr "يشير I<fd> إلى مساحة اسم لا يتطابق نوعها مع النوع المحدد في I<nstype>."
662
663 #. type: Plain text
664 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
665 #: opensuse-tumbleweed
666 msgid ""
667 "There is a problem with reassociating the thread with the specified "
668 "namespace."
669 msgstr "توجد مشكلة في إعادة ربط الخيط بمساحة الاسم المحددة."
670
671 #. type: Plain text
672 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
673 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
674 msgid ""
675 "The caller tried to join an ancestor (parent, grandparent, and so on) PID "
676 "namespace."
677 msgstr "حاول المتصل الانضمام إلى مساحة اسم PID سلف (أصل، جد، وهكذا)."
678
679 #. type: Plain text
680 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
681 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
682 msgid ""
683 "The caller attempted to join the user namespace in which it is already a "
684 "member."
685 msgstr "حاول المتصل الانضمام إلى مساحة اسم المستخدم التي هو بالفعل عضو فيها."
686
687 #. commit e66eded8309ebf679d3d3c1f5820d1f2ca332c71
688 #. type: Plain text
689 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
690 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
691 msgid ""
692 "The caller shares filesystem (B<CLONE_FS>) state (in particular, the root "
693 "directory) with other processes and tried to join a new user namespace."
694 msgstr ""
695 "يشارك المتصل حالة نظام الملفات (B<CLONE_FS>) (على وجه الخصوص، الدليل الجذر) "
696 "مع عمليات أخرى وحاول الانضمام إلى مساحة اسم مستخدم جديدة."
697
698 #. See kernel/user_namespace.c::userns_install() [kernel 3.15 sources]
699 #. type: Plain text
700 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
701 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
702 msgid "The caller is multithreaded and tried to join a new user namespace."
703 msgstr "المستدعي متعدد الخيوط وحاول الانضمام إلى فضاء مستخدم جديد."
704
705 #. type: Plain text
706 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
707 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
708 msgid ""
709 "I<fd> is a PID file descriptor and I<nstype> is invalid (e.g., it is 0)."
710 msgstr "I<fd> هو واصف ملف PID و I<nstype> غير صالح (مثلاً، قيمته 0)."
711
712 #. type: TP
713 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
714 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
715 #, no-wrap
716 msgid "B<ENOMEM>"
717 msgstr "B<ENOMEM>"
718
719 #. type: Plain text
720 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
721 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
722 msgid "Cannot allocate sufficient memory to change the specified namespace."
723 msgstr "لا يمكن تخصيص ذاكرة كافية لتغيير فضاء الأسماء المحدد."
724
725 #. type: TP
726 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
727 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
728 #, no-wrap
729 msgid "B<EPERM>"
730 msgstr "B<EPERM>"
731
732 #. type: Plain text
733 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
734 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
735 msgid ""
736 "The calling thread did not have the required capability for this operation."
737 msgstr "لم تمتلك الخيط المستدعي الصلاحية المطلوبة لهذه العملية."
738
739 #. type: TP
740 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
741 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
742 #, no-wrap
743 msgid "B<ESRCH>"
744 msgstr "B<ESRCH>"
745
746 #. type: Plain text
747 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
748 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
749 msgid ""
750 "I<fd> is a PID file descriptor but the process it refers to no longer exists "
751 "(i.e., it has terminated and been waited on)."
752 msgstr ""
753 "I<fd> هو واصف ملف PID ولكن العملية التي يشير إليها لم تعد موجودة (أي، أنها "
754 "أنهيت وانتظر عليها)."
755
756 #. type: SH
757 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
758 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
759 #, no-wrap
760 msgid "STANDARDS"
761 msgstr "المعايير"
762
763 #. type: Plain text
764 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
765 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
766 msgid "Linux."
767 msgstr "لينكس."
768
769 #. type: SH
770 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
771 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
772 #, no-wrap
773 msgid "VERSIONS"
774 msgstr "الإصدارات"
775
776 #. type: Plain text
777 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
778 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
779 msgid "Linux 3.0, glibc 2.14."
780 msgstr "لينكس 3.0، glibc 2.14."
781
782 #. type: SH
783 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
784 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
785 #, no-wrap
786 msgid "NOTES"
787 msgstr "ملاحظات"
788
789 #. type: Plain text
790 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
791 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
792 msgid ""
793 "For further information on the I</proc/>pidI</ns/> magic links, see "
794 "B<namespaces>(7)."
795 msgstr ""
796 "لمزيد من المعلومات حول الروابط السحرية I</proc/>pidI</ns/>، انظر "
797 "B<namespaces>(7)."
798
799 #. type: Plain text
800 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
801 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
802 msgid ""
803 "Not all of the attributes that can be shared when a new thread is created "
804 "using B<clone>(2) can be changed using B<setns>()."
805 msgstr ""
806 "لا يمكن تغيير جميع السمات التي يمكن مشاركتها عند إنشاء خيط جديد باستخدام "
807 "B<clone>(2) باستخدام B<setns>()."
808
809 #. type: SH
810 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
811 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
812 #, no-wrap
813 msgid "EXAMPLES"
814 msgstr "أمثلة"
815
816 #. type: Plain text
817 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
818 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
819 msgid ""
820 "The program below takes two or more arguments. The first argument specifies "
821 "the pathname of a namespace file in an existing I</proc/>pidI</ns/> "
822 "directory. The remaining arguments specify a command and its arguments. "
823 "The program opens the namespace file, joins that namespace using B<setns>(), "
824 "and executes the specified command inside that namespace."
825 msgstr ""
826 "البرنامج أدناه يأخذ وسيطين أو أكثر. تحدد الوسيطة الأولى مسار ملف فضاء أسماء "
827 "في دليل I</proc/>pidI</ns/> موجود. تحدد الوسائط المتبقية أمراً ووسائطه. يفتح "
828 "البرنامج ملف فضاء الأسماء، وينضم إلى ذلك الفضاء باستخدام B<setns>()، وينفذ "
829 "الأمر المحدد داخل ذلك الفضاء."
830
831 #. type: Plain text
832 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
833 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
834 msgid ""
835 "The following shell session demonstrates the use of this program (compiled "
836 "as a binary named I<ns_exec>) in conjunction with the B<CLONE_NEWUTS> "
837 "example program in the B<clone>(2) man page (complied as a binary named "
838 "I<newuts>)."
839 msgstr ""
840 "توضح جلسة الصدفة التالية استخدام هذا البرنامج (المُجمّع كملف ثنائي باسم "
841 "I<ns_exec>) بالتزامن مع برنامج المثال B<CLONE_NEWUTS> في صفحة الدليل "
842 "B<clone>(2) (المُجمّع كملف ثنائي باسم I<newuts>)."
843
844 #. type: Plain text
845 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
846 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
847 msgid ""
848 "We begin by executing the example program in B<clone>(2) in the "
849 "background. That program creates a child in a separate UTS namespace. The "
850 "child changes the hostname in its namespace, and then both processes display "
851 "the hostnames in their UTS namespaces, so that we can see that they are "
852 "different."
853 msgstr ""
854 "نبدأ بتنفيذ البرنامج النموذجي الوارد في B<clone>(2) في الخلفية. يقوم هذا "
855 "البرنامج بإنشاء عملية فرعية في مساحة أسماء UTS منفصلة. تقوم العملية الفرعية "
856 "بتغيير اسم المضيف في مساحة أسمائها، ثم تعرض كلتا العمليتين أسماء المضيفين في "
857 "مساحات أسماء UTS الخاصة بهما، بحيث يمكننا ملاحظة اختلافهما."
858
859 #. type: Plain text
860 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
861 #: opensuse-tumbleweed
862 #, no-wrap
863 msgid ""
864 "$B< su>; # Need privilege for namespace operations\n"
865 "Password:\n"
866 "#B< ./newuts bizarro &>\n"
867 "[1] 3549\n"
868 "clone() returned 3550\n"
869 "uts.nodename in child: bizarro\n"
870 "uts.nodename in parent: antero\n"
871 "#B< uname -n>; # Verify hostname in the shell\n"
872 "antero\n"
873 msgstr ""
874 "$B< su>; # Need privilege for namespace operations\n"
875 "Password:\n"
876 "#B< ./newuts bizarro &>\n"
877 "[1] 3549\n"
878 "clone() returned 3550\n"
879 "uts.nodename in child: bizarro\n"
880 "uts.nodename in parent: antero\n"
881 "#B< uname -n>; # Verify hostname in the shell\n"
882 "antero\n"
883
884 #. type: Plain text
885 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
886 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
887 msgid ""
888 "We then run the program shown below, using it to execute a shell. Inside "
889 "that shell, we verify that the hostname is the one set by the child created "
890 "by the first program:"
891 msgstr ""
892 "ثم نشغل البرنامج الموضح أدناه، مستخدمين إياه لتنفيذ صدفة. داخل تلك الصدفة، "
893 "نتحقق من أن اسم المضيف هو الذي حدده الطفل الذي أنشأه البرنامج الأول:"
894
895 #. type: Plain text
896 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
897 #: opensuse-tumbleweed
898 #, no-wrap
899 msgid ""
900 "#B< ./ns_exec /proc/3550/ns/uts /bin/bash>;\n"
901 "#B< uname -n>; # Executed in shell started by ns_exec\n"
902 "bizarro\n"
903 msgstr ""
904 "#B< ./ns_exec /proc/3550/ns/uts /bin/bash>;\n"
905 "#B< uname -n>; # Executed in shell started by ns_exec\n"
906 "bizarro\n"
907
908 #. type: SS
909 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
910 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
911 #, no-wrap
912 msgid "Program source"
913 msgstr "مصدر البرنامج"
914
915 #. type: Plain text
916 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
917 #: opensuse-tumbleweed
918 #, no-wrap
919 msgid ""
920 "#define _GNU_SOURCE\n"
921 "#include E<lt>err.hE<gt>\n"
922 "#include E<lt>fcntl.hE<gt>\n"
923 "#include E<lt>sched.hE<gt>\n"
924 "#include E<lt>stdio.hE<gt>\n"
925 "#include E<lt>stdlib.hE<gt>\n"
926 "#include E<lt>unistd.hE<gt>\n"
927 "\\&\n"
928 "int\n"
929 "main(int argc, char *argv[])\n"
930 "{\n"
931 " int fd;\n"
932 "\\&\n"
933 " if (argc E<lt> 3) {\n"
934 " fprintf(stderr, \"%s /proc/PID/ns/FILE cmd args...\\[rs]n\", argv[0]);\n"
935 " exit(EXIT_FAILURE);\n"
936 " }\n"
937 "\\&\n"
938 " /* Get file descriptor for namespace; the file descriptor is opened\n"
939 " with O_CLOEXEC so as to ensure that it is not inherited by the\n"
940 " program that is later executed. */\n"
941 "\\&\n"
942 " fd = open(argv[1], O_RDONLY | O_CLOEXEC);\n"
943 " if (fd == -1)\n"
944 " err(EXIT_FAILURE, \"open\");\n"
945 "\\&\n"
946 " if (setns(fd, 0) == -1) /* Join that namespace */\n"
947 " err(EXIT_FAILURE, \"setns\");\n"
948 "\\&\n"
949 " execvp(argv[2], &argv[2]); /* Execute a command in namespace */\n"
950 " err(EXIT_FAILURE, \"execvp\");\n"
951 "}\n"
952 msgstr ""
953 "#define _GNU_SOURCE\n"
954 "#include E<lt>err.hE<gt>\n"
955 "#include E<lt>fcntl.hE<gt>\n"
956 "#include E<lt>sched.hE<gt>\n"
957 "#include E<lt>stdio.hE<gt>\n"
958 "#include E<lt>stdlib.hE<gt>\n"
959 "#include E<lt>unistd.hE<gt>\n"
960 "\\&\n"
961 "int\n"
962 "main(int argc, char *argv[])\n"
963 "{\n"
964 " int fd;\n"
965 "\\&\n"
966 " if (argc E<lt> 3) {\n"
967 " fprintf(stderr, \"%s /proc/PID/ns/FILE cmd args...\\[rs]n\", argv[0]);\n"
968 " exit(EXIT_FAILURE);\n"
969 " }\n"
970 "\\&\n"
971 " /* Get file descriptor for namespace; the file descriptor is opened\n"
972 " with O_CLOEXEC so as to ensure that it is not inherited by the\n"
973 " program that is later executed. */\n"
974 "\\&\n"
975 " fd = open(argv[1], O_RDONLY | O_CLOEXEC);\n"
976 " if (fd == -1)\n"
977 " err(EXIT_FAILURE, \"open\");\n"
978 "\\&\n"
979 " if (setns(fd, 0) == -1) /* Join that namespace */\n"
980 " err(EXIT_FAILURE, \"setns\");\n"
981 "\\&\n"
982 " execvp(argv[2], &argv[2]); /* Execute a command in namespace */\n"
983 " err(EXIT_FAILURE, \"execvp\");\n"
984 "}\n"
985
986 #. SRC END
987 #. type: SH
988 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
989 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
990 #, no-wrap
991 msgid "SEE ALSO"
992 msgstr "انظر أيضًا"
993
994 #. type: Plain text
995 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
996 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
997 msgid ""
998 "B<nsenter>(1), B<clone>(2), B<fork>(2), B<unshare>(2), B<vfork>(2), "
999 "B<namespaces>(7), B<unix>(7)"
1000 msgstr ""
1001 "B<nsenter>(1), B<clone>(2), B<fork>(2), B<unshare>(2), B<vfork>(2), "
1002 "B<namespaces>(7), B<unix>(7)"
1003
1004 #. type: TH
1005 #: debian-trixie
1006 #, no-wrap
1007 msgid "2024-06-15"
1008 msgstr "15 يونيو 2024"
1009
1010 #. type: TH
1011 #: debian-trixie
1012 #, no-wrap
1013 msgid "Linux man-pages 6.9.1"
1014 msgstr "صفحات دليل لينكس 6.9.1"
1015
1016 #. type: Plain text
1017 #: debian-trixie
1018 msgid "Standard C library (I<libc>, I<-lc>)"
1019 msgstr "مكتبة سي المعيارية (I<libc>، I<-lc>)"
1020
1021 #. type: SS
1022 #: debian-trixie fedora-44 fedora-rawhide
1023 #, no-wrap
1024 msgid "fd refers to a I</proc/>pidI</ns/> link"
1025 msgstr "fd يشير إلى رابط I</proc/>pidI</ns/>"
1026
1027 #. type: TP
1028 #: debian-trixie
1029 #, no-wrap
1030 msgid "Network, IPC, time, and UTS namespaces"
1031 msgstr "فضاءات أسماء الشبكة، IPC، الوقت، و UTS"
1032
1033 #. type: Plain text
1034 #: debian-trixie fedora-44 fedora-rawhide
1035 msgid ""
1036 "There is problem with reassociating the thread with the specified namespace."
1037 msgstr "توجد مشكلة في إعادة ربط الخيط بفضاء الأسماء المحدد."
1038
1039 #. type: Plain text
1040 #: debian-trixie fedora-44 fedora-rawhide
1041 #, no-wrap
1042 msgid ""
1043 "$ B<su> # Need privilege for namespace operations\n"
1044 "Password:\n"
1045 "# B<./newuts bizarro &>\n"
1046 "[1] 3549\n"
1047 "clone() returned 3550\n"
1048 "uts.nodename in child: bizarro\n"
1049 "uts.nodename in parent: antero\n"
1050 "# B<uname -n> # Verify hostname in the shell\n"
1051 "antero\n"
1052 msgstr ""
1053 "$ B<su> # Need privilege for namespace operations\n"
1054 "Password:\n"
1055 "# B<./newuts bizarro &>\n"
1056 "[1] 3549\n"
1057 "clone() returned 3550\n"
1058 "uts.nodename in child: bizarro\n"
1059 "uts.nodename in parent: antero\n"
1060 "# B<uname -n> # Verify hostname in the shell\n"
1061 "antero\n"
1062
1063 #. type: Plain text
1064 #: debian-trixie fedora-44 fedora-rawhide
1065 #, no-wrap
1066 msgid ""
1067 "# B<./ns_exec /proc/3550/ns/uts /bin/bash>\n"
1068 "# B<uname -n> # Executed in shell started by ns_exec\n"
1069 "bizarro\n"
1070 msgstr ""
1071 "# B<./ns_exec /proc/3550/ns/uts /bin/bash>\n"
1072 "# B<uname -n> # Executed in shell started by ns_exec\n"
1073 "bizarro\n"
1074
1075 #. type: Plain text
1076 #: debian-trixie fedora-44 fedora-rawhide
1077 #, no-wrap
1078 msgid ""
1079 "#define _GNU_SOURCE\n"
1080 "#include E<lt>err.hE<gt>\n"
1081 "#include E<lt>fcntl.hE<gt>\n"
1082 "#include E<lt>sched.hE<gt>\n"
1083 "#include E<lt>stdio.hE<gt>\n"
1084 "#include E<lt>stdlib.hE<gt>\n"
1085 "#include E<lt>unistd.hE<gt>\n"
1086 "\\&\n"
1087 "int\n"
1088 "main(int argc, char *argv[])\n"
1089 "{\n"
1090 " int fd;\n"
1091 "\\&\n"
1092 " if (argc E<lt> 3) {\n"
1093 " fprintf(stderr, \"%s /proc/PID/ns/FILE cmd args...\\[rs]n\", argv[0]);\n"
1094 " exit(EXIT_FAILURE);\n"
1095 " }\n"
1096 "\\&\n"
1097 " /* Get file descriptor for namespace; the file descriptor is opened\n"
1098 " with O_CLOEXEC so as to ensure that it is not inherited by the\n"
1099 " program that is later executed. */\n"
1100 "\\&\n"
1101 " fd = open(argv[1], O_RDONLY | O_CLOEXEC);\n"
1102 " if (fd == -1)\n"
1103 " err(EXIT_FAILURE, \"open\");\n"
1104 "\\&\n"
1105 " if (setns(fd, 0) == -1) /* Join that namespace */\n"
1106 " err(EXIT_FAILURE, \"setns\");\n"
1107 "\\&\n"
1108 " execvp(argv[2], &argv[2]); /* Execute a command in namespace */\n"
1109 " err(EXIT_FAILURE, \"execvp\");\n"
1110 "}\n"
1111 msgstr ""
1112 "#define _GNU_SOURCE\n"
1113 "#include E<lt>err.hE<gt>\n"
1114 "#include E<lt>fcntl.hE<gt>\n"
1115 "#include E<lt>sched.hE<gt>\n"
1116 "#include E<lt>stdio.hE<gt>\n"
1117 "#include E<lt>stdlib.hE<gt>\n"
1118 "#include E<lt>unistd.hE<gt>\n"
1119 "\\&\n"
1120 "int\n"
1121 "main(int argc, char *argv[])\n"
1122 "{\n"
1123 " int fd;\n"
1124 "\\&\n"
1125 " if (argc E<lt> 3) {\n"
1126 " fprintf(stderr, \"%s /proc/PID/ns/FILE cmd args...\\[rs]n\", argv[0]);\n"
1127 " exit(EXIT_FAILURE);\n"
1128 " }\n"
1129 "\\&\n"
1130 " /* Get file descriptor for namespace; the file descriptor is opened\n"
1131 " with O_CLOEXEC so as to ensure that it is not inherited by the\n"
1132 " program that is later executed. */\n"
1133 "\\&\n"
1134 " fd = open(argv[1], O_RDONLY | O_CLOEXEC);\n"
1135 " if (fd == -1)\n"
1136 " err(EXIT_FAILURE, \"open\");\n"
1137 "\\&\n"
1138 " if (setns(fd, 0) == -1) /* Join that namespace */\n"
1139 " err(EXIT_FAILURE, \"setns\");\n"
1140 "\\&\n"
1141 " execvp(argv[2], &argv[2]); /* Execute a command in namespace */\n"
1142 " err(EXIT_FAILURE, \"execvp\");\n"
1143 "}\n"
1144
1145 #. type: TH
1146 #: fedora-44 fedora-rawhide
1147 #, no-wrap
1148 msgid "2025-01-07"
1149 msgstr "7 يناير 2025"
1150
1151 #. type: TH
1152 #: fedora-44 fedora-rawhide
1153 #, no-wrap
1154 msgid "Linux man-pages 6.13"
1155 msgstr "صفحات دليل لينكس 6.13"
1156
1157 #. type: TH
1158 #: mageia-cauldron
1159 #, no-wrap
1160 msgid "Linux man-pages 6.17"
1161 msgstr "صفحات دليل لينكس 6.17"
1162
1163 #. type: TH
1164 #: opensuse-leap-16-1 opensuse-tumbleweed
1165 #, no-wrap
1166 msgid "Linux man-pages (unreleased)"
1167 msgstr "صفحات دليل لينكس (لم تصدر بعد)"