# Arabic translation of manpages # This file is distributed under the same license as the manpages-l10n package. # Copyright © of this file: # زايد السعيدي , 2026. msgid "" msgstr "" "Project-Id-Version: manpages-l10n 4.30.2\n" "POT-Creation-Date: 2026-06-05 06:50+0200\n" "PO-Revision-Date: 2026-05-18 18:00+0400\n" "Last-Translator: Zayed Al-Saidi \n" "Language-Team: Arabic \n" "Language: ar\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 " "&& n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n" "X-Generator: Lokalize 23.08.5\n" #. type: TH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "vfork" msgstr "vfork" #. type: TH #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "2026-02-08" msgstr "8 فبراير 2026" #. type: TH #: archlinux debian-unstable #, no-wrap msgid "Linux man-pages 6.18" msgstr "صفحات دليل لينكس 6.18" #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "NAME" msgstr "الاسم" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "vfork - create a child process and block parent" msgstr "vfork - إنشاء عملية طفل وحظر العملية الأم" #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "LIBRARY" msgstr "المكتبة" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "Standard C library (I,\\ I<-lc>)" msgstr "مكتبة سي المعيارية (I،\\ I<-lc>)" #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "SYNOPSIS" msgstr "موجز" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B<#include Eunistd.hE>\n" msgstr "B<#include Eunistd.hE>\n" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B\n" msgstr "B\n" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Feature Test Macro Requirements for glibc (see B(7)):" msgstr "" "متطلبات ماكروات اختبار الميزات لـ glibc (انظر B(7)):" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "B():" msgstr "B():" #. || _XOPEN_SOURCE && _XOPEN_SOURCE_EXTENDED #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" " Since glibc 2.12:\n" " (_XOPEN_SOURCE E= 500) && ! (_POSIX_C_SOURCE E= 200809L)\n" " || /* Since glibc 2.19: */ _DEFAULT_SOURCE\n" " || /* glibc E= 2.19: */ _BSD_SOURCE\n" " Before glibc 2.12:\n" " _BSD_SOURCE || _XOPEN_SOURCE E= 500\n" msgstr "" " Since glibc 2.12:\n" " (_XOPEN_SOURCE E= 500) && ! (_POSIX_C_SOURCE E= 200809L)\n" " || /* Since glibc 2.19: */ _DEFAULT_SOURCE\n" " || /* glibc E= 2.19: */ _BSD_SOURCE\n" " Before glibc 2.12:\n" " _BSD_SOURCE || _XOPEN_SOURCE E= 500\n" #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "DESCRIPTION" msgstr "الوصف" #. type: SS #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Standard description" msgstr "الوصف القياسي" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "(From POSIX.1) The B() function has the same effect as B(2), " "except that the behavior is undefined if the process created by B() " "either modifies any data other than a variable of type I used to " "store the return value from B(), or returns from the function in " "which B() was called, or calls any other function before " "successfully calling B<_exit>(2) or one of the B(3) family of " "functions." msgstr "" "(من POSIX.1) دالة B() لها نفس تأثير B(2)، باستثناء أن السلوك " "غير محدد إذا قامت العملية المنشأة بواسطة B() إما بتعديل أي بيانات غير " "متغير من النوع I المستخدم لتخزين القيمة المعادة من B()، أو " "العودة من الدالة التي استُدعيت فيها B()، أو استدعاء أي دالة أخرى قبل " "استدعاء B<_exit>(2) بنجاح أو إحدى دوال عائلة B(3)." #. type: SS #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Linux description" msgstr "وصف لينكس" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "B(), just like B(2), creates a child process of the calling " "process. For details and return value and errors, see B(2)." msgstr "" "B()، تمامًا مثل B(2)، تنشئ عملية طفل للعملية المستدعية. للتفاصيل " "والقيمة المعادة والأخطاء، انظر B(2)." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "B() is a special case of B(2). It is used to create new " "processes without copying the page tables of the parent process. It may be " "useful in performance-sensitive applications where a child is created which " "then immediately issues an B(2)." msgstr "" "B() هي حالة خاصة من B(2). تُستخدم لإنشاء عمليات جديدة دون نسخ " "جداول الصفحات للعملية الأم. قد تكون مفيدة في التطبيقات الحساسة للأداء حيث " "تُنشأ عملية طفل ثم تُصدر فورًا B(2)." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "B() differs from B(2) in that the calling thread is suspended " "until the child terminates (either normally, by calling B<_exit>(2), or " "abnormally, after delivery of a fatal signal), or it makes a call to " "B(2). Until that point, the child shares all memory with its " "parent, including the stack. The child must not return from the current " "function or call B(3) (which would have the effect of calling exit " "handlers established by the parent process and flushing the parent's " "B(3) buffers), but may call B<_exit>(2)." msgstr "" "تختلف B() عن B(2) في أن الخيط المستدعي يُعلق حتى تنتهي عملية " "الطفل (إما بشكل طبيعي، باستدعاء B<_exit>(2)، أو بشكل غير طبيعي، بعد تسليم " "إشارة قاتلة)، أو تقوم باستدعاء B(2). حتى تلك النقطة، تشارك الطفل " "جميع الذاكرة مع أمها، بما في ذلك المكدس. يجب ألا تعود الطفل من الدالة " "الحالية أو تستدعي B(3) (والذي سيكون له تأثير استدعاء معالجات الخروج " "المنشأة بواسطة العملية الأم وتفريغ مخازن B(3) للأم)، ولكن قد تستدعي " "B<_exit>(2)." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "As with B(2), the child process created by B() inherits copies " "of various of the caller's process attributes (e.g., file descriptors, " "signal dispositions, and current working directory); the B() call " "differs only in the treatment of the virtual address space, as described " "above." msgstr "" "كما هو الحال مع B(2)، ترث عملية الطفل المنشأة بواسطة B() نسخًا " "من سمات عملية المستدعي المختلفة (مثل واصفات الملفات، وإعدادات الإشارات، " "ودليل العمل الحالي)؛ يختلف استدعاء B() فقط في معالجة مساحة العنوان " "الافتراضية، كما هو موصوف أعلاه." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Signals sent to the parent arrive after the child releases the parent's " "memory (i.e., after the child terminates or calls B(2))." msgstr "" "تصل الإشارات المرسلة إلى الأم بعد أن تحرر الطفل ذاكرة الأم (أي بعد أن تنتهي " "الطفل أو تستدعي B(2))." #. type: SS #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Historic description" msgstr "الوصف التاريخي" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Under Linux, B(2) is implemented using copy-on-write pages, so the " "only penalty incurred by B(2) is the time and memory required to " "duplicate the parent's page tables, and to create a unique task structure " "for the child. However, in the bad old days a B(2) would require " "making a complete copy of the caller's data space, often needlessly, since " "usually immediately afterward an B(3) is done. Thus, for greater " "efficiency, BSD introduced the B() system call, which did not fully " "copy the address space of the parent process, but borrowed the parent's " "memory and thread of control until a call to B(2) or an exit " "occurred. The parent process was suspended while the child was using its " "resources. The use of B() was tricky: for example, not modifying " "data in the parent process depended on knowing which variables were held in " "a register." msgstr "" "تحت لينكس، تُنفذ B(2) باستخدام صفحات النسخ عند الكتابة، لذا فإن العقوبة " "الوحيدة التي تتكبدها B(2) هي الوقت والذاكرة المطلوبين لنسخ جداول صفحات " "الأم، وإنشاء هيكل مهمة فريد للطفل. ومع ذلك، في الأيام القديمة السيئة، كانت " "B(2) تتطلب عمل نسخة كاملة من مساحة بيانات المستدعي، غالبًا دون داع، حيث " "عادةً ما يتم تنفيذ B(3) بعدها مباشرة. وبالتالي، لتحقيق كفاءة أكبر، قدمت " "BSD استدعاء النظام B()، والذي لم ينسخ مساحة عنوان العملية الأم " "بالكامل، بل استعار ذاكرة الأم وخيط التحكم حتى حدوث استدعاء لـ B(2) " "أو خروج. كانت العملية الأم معلقة بينما كانت الطفل تستخدم مواردها. كان " "استخدام B() صعبًا: على سبيل المثال، عدم تعديل البيانات في العملية الأم " "يعتمد على معرفة المتغيرات المحفوظة في سجل." #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "VERSIONS" msgstr "الإصدارات" #. In AIXv3.1 vfork is equivalent to fork. #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The requirements put on B() by the standards are weaker than those " "put on B(2), so an implementation where the two are synonymous is " "compliant. In particular, the programmer cannot rely on the parent " "remaining blocked until the child either terminates or calls B(2), " "and cannot rely on any specific behavior with respect to shared memory." msgstr "" "المتطلبات المفروضة على B() بواسطة المعايير أضعف من تلك المفروضة على " "B(2)، لذا فإن التنفيذ حيث يكون الاثنان مترادفين متوافق. على وجه " "الخصوص، لا يمكن للمبرمج الاعتماد على بقاء الأم محظورة حتى تنتهي الطفل أو " "تستدعي B(2)، ولا يمكن الاعتماد على أي سلوك محدد فيما يتعلق بالذاكرة " "المشتركة." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Some consider the semantics of B() to be an architectural blemish, " "and the 4.2BSD man page stated: \\[lq]This system call will be eliminated " "when proper system sharing mechanisms are implemented. Users should not " "depend on the memory sharing semantics of I as it will, in that case, " "be made synonymous to I.\\[rq] However, even though modern memory " "management hardware has decreased the performance difference between " "B(2) and B(), there are various reasons why Linux and other " "systems have retained B():" msgstr "" "يعتبر البعض دلالات B() عيبًا معماريًا، وصفحة الدليل 4.2BSD نصت: " "\\[lq]سيتم إزالة استدعاء النظام هذا عند تنفيذ آليات المشاركة المناسبة " "للنظام. يجب ألا يعتمد المستخدمون على دلالات مشاركة الذاكرة لـ I حيث " "أنها، في تلك الحالة، ستُجعل مرادفة لـ I.\\[rq] ومع ذلك، على الرغم من أن " "أجهزة إدارة الذاكرة الحديثة قللت من فرق الأداء بين B(2) و B()، " "هناك أسباب متنوعة وراء احتفاظ لينكس والأنظمة الأخرى بـ B():" #. type: IP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "\\[bu]" msgstr "\\[bu]" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Some performance-critical applications require the small performance " "advantage conferred by B()." msgstr "" "تتطلب بعض التطبيقات الحساسة للأداء الميزة الصغيرة في الأداء التي يمنحها " "B()." #. http://stackoverflow.com/questions/4259629/what-is-the-difference-between-fork-and-vfork #. http://developers.sun.com/solaris/articles/subprocess/subprocess.html #. http://mailman.uclinux.org/pipermail/uclinux-dev/2009-April/000684.html #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "B() can be implemented on systems that lack a memory-management unit " "(MMU), but B(2) can't be implemented on such systems. (POSIX.1-2008 " "removed B() from the standard; the POSIX rationale for the " "B(3) function notes that that function, which provides " "functionality equivalent to B(2)+ B(3), is designed to be " "implementable on systems that lack an MMU.)" msgstr "" "يمكن تنفيذ B() على الأنظمة التي تفتقر إلى وحدة إدارة الذاكرة (MMU)، " "لكن لا يمكن تنفيذ B(2) على هذه الأنظمة. (أزال POSIX.1-2008 B() " "من المعيار؛ يلاحظ الأساس المنطقي لـ POSIX لدالة B(3) أن تلك " "الدالة، التي توفر وظائف مكافئة لـ B(2)+ B(3)، مصممة لتكون قابلة " "للتنفيذ على الأنظمة التي تفتقر إلى MMU.)" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "On systems where memory is constrained, B() avoids the need to " "temporarily commit memory (see the description of I in B(5)) in order to execute a new program. (This " "can be especially beneficial where a large parent process wishes to execute " "a small helper program in a child process.) By contrast, using B(2) " "in this scenario requires either committing an amount of memory equal to the " "size of the parent process (if strict overcommitting is in force) or " "overcommitting memory with the risk that a process is terminated by the out-" "of-memory (OOM) killer." msgstr "" "على الأنظمة حيث الذاكرة محدودة، يتجنب B() الحاجة إلى الالتزام المؤقت " "بالذاكرة (انظر وصف I في B(5)) لتنفيذ " "برنامج جديد. (يمكن أن يكون هذا مفيدًا بشكل خاص حيث ترغب عملية أم كبيرة في " "تنفيذ برنامج مساعد صغير في عملية طفل.) على النقيض، استخدام B(2) في هذا " "السيناريو يتطلب إما الالتزام بكمية من الذاكرة مساوية لحجم العملية الأم (إذا " "كان الالتزام الزائد الصارم مفعلًا) أو الالتزام الزائد بالذاكرة مع خطر إنهاء " "العملية بواسطة قاتل نفاد الذاكرة (OOM)." #. type: SS #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Linux notes" msgstr "ملاحظات لينكس" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Fork handlers established using B(3) are not called when a " "multithreaded program employing the NPTL threading library calls " "B(). Fork handlers are called in this case in a program using the " "LinuxThreads threading library. (See B(7) for a description of " "Linux threading libraries.)" msgstr "" "لا تُستدعى معالجات fork المنشأة باستخدام B(3) عندما يستدعي " "برنامج متعدد الخيوط يستخدم مكتبة الخيوط NPTL B(). تُستدعى معالجات fork " "في هذه الحالة في برنامج يستخدم مكتبة الخيوط LinuxThreads. (انظر " "B(7) لوصف مكتبات خيوط لينكس.)" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "A call to B() is equivalent to calling B(2) with I " "specified as:" msgstr "" "استدعاء B() مكافئ لاستدعاء B(2) مع تحديد I كالتالي:" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid " CLONE_VM | CLONE_VFORK | SIGCHLD\n" msgstr " CLONE_VM | CLONE_VFORK | SIGCHLD\n" #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "STANDARDS" msgstr "المعايير" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "None." msgstr "لا شيء." #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "HISTORY" msgstr "التاريخ" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "4.3BSD; POSIX.1-2001 (but marked OBSOLETE). POSIX.1-2008 removes the " "specification of B()." msgstr "" "4.3BSD; POSIX.1-2001 (لكن مُعلّم كـ OBSOLETE). يزيل POSIX.1-2008 مواصفات " "B()." #. In the release notes for 4.2BSD Sam Leffler wrote: `vfork: Is still #. present, but definitely on its way out'. #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "The B() system call appeared in 3.0BSD. In 4.4BSD it was made " "synonymous to B(2) but NetBSD introduced it again; see E<.UR http:" "\\://www.netbsd.org\\:/Documentation\\:/kernel\\:/vfork.html> E<.UE .> In " "Linux, it has been equivalent to B(2) until Linux 2.2.0-pre6 or so. " "Since Linux 2.2.0-pre9 (on i386, somewhat later on other architectures) it " "is an independent system call. Support was added in glibc 2.0.112." msgstr "" "ظهر استدعاء النظام B() في 3.0BSD. في 4.4BSD جُعل مرادفًا لـ B(2) " "لكن NetBSD أعادت تقديمه؛ انظر E<.UR http:\\://www.netbsd.org\\:/" "Documentation\\:/kernel\\:/vfork.html> E<.UE .> في لينكس، كان مكافئًا لـ " "B(2) حتى لينكس 2.2.0-pre6 أو نحو ذلك. منذ لينكس 2.2.0-pre9 (على i386، " "وبعد ذلك بقليل على البنى الأخرى) أصبح استدعاء نظام مستقل. أُضيف الدعم في " "glibc 2.0.112." #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "CAVEATS" msgstr "تحذيرات" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The child process should take care not to modify the memory in unintended " "ways, since such changes will be seen by the parent process once the child " "terminates or executes another program. In this regard, signal handlers can " "be especially problematic: if a signal handler that is invoked in the child " "of B() changes memory, those changes may result in an inconsistent " "process state from the perspective of the parent process (e.g., memory " "changes would be visible in the parent, but changes to the state of open " "file descriptors would not be visible)." msgstr "" "يجب على عملية الطفل توخي الحذر لعدم تعديل الذاكرة بطرق غير مقصودة، حيث سترى " "العملية الأم هذه التغييرات بمجرد أن تنتهي الطفل أو تنفذ برنامجًا آخر. في هذا " "الصدد، يمكن أن تكون معالجات الإشارات مشكلة بشكل خاص: إذا قام معالج إشارة " "يُستدعى في طفل B() بتغيير الذاكرة، فقد تؤدي هذه التغييرات إلى حالة " "عملية غير متسقة من منظور العملية الأم (مثلًا، ستكون تغييرات الذاكرة مرئية في " "الأم، لكن التغييرات في حالة واصفات الملفات المفتوحة لن تكون مرئية)." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "When B() is called in a multithreaded process, only the calling " "thread is suspended until the child terminates or executes a new program. " "This means that the child is sharing an address space with other running " "code. This can be dangerous if another thread in the parent process changes " "credentials (using B(2) or similar), since there are now two " "processes with different privilege levels running in the same address " "space. As an example of the dangers, suppose that a multithreaded program " "running as root creates a child using B(). After the B(), a " "thread in the parent process drops the process to an unprivileged user in " "order to run some untrusted code (e.g., perhaps via plug-in opened with " "B(3)). In this case, attacks are possible where the parent process " "uses B(2) to map in code that will be executed by the privileged " "child process." msgstr "" "عند استدعاء B() في عملية متعددة الخيوط، يعلق فقط الخيط المستدعيحتى " "تنتهي العملية الفرعية أو تنفذ برنامجًا جديدًا. وهذا يعني أن العملية الفرعية " "تتشارك مساحة العناوين مع شفرات أخرى قيد التشغيل. قد يكون هذا خطيرًا إذا قام " "مؤشر ترابط آخر في العملية الأم بتغيير بيانات الاعتماد (باستخدام " "B(2) أو ما شابه)، نظرًا لوجود عمليتين الآن بمستويات امتيازات مختلفة " "تعملان في نفس مساحة العناوين. كمثال على المخاطر، لنفترض أن برنامجًا متعدد " "الخيوط يعملبصفته الجذر ينشئ عملية فرعية باستخدام B(). بعد " "B()، يقوم خيطفي العملية الأم بتسليم العملية إلى مستخدم غير متمتع " "بامتيازات من أجلتشغيل بعض الأكواد غير الموثوق بها (على سبيل المثال، ربما عبر " "مكون إضافي تم فتحه باستخدامB(3)). في هذه الحالة، تكون الهجمات ممكنة " "عندما تستخدم العملية الأم B(2) لتعيين رمز سيتم تنفيذه بواسطة العملية " "الفرعية ذات الامتيازات." #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "BUGS" msgstr "العلل" #. As far as I can tell, the following is not true in Linux 2.6.19: #. Currently (Linux 2.3.25), #. .BR strace (1) #. cannot follow #. .BR vfork () #. and requires a kernel patch. #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Details of the signal handling are obscure and differ between systems. The " "BSD man page states: \"To avoid a possible deadlock situation, processes " "that are children in the middle of a B() are never sent B " "or B signals; rather, output or Is are allowed and input " "attempts result in an end-of-file indication.\"" msgstr "" "تفاصيل معالجة الإشارات غير واضحة وتختلف من نظام لآخر. تنص صفحة دليل BSD على " "ما يلي: ”لتجنب حدوث حالة تعطل محتملة، لا يتم أبدًا إرسال إشارات B أو " "B إلى العمليات الفرعية التي تكون قيد التشغيل أثناء تنفيذ " "B()؛ بل يُسمح بالإخراج أو عمليات I، بينما تؤدي محاولات الإدخال " "إلى ظهور إشارة نهاية الملف.“" #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "SEE ALSO" msgstr "انظر أيضًا" #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "B(2), B(2), B<_exit>(2), B(2), B<_Fork>(3), " "B(2), B(2)" msgstr "" "B(2)، B(2)، B<_exit>(2)، B(2)، B<_Fork>(3)، " "B(2)، B(2)" #. type: TH #: debian-trixie #, no-wrap msgid "2024-05-02" msgstr "2 مايو 2024" #. type: TH #: debian-trixie #, no-wrap msgid "Linux man-pages 6.9.1" msgstr "صفحات دليل لينكس 6.9.1" #. type: Plain text #: debian-trixie msgid "Standard C library (I, I<-lc>)" msgstr "مكتبة سي المعيارية (I، I<-lc>)" #. In the release notes for 4.2BSD Sam Leffler wrote: `vfork: Is still #. present, but definitely on its way out'. #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "The B() system call appeared in 3.0BSD. In 4.4BSD it was made " "synonymous to B(2) but NetBSD introduced it again; see E<.UR http://" "www.netbsd.org\\:/Documentation\\:/kernel\\:/vfork.html> E<.UE .> In Linux, " "it has been equivalent to B(2) until Linux 2.2.0-pre6 or so. Since " "Linux 2.2.0-pre9 (on i386, somewhat later on other architectures) it is an " "independent system call. Support was added in glibc 2.0.112." msgstr "" "ظهرت استدعاء النظام B() في 3.0BSD. في 4.4BSD جُعل مرادفًا لـ B(2) " "لكن NetBSD أعادت تقديمه؛ انظر E<.UR http://www.netbsd.org\\:/" "Documentation\\:/kernel\\:/vfork.html> E<.UE .> في لينكس، كان مكافئًا لـ " "B(2) حتى لينكس 2.2.0-pre6 أو نحو ذلك. منذ لينكس 2.2.0-pre9 (على i386، " "وبعد ذلك بقليل على البنى الأخرى) أصبح استدعاء نظام مستقل. أُضيف الدعم في " "glibc 2.0.112." #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "B(2), B(2), B<_exit>(2), B(2), B(2), B(2)" msgstr "" "B(2)، B(2)، B<_exit>(2)، B(2)، B(2)، B(2)" #. type: TH #: fedora-44 fedora-rawhide #, no-wrap msgid "2024-07-23" msgstr "23 يوليو 2024" #. type: TH #: fedora-44 fedora-rawhide #, no-wrap msgid "Linux man-pages 6.13" msgstr "صفحات دليل لينكس 6.13" #. type: TH #: mageia-cauldron #, no-wrap msgid "Linux man-pages 6.17" msgstr "صفحات دليل لينكس 6.17" #. type: TH #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Linux man-pages (unreleased)" msgstr "صفحات دليل لينكس (لم تصدر بعد)"