Debian Codegraph @

po/ar/man2/vfork.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:50+0200\n"
9 "PO-Revision-Date: 2026-05-18 18:00+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 "vfork"
25 msgstr "vfork"
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 "vfork - create a child process and block parent"
51 msgstr "vfork - إنشاء عملية طفل وحظر العملية الأم"
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 "B<#include E<lt>unistd.hE<gt>>\n"
78 msgstr "B<#include E<lt>unistd.hE<gt>>\n"
79
80 #. type: Plain text
81 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
82 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
83 #, no-wrap
84 msgid "B<pid_t vfork(void);>\n"
85 msgstr "B<pid_t vfork(void);>\n"
86
87 #. type: Plain text
88 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
89 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
90 msgid ""
91 "Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):"
92 msgstr ""
93 "متطلبات ماكروات اختبار الميزات لـ glibc (انظر B<feature_test_macros>(7)):"
94
95 #. type: Plain text
96 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
97 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
98 msgid "B<vfork>():"
99 msgstr "B<vfork>():"
100
101 #. || _XOPEN_SOURCE && _XOPEN_SOURCE_EXTENDED
102 #. type: Plain text
103 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
104 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
105 #, no-wrap
106 msgid ""
107 " Since glibc 2.12:\n"
108 " (_XOPEN_SOURCE E<gt>= 500) && ! (_POSIX_C_SOURCE E<gt>= 200809L)\n"
109 " || /* Since glibc 2.19: */ _DEFAULT_SOURCE\n"
110 " || /* glibc E<lt>= 2.19: */ _BSD_SOURCE\n"
111 " Before glibc 2.12:\n"
112 " _BSD_SOURCE || _XOPEN_SOURCE E<gt>= 500\n"
113 msgstr ""
114 " Since glibc 2.12:\n"
115 " (_XOPEN_SOURCE E<gt>= 500) && ! (_POSIX_C_SOURCE E<gt>= 200809L)\n"
116 " || /* Since glibc 2.19: */ _DEFAULT_SOURCE\n"
117 " || /* glibc E<lt>= 2.19: */ _BSD_SOURCE\n"
118 " Before glibc 2.12:\n"
119 " _BSD_SOURCE || _XOPEN_SOURCE E<gt>= 500\n"
120
121 #. type: SH
122 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
123 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
124 #, no-wrap
125 msgid "DESCRIPTION"
126 msgstr "الوصف"
127
128 #. type: SS
129 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
130 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
131 #, no-wrap
132 msgid "Standard description"
133 msgstr "الوصف القياسي"
134
135 #. type: Plain text
136 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
137 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
138 msgid ""
139 "(From POSIX.1) The B<vfork>() function has the same effect as B<fork>(2), "
140 "except that the behavior is undefined if the process created by B<vfork>() "
141 "either modifies any data other than a variable of type I<pid_t> used to "
142 "store the return value from B<vfork>(), or returns from the function in "
143 "which B<vfork>() was called, or calls any other function before "
144 "successfully calling B<_exit>(2) or one of the B<exec>(3) family of "
145 "functions."
146 msgstr ""
147 "(من POSIX.1) دالة B<vfork>() لها نفس تأثير B<fork>(2)، باستثناء أن السلوك "
148 "غير محدد إذا قامت العملية المنشأة بواسطة B<vfork>() إما بتعديل أي بيانات غير "
149 "متغير من النوع I<pid_t> المستخدم لتخزين القيمة المعادة من B<vfork>()، أو "
150 "العودة من الدالة التي استُدعيت فيها B<vfork>()، أو استدعاء أي دالة أخرى قبل "
151 "استدعاء B<_exit>(2) بنجاح أو إحدى دوال عائلة B<exec>(3)."
152
153 #. type: SS
154 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
155 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
156 #, no-wrap
157 msgid "Linux description"
158 msgstr "وصف لينكس"
159
160 #. type: Plain text
161 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
162 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
163 msgid ""
164 "B<vfork>(), just like B<fork>(2), creates a child process of the calling "
165 "process. For details and return value and errors, see B<fork>(2)."
166 msgstr ""
167 "B<vfork>()، تمامًا مثل B<fork>(2)، تنشئ عملية طفل للعملية المستدعية. للتفاصيل "
168 "والقيمة المعادة والأخطاء، انظر B<fork>(2)."
169
170 #. type: Plain text
171 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
172 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
173 msgid ""
174 "B<vfork>() is a special case of B<clone>(2). It is used to create new "
175 "processes without copying the page tables of the parent process. It may be "
176 "useful in performance-sensitive applications where a child is created which "
177 "then immediately issues an B<execve>(2)."
178 msgstr ""
179 "B<vfork>() هي حالة خاصة من B<clone>(2). تُستخدم لإنشاء عمليات جديدة دون نسخ "
180 "جداول الصفحات للعملية الأم. قد تكون مفيدة في التطبيقات الحساسة للأداء حيث "
181 "تُنشأ عملية طفل ثم تُصدر فورًا B<execve>(2)."
182
183 #. type: Plain text
184 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
185 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
186 msgid ""
187 "B<vfork>() differs from B<fork>(2) in that the calling thread is suspended "
188 "until the child terminates (either normally, by calling B<_exit>(2), or "
189 "abnormally, after delivery of a fatal signal), or it makes a call to "
190 "B<execve>(2). Until that point, the child shares all memory with its "
191 "parent, including the stack. The child must not return from the current "
192 "function or call B<exit>(3) (which would have the effect of calling exit "
193 "handlers established by the parent process and flushing the parent's "
194 "B<stdio>(3) buffers), but may call B<_exit>(2)."
195 msgstr ""
196 "تختلف B<vfork>() عن B<fork>(2) في أن الخيط المستدعي يُعلق حتى تنتهي عملية "
197 "الطفل (إما بشكل طبيعي، باستدعاء B<_exit>(2)، أو بشكل غير طبيعي، بعد تسليم "
198 "إشارة قاتلة)، أو تقوم باستدعاء B<execve>(2). حتى تلك النقطة، تشارك الطفل "
199 "جميع الذاكرة مع أمها، بما في ذلك المكدس. يجب ألا تعود الطفل من الدالة "
200 "الحالية أو تستدعي B<exit>(3) (والذي سيكون له تأثير استدعاء معالجات الخروج "
201 "المنشأة بواسطة العملية الأم وتفريغ مخازن B<stdio>(3) للأم)، ولكن قد تستدعي "
202 "B<_exit>(2)."
203
204 #. type: Plain text
205 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
206 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
207 msgid ""
208 "As with B<fork>(2), the child process created by B<vfork>() inherits copies "
209 "of various of the caller's process attributes (e.g., file descriptors, "
210 "signal dispositions, and current working directory); the B<vfork>() call "
211 "differs only in the treatment of the virtual address space, as described "
212 "above."
213 msgstr ""
214 "كما هو الحال مع B<fork>(2)، ترث عملية الطفل المنشأة بواسطة B<vfork>() نسخًا "
215 "من سمات عملية المستدعي المختلفة (مثل واصفات الملفات، وإعدادات الإشارات، "
216 "ودليل العمل الحالي)؛ يختلف استدعاء B<vfork>() فقط في معالجة مساحة العنوان "
217 "الافتراضية، كما هو موصوف أعلاه."
218
219 #. type: Plain text
220 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
221 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
222 msgid ""
223 "Signals sent to the parent arrive after the child releases the parent's "
224 "memory (i.e., after the child terminates or calls B<execve>(2))."
225 msgstr ""
226 "تصل الإشارات المرسلة إلى الأم بعد أن تحرر الطفل ذاكرة الأم (أي بعد أن تنتهي "
227 "الطفل أو تستدعي B<execve>(2))."
228
229 #. type: SS
230 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
231 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
232 #, no-wrap
233 msgid "Historic description"
234 msgstr "الوصف التاريخي"
235
236 #. type: Plain text
237 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
238 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
239 msgid ""
240 "Under Linux, B<fork>(2) is implemented using copy-on-write pages, so the "
241 "only penalty incurred by B<fork>(2) is the time and memory required to "
242 "duplicate the parent's page tables, and to create a unique task structure "
243 "for the child. However, in the bad old days a B<fork>(2) would require "
244 "making a complete copy of the caller's data space, often needlessly, since "
245 "usually immediately afterward an B<exec>(3) is done. Thus, for greater "
246 "efficiency, BSD introduced the B<vfork>() system call, which did not fully "
247 "copy the address space of the parent process, but borrowed the parent's "
248 "memory and thread of control until a call to B<execve>(2) or an exit "
249 "occurred. The parent process was suspended while the child was using its "
250 "resources. The use of B<vfork>() was tricky: for example, not modifying "
251 "data in the parent process depended on knowing which variables were held in "
252 "a register."
253 msgstr ""
254 "تحت لينكس، تُنفذ B<fork>(2) باستخدام صفحات النسخ عند الكتابة، لذا فإن العقوبة "
255 "الوحيدة التي تتكبدها B<fork>(2) هي الوقت والذاكرة المطلوبين لنسخ جداول صفحات "
256 "الأم، وإنشاء هيكل مهمة فريد للطفل. ومع ذلك، في الأيام القديمة السيئة، كانت "
257 "B<fork>(2) تتطلب عمل نسخة كاملة من مساحة بيانات المستدعي، غالبًا دون داع، حيث "
258 "عادةً ما يتم تنفيذ B<exec>(3) بعدها مباشرة. وبالتالي، لتحقيق كفاءة أكبر، قدمت "
259 "BSD استدعاء النظام B<vfork>()، والذي لم ينسخ مساحة عنوان العملية الأم "
260 "بالكامل، بل استعار ذاكرة الأم وخيط التحكم حتى حدوث استدعاء لـ B<execve>(2) "
261 "أو خروج. كانت العملية الأم معلقة بينما كانت الطفل تستخدم مواردها. كان "
262 "استخدام B<vfork>() صعبًا: على سبيل المثال، عدم تعديل البيانات في العملية الأم "
263 "يعتمد على معرفة المتغيرات المحفوظة في سجل."
264
265 #. type: SH
266 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
267 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
268 #, no-wrap
269 msgid "VERSIONS"
270 msgstr "الإصدارات"
271
272 #. In AIXv3.1 vfork is equivalent to fork.
273 #. type: Plain text
274 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
275 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
276 msgid ""
277 "The requirements put on B<vfork>() by the standards are weaker than those "
278 "put on B<fork>(2), so an implementation where the two are synonymous is "
279 "compliant. In particular, the programmer cannot rely on the parent "
280 "remaining blocked until the child either terminates or calls B<execve>(2), "
281 "and cannot rely on any specific behavior with respect to shared memory."
282 msgstr ""
283 "المتطلبات المفروضة على B<vfork>() بواسطة المعايير أضعف من تلك المفروضة على "
284 "B<fork>(2)، لذا فإن التنفيذ حيث يكون الاثنان مترادفين متوافق. على وجه "
285 "الخصوص، لا يمكن للمبرمج الاعتماد على بقاء الأم محظورة حتى تنتهي الطفل أو "
286 "تستدعي B<execve>(2)، ولا يمكن الاعتماد على أي سلوك محدد فيما يتعلق بالذاكرة "
287 "المشتركة."
288
289 #. type: Plain text
290 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
291 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
292 msgid ""
293 "Some consider the semantics of B<vfork>() to be an architectural blemish, "
294 "and the 4.2BSD man page stated: \\[lq]This system call will be eliminated "
295 "when proper system sharing mechanisms are implemented. Users should not "
296 "depend on the memory sharing semantics of I<vfork> as it will, in that case, "
297 "be made synonymous to I<fork>.\\[rq] However, even though modern memory "
298 "management hardware has decreased the performance difference between "
299 "B<fork>(2) and B<vfork>(), there are various reasons why Linux and other "
300 "systems have retained B<vfork>():"
301 msgstr ""
302 "يعتبر البعض دلالات B<vfork>() عيبًا معماريًا، وصفحة الدليل 4.2BSD نصت: "
303 "\\[lq]سيتم إزالة استدعاء النظام هذا عند تنفيذ آليات المشاركة المناسبة "
304 "للنظام. يجب ألا يعتمد المستخدمون على دلالات مشاركة الذاكرة لـ I<vfork> حيث "
305 "أنها، في تلك الحالة، ستُجعل مرادفة لـ I<fork>.\\[rq] ومع ذلك، على الرغم من أن "
306 "أجهزة إدارة الذاكرة الحديثة قللت من فرق الأداء بين B<fork>(2) و B<vfork>()، "
307 "هناك أسباب متنوعة وراء احتفاظ لينكس والأنظمة الأخرى بـ B<vfork>():"
308
309 #. type: IP
310 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
311 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
312 #, no-wrap
313 msgid "\\[bu]"
314 msgstr "\\[bu]"
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 ""
320 "Some performance-critical applications require the small performance "
321 "advantage conferred by B<vfork>()."
322 msgstr ""
323 "تتطلب بعض التطبيقات الحساسة للأداء الميزة الصغيرة في الأداء التي يمنحها "
324 "B<vfork>()."
325
326 #. http://stackoverflow.com/questions/4259629/what-is-the-difference-between-fork-and-vfork
327 #. http://developers.sun.com/solaris/articles/subprocess/subprocess.html
328 #. http://mailman.uclinux.org/pipermail/uclinux-dev/2009-April/000684.html
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 "B<vfork>() can be implemented on systems that lack a memory-management unit "
334 "(MMU), but B<fork>(2) can't be implemented on such systems. (POSIX.1-2008 "
335 "removed B<vfork>() from the standard; the POSIX rationale for the "
336 "B<posix_spawn>(3) function notes that that function, which provides "
337 "functionality equivalent to B<fork>(2)+ B<exec>(3), is designed to be "
338 "implementable on systems that lack an MMU.)"
339 msgstr ""
340 "يمكن تنفيذ B<vfork>() على الأنظمة التي تفتقر إلى وحدة إدارة الذاكرة (MMU)، "
341 "لكن لا يمكن تنفيذ B<fork>(2) على هذه الأنظمة. (أزال POSIX.1-2008 B<vfork>() "
342 "من المعيار؛ يلاحظ الأساس المنطقي لـ POSIX لدالة B<posix_spawn>(3) أن تلك "
343 "الدالة، التي توفر وظائف مكافئة لـ B<fork>(2)+ B<exec>(3)، مصممة لتكون قابلة "
344 "للتنفيذ على الأنظمة التي تفتقر إلى MMU.)"
345
346 #. type: Plain text
347 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
348 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
349 msgid ""
350 "On systems where memory is constrained, B<vfork>() avoids the need to "
351 "temporarily commit memory (see the description of I</proc/sys/vm/"
352 "overcommit_memory> in B<proc>(5)) in order to execute a new program. (This "
353 "can be especially beneficial where a large parent process wishes to execute "
354 "a small helper program in a child process.) By contrast, using B<fork>(2) "
355 "in this scenario requires either committing an amount of memory equal to the "
356 "size of the parent process (if strict overcommitting is in force) or "
357 "overcommitting memory with the risk that a process is terminated by the out-"
358 "of-memory (OOM) killer."
359 msgstr ""
360 "على الأنظمة حيث الذاكرة محدودة، يتجنب B<vfork>() الحاجة إلى الالتزام المؤقت "
361 "بالذاكرة (انظر وصف I</proc/sys/vm/overcommit_memory> في B<proc>(5)) لتنفيذ "
362 "برنامج جديد. (يمكن أن يكون هذا مفيدًا بشكل خاص حيث ترغب عملية أم كبيرة في "
363 "تنفيذ برنامج مساعد صغير في عملية طفل.) على النقيض، استخدام B<fork>(2) في هذا "
364 "السيناريو يتطلب إما الالتزام بكمية من الذاكرة مساوية لحجم العملية الأم (إذا "
365 "كان الالتزام الزائد الصارم مفعلًا) أو الالتزام الزائد بالذاكرة مع خطر إنهاء "
366 "العملية بواسطة قاتل نفاد الذاكرة (OOM)."
367
368 #. type: SS
369 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
370 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
371 #, no-wrap
372 msgid "Linux notes"
373 msgstr "ملاحظات لينكس"
374
375 #. type: Plain text
376 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
377 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
378 msgid ""
379 "Fork handlers established using B<pthread_atfork>(3) are not called when a "
380 "multithreaded program employing the NPTL threading library calls "
381 "B<vfork>(). Fork handlers are called in this case in a program using the "
382 "LinuxThreads threading library. (See B<pthreads>(7) for a description of "
383 "Linux threading libraries.)"
384 msgstr ""
385 "لا تُستدعى معالجات fork المنشأة باستخدام B<pthread_atfork>(3) عندما يستدعي "
386 "برنامج متعدد الخيوط يستخدم مكتبة الخيوط NPTL B<vfork>(). تُستدعى معالجات fork "
387 "في هذه الحالة في برنامج يستخدم مكتبة الخيوط LinuxThreads. (انظر "
388 "B<pthreads>(7) لوصف مكتبات خيوط لينكس.)"
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 "A call to B<vfork>() is equivalent to calling B<clone>(2) with I<flags> "
395 "specified as:"
396 msgstr ""
397 "استدعاء B<vfork>() مكافئ لاستدعاء B<clone>(2) مع تحديد I<flags> كالتالي:"
398
399 #. type: Plain text
400 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
401 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
402 #, no-wrap
403 msgid " CLONE_VM | CLONE_VFORK | SIGCHLD\n"
404 msgstr " CLONE_VM | CLONE_VFORK | SIGCHLD\n"
405
406 #. type: SH
407 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
408 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
409 #, no-wrap
410 msgid "STANDARDS"
411 msgstr "المعايير"
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 "None."
417 msgstr "لا شيء."
418
419 #. type: SH
420 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
421 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
422 #, no-wrap
423 msgid "HISTORY"
424 msgstr "التاريخ"
425
426 #. type: Plain text
427 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
428 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
429 msgid ""
430 "4.3BSD; POSIX.1-2001 (but marked OBSOLETE). POSIX.1-2008 removes the "
431 "specification of B<vfork>()."
432 msgstr ""
433 "4.3BSD; POSIX.1-2001 (لكن مُعلّم كـ OBSOLETE). يزيل POSIX.1-2008 مواصفات "
434 "B<vfork>()."
435
436 #. In the release notes for 4.2BSD Sam Leffler wrote: `vfork: Is still
437 #. present, but definitely on its way out'.
438 #. type: Plain text
439 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
440 #: opensuse-tumbleweed
441 msgid ""
442 "The B<vfork>() system call appeared in 3.0BSD. In 4.4BSD it was made "
443 "synonymous to B<fork>(2) but NetBSD introduced it again; see E<.UR http:"
444 "\\://www.netbsd.org\\:/Documentation\\:/kernel\\:/vfork.html> E<.UE .> In "
445 "Linux, it has been equivalent to B<fork>(2) until Linux 2.2.0-pre6 or so. "
446 "Since Linux 2.2.0-pre9 (on i386, somewhat later on other architectures) it "
447 "is an independent system call. Support was added in glibc 2.0.112."
448 msgstr ""
449 "ظهر استدعاء النظام B<vfork>() في 3.0BSD. في 4.4BSD جُعل مرادفًا لـ B<fork>(2) "
450 "لكن NetBSD أعادت تقديمه؛ انظر E<.UR http:\\://www.netbsd.org\\:/"
451 "Documentation\\:/kernel\\:/vfork.html> E<.UE .> في لينكس، كان مكافئًا لـ "
452 "B<fork>(2) حتى لينكس 2.2.0-pre6 أو نحو ذلك. منذ لينكس 2.2.0-pre9 (على i386، "
453 "وبعد ذلك بقليل على البنى الأخرى) أصبح استدعاء نظام مستقل. أُضيف الدعم في "
454 "glibc 2.0.112."
455
456 #. type: SH
457 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
458 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
459 #, no-wrap
460 msgid "CAVEATS"
461 msgstr "تحذيرات"
462
463 #. type: Plain text
464 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
465 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
466 msgid ""
467 "The child process should take care not to modify the memory in unintended "
468 "ways, since such changes will be seen by the parent process once the child "
469 "terminates or executes another program. In this regard, signal handlers can "
470 "be especially problematic: if a signal handler that is invoked in the child "
471 "of B<vfork>() changes memory, those changes may result in an inconsistent "
472 "process state from the perspective of the parent process (e.g., memory "
473 "changes would be visible in the parent, but changes to the state of open "
474 "file descriptors would not be visible)."
475 msgstr ""
476 "يجب على عملية الطفل توخي الحذر لعدم تعديل الذاكرة بطرق غير مقصودة، حيث سترى "
477 "العملية الأم هذه التغييرات بمجرد أن تنتهي الطفل أو تنفذ برنامجًا آخر. في هذا "
478 "الصدد، يمكن أن تكون معالجات الإشارات مشكلة بشكل خاص: إذا قام معالج إشارة "
479 "يُستدعى في طفل B<vfork>() بتغيير الذاكرة، فقد تؤدي هذه التغييرات إلى حالة "
480 "عملية غير متسقة من منظور العملية الأم (مثلًا، ستكون تغييرات الذاكرة مرئية في "
481 "الأم، لكن التغييرات في حالة واصفات الملفات المفتوحة لن تكون مرئية)."
482
483 #. type: Plain text
484 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
485 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
486 msgid ""
487 "When B<vfork>() is called in a multithreaded process, only the calling "
488 "thread is suspended until the child terminates or executes a new program. "
489 "This means that the child is sharing an address space with other running "
490 "code. This can be dangerous if another thread in the parent process changes "
491 "credentials (using B<setuid>(2) or similar), since there are now two "
492 "processes with different privilege levels running in the same address "
493 "space. As an example of the dangers, suppose that a multithreaded program "
494 "running as root creates a child using B<vfork>(). After the B<vfork>(), a "
495 "thread in the parent process drops the process to an unprivileged user in "
496 "order to run some untrusted code (e.g., perhaps via plug-in opened with "
497 "B<dlopen>(3)). In this case, attacks are possible where the parent process "
498 "uses B<mmap>(2) to map in code that will be executed by the privileged "
499 "child process."
500 msgstr ""
501 "عند استدعاء B<vfork>() في عملية متعددة الخيوط، يعلق فقط الخيط المستدعيحتى "
502 "تنتهي العملية الفرعية أو تنفذ برنامجًا جديدًا. وهذا يعني أن العملية الفرعية "
503 "تتشارك مساحة العناوين مع شفرات أخرى قيد التشغيل. قد يكون هذا خطيرًا إذا قام "
504 "مؤشر ترابط آخر في العملية الأم بتغيير بيانات الاعتماد (باستخدام "
505 "B<setuid>(2) أو ما شابه)، نظرًا لوجود عمليتين الآن بمستويات امتيازات مختلفة "
506 "تعملان في نفس مساحة العناوين. كمثال على المخاطر، لنفترض أن برنامجًا متعدد "
507 "الخيوط يعملبصفته الجذر ينشئ عملية فرعية باستخدام B<vfork>(). بعد "
508 "B<vfork>()، يقوم خيطفي العملية الأم بتسليم العملية إلى مستخدم غير متمتع "
509 "بامتيازات من أجلتشغيل بعض الأكواد غير الموثوق بها (على سبيل المثال، ربما عبر "
510 "مكون إضافي تم فتحه باستخدامB<dlopen>(3)). في هذه الحالة، تكون الهجمات ممكنة "
511 "عندما تستخدم العملية الأم B<mmap>(2) لتعيين رمز سيتم تنفيذه بواسطة العملية "
512 "الفرعية ذات الامتيازات."
513
514 #. type: SH
515 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
516 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
517 #, no-wrap
518 msgid "BUGS"
519 msgstr "العلل"
520
521 #. As far as I can tell, the following is not true in Linux 2.6.19:
522 #. Currently (Linux 2.3.25),
523 #. .BR strace (1)
524 #. cannot follow
525 #. .BR vfork ()
526 #. and requires a kernel patch.
527 #. type: Plain text
528 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
529 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
530 msgid ""
531 "Details of the signal handling are obscure and differ between systems. The "
532 "BSD man page states: \"To avoid a possible deadlock situation, processes "
533 "that are children in the middle of a B<vfork>() are never sent B<SIGTTOU> "
534 "or B<SIGTTIN> signals; rather, output or I<ioctl>s are allowed and input "
535 "attempts result in an end-of-file indication.\""
536 msgstr ""
537 "تفاصيل معالجة الإشارات غير واضحة وتختلف من نظام لآخر. تنص صفحة دليل BSD على "
538 "ما يلي: ”لتجنب حدوث حالة تعطل محتملة، لا يتم أبدًا إرسال إشارات B<SIGTTOU> أو "
539 "B<SIGTTIN> إلى العمليات الفرعية التي تكون قيد التشغيل أثناء تنفيذ "
540 "B<vfork>()؛ بل يُسمح بالإخراج أو عمليات I<ioctl>، بينما تؤدي محاولات الإدخال "
541 "إلى ظهور إشارة نهاية الملف.“"
542
543 #. type: SH
544 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
545 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
546 #, no-wrap
547 msgid "SEE ALSO"
548 msgstr "انظر أيضًا"
549
550 #. type: Plain text
551 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
552 #: opensuse-tumbleweed
553 msgid ""
554 "B<clone>(2), B<execve>(2), B<_exit>(2), B<fork>(2), B<_Fork>(3), "
555 "B<unshare>(2), B<wait>(2)"
556 msgstr ""
557 "B<clone>(2)، B<execve>(2)، B<_exit>(2)، B<fork>(2)، B<_Fork>(3)، "
558 "B<unshare>(2)، B<wait>(2)"
559
560 #. type: TH
561 #: debian-trixie
562 #, no-wrap
563 msgid "2024-05-02"
564 msgstr "2 مايو 2024"
565
566 #. type: TH
567 #: debian-trixie
568 #, no-wrap
569 msgid "Linux man-pages 6.9.1"
570 msgstr "صفحات دليل لينكس 6.9.1"
571
572 #. type: Plain text
573 #: debian-trixie
574 msgid "Standard C library (I<libc>, I<-lc>)"
575 msgstr "مكتبة سي المعيارية (I<libc>، I<-lc>)"
576
577 #. In the release notes for 4.2BSD Sam Leffler wrote: `vfork: Is still
578 #. present, but definitely on its way out'.
579 #. type: Plain text
580 #: debian-trixie fedora-44 fedora-rawhide
581 msgid ""
582 "The B<vfork>() system call appeared in 3.0BSD. In 4.4BSD it was made "
583 "synonymous to B<fork>(2) but NetBSD introduced it again; see E<.UR http://"
584 "www.netbsd.org\\:/Documentation\\:/kernel\\:/vfork.html> E<.UE .> In Linux, "
585 "it has been equivalent to B<fork>(2) until Linux 2.2.0-pre6 or so. Since "
586 "Linux 2.2.0-pre9 (on i386, somewhat later on other architectures) it is an "
587 "independent system call. Support was added in glibc 2.0.112."
588 msgstr ""
589 "ظهرت استدعاء النظام B<vfork>() في 3.0BSD. في 4.4BSD جُعل مرادفًا لـ B<fork>(2) "
590 "لكن NetBSD أعادت تقديمه؛ انظر E<.UR http://www.netbsd.org\\:/"
591 "Documentation\\:/kernel\\:/vfork.html> E<.UE .> في لينكس، كان مكافئًا لـ "
592 "B<fork>(2) حتى لينكس 2.2.0-pre6 أو نحو ذلك. منذ لينكس 2.2.0-pre9 (على i386، "
593 "وبعد ذلك بقليل على البنى الأخرى) أصبح استدعاء نظام مستقل. أُضيف الدعم في "
594 "glibc 2.0.112."
595
596 #. type: Plain text
597 #: debian-trixie fedora-44 fedora-rawhide
598 msgid ""
599 "B<clone>(2), B<execve>(2), B<_exit>(2), B<fork>(2), B<unshare>(2), B<wait>(2)"
600 msgstr ""
601 "B<clone>(2)، B<execve>(2)، B<_exit>(2)، B<fork>(2)، B<unshare>(2)، B<wait>(2)"
602
603 #. type: TH
604 #: fedora-44 fedora-rawhide
605 #, no-wrap
606 msgid "2024-07-23"
607 msgstr "23 يوليو 2024"
608
609 #. type: TH
610 #: fedora-44 fedora-rawhide
611 #, no-wrap
612 msgid "Linux man-pages 6.13"
613 msgstr "صفحات دليل لينكس 6.13"
614
615 #. type: TH
616 #: mageia-cauldron
617 #, no-wrap
618 msgid "Linux man-pages 6.17"
619 msgstr "صفحات دليل لينكس 6.17"
620
621 #. type: TH
622 #: opensuse-leap-16-1 opensuse-tumbleweed
623 #, no-wrap
624 msgid "Linux man-pages (unreleased)"
625 msgstr "صفحات دليل لينكس (لم تصدر بعد)"