# 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\n" "POT-Creation-Date: 2026-06-05 06:20+0200\n" "PO-Revision-Date: 2026-06-05 23:55+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" ".MIME-Version: 1.0\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 "clone" msgstr "clone" #. 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 "clone, __clone2, clone3 - create a child process" msgstr "clone, __clone2, clone3 - إنشاء عملية ابنة" #. 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 "/* Prototype for the glibc wrapper function */\n" msgstr "/* النموذج المبدئي لدالة غلاف glibc */\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<#define _GNU_SOURCE>\n" "B<#include Esched.hE>\n" msgstr "" "B<#define _GNU_SOURCE>\n" "B<#include Esched.hE>\n" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "BIB<,>\n" "B< void *>IB<,>\n" "B< int >IB<,>\n" "B< void *_Nullable >IB<, ...>\n" "B< >\\f[R]/*B< pid_t *_Nullable >IB<,>\n" "B< void *_Nullable >IB<,>\n" "B< pid_t *_Nullable >IB< >\\f[R]*/B< );>\n" msgstr "" "BIB<,>\n" "B< void *>IB<,>\n" "B< int >IB<,>\n" "B< void *_Nullable >IB<, ...>\n" "B< >\\f[R]/*B< pid_t *_Nullable >IB<,>\n" "B< void *_Nullable >IB<,>\n" "B< pid_t *_Nullable >IB< >\\f[R]*/B< );>\n" #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "" "/* For the prototype of the raw clone() system call, see VERSIONS. */\n" msgstr "/* للنموذج المبدئي لنداء النظام الخام ()clone، انظر VERSIONS. */\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<#include Elinux/sched.hE> /* Definition of B" " */\n" "B<#include Esched.hE> /* Definition of B constants" " */\n" "B<#include Esys/syscall.hE> /* Definition of B constants" " */\n" "B<#include Eunistd.hE>\n" msgstr "" "B<#include Elinux/sched.hE> /* تعريف B */\n" "B<#include Esched.hE> /* تعريف ثوابت B */\n" "B<#include Esys/syscall.hE> /* تعريف ثوابت B */\n" "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 "" "BIB<, size_t >IB<);>\n" msgstr "" "BIB<, size_t >IB<);>\n" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "I: glibc provides no wrapper for B(), necessitating the use of " "B(2)." msgstr "" "I<ملاحظة>: لا توفر glibc غلافًا لـ B()، مما يستلزم استخدام " "B(2)." #. 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: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "These system calls create a new (\"child\") process, in a manner similar to " "B(2)." msgstr "" "تنشئ نداءات النظام هذه عملية جديدة (\"ابنة\")، بطريقة مشابهة لـ B(2)." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "By contrast with B(2), these system calls provide more precise control " "over what pieces of execution context are shared between the calling process " "and the child process. For example, using these system calls, the caller " "can control whether or not the two processes share the virtual address " "space, the table of file descriptors, and the table of signal handlers. " "These system calls also allow the new child process to be placed in separate " "B(7)." msgstr "" "على النقيض من B(2)، توفر نداءات النظام هذه تحكمًا أكثر دقة في أجزاء " "سياق التنفيذ التي تُتشارك بين المستدعِي والعملية الابنة. على سبيل المثال، " "باستخدام نداءات النظام هذه، يمكن لـ المستدعِي التحكم فيما إذا كانت العمليتان " "تتشاركان مساحة العناوين الافتراضية، وجدول واصفات الملفات، وجدول معالجات " "الإشارات أم لا. تسمح نداءات النظام هذه أيضًا بوضع العملية الابنة الجديدة في " "B(7) منفصلة." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Note that in this manual page, \"calling process\" normally corresponds to " "\"parent process\". But see the descriptions of B and " "B below." msgstr "" "لاحظ أنه في صفحة الدليل هذه، تشير \"المستدعِي\" عادةً إلى \"العملية الأب\". " "ولكن انظر أوصاف B و B أدناه." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "This page describes the following interfaces:" msgstr "تصف هذه الصفحة الواجهات التالية:" #. 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 "" "The glibc B() wrapper function and the underlying system call on " "which it is based. The main text describes the wrapper function; the " "differences for the raw system call are described toward the end of this " "page." msgstr "" "دالة غلاف glibc لـ B() ونداء النظام الأساسي الذي تستند إليه. يصف النص " "الرئيس دالة الغلاف؛ وتوصَف الاختلافات في نداء النظام الخام قرب نهاية هذه " "الصفحة." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "The newer B() system call." msgstr "نداء النظام B() الأحدث." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "In the remainder of this page, the terminology \"the clone call\" is used " "when noting details that apply to all of these interfaces." msgstr "" "فيما تبقى من هذه الصفحة، يُستخدم المصطلح \"نداء الاستنساخ\" عند الإشارة إلى " "التفاصيل التي تنطبق على جميع هذه الواجهات." #. type: SS #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "The clone() wrapper function" msgstr "دالة الغلاف ()clone" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "When the child process is created with the B() wrapper function, it " "commences execution by calling the function pointed to by the argument " "I. (This differs from B(2), where execution continues in the " "child from the point of the B(2) call.) The I argument is " "passed as the argument of the function I." msgstr "" "عند إنشاء العملية الابنة باستخدام دالة غلاف B()، فإنها تبدأ التنفيذ " "باستدعاء الدالة التي يشير إليها المعامل I. (يختلف هذا عن B(2)، حيث " "يستمر التنفيذ في الابن من نقطة استدعاء B(2)). يُمرر المعامل I " "كمعامل للدالة I." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "When the I(I) function returns, the child process terminates. The " "integer returned by I is the exit status for the child process. The " "child process may also terminate explicitly by calling B(2) or after " "receiving a fatal signal." msgstr "" "عندما تعود الدالة I(I)، تنتهي العملية الابنة. الرقم الصحيح الذي " "تعيده I هو حالة الخروج للعملية الابنة. قد تنتهي العملية الابنة أيضًا " "صراحةً باستدعاء B(2) أو بعد تلقي إشارة قاتلة." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The I argument specifies the location of the stack used by the child " "process. Since the child and calling process may share memory, it is not " "possible for the child process to execute in the same stack as the calling " "process. The calling process must therefore set up memory space for the " "child stack and pass a pointer to this space to B(). Stacks grow " "downward on all processors that run Linux (except the HP PA processors), so " "I usually points to the topmost address of the memory space set up " "for the child stack. Note that B() does not provide a means whereby " "the caller can inform the kernel of the size of the stack area." msgstr "" "يحدد المعامل I موقع المكدس الذي تستخدمه العملية الابنة. وبما أن " "العملية الابنة والمستدعِي قد يتشاركان الذاكرة، فليس من الممكن للعملية الابنة " "أن تُنفذ في نفس المكدس الذي يستخدمه المستدعِي. يجب على المستدعِي بالتالي" " إعداد " "مساحة ذاكرة لمكدس الابن وتمرير مؤشر إلى هذه المساحة إلى B(). تنمو " "المكدسات لأسفل في جميع المعالجات التي تشغل لينكس (باستثناء معالجات HP PA)، " "لذا يشير I عادةً إلى أعلى عنوان في مساحة الذاكرة المعدة لمكدس الابن. " "لاحظ أن B() لا توفر وسيلة يمكن من خلالها لـ المستدعِي إبلاغ النواة " "بحجم منطقة المكدس." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "The remaining arguments to B() are discussed below." msgstr "تُناقش المعاملات المتبقية لـ B() أدناه." #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "clone3()" msgstr "clone3()" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The B() system call provides a superset of the functionality of the " "older B() interface. It also provides a number of API improvements, " "including: space for additional flags bits; cleaner separation in the use of " "various arguments; and the ability to specify the size of the child's stack " "area." msgstr "" "يوفر نداء النظام B() مجموعة فائقة من وظائف واجهة B() الأقدم. " "كما يوفر عددًا من تحسينات واجهة برمجة التطبيقات (API)، بما في ذلك: مساحة " "لبتات أعلام إضافية؛ وفصل أنظف في استخدام المعاملات المختلفة؛ والقدرة على " "تحديد حجم منطقة مكدس الابن." #. 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), B() returns in both the parent and the child. " "It returns 0 in the child process and returns the PID of the child in the " "parent." msgstr "" "كما هو الحال مع B(2)، يعود B() في كل من الأب والابن. ويعيد 0 " "في العملية الابنة ويعيد المعرف PID الخاص بالابن في الأب." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The I argument of B() is a structure of the following form:" msgstr "المعامل I لـ B() هو هيكل بالشكل التالي:" #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "" "struct clone_args {\n" " u64 flags; /* Flags bit mask */\n" " u64 pidfd; /* Where to store PID file descriptor\n" " (\\f[I]int *\\fR) */\n" " u64 child_tid; /* Where to store child TID,\n" " in child\\[aq]s memory (\\f[I]pid_t *\\fR) */\n" " u64 parent_tid; /* Where to store child TID,\n" " in parent\\[aq]s memory (\\f[I]pid_t *\\fR) */\n" " u64 exit_signal; /* Signal to deliver to parent on\n" " child termination */\n" " u64 stack; /* Pointer to lowest byte of stack */\n" " u64 stack_size; /* Size of stack */\n" " u64 tls; /* Location of new TLS */\n" " u64 set_tid; /* Pointer to a \\f[I]pid_t\\fR array\n" " (since Linux 5.5) */\n" " u64 set_tid_size; /* Number of elements in \\f[I]set_tid\\fR\n" " (since Linux 5.5) */\n" " u64 cgroup; /* File descriptor for target cgroup\n" " of child (since Linux 5.7) */\n" "};\n" msgstr "" "struct clone_args {\n" " u64 flags; /* قناع بتات الأعلام */\n" " u64 pidfd; /* مكان تخزين واصف ملف PID\n" " (\\f[I]int *\\fR) */\n" " u64 child_tid; /* مكان تخزين معرف TID للابن،\n" " في ذاكرة الابن (\\f[I]pid_t *\\fR) */\n" " u64 parent_tid; /* مكان تخزين معرف TID للابن،\n" " في ذاكرة الأب (\\f[I]pid_t *\\fR) */\n" " u64 exit_signal; /* الإشارة التي تُرسل للأب عند\n" " إنهاء الابن */\n" " u64 stack; /* مؤشر لأدنى بايت في المكدس */\n" " u64 stack_size; /* حجم المكدس */\n" " u64 tls; /* موقع TLS الجديد */\n" " u64 set_tid; /* مؤشر لمصفوفة \\f[I]pid_t\\fR\n" " (منذ لينكس 5.5) */\n" " u64 set_tid_size; /* عدد العناصر في \\f[I]set_tid\\fR\n" " (منذ لينكس 5.5) */\n" " u64 cgroup; /* واصف ملف لمجموعة التحكم (cgroup) المستهدفة\n" " للابن (منذ لينكس 5.7) */\n" "};\n" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The I argument that is supplied to B() should be initialized " "to the size of this structure. (The existence of the I argument " "permits future extensions to the I structure.)" msgstr "" "يجب تهيئة المعامل I الذي يُزود لـ B() ليساوي حجم هذا الهيكل. " "(وجود المعامل I يسمح بتوسعات مستقبلية لهيكل I)." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The stack for the child process is specified via I, which " "points to the lowest byte of the stack area, and I, " "which specifies the size of the stack in bytes. In the case where the " "B flag (see below) is specified, a stack must be explicitly " "allocated and specified. Otherwise, these two fields can be specified as " "NULL and 0, which causes the child to use the same stack area as the parent " "(in the child's own virtual address space)." msgstr "" "يُحدد مكدس العملية الابنة عبر I، الذي يشير إلى أدنى بايت في " "منطقة المكدس، و I، الذي يحدد حجم المكدس بالبايت. في " "الحالة التي يُحدد فيها علم B (انظر أدناه)، يجب تخصيص مكدس وتحديده " "صراحةً. خلاف ذلك، يمكن تحديد هذين الحقلين كـ NULL و 0، مما يجعل الابن يستخدم " "نفس منطقة مكدس الأب (في مساحة العناوين الافتراضية الخاصة بالابن)." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "The remaining fields in the I argument are discussed below." msgstr "تُناقش الحقول المتبقية في المعامل I أدناه." #. type: SS #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Equivalence between clone() and clone3() arguments" msgstr "التكافؤ بين معاملات ()clone و ()clone3" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Unlike the older B() interface, where arguments are passed " "individually, in the newer B() interface the arguments are packaged " "into the I structure shown above. This structure allows for a " "superset of the information passed via the B() arguments." msgstr "" "على عكس واجهة B() الأقدم، حيث تُمرر المعاملات بشكل فردي، تُجمع " "المعاملات في واجهة B() الأحدث داخل هيكل I الموضح أعلاه. " "يسمح هذا الهيكل بمجموعة فائقة من المعلومات الممرة عبر معاملات B()." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The following table shows the equivalence between the arguments of " "B() and the fields in the I argument supplied to " "B():" msgstr "" "يوضح الجدول التالي التكافؤ بين معاملات B() والحقول في المعامل " "I المزود لـ B():" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "clone()" msgstr "clone()" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Notes" msgstr "ملاحظات" #. type: tbl table #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "\\f[I]cl_args\\fR field" msgstr "حقل \\f[I]cl_args\\fR" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "flags & \\[ti]0xff" msgstr "flags & \\[ti]0xff" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "flags" msgstr "flags" #. type: tbl table #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "" "For most flags;\n" "details below" msgstr "" "لمعظم الأعلام؛\n" "التفاصيل أدناه" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "parent_tid" msgstr "parent_tid" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "pidfd" msgstr "pidfd" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "See CLONE_PIDFD" msgstr "انظر CLONE_PIDFD" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "child_tid" msgstr "child_tid" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "See CLONE_CHILD_SETTID" msgstr "انظر CLONE_CHILD_SETTID" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "See CLONE_PARENT_SETTID" msgstr "انظر CLONE_PARENT_SETTID" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "flags & 0xff" msgstr "flags & 0xff" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "exit_signal" msgstr "exit_signal" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "stack" msgstr "stack" #. type: tbl table #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "\\f[R]---\\fR" msgstr "\\f[R]---\\fR" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "stack_size" msgstr "stack_size" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "tls" msgstr "tls" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "See CLONE_SETTLS" msgstr "انظر CLONE_SETTLS" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "set_tid" msgstr "set_tid" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "See below for details" msgstr "انظر أدناه للتفاصيل" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "set_tid_size" msgstr "set_tid_size" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "cgroup" msgstr "cgroup" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "See CLONE_INTO_CGROUP" msgstr "انظر CLONE_INTO_CGROUP" #. type: SS #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "The child termination signal" msgstr "إشارة إنهاء الابن" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "When the child process terminates, a signal may be sent to the parent. The " "termination signal is specified in the low byte of I (B()) or " "in I (B()). If this signal is specified as " "anything other than B, then the parent process must specify the " "B<__WALL> or B<__WCLONE> options when waiting for the child with " "B(2). If no signal (i.e., zero) is specified, then the parent process " "is not signaled when the child terminates." msgstr "" "عند إنهاء العملية الابنة، قد تُرسل إشارة إلى الأب. تُحدد إشارة الإنهاء في " "البايت المنخفض لـ I (B()) أو في I " "(B()). إذا حُددت هذه الإشارة كأي شيء آخر غير B، فيجب على " "العملية الأب تحديد الخيارات B<__WALL> أو B<__WCLONE> عند انتظار الابن " "باستخدام B(2). إذا لم تُحدد أي إشارة (أي صفر)، فلن تُرسل إشارة إلى " "العملية الأب عند إنهاء الابن." #. type: SS #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "The set_tid array" msgstr "مصفوفة set_tid" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "By default, the kernel chooses the next sequential PID for the new process " "in each of the PID namespaces where it is present. When creating a process " "with B(), the I array (available since Linux 5.5) can be " "used to select specific PIDs for the process in some or all of the PID " "namespaces where it is present. If the PID of the newly created process " "should be set only for the current PID namespace or in the newly created PID " "namespace (if I contains B) then the first element in " "the I array has to be the desired PID and I needs to " "be 1." msgstr "" "بشكل مبدئي، تختار النواة المعرف PID المتسلسل التالي للعملية الجديدة في كل من " "فضاءات أسماء PID التي توجد فيها. عند إنشاء عملية باستخدام B()، يمكن " "استخدام مصفوفة I (المتوفرة منذ لينكس 5.5) لاختيار معرفات PID محددة " "للعملية في بعض أو كل فضاءات أسماء PID التي توجد فيها. إذا كان يجب ضبط PID " "للعملية المنشأة حديثًا فقط لفضاء أسماء PID الحالي أو في فضاء أسماء PID المنشأ " "حديثًا (إذا كانت I تحتوي على B) فيجب أن يكون العنصر " "الأول في مصفوفة I هو الـ PID المطلوب ويجب أن يكون I " "مساوياً لـ 1." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "If the PID of the newly created process should have a certain value in " "multiple PID namespaces, then the I array can have multiple " "entries. The first entry defines the PID in the most deeply nested PID " "namespace and each of the following entries contains the PID in the " "corresponding ancestor PID namespace. The number of PID namespaces in which " "a PID should be set is defined by I which cannot be larger " "than the number of currently nested PID namespaces." msgstr "" "إذا كان يجب أن يكون لـ PID العملية المنشأة حديثًا قيمة معينة في فضاءات أسماء " "PID متعددة، فيمكن أن تحتوي مصفوفة I على مدخلات متعددة. يحدد المدخل " "الأول الـ PID في فضاء أسماء PID الأكثر تعشيشًا، ويحتوي كل من المدخلات التالية " "على الـ PID في فضاء أسماء PID السلف المقابل. يُحدد عدد فضاءات أسماء PID التي " "يجب ضبط الـ PID فيها بواسطة I الذي لا يمكن أن يكون أكبر من عدد " "فضاءات أسماء PID المتداخلة حاليًا." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "To create a process with the following PIDs in a PID namespace hierarchy:" msgstr "لإنشاء عملية بمعرفات PID التالية في تسلسل هرمي لفضاء أسماء PID:" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "PID NS level" msgstr "مستوى فضاء أسماء PID" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Requested PID" msgstr "PID المطلوب" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "0" msgstr "0" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "31496" msgstr "31496" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Outermost PID namespace" msgstr "فضاء أسماء PID الأبعد" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "1" msgstr "1" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "42" msgstr "42" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "2" msgstr "2" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "7" msgstr "7" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Innermost PID namespace" msgstr "فضاء أسماء PID الأكثر تعشيشًا" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "Set the array to:" msgstr "اضبط المصفوفة على:" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "set_tid[0] = 7;\n" "set_tid[1] = 42;\n" "set_tid[2] = 31496;\n" "set_tid_size = 3;\n" msgstr "" "set_tid[0] = 7;\n" "set_tid[1] = 42;\n" "set_tid[2] = 31496;\n" "set_tid_size = 3;\n" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "If only the PIDs in the two innermost PID namespaces need to be specified, " "set the array to:" msgstr "" "إذا كان يلزم فقط تحديد معرفات PID في فضاءي أسماء PID الأكثر تعشيشًا، فاضبط " "المصفوفة على:" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "set_tid[0] = 7;\n" "set_tid[1] = 42;\n" "set_tid_size = 2;\n" msgstr "" "set_tid[0] = 7;\n" "set_tid[1] = 42;\n" "set_tid_size = 2;\n" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The PID in the PID namespaces outside the two innermost PID namespaces is " "selected the same way as any other PID is selected." msgstr "" "يُختار الـ PID في فضاءات أسماء PID خارج الفضاءين الأكثر تعشيشًا بنفس الطريقة " "التي يُختار بها أي PID آخر." #. commit 124ea650d3072b005457faed69909221c2905a1f #. commit 1caef81da05a84a40dbf02110e967ce6d1135ff6 #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The I feature requires B or (since Linux 5.9) " "B in all owning user namespaces of the target PID " "namespaces." msgstr "" "تتطلب ميزة I صلاحية B أو (منذ لينكس 5.9) " "B في جميع فضاءات أسماء المستخدمين المالكة لفضاءات " "أسماء PID المستهدفة." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Callers may only choose a PID greater than 1 in a given PID namespace if an " "B process (i.e., a process with PID 1) already exists in that " "namespace. Otherwise the PID entry for this PID namespace must be 1." msgstr "" "يمكن لـ المستدعِين فقط اختيار PID أكبر من 1 في فضاء أسماء PID معين إذا كانت " "هناك عملية B (أي عملية ذات PID 1) موجودة بالفعل في ذلك الفضاء. خلاف " "ذلك، يجب أن يكون مدخل الـ PID لفضاء أسماء PID هذا هو 1." #. type: SS #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "The flags mask" msgstr "قناع الأعلام" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Both B() and B() allow a flags bit mask that modifies their " "behavior and allows the caller to specify what is shared between the calling " "process and the child process. This bit mask\\[em]the I argument of " "B() or the I field passed to B()\\[em]is " "referred to as the I mask in the remainder of this page." msgstr "" "يسمح كل من B() و B() باستخدام قناع بتات للأعلام يعدل سلوكهما " "ويسمح لـ المستدعِي بتحديد ما يُتشارك بين المستدعِي والعملية الابنة. يُشار إلى " "قناع البتات هذا — المعامل I في B() أو حقل I " "الممرر إلى B() — باسم قناع I فيما تبقى من هذه الصفحة." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The I mask is specified as a bitwise OR of zero or more of the " "constants listed below. Except as noted below, these flags are available " "(and have the same effect) in both B() and B()." msgstr "" "يُحدد قناع I كعملية OR بتية لصفر أو أكثر من الثوابت المدرجة أدناه. " "باستثناء ما هو مذكور أدناه، تتوفر هذه الأعلام (ولها نفس التأثير) في كل من " "B() و B()." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B (since Linux 2.5.49)" msgstr "B (منذ لينكس 2.5.49)" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Clear (zero) the child thread ID at the location pointed to by I " "(B()) or I (B()) in child memory when " "the child exits, and do a wakeup on the futex at that address. The address " "involved may be changed by the B(2) system call. This is " "used by threading libraries." msgstr "" "مسح (تصفير) معرف خيط الابن في الموقع الذي يشير إليه I " "(B()) أو I (B()) في ذاكرة الابن عند خروجه، " "وإجراء تنبيه (wakeup) على futex في ذلك العنوان. يمكن تغيير العنوان المعني " "بواسطة نداء النظام B(2). يُستخدم هذا بواسطة مكتبات الخيوط." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B (since Linux 2.5.49)" msgstr "B (منذ لينكس 2.5.49)" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Store the child thread ID at the location pointed to by I " "(B()) or I (B()) in the child's memory. " "The store operation completes before the clone call returns control to user " "space in the child process. (Note that the store operation may not have " "completed before the clone call returns in the parent process, which is " "relevant if the B flag is also employed.)" msgstr "" "تخزين معرف خيط الابن في الموقع الذي يشير إليه I (B()) أو " "I (B()) في ذاكرة الابن. تكتمل عملية التخزين قبل " "أن يعيد نداء الاستنساخ التحكم إلى مساحة المستخدم في العملية الابنة. (لاحظ أن " "عملية التخزين قد لا تكون قد اكتملت قبل عودة نداء الاستنساخ في العملية الأب، " "وهو أمر ذو صلة إذا استُخدم علم B أيضًا)." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B (since Linux 5.5)" msgstr "B (منذ لينكس 5.5)" #. commit b612e5df4587c934bd056bf05f4a1deca4de4f75 #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "By default, signal dispositions in the child thread are the same as in the " "parent. If this flag is specified, then all signals that are handled in the " "parent (and not set to B) are reset to their default dispositions " "(B) in the child." msgstr "" "بشكل مبدئي، تكون ترتيبات الإشارات في خيط الابن هي نفسها الموجودة في الأب. " "إذا حُدد هذا العلم، فإن جميع الإشارات التي تُعالج في الأب (ولم تُضبط على " "B) تُعاد إلى ترتيباتها المبدئية (B) في الابن." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Specifying this flag together with B is nonsensical and " "disallowed." msgstr "تحديد هذا العلم مع B غير منطقي وغير مسموح به." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B (historical)" msgstr "B (تاريخي)" #. added in Linux 2.5.32; removed in Linux 2.6.0-test4 #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "For a while (during the Linux 2.5 development series) there was a " "B flag, which caused the parent not to receive a signal when " "the child terminated. Ultimately, the effect of this flag was subsumed " "under the B flag and by the time Linux 2.6.0 was released, " "this flag had no effect. Since Linux 2.6.2, the need to give this flag " "together with B disappeared." msgstr "" "لفترة من الوقت (خلال سلسلة تطوير لينكس 2.5) كان هناك علم B، " "والذي تسبب في عدم تلقي الأب إشارة عند إنهاء الابن. في النهاية، دُمج تأثير هذا " "العلم تحت علم B وبحلول وقت إصدار لينكس 2.6.0، لم يعد لهذا " "العلم أي تأثير. منذ لينكس 2.6.2، اختفت الحاجة لتقديم هذا العلم مع " "B." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "This flag is still defined, but it is usually ignored when calling " "B(). However, see the description of B for some " "exceptions." msgstr "" "لا يزال هذا العلم معرفًا، ولكن عادةً ما يُتجاهل عند استدعاء B(). ومع " "ذلك، راجع وصف B لمعرفة بعض الاستثناءات." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B (since Linux 2.0)" msgstr "B (منذ لينكس 2.0)" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "If B is set, the calling process and the child process share " "the same file descriptor table. Any file descriptor created by the calling " "process or by the child process is also valid in the other process. " "Similarly, if one of the processes closes a file descriptor, or changes its " "associated flags (using the B(2) B operation), the other " "process is also affected. If a process sharing a file descriptor table " "calls B(2), its file descriptor table is duplicated (unshared)." msgstr "" "إذا ضُبط B، فإن العملية المستدعِية والعملية الوليدة تتشاركان نفس " "جدول واصفات الملفات. أي واصف ملف يُنشأ بواسطة العملية المستدعِية أو بواسطة " "العملية الوليدة يكون صالحًا أيضًا في العملية الأخرى. وبالمثل، إذا أغلقت إحدى " "العمليات واصف ملف، أو غيرت الأعلام المرتبطة به (باستخدام عملية 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 "" "If B is not set, the child process inherits a copy of all file " "descriptors opened in the calling process at the time of the clone call. " "Subsequent operations that open or close file descriptors, or change file " "descriptor flags, performed by either the calling process or the child " "process do not affect the other process. Note, however, that the duplicated " "file descriptors in the child refer to the same open file descriptions as " "the corresponding file descriptors in the calling process, and thus share " "file offsets and file status flags (see B(2))." msgstr "" "إذا لم يُضبط B، ترث العملية الوليدة نسخة من جميع واصفات الملفات " "المفتوحة في العملية المستدعِية وقت استدعاء الاستنساخ. العمليات اللاحقة التي " "تفتح أو تغلق واصفات الملفات، أو تغير أعلام واصف الملف، والتي تقوم بها إما " "العملية المستدعِية أو العملية الوليدة لا تؤثر على العملية الأخرى. لاحظ، مع " "ذلك، أن واصفات الملفات المنسوخة في الوليدة تشير إلى نفس أوصاف الملفات " "المفتوحة مثل واصفات الملفات المقابلة في العملية المستدعِية، وبالتالي تتشارك " "إزاحات الملف وأعلام حالة الملف (انظر B(2))." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B (since Linux 2.0)" msgstr "B (منذ لينكس 2.0)" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "If B is set, the caller and the child process share the same " "filesystem information. This includes the root of the filesystem, the " "current working directory, and the umask. Any call to B(2), " "B(2), or B(2) performed by the calling process or the child " "process also affects the other process." msgstr "" "إذا ضُبط B، يتشارك المستدعِي والعملية الوليدة نفس معلومات نظام " "الملفات. يتضمن ذلك جذر نظام الملفات، ودليل العمل الحالي، وقناع وضع إنشاء " "الملفات (umask). أي استدعاء لـ B(2) أو 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 "" "If B is not set, the child process works on a copy of the " "filesystem information of the calling process at the time of the clone " "call. Calls to B(2), B(2), or B(2) performed later " "by one of the processes do not affect the other process." msgstr "" "إذا لم يُضبط B، تعمل العملية الوليدة على نسخة من معلومات نظام " "الملفات للعملية المستدعِية وقت استدعاء الاستنساخ. الاستدعاءات لـ B(2) " "أو B(2) أو B(2) التي تُجرى لاحقًا بواسطة إحدى العمليات لا تؤثر " "على العملية الأخرى." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B (since Linux 5.7)" msgstr "B (منذ لينكس 5.7)" #. commit ef2c41cf38a7559bbf91af42d5b6a4429db8fc68 #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "By default, a child process is placed in the same version 2 cgroup as its " "parent. The B flag allows the child process to be " "created in a different version 2 cgroup. (Note that B " "has effect only for version 2 cgroups.)" msgstr "" "بشكل مبدئي، توضع العملية الوليدة في نفس مجموعة التحكم (cgroup) الإصدار 2 " "التي تتبعها العملية الأب. يسمح علم 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 "" "In order to place the child process in a different cgroup, the caller " "specifies B in I and passes a file " "descriptor that refers to a version 2 cgroup in the I " "field. (This file descriptor can be obtained by opening a cgroup v2 " "directory using either the B or the B flag.) Note that " "all of the usual restrictions (described in B(7)) on placing a " "process into a version 2 cgroup apply." msgstr "" "لوضع العملية الوليدة في مجموعة تحكم مختلفة، يحدد المستدعِي " "B في I ويمرر واصف ملف يشير إلى مجموعة تحكم " "إصدار 2 في حقل I. (يمكن الحصول على واصف الملف هذا عن طريق " "فتح دليل cgroup v2 باستخدام إما علم B أو علم B.) لاحظ أن " "جميع القيود المعتادة (الموضحة في B(7)) بشأن وضع عملية في مجموعة " "تحكم إصدار 2 تنطبق هنا." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Among the possible use cases for B are the following:" msgstr "من بين حالات الاستخدام الممكنة لـ B ما يلي:" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Spawning a process into a cgroup different from the parent's cgroup makes it " "possible for a service manager to directly spawn new services into dedicated " "cgroups. This eliminates the accounting jitter that would be caused if the " "child process was first created in the same cgroup as the parent and then " "moved into the target cgroup. Furthermore, spawning the child process " "directly into a target cgroup is significantly cheaper than moving the child " "process into the target cgroup after it has been created." msgstr "" "إن تفريخ عملية في مجموعة تحكم مختلفة عن مجموعة تحكم الأب يجعل من الممكن " "لمدير الخدمات تفريخ خدمات جديدة مباشرة في مجموعات تحكم مخصصة. هذا يزيل " "اضطراب المحاسبة الذي قد يحدث إذا أُنشئت العملية الوليدة أولاً في نفس مجموعة " "تحكم الأب ثم نُقلت إلى مجموعة التحكم المستهدفة. علاوة على ذلك، فإن تفريخ " "العملية الوليدة مباشرة في مجموعة تحكم مستهدفة أقل تكلفة بكثير من نقل العملية " "الوليدة إلى مجموعة التحكم المستهدفة بعد إنشائها." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The B flag also allows the creation of frozen child " "processes by spawning them into a frozen cgroup. (See B(7) for a " "description of the freezer controller.)" msgstr "" "يسمح علم B أيضًا بإنشاء عمليات وليدة مجمدة عن طريق تفريخها " "في مجموعة تحكم مجمدة. (انظر B(7) للحصول على وصف لمتحكم التجميد.)" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "For threaded applications (or even thread implementations which make use of " "cgroups to limit individual threads), it is possible to establish a fixed " "cgroup layout before spawning each thread directly into its target cgroup." msgstr "" "بالنسبة للتطبيقات متعددة الخيوط (أو حتى تنفيذات الخيوط التي تستخدم مجموعات " "التحكم للحد من الخيوط الفردية)، من الممكن إنشاء تخطيط ثابت لمجموعة التحكم " "قبل تفريخ كل خيط مباشرة في مجموعة التحكم المستهدفة الخاصة به." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B (since Linux 2.6.25)" msgstr "B (منذ لينكس 2.6.25)" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "If B is set, then the new process shares an I/O context with the " "calling process. If this flag is not set, then (as with B(2)) the " "new process has its own I/O context." msgstr "" "إذا ضُبط B، فإن العملية الجديدة تتشارك سياق إدخال/إخراج مع العملية " "المستدعِية. إذا لم يُضبط هذا العلم، فإن العملية الجديدة (كما في B(2)) " "يكون لها سياق إدخال/إخراج خاص بها." #. The following based on text from Jens Axboe #. the anticipatory and CFQ scheduler #. with CFQ and AS. #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The I/O context is the I/O scope of the disk scheduler (i.e., what the I/O " "scheduler uses to model scheduling of a process's I/O). If processes share " "the same I/O context, they are treated as one by the I/O scheduler. As a " "consequence, they get to share disk time. For some I/O schedulers, if two " "processes share an I/O context, they will be allowed to interleave their " "disk access. If several threads are doing I/O on behalf of the same process " "(B(3), for instance), they should employ B to get better " "I/O performance." msgstr "" "سياق الإدخال/الإخراج هو نطاق الإدخال/الإخراج لجدول القرص (أي ما يستخدمه " "مجدول الإدخال/الإخراج لنمذجة جدولة إدخال/إخراج العملية). إذا تشاركت العمليات " "نفس سياق الإدخال/الإخراج، فإن مجدول الإدخال/الإخراج يعاملها كعملية واحدة. " "نتيجة لذلك، فإنها تتشارك وقت القرص. بالنسبة لبعض مجدولي الإدخال/الإخراج، إذا " "تشاركت عمليتان في سياق إدخال/إخراج واحد، فسيُسمح لهما بتداخل وصولهما إلى " "القرص. إذا كانت عدة خيوط تقوم بالإدخال/الإخراج نيابة عن نفس العملية " "(B(3)، على سبيل المثال)، فيجب عليها استخدام B للحصول على " "أداء إدخال/إخراج أفضل." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "If the kernel is not configured with the B option, this flag " "is a no-op." msgstr "" "إذا لم تُضبط النواة بخيار B، فإن هذا العلم لا يفعل شيئًا." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B (since Linux 4.6)" msgstr "B (منذ لينكس 4.6)" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Create the process in a new cgroup namespace. If this flag is not set, then " "(as with B(2)) the process is created in the same cgroup namespaces " "as the calling process." msgstr "" "إنشاء العملية في فضاء أسماء cgroup جديد. إذا لم يُضبط هذا العلم، فإن العملية " "(كما في B(2)) تُنشأ في نفس فضاءات أسماء cgroup الخاصة بالعملية " "المستدعِية." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "For further information on cgroup namespaces, see B(7)." msgstr "" "لمزيد من المعلومات حول فضاءات أسماء cgroup، راجع B(7)." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Only a privileged process (B) can employ B." msgstr "" "فقط العملية ذات الامتيازات (B) يمكنها استخدام " "B." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B (since Linux 2.6.19)" msgstr "B (منذ لينكس 2.6.19)" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "If B is set, then create the process in a new IPC namespace. " "If this flag is not set, then (as with B(2)), the process is created " "in the same IPC namespace as the calling process." msgstr "" "إذا ضُبط B، فسيتم إنشاء العملية في فضاء أسماء IPC جديد. إذا لم " "يُضبط هذا العلم، فإن العملية (كما في B(2)) تُنشأ في نفس فضاء أسماء IPC " "الخاص بالعملية المستدعِية." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "For further information on IPC namespaces, see B(7)." msgstr "لمزيد من المعلومات حول فضاءات أسماء IPC، راجع B(7)." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Only a privileged process (B) can employ B. " "This flag can't be specified in conjunction with B." msgstr "" "فقط العملية ذات الامتيازات (B) يمكنها استخدام " "B. لا يمكن تحديد هذا العلم بالتزامن مع B." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B (since Linux 2.6.24)" msgstr "B (منذ لينكس 2.6.24)" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "(The implementation of this flag was completed only by about Linux 2.6.29.)" msgstr "(اكتمل تنفيذ هذا العلم فقط في حوالي لينكس 2.6.29.)" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "If B is set, then create the process in a new network " "namespace. If this flag is not set, then (as with B(2)) the process " "is created in the same network namespace as the calling process." msgstr "" "إذا ضُبط B، فسيتم إنشاء العملية في فضاء أسماء شبكة جديد. إذا لم " "يُضبط هذا العلم، فإن العملية (كما في B(2)) تُنشأ في نفس فضاء أسماء " "الشبكة الخاص بالعملية المستدعِية." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "For further information on network namespaces, see B(7)." msgstr "" "لمزيد من المعلومات حول فضاءات أسماء الشبكة، راجع B(7)." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Only a privileged process (B) can employ B." msgstr "" "فقط العملية ذات الامتيازات (B) يمكنها استخدام B." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B (since Linux 2.4.19)" msgstr "B (منذ لينكس 2.4.19)" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "If B is set, the cloned child is started in a new mount " "namespace, initialized with a copy of the namespace of the parent. If " "B is not set, the child lives in the same mount namespace as " "the parent." msgstr "" "إذا ضُبط B، تبدأ الوليدة المستنسخة في فضاء أسماء وصل جديد، يُهيأ " "بنسخة من فضاء أسماء الأب. إذا لم يُضبط B، تعيش الوليدة في نفس " "فضاء أسماء الوصل الخاص بالأب." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "For further information on mount namespaces, see B(7) and " "B(7)." msgstr "" "لمزيد من المعلومات حول فضاءات أسماء الوصل، راجع B(7) و " "B(7)." #. See https://lwn.net/Articles/543273/ #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Only a privileged process (B) can employ B. It " "is not permitted to specify both B and B in the same " "clone call." msgstr "" "فقط العملية ذات الامتيازات (B) يمكنها استخدام B. " "لا يُسمح بتحديد كل من B و B في نفس استدعاء الاستنساخ." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B (since Linux 2.6.24)" msgstr "B (منذ لينكس 2.6.24)" # #. This explanation draws a lot of details from #. http://lwn.net/Articles/259217/ #. Authors: Pavel Emelyanov #. and Kir Kolyshkin #. The primary kernel commit is 30e49c263e36341b60b735cbef5ca37912549264 #. Author: Pavel Emelyanov #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "If B is set, then create the process in a new PID namespace. " "If this flag is not set, then (as with B(2)) the process is created " "in the same PID namespace as the calling process." msgstr "" "إذا ضُبط B، فسيتم إنشاء العملية في فضاء أسماء PID جديد. إذا لم " "يُضبط هذا العلم، فإن العملية (كما في B(2)) تُنشأ في نفس فضاء أسماء PID " "الخاص بالعملية المستدعِية." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "For further information on PID namespaces, see B(7) and " "B(7)." msgstr "" "لمزيد من المعلومات حول فضاءات أسماء PID، راجع B(7) و " "B(7)." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Only a privileged process (B) can employ B. " "This flag can't be specified in conjunction with B." msgstr "" "فقط العملية ذات الامتيازات (B) يمكنها استخدام " "B. لا يمكن تحديد هذا العلم بالتزامن مع B." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "(This flag first became meaningful for B() in Linux 2.6.23, the " "current B() semantics were merged in Linux 3.5, and the final pieces " "to make the user namespaces completely usable were merged in Linux 3.8.)" msgstr "" "(أصبح هذا العلم ذا معنى لأول مرة لـ B() في لينكس 2.6.23، ودُمجت دلالات " "B() الحالية في لينكس 3.5، ودُمجت الأجزاء النهائية لجعل فضاءات أسماء " "المستخدمين قابلة للاستخدام بالكامل في لينكس 3.8.)" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "If B is set, then create the process in a new user " "namespace. If this flag is not set, then (as with B(2)) the process " "is created in the same user namespace as the calling process." msgstr "" "إذا ضُبط B، فسيتم إنشاء العملية في فضاء أسماء مستخدم جديد. إذا " "لم يُضبط هذا العلم، فإن العملية (كما في B(2)) تُنشأ في نفس فضاء أسماء " "المستخدمين الخاص بالعملية المستدعِية." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "For further information on user namespaces, see B(7) and " "B(7)." msgstr "" "لمزيد من المعلومات حول فضاءات أسماء المستخدمين، راجع B(7) و " "B(7)." #. Before Linux 2.6.29, it appears that only CAP_SYS_ADMIN was needed #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Before Linux 3.8, use of B required that the caller have " "three capabilities: B, B, and B. " "Starting with Linux 3.8, no privileges are needed to create a user namespace." msgstr "" "قبل لينكس 3.8، كان استخدام B يتطلب أن يكون لدى المستدعِي ثلاث " "قدرات: B و B و B. بدءًا من لينكس 3.8، " "لا حاجة لامتيازات لإنشاء فضاء أسماء مستخدم." #. #-#-#-#-# archlinux: clone.2.pot (PACKAGE VERSION) #-#-#-#-# #. commit e66eded8309ebf679d3d3c1f5820d1f2ca332c71 #. https://lwn.net/Articles/543273/ #. The fix actually went into Linux 3.9 and into Linux 3.8.3. #. However, user namespaces were, for practical purposes, #. unusable in earlier Linux 3.8.x because of the various filesystems #. that didn't support userns. #. type: Plain text #. #-#-#-#-# debian-trixie: clone.2.pot (PACKAGE VERSION) #-#-#-#-# #. commit e66eded8309ebf679d3d3c1f5820d1f2ca332c71 #. https://lwn.net/Articles/543273/ #. The fix actually went into Linux 3.9 and into Linux 3.8.3. However, user namespaces #. were, for practical purposes, unusable in earlier Linux 3.8.x because of the #. various filesystems that didn't support userns. #. type: Plain text #. #-#-#-#-# debian-unstable: clone.2.pot (PACKAGE VERSION) #-#-#-#-# #. commit e66eded8309ebf679d3d3c1f5820d1f2ca332c71 #. https://lwn.net/Articles/543273/ #. The fix actually went into Linux 3.9 and into Linux 3.8.3. #. However, user namespaces were, for practical purposes, #. unusable in earlier Linux 3.8.x because of the various filesystems #. that didn't support userns. #. type: Plain text #. #-#-#-#-# fedora-44: clone.2.pot (PACKAGE VERSION) #-#-#-#-# #. commit e66eded8309ebf679d3d3c1f5820d1f2ca332c71 #. https://lwn.net/Articles/543273/ #. The fix actually went into Linux 3.9 and into Linux 3.8.3. However, user namespaces #. were, for practical purposes, unusable in earlier Linux 3.8.x because of the #. various filesystems that didn't support userns. #. type: Plain text #. #-#-#-#-# fedora-rawhide: clone.2.pot (PACKAGE VERSION) #-#-#-#-# #. commit e66eded8309ebf679d3d3c1f5820d1f2ca332c71 #. https://lwn.net/Articles/543273/ #. The fix actually went into Linux 3.9 and into Linux 3.8.3. However, user namespaces #. were, for practical purposes, unusable in earlier Linux 3.8.x because of the #. various filesystems that didn't support userns. #. type: Plain text #. #-#-#-#-# mageia-cauldron: clone.2.pot (PACKAGE VERSION) #-#-#-#-# #. commit e66eded8309ebf679d3d3c1f5820d1f2ca332c71 #. https://lwn.net/Articles/543273/ #. The fix actually went into Linux 3.9 and into Linux 3.8.3. #. However, user namespaces were, for practical purposes, #. unusable in earlier Linux 3.8.x because of the various filesystems #. that didn't support userns. #. type: Plain text #. #-#-#-#-# opensuse-leap-16-1: clone.2.pot (PACKAGE VERSION) #-#-#-#-# #. commit e66eded8309ebf679d3d3c1f5820d1f2ca332c71 #. https://lwn.net/Articles/543273/ #. The fix actually went into Linux 3.9 and into Linux 3.8.3. #. However, user namespaces were, for practical purposes, #. unusable in earlier Linux 3.8.x because of the various filesystems #. that didn't support userns. #. type: Plain text #. #-#-#-#-# opensuse-tumbleweed: clone.2.pot (PACKAGE VERSION) #-#-#-#-# #. commit e66eded8309ebf679d3d3c1f5820d1f2ca332c71 #. https://lwn.net/Articles/543273/ #. The fix actually went into Linux 3.9 and into Linux 3.8.3. #. However, user namespaces were, for practical purposes, #. unusable in earlier Linux 3.8.x because of the various filesystems #. that didn't support userns. #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "This flag can't be specified in conjunction with B or " "B. For security reasons, B cannot be specified " "in conjunction with B." msgstr "" "لا يمكن تحديد هذا العلم بالتزامن مع B أو B. " "لأسباب أمنية، لا يمكن تحديد B بالتزامن مع B." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B (since Linux 2.6.19)" msgstr "B (منذ لينكس 2.6.19)" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "If B is set, then create the process in a new UTS namespace, " "whose identifiers are initialized by duplicating the identifiers from the " "UTS namespace of the calling process. If this flag is not set, then (as " "with B(2)) the process is created in the same UTS namespace as the " "calling process." msgstr "" "إذا ضُبط B، فسيتم إنشاء العملية في فضاء أسماء UTS جديد، وتُهيأ " "معرفاته بنسخ المعرفات من فضاء أسماء UTS للعملية المستدعِية. إذا لم يُضبط هذا " "العلم، فإن العملية (كما في B(2)) تُنشأ في نفس فضاء أسماء UTS الخاص " "بالعملية المستدعِية." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "For further information on UTS namespaces, see B(7)." msgstr "لمزيد من المعلومات حول فضاءات أسماء UTS، راجع B(7)." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Only a privileged process (B) can employ B." msgstr "" "فقط العملية ذات الامتيازات (B) يمكنها استخدام B." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B (since Linux 2.3.12)" msgstr "B (منذ لينكس 2.3.12)" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "If B is set, then the parent of the new child (as returned by " "B(2)) will be the same as that of the calling process." msgstr "" "إذا ضُبط B، فإن أب الوليدة الجديدة (كما تعيده B(2)) " "سيكون هو نفسه أب العملية المستدعِية." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "If B is not set, then (as with B(2)) the child's parent " "is the calling process." msgstr "" "إذا لم يُضبط B، فإن أب الوليدة (كما في B(2)) هو العملية " "المستدعِية." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Note that it is the parent process, as returned by B(2), which is " "signaled when the child terminates, so that if B is set, then " "the parent of the calling process, rather than the calling process itself, " "is signaled." msgstr "" "لاحظ أن العملية الأب، كما تعيدها B(2)، هي التي تتلقى إشارة عند " "إنهاء الوليدة، بحيث إذا ضُبط B، فإن أب العملية المستدعِية، وليس " "العملية المستدعِية نفسها، هو من يتلقى الإشارة." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The B flag can't be used in clone calls by the global init " "process (PID 1 in the initial PID namespace) and init processes in other " "PID namespaces. This restriction prevents the creation of multi-rooted " "process trees as well as the creation of unreapable zombies in the initial " "PID namespace." msgstr "" "لا يمكن استخدام علم B في استدعاءات الاستنساخ من قبل عملية " "البدء العامة (PID 1 في فضاء أسماء PID الأولي) وعمليات البدء في فضاءات أسماء " "PID الأخرى. يمنع هذا القيد إنشاء أشجار عمليات متعددة الجذور بالإضافة إلى منع " "إنشاء زومبي لا يمكن حصادهم في فضاء أسماء PID الأولي." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B (since Linux 2.5.49)" msgstr "B (منذ لينكس 2.5.49)" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Store the child thread ID at the location pointed to by I " "(B()) or I (B()) in the parent's " "memory. (In Linux 2.5.32-2.5.48 there was a flag B that did " "this.) The store operation completes before the clone call returns control " "to user space." msgstr "" "تخزين معرف خيط الوليدة في الموقع الذي يشير إليه I (في " "B()) أو I (في B()) في ذاكرة الأب. (في " "لينكس 2.5.32-2.5.48 كان هناك علم B يقوم بذلك.) تكتمل عملية " "التخزين قبل أن يعيد استدعاء الاستنساخ التحكم إلى مساحة المستخدم." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B (Linux 2.0 to Linux 2.5.15)" msgstr "B (لينكس 2.0 إلى لينكس 2.5.15)" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "If B is set, the child process is created with the same process " "ID as the calling process. This is good for hacking the system, but " "otherwise of not much use. From Linux 2.3.21 onward, this flag could be " "specified only by the system boot process (PID 0). The flag disappeared " "completely from the kernel sources in Linux 2.5.16. Subsequently, the " "kernel silently ignored this bit if it was specified in the I mask. " "Much later, the same bit was recycled for use as the B flag." msgstr "" "إذا ضُبط B، تُنشأ العملية الوليدة بنفس معرف العملية للمستدعِية." " هذا " "مفيد لاختراق النظام، ولكنه غير مفيد لغير ذلك. من لينكس 2.3.21 فصاعدًا، أصبح " "بالإمكان تحديد هذا العلم فقط بواسطة عملية تمهيد النظام (PID 0). اختفى العلم " "تمامًا من مصادر النواة في لينكس 2.5.16. لاحقًا، تجاهلت النواة بصمت هذه البتة " "إذا حُددت في قناع I<الأعلام>. وبعد فترة طويلة، أُعيد تدوير نفس البتة " "لاستخدامها كعلم B." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B (since Linux 5.2)" msgstr "B (منذ لينكس 5.2)" #. commit b3e5838252665ee4cfa76b82bdf1198dca81e5be #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "If this flag is specified, a PID file descriptor referring to the child " "process is allocated and placed at a specified location in the parent's " "memory. The close-on-exec flag is set on this new file descriptor. PID " "file descriptors can be used for the purposes described in B(2)." msgstr "" "إذا حُدد هذا العلم، يُخصص واصف ملف PID يشير إلى العملية الوليدة ويُوضع في" " موقع " "محدد في ذاكرة الأب. يُضبط علم الإغلاق عند التنفيذ (close-on-exec) على واصف " "الملف الجديد هذا. يمكن استخدام واصفات ملفات PID للأغراض الموضحة في " "B(2)." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "When using B(), the PID file descriptor is placed at the location " "pointed to by I." msgstr "" "عند استخدام B()، يُوضع واصف ملف PID في الموقع الذي يشير إليه " "I." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "When using B(), the PID file descriptor is placed at the location " "pointed to by I. Since the I argument is used to " "return the PID file descriptor, B cannot be used with " "B when calling B()." msgstr "" "عند استخدام B()، يُوضع واصف ملف PID في الموقع الذي يشير إليه " "I. وبما أن معامل I يُستخدم لإعادة واصف ملف PID، فلا " "يمكن استخدام B مع B عند استدعاء B()." #. commit 83b290c9e3b5d95891f43a4aeadf6071cbff25d3 #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "If B is specified together with B, the obtained " "PID file descriptor refers to a specific thread, as opposed to a thread-" "group leader if B is not specified. This feature is available " "since Linux 6.9." msgstr "" "إذا حُدد B مع B، فإن واصف ملف PID الذي تم الحصول " "عليه يشير إلى خيط معين، بدلاً من متصدر مجموعة الخيوط إذا لم يُحدد " "B. تتوفر هذه الميزة منذ لينكس 6.9." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "If the obsolete B flag is specified alongside B " "when calling B(), an error is returned. An error also results if " "B is specified when calling B(). This error " "behavior ensures that the bit corresponding to B can be " "reused for further PID file descriptor features in the future." msgstr "" "إذا حُدد علم B المهمل بجانب B عند استدعاء " "B()، فسيُعاد خطأ. وينتج خطأ أيضًا إذا حُدد B عند" " استدعاء " "B(). يضمن سلوك الخطأ هذا إمكانية إعادة استخدام البتة المقابلة لـ " "B لميزات واصف ملف PID الإضافية في المستقبل." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B (since Linux 2.2)" msgstr "B (منذ لينكس 2.2)" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "If B is specified, and the calling process is being traced, " "then trace the child also (see B(2))." msgstr "" "إذا حُدد B، وكانت العملية المستدعِية تخضع للتتبع، فسيتم تتبع " "الوليدة أيضًا (راجع B(2))." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B (since Linux 2.5.32)" msgstr "B (منذ لينكس 2.5.32)" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "The TLS (Thread Local Storage) descriptor is set to I." msgstr "يُضبط واصف TLS (تخزين الخيط المحلي) على I." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #| msgid "" #| "The interpretation of I and the resulting effect is architecture " #| "dependent. On x86, I is interpreted as a I " #| "(see B(2)). On x86-64 it is the new value to be set for " #| "the %fs base register (see the B argument to " #| "B(2)). On architectures with a dedicated TLS register, it is " #| "the new value of that register." msgid "" "The interpretation of I and the resulting effect is architecture " "dependent. On x86, I is interpreted as a I (see " "B(2)). On x86-64 it is the new value to be set for the %fs " "base register (see the B argument to B(2)). On " "architectures with a dedicated TLS register, it is the new value of that " "register." msgstr "" "تفسير I والأثر الناتج يعتمد على المعمارية. في x86، يُفسر I على أنه " "I (راجع B(2)). في x86-64 هي القيمة " "الجديدة التي ستُضبط لسجل القاعدة %fs (راجع معامل B لـ " "B(2)). في المعماريات التي تحتوي على سجل TLS مخصص، فهي القيمة " "الجديدة لذلك السجل." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Use of this flag requires detailed knowledge and generally it should not be " "used except in libraries implementing threading." msgstr "" "يتطلب استخدام هذا العلم معرفة مفصلة وعمومًا لا ينبغي استخدامه إلا في المكتبات " "التي تنفذ تعدد الخيوط." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B (since Linux 2.0)" msgstr "B (منذ لينكس 2.0)" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "If B is set, the calling process and the child process share " "the same table of signal handlers. If the calling process or child process " "calls B(2) to change the behavior associated with a signal, the " "behavior is changed in the other process as well. However, the calling " "process and child processes still have distinct signal masks and sets of " "pending signals. So, one of them may block or unblock signals using " "B(2) without affecting the other process." 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 "" "If B is not set, the child process inherits a copy of the " "signal handlers of the calling process at the time of the clone call. Calls " "to B(2) performed later by one of the processes have no effect " "on the other process." msgstr "" "إذا لم يُضبط B، ترث العملية الوليدة نسخة من معالجي الإشارات " "للعملية المستدعِية وقت استدعاء الاستنساخ. الاستدعاءات لـ B(2) التي " "تُجرى لاحقًا بواسطة إحدى العمليات ليس لها أي تأثير على العملية الأخرى." #. Precisely: Linux 2.6.0-test6 #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Since Linux 2.6.0, the I mask must also include B if " "B is specified." msgstr "" "منذ لينكس 2.6.0، يجب أن يتضمن قناع I أيضًا B إذا حُدد " "B." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B (since Linux 2.6.0)" msgstr "B (منذ لينكس 2.6.0)" #. Precisely: Linux 2.6.0-test2 #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "If B is set, then the child is initially stopped (as though " "it was sent a B signal), and must be resumed by sending it a " "B signal." msgstr "" "إذا ضُبط B، فسيتم إيقاف الوليدة في البداية (كما لو أُرسلت" " إليها " "إشارة B)، ويجب استئنافها عن طريق إرسال إشارة B إليها." #. glibc 2.8 removed this defn from bits/sched.h #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "This flag was I from Linux 2.6.25 onward, and was I " "altogether in Linux 2.6.38. Since then, the kernel silently ignores it " "without error. Starting with Linux 4.6, the same bit was reused for the " "B flag." msgstr "" "I<أُهمل> هذا العلم منذ لينكس 2.6.25 فصاعدًا، وI<أُزيل> تمامًا في لينكس" " 2.6.38. " "ومنذ ذلك الحين، تتجاهله النواة بصمت دون خطأ. بدءًا من لينكس 4.6، أُعيد تدوير " "نفس البتة لعلم B." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B (since Linux 2.5.10)" msgstr "B (منذ لينكس 2.5.10)" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "If B is set, then the child and the calling process share a " "single list of System V semaphore adjustment (I) values (see " "B(2)). In this case, the shared list accumulates I values " "across all processes sharing the list, and semaphore adjustments are " "performed only when the last process that is sharing the list terminates (or " "ceases sharing the list using B(2)). If this flag is not set, then " "the child has a separate I list that is initially empty." msgstr "" "إذا ضُبط B، تتشارك الوليدة والعملية المستدعِية في قائمة واحدة " "لقيم تعديل سيمافور System V (تُعرف بـ I) (راجع B(2)). في هذه " "الحالة، تراكم القائمة المشتركة قيم I عبر جميع العمليات التي تتشارك " "القائمة، وتُجرى تعديلات السيمافور فقط عندما تنتهي آخر عملية تشارك القائمة (أو " "تتوقف عن مشاركتها باستخدام B(2)). إذا لم يُضبط هذا العلم، يكون " "للوليدة قائمة I منفصلة تكون فارغة في البداية." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B (since Linux 2.4.0)" msgstr "B (منذ لينكس 2.4.0)" #. Precisely: Linux 2.6.0-test8 #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "If B is set, the child is placed in the same thread group as " "the calling process. To make the remainder of the discussion of " "B more readable, the term \"thread\" is used to refer to the " "processes within a thread group." msgstr "" "إذا ضُبط B، تُوضع الوليدة في نفس مجموعة الخيوط التي تتبعها " "العملية المستدعِية. ولجعل ما تبقى من مناقشة B أكثر قابلية " "للقراءة، استُخدم مصطلح \"خيط\" للإشارة إلى العمليات داخل مجموعة الخيوط." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Thread groups were a feature added in Linux 2.4 to support the POSIX threads " "notion of a set of threads that share a single PID. Internally, this shared " "PID is the so-called thread group identifier (TGID) for the thread group. " "Since Linux 2.4, calls to B(2) return the TGID of the caller." msgstr "" "كانت مجموعات الخيوط ميزة أضيفت في لينكس 2.4 لدعم مفهوم خيوط POSIX لمجموعة من " "الخيوط التي تتشارك معرف عملية (PID) واحد. داخليًا، هذا المعرف المشترك هو ما " "يسمى بمعرف مجموعة الخيوط (TGID). منذ لينكس 2.4، تعيد الاستدعاءات لـ " "B(2) معرف TGID للمستدعِي." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The threads within a group can be distinguished by their (system-wide) " "unique thread IDs (TID). A new thread's TID is available as the function " "result returned to the caller, and a thread can obtain its own TID using " "B(2)." msgstr "" "يمكن تمييز الخيوط داخل المجموعة من خلال معرفات الخيوط (TID) الفريدة (على " "مستوى النظام). يتوفر معرف TID للخيط الجديد كنتيجة دالة تعاد للمستدعِي، ويمكن " "للخيط الحصول على معرف TID الخاص به باستخدام B(2)." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "When a clone call is made without specifying B, then the " "resulting thread is placed in a new thread group whose TGID is the same as " "the thread's TID. This thread is the I of the new thread group." msgstr "" "عند إجراء استدعاء استنساخ بدون تحديد B، يُوضع الخيط الناتج في " "مجموعة خيوط جديدة يكون معرف TGID الخاص بها هو نفسه معرف TID للخيط. هذا الخيط " "هو I<متصدر> مجموعة الخيوط الجديدة." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "A new thread created with B has the same parent process as the " "process that made the clone call (i.e., like B), so that calls " "to B(2) return the same value for all of the threads in a thread " "group. When a B thread terminates, the thread that created it " "is not sent a B (or other termination) signal; nor can the status " "of such a thread be obtained using B(2). (The thread is said to be " "I.)" msgstr "" "الخيط الجديد المنشأ باستخدام B له نفس العملية الأب للعملية " "التي أجرت استدعاء الاستنساخ (أي، مثل B)، بحيث تعيد الاستدعاءات " "لـ B(2) نفس القيمة لجميع الخيوط في مجموعة خيوط واحدة. عندما ينتهي " "خيط B، لا تُرسل للخيط الذي أنشأه إشارة B (أو أي إشارة " "إنهاء أخرى)؛ ولا يمكن الحصول على حالة مثل هذا الخيط باستخدام B(2). " "(يُقال عن الخيط إنه I<منفصل>)." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "After all of the threads in a thread group terminate the parent process of " "the thread group is sent a B (or other termination) signal." msgstr "" "بعد انتهاء جميع الخيوط في مجموعة الخيوط، تُرسل للعملية الأب لمجموعة الخيوط " "إشارة B (أو إشارة إنهاء أخرى)." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "If any of the threads in a thread group performs an B(2), then all " "threads other than the thread group leader are terminated, and the new " "program is executed in the thread group leader." msgstr "" "إذا قام أي من الخيوط في مجموعة خيوط بتنفيذ B(2)، فسيتم إنهاء جميع " "الخيوط الأخرى باستثناء متصدر مجموعة الخيوط، ويُنفذ البرنامج الجديد في متصدر " "مجموعة الخيوط." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "If one of the threads in a thread group creates a child using B(2), " "then any thread in the group can B(2) for that child." msgstr "" "إذا أنشأ أحد الخيوط في مجموعة خيوط وليدة باستخدام B(2)، فيمكن لأي خيط " "في المجموعة انتظار (B(2)) تلك الوليدة." #. Precisely: Linux 2.6.0-test6 #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Since Linux 2.5.35, the I mask must also include B if " "B is specified (and note that, since Linux 2.6.0, " "B also requires B to be included)." msgstr "" "منذ لينكس 2.5.35، يجب أن يتضمن قناع I أيضًا B إذا حُدد " "B (ولاحظ أنه منذ لينكس 2.6.0، يتطلب B أيضًا " "تضمين B)." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Signal dispositions and actions are process-wide: if an unhandled signal is " "delivered to a thread, then it will affect (terminate, stop, continue, be " "ignored in) all members of the thread group." msgstr "" "ترتيبات الإشارات وإجراءاتها تكون على مستوى العملية: إذا سُلّمت إشارة غير " "معالجة إلى خيط ما، فإنها ستؤثر على (تنهي، توقف، تواصل، تُتجاهل في) جميع أعضاء " "مجموعة الخيوط." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "Each thread has its own signal mask, as set by B(2)." msgstr "لكل خيط قناع إشارات خاص به، كما يُضبط بواسطة B(2)." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "A signal may be process-directed or thread-directed. A process-directed " "signal is targeted at a thread group (i.e., a TGID), and is delivered to an " "arbitrarily selected thread from among those that are not blocking the " "signal. A signal may be process-directed because it was generated by the " "kernel for reasons other than a hardware exception, or because it was sent " "using B(2) or B(3). A thread-directed signal is targeted " "at (i.e., delivered to) a specific thread. A signal may be thread directed " "because it was sent using B(2) or B(3), or " "because the thread executed a machine language instruction that triggered a " "hardware exception (e.g., invalid memory access triggering B or a " "floating-point exception triggering B)." msgstr "" "قد تكون الإشارة موجهة للعملية أو موجهة للخيط. تستهدف الإشارة الموجهة للعملية " "مجموعة خيوط (أي معرف TGID)، وتُسلّم إلى خيط مختار عشوائيًا من بين تلك التي لا " "تحجب الإشارة. قد تكون الإشارة موجهة للعملية لأنها نُتجت بواسطة النواة لأسباب " "أخرى غير استثناء الأجهزة، أو لأنها أُرسلت باستخدام B(2) أو " "B(3). تستهدف الإشارة الموجهة للخيط (أي تُسلّم إلى) خيطًا معينًا. قد " "تكون الإشارة موجهة للخيط لأنها أُرسلت باستخدام B(2) أو " "B(3)، أو لأن الخيط نفذ تعليمة بلغة الآلة أدت إلى إطلاق " "استثناء في الأجهزة (على سبيل المثال، وصول غير صالح للذاكرة أطلق B " "أو استثناء نقطة عائمة أطلق B)." #. 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(2) returns a signal set that is the union of the " "pending process-directed signals and the signals that are pending for the " "calling thread." msgstr "" "يعيد استدعاء B(2) مجموعة إشارات تمثل اتحاد الإشارات المعلقة " "الموجهة للعملية والإشارات المعلقة للخيط المستدعِي." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "If a process-directed signal is delivered to a thread group, and the thread " "group has installed a handler for the signal, then the handler is invoked in " "exactly one, arbitrarily selected member of the thread group that has not " "blocked the signal. If multiple threads in a group are waiting to accept " "the same signal using B(2), the kernel will arbitrarily select " "one of these threads to receive the signal." msgstr "" "إذا سُلّمت إشارة موجهة للعملية إلى مجموعة خيوط، وقامت مجموعة الخيوط بتثبيت " "معالج للإشارة، فسيتم استدعاء المعالج في عضو واحد بالضبط، يُختار عشوائيًا من " "أعضاء مجموعة الخيوط الذين لم يحجبوا الإشارة. إذا كانت خيوط متعددة في مجموعة " "ما تنتظر قبول نفس الإشارة باستخدام B(2)، فستختار النواة عشوائيًا " "أحد هذه الخيوط لتلقي الإشارة." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B (since Linux 2.5.46)" msgstr "B (منذ لينكس 2.5.46)" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "If B is specified, then a tracing process cannot force " "B on this child process." msgstr "" "إذا حُدد B، فلا يمكن لعملية التتبع فرض B على " "هذه العملية الوليدة." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B (since Linux 2.2)" msgstr "B (منذ لينكس 2.2)" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "If B is set, the execution of the calling process is suspended " "until the child releases its virtual memory resources via a call to " "B(2) or B<_exit>(2) (as with B(2))." msgstr "" "إذا ضُبط B، يُعلق تنفيذ العملية المستدعِية حتى تحرر الوليدة" " موارد " "ذاكرتها الافتراضية عبر استدعاء B(2) أو B<_exit>(2) (كما هو الحال مع " "B(2))." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "If B is not set, then both the calling process and the child " "are schedulable after the call, and an application should not rely on " "execution occurring in any particular order." msgstr "" "إذا لم يُضبط B، فستكون كل من العملية المستدعِية والوليدة قابلتين " "للجدولة بعد الاستدعاء، ولا ينبغي للتطبيق الاعتماد على حدوث التنفيذ بأي ترتيب " "معين." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B (since Linux 2.0)" msgstr "B (منذ لينكس 2.0)" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "If B is set, the calling process and the child process run in the " "same memory space. In particular, memory writes performed by the calling " "process or by the child process are also visible in the other process. " "Moreover, any memory mapping or unmapping performed with B(2) or " "B(2) by the child or calling process also affects the other process." 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 "" "If B is not set, the child process runs in a separate copy of the " "memory space of the calling process at the time of the clone call. Memory " "writes or file mappings/unmappings performed by one of the processes do not " "affect the other, as with B(2)." msgstr "" "إذا لم تُضبط B، فستعمل العملية الوليدة في نسخة منفصلة من مساحة " "ذاكرة العملية المستدعية وقت استدعاء الاستنساخ. ولا تؤثر عمليات كتابة الذاكرة " "أو وصل/فصل الملفات التي تجريها إحدى العمليتين في الأخرى، تمامًا كما في " "B(2)." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "If the B flag is specified and the B flag is not " "specified, then any alternate signal stack that was established by " "B(2) is cleared in the child process." msgstr "" "إذا حُددت علامة B ولم تُحدد علامة B، فسيُمسح أي كدس " "إشارات بديل أُنشئ بواسطة B(2) في العملية الوليدة." #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "RETURN VALUE" msgstr "قيمة الإرجاع" #. gettid(2) returns current->pid; #. getpid(2) returns current->tgid; #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "On success, the thread ID of the child process is returned in the caller's " "thread of execution. On failure, -1 is returned in the caller's context, no " "child process is created, and I is set to indicate the error." msgstr "" "عند النجاح، يُعاد معرف الخيط (thread ID) للعملية الوليدة في خيط التنفيذ الخاص " "بالمستدعِي. وفي حالة الفشل، يُعاد -1 في سياق المستدعِي، ولا تُنشأ أي عملية " "وليدة، وتُضبط I للإشارة إلى الخطأ." #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "ERRORS" msgstr "الأخطاء" #. type: TP #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "B (B() only)" msgstr "B (في B() فقط)" #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "The kernel does not support some functionality requested in this " "B() call: The size argument is larger than what the kernel " "supports, and there are non-zero values in the struct after the kernel-" "supported size." msgstr "" "النواة لا تدعم بعض الوظائف المطلوبة في استدعاء B() هذا: معطى الحجم " "أكبر مما تدعمه النواة، وتوجد قيم غير صفرية في البنية (struct) بعد الحجم الذي " "تدعمه النواة." #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "The size argument is larger than the page size." msgstr "معطى الحجم أكبر من حجم الصفحة." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B (B() only)" msgstr "B (في B() فقط)" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "B was specified in I, but the restrictions " "(described in B(7)) on placing the child process into the version " "2 cgroup referred to by I are not met." msgstr "" "حُددت B في I، ولكن القيود (الموضحة في " "B(7)) المفروضة على وضع العملية الوليدة في الإصدار 2 من مجموعات " "التحكم (cgroup) المشار إليها بواسطة I لم تُستوفَ." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "Too many processes are already running; see B(2)." msgstr "هناك عدد كبير جدًا من العمليات قيد التشغيل بالفعل؛ انظر B(2)." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B (B() only)" msgstr "B (في B() فقط)" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "B was specified in I, but the file " "descriptor specified in I refers to a version 2 cgroup in " "which a domain controller is enabled." msgstr "" "حُددت B في I، لكن واصف الملف المحدد في " "I يشير إلى مجموعة تحكم (cgroup) من الإصدار 2 تملك متحكم نطاق " "(domain controller) مُفعّلًا." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B (B() only)" msgstr "B (في B() فقط)" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "One (or more) of the PIDs specified in I already exists in the " "corresponding PID namespace." msgstr "" "واحد (أو أكثر) من معرفات العمليات (PIDs) المحددة في I موجود بالفعل " "في مساحة أسماء PID المقابلة." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Both B and B were specified in the " "I mask." msgstr "كلا B و B حُددا في قناع I." #. Precisely: Linux 2.6.0-test6 #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "B was specified in the I mask, but B was " "not. (Since Linux 2.6.0.)" msgstr "" "حُددت B في قناع I، لكن B لم تُحدد. (منذ لينكس " "2.6.0.)" #. .TP #. .B EINVAL #. Precisely one of #. .B CLONE_DETACHED #. and #. .B CLONE_THREAD #. was specified. #. (Since Linux 2.6.0-test6.) #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "B was specified in the I mask, but B was " "not. (Since Linux 2.5.35.)" msgstr "" "حُددت B في قناع I، لكن B لم تُحدد. (منذ " "لينكس 2.5.35.)" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "B was specified in the I mask, but the current process " "previously called B(2) with the B flag or used " "B(2) to reassociate itself with a PID namespace." msgstr "" "حُددت B في قناع I، لكن العملية الحالية استدعت سابقًا " "B(2) مع علامة B أو استخدمت B(2) لإعادة ربط " "نفسها بمساحة أسماء PID." #. commit e66eded8309ebf679d3d3c1f5820d1f2ca332c71 #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Both B and B were specified in the I mask." msgstr "كلا B و B حُددا في قناع I." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B (since Linux 3.9)" msgstr "B (منذ لينكس 3.9)" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Both B and B were specified in the I mask." msgstr "كلا B و B حُددا في قناع I." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Both B and B were specified in the I " "mask." msgstr "كلا B و B حُددا في قناع I." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "B and one (or both) of B or B were " "specified in the I mask." msgstr "" "حُددت B مع واحدة (أو كلتا) B أو B " "في قناع I." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "B and B were specified in the I mask." msgstr "كلا B و B حُددا في قناع I." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B (since Linux 2.6.32)" msgstr "B (منذ لينكس 2.6.32)" #. commit 123be07b0b399670a7cc3d82fef0cb4f93ef885c #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "B was specified, and the caller is an init process." msgstr "حُددت B، وكان المستدعِي هو عملية init." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Returned by the glibc B() wrapper function when I or I is " "specified as NULL." msgstr "" "تُعيدها دالة غلاف B() في glibc عندما يُحدد I أو I كقيمة" " NULL." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "B was specified in the I mask, but the kernel was not " "configured with the B and B options." msgstr "" "حُددت B في قناع I، لكن النواة لم تُضبط مع خيارات " "B و B." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "B was specified in the I mask, but the kernel was not " "configured with the B option." msgstr "" "حُددت B في قناع I، لكن النواة لم تُضبط مع خيار " "B." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "B was specified in the I mask, but the kernel was not " "configured with the B option." msgstr "" "حُددت B في قناع I، لكن النواة لم تُضبط مع خيار " "B." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "B was specified in the I mask, but the kernel was not " "configured with the B option." msgstr "" "حُددت B في قناع I، لكن النواة لم تُضبط مع خيار " "B." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "B was specified in the I mask, but the kernel was not " "configured with the B option." msgstr "" "حُددت B في قناع I، لكن النواة لم تُضبط مع خيار " "B." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "I is not aligned to a suitable boundary for this architecture. For " "example, on aarch64, I must be a multiple of 16." msgstr "" "الكدس I غير محاذٍ لحدود مناسبة لهذه المعمارية. على سبيل المثال، في " "معمارية aarch64، يجب أن يكون I من مضاعفات 16." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B (B() only)" msgstr "B (في B() فقط)" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "B was specified in the I mask." msgstr "حُددت B في قناع I." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B (B() only)" msgstr "B (في B() فقط)" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "B was specified together with B in the I " "mask." msgstr "حُددت B مع B في قناع I." #. type: TP #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "B (before Linux 6.9)" msgstr "B (قبل لينكس 6.9)" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "B was specified together with B in the I " "mask." msgstr "حُددت B مع B في قناع I." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B(B() only)" msgstr "B (في B() فقط)" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "B was specified together with B in the " "I mask." msgstr "حُددت B مع B في قناع I." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "I is greater than the number of nested PID namespaces." msgstr "حجم I أكبر من عدد مساحات أسماء PID المتداخلة." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "One of the PIDs specified in I was an invalid." msgstr "أحد معرفات العمليات (PIDs) المحددة في I غير صالح." #. commit 7f192e3cd316ba58c88dfa26796cf77789dd9872 #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "B or B was specified in the I mask, but a " "signal was specified in I." msgstr "" "حُددت B أو B في قناع I، ولكن حُددت إشارة" " في " "I." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B (AArch64 only, Linux 4.6 and earlier)" msgstr "B (في AArch64 فقط، لينكس 4.6 وما قبله)" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "I was not aligned to a 128-bit boundary." msgstr "الكدس I لم يكن محاذيًا لحدود 128 بت." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Cannot allocate sufficient memory to allocate a task structure for the " "child, or to copy those parts of the caller's context that need to be copied." msgstr "" "تعذر تخصيص ذاكرة كافية لتخصيص بنية مهمة للعملية الوليدة، أو لنسخ أجزاء سياق " "المستدعِي التي يجب نسخها." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B (since Linux 3.7)" msgstr "B (منذ لينكس 3.7)" #. commit f2302505775fd13ba93f034206f1e2a587017929 #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "B was specified in the I mask, but the limit on the " "nesting depth of PID namespaces would have been exceeded; see " "B(7)." msgstr "" "حُددت B في قناع I، ولكن كان سيتم تجاوز الحد الأقصى لعمق " "تداخل مساحات أسماء PID؛ انظر B(7)." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B (since Linux 4.9; beforehand B)" msgstr "B (منذ لينكس 4.9؛ قبله B)" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "B was specified in the I mask, and the call would " "cause the limit on the number of nested user namespaces to be exceeded. See " "B(7)." msgstr "" "حُددت B في قناع I، وسيتسبب الاستدعاء في تجاوز الحد " "الأقصى لعدد مساحات أسماء المستخدمين المتداخلة. انظر B(7)." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "From Linux 3.11 to Linux 4.8, the error diagnosed in this case was B." msgstr "" "من لينكس 3.11 إلى لينكس 4.8، كان الخطأ الذي يُشخص في هذه الحالة هو B." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B (since Linux 4.9)" msgstr "B (منذ لينكس 4.9)" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "One of the values in the I mask specified the creation of a new user " "namespace, but doing so would have caused the limit defined by the " "corresponding file in I to be exceeded. For further " "details, see B(7)." msgstr "" "إحدى القيم في قناع I حددت إنشاء مساحة أسماء مستخدم جديدة، ولكن القيام " "بذلك كان سيؤدي إلى تجاوز الحد المحدد بواسطة الملف المقابل في I. لمزيد من التفاصيل، انظر B(7)." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B (B() only)" msgstr "B (في B() فقط)" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "B was specified in I, but the file " "descriptor specified in I refers to a version 2 cgroup that " "is in the I state." msgstr "" "حُددت B في I، لكن واصف الملف المحدد في " "I يشير إلى مجموعة تحكم (cgroup) من الإصدار 2 في حالة " "I." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "B, B, B, B, " "B, or B was specified by an unprivileged process " "(process without B)." msgstr "" "حُددت B أو B أو B أو " "B أو B أو B بواسطة عملية غير مميزة " "(عملية بدون B)." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "B was specified by a process other than process 0. (This error " "occurs only on Linux 2.5.15 and earlier.)" msgstr "" "حُددت B بواسطة عملية غير العملية 0. (يحدث هذا الخطأ فقط في لينكس " "2.5.15 وما قبله)." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "B was specified in the I mask, but either the " "effective user ID or the effective group ID of the caller does not have a " "mapping in the parent namespace (see B(7))." msgstr "" "حُددت B في قناع I، ولكن إما معرف المستخدم الفعلي أو " "معرف المجموعة الفعلي للمستدعِي ليس له خريطة مقابلة (mapping) في مساحة أسماء " "الأب (انظر B(7))." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B (since Linux 3.9)" msgstr "B (منذ لينكس 3.9)" #. commit 3151527ee007b73a0ebd296010f1c0454a919c7d #. FIXME What is the rationale for this restriction? #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "B was specified in the I mask and the caller is in a " "chroot environment (i.e., the caller's root directory does not match the " "root directory of the mount namespace in which it resides)." msgstr "" "حُددت B في قناع I وكان المستدعِي في بيئة chroot (أي أن " "دليل الجذر للمستدعِي لا يطابق دليل الجذر لمساحة أسماء الوصل التي يقيم فيها)." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B (B() only)" msgstr "B (في B() فقط)" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "I was greater than zero, and the caller lacks the " "B capability in one or more of the user namespaces that own " "the corresponding PID namespaces." msgstr "" "كان I أكبر من صفر، ويفتقر المستدعِي إلى قدرة B " "في واحدة أو أكثر من مساحات أسماء المستخدمين التي تمتلك مساحات أسماء PID " "المقابلة." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B (since Linux 2.6.17)" msgstr "B (منذ لينكس 2.6.17)" #. commit 4a2c7a7837da1b91468e50426066d988050e4d56 #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "System call was interrupted by a signal and will be restarted. (This can be " "seen only during a trace.)" msgstr "" "قُطِعَ استدعاء النظام بواسطة إشارة وسيُعاد تشغيله. (لا يمكن رؤية هذا إلا" " أثناء " "التتبع trace.)" #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B (Linux 3.11 to Linux 4.8)" msgstr "B (لينكس 3.11 إلى لينكس 4.8)" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "B was specified in the I mask, and the limit on the " "number of nested user namespaces would be exceeded. See the discussion of " "the B error above." msgstr "" "حُددت B في قناع I، وسيتم تجاوز الحد الأقصى لعدد مساحات " "أسماء المستخدمين المتداخلة. انظر مناقشة خطأ 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 "الإصدارات" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The glibc B() wrapper function makes some changes in the memory " "pointed to by I (changes required to set the stack up correctly for " "the child) I invoking the B() system call. So, in cases " "where B() is used to recursively create children, do not use the " "buffer employed for the parent's stack as the stack of the child." msgstr "" "تجري دالة غلاف B() في glibc بعض التغييرات في الذاكرة التي يشير إليها " "I (التغييرات المطلوبة لإعداد الكدس بشكل صحيح للوليد) I<قبل> استدعاء " "نظام B(). لذا، في الحالات التي يُستخدم فيها B() لإنشاء عمليات " "وليدة بشكل تكراري، لا تستخدم المخزن المؤقت المستخدم لكدس الأب ككدس للعملية " "الوليدة." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "On i386, B() should not be called through vsyscall, but directly " "through I." msgstr "" "في i386، لا ينبغي استدعاء B() من خلال vsyscall، بل مباشرة من خلال " "I." #. type: SS #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "C library/kernel differences" msgstr "الاختلافات بين مكتبة C والنواة" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The raw B() system call corresponds more closely to B(2) in " "that execution in the child continues from the point of the call. As such, " "the I and I arguments of the B() wrapper function are " "omitted." msgstr "" "استدعاء نظام B() الخام يتوافق بشكل أوثق مع B(2) من حيث أن " "التنفيذ في العملية الوليدة يستمر من نقطة الاستدعاء. وعلى هذا النحو، تُحذف " "المعطيات I و I الخاصة بدالة غلاف B()." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "In contrast to the glibc wrapper, the raw B() system call accepts " "NULL as a I argument (and B() likewise allows I to be NULL). In this case, the child uses a duplicate of the " "parent's stack. (Copy-on-write semantics ensure that the child gets " "separate copies of stack pages when either process modifies the stack.) In " "this case, for correct operation, the B option should not be " "specified. (If the child I the parent's memory because of the use " "of the B flag, then no copy-on-write duplication occurs and chaos " "is likely to result.)" msgstr "" "على عكس غلاف glibc، يقبل استدعاء نظام B() الخام NULL كمعطى لـ " "I (وبالمثل يسمح B() لـ I بأن يكون NULL). وفي " "هذه الحالة، تستخدم العملية الوليدة نسخة مكررة من كدس الأب. (تضمن دلالات " "النسخ عند الكتابة Copy-on-write أن تحصل العملية الوليدة على نسخ منفصلة من " "صفحات الكدس عندما تقوم أي من العمليتين بتعديل الكدس). وفي هذه الحالة، لضمان " "التشغيل الصحيح، لا ينبغي تحديد خيار B. (إذا كانت العملية الوليدة " "I<تتشارك> ذاكرة الأب بسبب استخدام علامة B، فلن يحدث تكرار بالنسخ " "عند الكتابة ومن المرجح أن يؤدي ذلك إلى حدوث فوضى)." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The order of the arguments also differs in the raw system call, and there " "are variations in the arguments across architectures, as detailed in the " "following paragraphs." msgstr "" "يختلف ترتيب المعطيات أيضًا في استدعاء النظام الخام، وهناك اختلافات في " "المعطيات عبر المعماريات المختلفة، كما هو مفصل في الفقرات التالية." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The raw system call interface on x86-64 and some other architectures " "(including sh, tile, and alpha) is:" msgstr "" "واجهة استدعاء النظام الخام في x86-64 وبعض المعماريات الأخرى (بما في ذلك sh و " "tile و alpha) هي:" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "BIB<, void *>IB<,>\n" "B< int *>IB<, int *>IB<,>\n" "B< unsigned long >IB<);>\n" msgstr "" "BIB<, void *>IB<,>\n" "B< int *>IB<, int *>IB<,>\n" "B< unsigned long >IB<);>\n" #. CONFIG_CLONE_BACKWARDS #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "On x86-32, and several other common architectures (including score, ARM, ARM " "64, PA-RISC, arc, Power PC, xtensa, and MIPS), the order of the last two " "arguments is reversed:" msgstr "" "في x86-32 وعدة معماريات شائعة أخرى (بما في ذلك score و ARM و ARM 64 و PA-" "RISC و arc و Power PC و xtensa و MIPS)، ينعكس ترتيب آخر معطيين:" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "BIB<, void *>IB<,>\n" "B< int *>IB<, unsigned long >IB<,>\n" "B< int *>IB<);>\n" msgstr "" "BIB<, void *>IB<,>\n" "B< int *>IB<, unsigned long >IB<,>\n" "B< int *>IB<);>\n" #. CONFIG_CLONE_BACKWARDS2 #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "On the cris and s390 architectures, the order of the first two arguments is " "reversed:" msgstr "في معماريتي cris و s390، ينعكس ترتيب أول معطيين:" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "BIB<, unsigned long >IB<,>\n" "B< int *>IB<, int *>IB<,>\n" "B< unsigned long >IB<);>\n" msgstr "" "BIB<, unsigned long >IB<,>\n" "B< int *>IB<, int *>IB<,>\n" "B< unsigned long >IB<);>\n" #. CONFIG_CLONE_BACKWARDS3 #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "On the microblaze architecture, an additional argument is supplied:" msgstr "في معمارية microblaze، يُزوّد معطى إضافي:" #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "" "BIB<, void *>IB<,>\n" "B< int >IB<,>\\f[R] /* Size of stack */\\fR\n" "B< int *>IB<, int *>IB<,>\n" "B< unsigned long >IB<);>\n" msgstr "" "BIB<, void *>IB<,>\n" "B< int >IB<,>\\f[R] /* حجم الكدس */\\fR\n" "B< int *>IB<, int *>IB<,>\n" "B< unsigned long >IB<);>\n" #. type: SS #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "blackfin, m68k, and sparc" msgstr "blackfin و m68k و sparc" #. Mike Frysinger noted in a 2013 mail: #. these arches don't define __ARCH_WANT_SYS_CLONE: #. blackfin ia64 m68k sparc #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The argument-passing conventions on blackfin, m68k, and sparc are different " "from the descriptions above. For details, see the kernel (and glibc) source." msgstr "" "اتفاقيات تمرير المعطيات في blackfin و m68k و sparc تختلف عن الأوصاف أعلاه. " "لمزيد من التفاصيل، انظر مصدر النواة (و glibc)." #. 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 "Linux." 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: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B()" msgstr "B()" #. There is no entry for #. .BR clone () #. in libc5. #. glibc2 provides #. .BR clone () #. as described in this manual page. #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "Linux 5.3." msgstr "لينكس 5.3." #. type: SS #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Linux 2.4 and earlier" msgstr "لينكس 2.4 وما قبله" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "In the Linux 2.4.x series, B generally does not make the " "parent of the new thread the same as the parent of the calling process. " "However, from Linux 2.4.7 to Linux 2.4.18 the B flag implied " "the B flag (as in Linux 2.6.0 and later)." msgstr "" "في سلسلة لينكس 2.4.x، لا تجعل B بشكل عام أب الخيط الجديد هو " "نفس أب العملية المستدعية. ومع ذلك، من لينكس 2.4.7 إلى لينكس 2.4.18، كانت " "علامة B تتضمن علامة B (كما هو الحال في لينكس " "2.6.0 وما بعده)." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "In Linux 2.4 and earlier, B() does not take arguments I, " "I, and I." msgstr "" "في لينكس 2.4 وما قبله، لا يأخذ B() المعطيات I و I و " "I." #. type: SS #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "ia64" msgstr "ia64" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "On ia64, a different interface is used:" msgstr "في ia64، تُستخدم واجهة مختلفة:" #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "" "BIB<,>\n" "B< void *>IB<, size_t >IB<,>\n" "B< int >IB<, void *>IB<, ...>\n" "B< >\\f[R]/*B< pid_t *>IB<, struct user_desc *>IB<," ">\n" "B< pid_t *>IB< >\\f[R]*/B< );>\n" msgstr "" "BIB<,>\n" "B< void *>IB<, size_t >IB<,>\n" "B< int >IB<, void *>IB<, ...>\n" "B< >\\f[R]/*B< pid_t *>IB<, struct user_desc *>IB<," ">\n" "B< pid_t *>IB< >\\f[R]*/B< );>\n" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The prototype shown above is for the glibc wrapper function; for the system " "call itself, the prototype can be described as follows (it is identical to " "the B() prototype on microblaze):" msgstr "" "النموذج المبدئي الموضح أعلاه هو لدالة غلاف glibc؛ أما بالنسبة لنداء النظام " "نفسه، فيمكن وصف النموذج المبدئي على النحو التالي (وهو مطابق لنموذج " "B() المبدئي على microblaze):" #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "" "BIB<, void *>IB<,>\n" "B< int >IB<,>\\f[R] /* Size of stack */\\fR\n" "B< int *>IB<, int *>IB<,>\n" "B< unsigned long >IB<);>\n" msgstr "" "BIB<, void *>IB<,>\n" "B< int >IB<,>\\f[R] /* حجم المكدس */\\fR\n" "B< int *>IB<, int *>IB<,>\n" "B< unsigned long >IB<);>\n" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "B<__clone2>() operates in the same way as B(), except that " "I points to the lowest address of the child's stack area, and " "I specifies the size of the stack pointed to by I." msgstr "" "تعمل B<__clone2>() بنفس طريقة B()، باستثناء أن I يشير إلى " "أدنى عنوان في منطقة مكدس الابن، ويحدد I حجم المكدس الذي يشير " "إليه I." #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "NOTES" msgstr "ملاحظات" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "One use of these system calls is to implement threads: multiple flows of " "control in a program that run concurrently in a shared address space." msgstr "" "أحد استخدامات نداءات النظام هذه هو تنفيذ الخيوط: تدفقات متعددة للتحكم في " "برنامج يعمل بالتزامن في مساحة عناوين مشتركة." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The B(2) system call can be used to test whether two processes share " "various resources such as a file descriptor table, System V semaphore undo " "operations, or a virtual address space." msgstr "" "يمكن استخدام نداء النظام B(2) لاختبار ما إذا كانت عمليتان تتشاركان " "موارد مختلفة مثل جدول واصفات الملفات، أو عمليات تراجع سيمافور System V، أو " "مساحة عناوين افتراضية." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Handlers registered using B(3) are not executed during a " "clone call." msgstr "" "المناولات المسجلة باستخدام B(3) لا تُنفذ أثناء نداء clone." #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "BUGS" msgstr "العلل" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "GNU C library versions 2.3.4 up to and including 2.24 contained a wrapper " "function for B(2) that performed caching of PIDs. This caching " "relied on support in the glibc wrapper for B(), but limitations in " "the implementation meant that the cache was not up to date in some " "circumstances. In particular, if a signal was delivered to the child " "immediately after the B() call, then a call to B(2) in a " "handler for the signal could return the PID of the calling process (\"the " "parent\"), if the clone wrapper had not yet had a chance to update the PID " "cache in the child. (This discussion ignores the case where the child was " "created using B, when B(2) I return the same " "value in the child and in the process that called B(), since the " "caller and the child are in the same thread group. The stale-cache problem " "also does not occur if the I argument includes B.) To get " "the truth, it was sometimes necessary to use code such as the following:" msgstr "" "احتوت إصدارات مكتبة GNU C من 2.3.4 وحتى 2.24 (بما في ذلك هذا الإصدار) على " "دالة غلاف لـ B(2) تؤدي عملية تخزين في خبيئة لمعرفات العمليات (PIDs). " "اعتمد هذا التخزين في الخبيئة على دعم في غلاف glibc للدالة B()، ولكن " "القيود في التنفيذ جعلت الخبيئة غير محدثة في بعض الظروف. وعلى وجه الخصوص، إذا " "وُصل إشعار (إشارة) إلى الابن فور استدعاء B()، فإن استدعاء B(2) " "في معالج ذلك الإشعار قد يعيد معرف العملية للمستدعِي («الأب»)، إذا لم يتح " "لغلاف الاستنساخ فرصة لتحديث خبيئة معرف العملية في الابن بعد. (يتجاهل هذا " "النقاش الحالة التي يُنشأ فيها الابن باستخدام B، حيث I<ينبغي> أن " "تعيد B(2) القيمة نفسها في الابن وفي العملية التي استدعت B()، " "بما أن المستدعِي والابن في مجموعة الخيوط نفسها. كما لا تحدث مشكلة الخبيئة " "القديمة إذا تضمنت معطاة I الوسم B.) وللحصول على الحقيقة، " "كان من الضروري أحيانًا استخدام كود مثل الآتي:" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "#include Esyscall.hE\n" "\\&\n" "pid_t mypid;\n" "\\&\n" "mypid = syscall(SYS_getpid);\n" msgstr "" "#include Esyscall.hE\n" "\\&\n" "pid_t mypid;\n" "\\&\n" "mypid = syscall(SYS_getpid);\n" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Because of the stale-cache problem, as well as other problems noted in " "B(2), the PID caching feature was removed in glibc 2.25." msgstr "" "بسبب مشكلة الخبيئة القديمة، بالإضافة إلى مشكلات أخرى لوحظت في B(2)، " "أُزيلت ميزة تخزين معرف العملية في الخبيئة في الإصدار 2.25 من glibc." #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "EXAMPLES" msgstr "أمثلة" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The following program demonstrates the use of B() to create a child " "process that executes in a separate UTS namespace. The child changes the " "hostname in its UTS namespace. Both parent and child then display the " "system hostname, making it possible to see that the hostname differs in the " "UTS namespaces of the parent and child. For an example of the use of this " "program, see B(2)." msgstr "" "يوضح البرنامج التالي استخدام B() لإنشاء عملية ابن تعمل في مساحة أسماء " "UTS منفصلة. يغير الابن اسم المضيف في مساحة أسماء UTS الخاصة به. ثم يعرض كل " "من الأب والابن اسم مضيف النظام، مما يسمح برؤية اختلاف اسم المضيف في مساحات " "أسماء UTS للأب والابن. لمثال على استخدام هذا البرنامج، انظر B(2)." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Within the sample program, we allocate the memory that is to be used for the " "child's stack using B(2) rather than B(3) for the following " "reasons:" msgstr "" "داخل البرنامج النموذجي، نخصص الذاكرة التي ستُستخدم مكدسًا للابن باستخدام " "B(2) بدلاً من B(3) للأسباب الرئيسة التالية:" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "B(2) allocates a block of memory that starts on a page boundary and " "is a multiple of the page size. This is useful if we want to establish a " "guard page (a page with protection B) at the end of the stack " "using B(2)." msgstr "" "تخصص B(2) كتلة من الذاكرة تبدأ عند حدود الصفحة وتكون من مضاعفات حجم " "الصفحة. وهذا مفيد إذا أردنا إنشاء صفحة حماية (صفحة ذات حماية B) " "في نهاية المكدس باستخدام B(2)." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "We can specify the B flag to request a mapping that is suitable " "for a stack. For the moment, this flag is a no-op on Linux, but it exists " "and has effect on some other systems, so we should include it for " "portability." msgstr "" "يمكننا تحديد العلم B لطلب تخطيط مناسب للمكدس. في الوقت الحالي، " "هذا العلم لا يقوم بأي عملية (no-op) على لينكس، ولكنه موجود وله تأثير على بعض " "الأنظمة الأخرى، لذا ينبغي لنا تضمينه من أجل قابلية النقل." #. type: SS #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Program source" msgstr "مصدر البرنامج" #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "" "#define _GNU_SOURCE\n" "#include Eerr.hE\n" "#include Esched.hE\n" "#include Esignal.hE\n" "#include Estdint.hE\n" "#include Estdio.hE\n" "#include Estdlib.hE\n" "#include Estring.hE\n" "#include Esys/mman.hE\n" "#include Esys/types.hE\n" "#include Esys/utsname.hE\n" "#include Esys/wait.hE\n" "#include Eunistd.hE\n" "\\&\n" "static int /* Start function for cloned child */\n" "childFunc(void *arg)\n" "{\n" " struct utsname uts;\n" "\\&\n" " /* Change hostname in UTS namespace of child. */\n" "\\&\n" " if (sethostname(arg, strlen(arg)) == -1)\n" " err(EXIT_FAILURE, \"sethostname\");\n" "\\&\n" " /* Retrieve and display hostname. */\n" "\\&\n" " if (uname(&uts) == -1)\n" " err(EXIT_FAILURE, \"uname\");\n" " printf(\"uts.nodename in child: %s\\[rs]n\", uts.nodename);\n" "\\&\n" " /* Keep the namespace open for a while, by sleeping.\n" " This allows some experimentation--for example, another\n" " process might join the namespace. */\n" "\\&\n" " sleep(200);\n" "\\&\n" " return 0; /* Child terminates now */\n" "}\n" "\\&\n" "#define STACK_SIZE (1024 * 1024) /* Stack size for cloned child */\n" "\\&\n" "int\n" "main(int argc, char *argv[])\n" "{\n" " char *stack; /* Start of stack buffer */\n" " char *stackTop; /* End of stack buffer */\n" " pid_t pid;\n" " struct utsname uts;\n" "\\&\n" " if (argc E 2) {\n" " fprintf(stderr, \"Usage: %s Echild-hostnameE\\[rs]n\"," " argv[0]);\n" " exit(EXIT_SUCCESS);\n" " }\n" "\\&\n" " /* Allocate memory to be used for the stack of the child. */\n" "\\&\n" " stack = mmap(NULL, STACK_SIZE, PROT_READ | PROT_WRITE,\n" " MAP_PRIVATE | MAP_ANONYMOUS | MAP_STACK, -1, 0);\n" " if (stack == MAP_FAILED)\n" " err(EXIT_FAILURE, \"mmap\");\n" "\\&\n" " stackTop = stack + STACK_SIZE; /* Assume stack grows downward */\n" "\\&\n" " /* Create child that has its own UTS namespace;\n" " child commences execution in childFunc(). */\n" "\\&\n" " pid = clone(childFunc, stackTop, CLONE_NEWUTS | SIGCHLD, argv[1]);\n" " if (pid == -1)\n" " err(EXIT_FAILURE, \"clone\");\n" " if (munmap(stack, STACK_SIZE))\n" " err(EXIT_FAILURE, \"munmap\");\n" " printf(\"clone() returned %jd\\[rs]n\", (intmax_t) pid);\n" "\\&\n" " /* Parent falls through to here */\n" "\\&\n" " sleep(1); /* Give child time to change its hostname */\n" "\\&\n" " /* Display hostname in parent\\[aq]s UTS namespace. This will be\n" " different from hostname in child\\[aq]s UTS namespace. */\n" "\\&\n" " if (uname(&uts) == -1)\n" " err(EXIT_FAILURE, \"uname\");\n" " printf(\"uts.nodename in parent: %s\\[rs]n\", uts.nodename);\n" "\\&\n" " if (waitpid(pid, NULL, 0) == -1) /* Wait for child */\n" " err(EXIT_FAILURE, \"waitpid\");\n" " printf(\"child has terminated\\[rs]n\");\n" "\\&\n" " exit(EXIT_SUCCESS);\n" "}\n" msgstr "" "#define _GNU_SOURCE\n" "#include Eerr.hE\n" "#include Esched.hE\n" "#include Esignal.hE\n" "#include Estdint.hE\n" "#include Estdio.hE\n" "#include Estdlib.hE\n" "#include Estring.hE\n" "#include Esys/mman.hE\n" "#include Esys/types.hE\n" "#include Esys/utsname.hE\n" "#include Esys/wait.hE\n" "#include Eunistd.hE\n" "\\&\n" "static int /* دالة البدء للابن المنسوخ */\n" "childFunc(void *arg)\n" "{\n" " struct utsname uts;\n" "\\&\n" " /* غيّر اسم المضيف في نطاق أسماء UTS للابن. */\n" "\\&\n" " if (sethostname(arg, strlen(arg)) == -1)\n" " err(EXIT_FAILURE, \"sethostname\");\n" "\\&\n" " /* استرجع واعرض اسم المضيف. */\n" "\\&\n" " if (uname(&uts) == -1)\n" " err(EXIT_FAILURE, \"uname\");\n" " printf(\"uts.nodename in child: %s\\[rs]n\", uts.nodename);\n" "\\&\n" " /* أبقِ نطاق الأسماء مفتوحًا لفترة عبر النوم.\n" " يسمح هذا ببعض التجارب--على سبيل المثال، قد\n" " تنضم عملية أخرى إلى نطاق الأسماء. */\n" "\\&\n" " sleep(200);\n" "\\&\n" " return 0; /* ينتهي الابن الآن */\n" "}\n" "\\&\n" "#define STACK_SIZE (1024 * 1024) /* حجم المكدس للابن المنسوخ */\n" "\\&\n" "int\n" "main(int argc, char *argv[])\n" "{\n" " char *stack; /* بداية مخزن المكدس */\n" " char *stackTop; /* نهاية مخزن المكدس */\n" " pid_t pid;\n" " struct utsname uts;\n" "\\&\n" " if (argc E 2) {\n" " fprintf(stderr, \"Usage: %s Echild-hostnameE\\[rs]n\"," " argv[0]);\n" " exit(EXIT_SUCCESS);\n" " }\n" "\\&\n" " /* خصص ذاكرة لتستخدم كمكدس للابن. */\n" "\\&\n" " stack = mmap(NULL, STACK_SIZE, PROT_READ | PROT_WRITE,\n" " MAP_PRIVATE | MAP_ANONYMOUS | MAP_STACK, -1, 0);\n" " if (stack == MAP_FAILED)\n" " err(EXIT_FAILURE, \"mmap\");\n" "\\&\n" " stackTop = stack + STACK_SIZE; /* نفترض أن المكدس ينمو لأسفل */\n" "\\&\n" " /* أنشئ ابنًا له نطاق أسماء UTS الخاص به؛\n" " يبدأ الابن التنفيذ في childFunc(). */\n" "\\&\n" " pid = clone(childFunc, stackTop, CLONE_NEWUTS | SIGCHLD, argv[1]);\n" " if (pid == -1)\n" " err(EXIT_FAILURE, \"clone\");\n" " if (munmap(stack, STACK_SIZE))\n" " err(EXIT_FAILURE, \"munmap\");\n" " printf(\"clone() returned %jd\\[rs]n\", (intmax_t) pid);\n" "\\&\n" " /* يسقط الأب إلى هنا */\n" "\\&\n" " sleep(1); /* أعطِ الابن وقتًا لتغيير اسم مضيفه */\n" "\\&\n" " /* اعرض اسم المضيف في نطاق أسماء UTS للأب. سيكون هذا\n" " مختلفًا عن اسم المضيف في نطاق أسماء UTS للابن. */\n" "\\&\n" " if (uname(&uts) == -1)\n" " err(EXIT_FAILURE, \"uname\");\n" " printf(\"uts.nodename in parent: %s\\[rs]n\", uts.nodename);\n" "\\&\n" " if (waitpid(pid, NULL, 0) == -1) /* انتظر الابن */\n" " err(EXIT_FAILURE, \"waitpid\");\n" " printf(\"child has terminated\\[rs]n\");\n" "\\&\n" " exit(EXIT_SUCCESS);\n" "}\n" #. SRC END #. 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-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "B(2), B(2), B(2), B(2), B(2), B(2), " "B(2), B(2), B(2), B(2), " "B(2), B(2), B(2), B(7), " "B(7), B(7)" msgstr "" "B(2), B(2), B(2), B(2), B(2), B(2), " "B(2), B(2), B(2), B(2), " "B(2), B(2), B(2), B(7), " "B(7), B(7)" #. type: TH #: debian-trixie #, no-wrap msgid "2024-06-15" msgstr "15 يونيو 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>)" #. type: Plain text #: debian-trixie #, no-wrap msgid "" "BIB<)(void *_Nullable), void *>IB<, int >IB<,>\n" "B< void *_Nullable >IB<, ...>I< >/*B< pid_t *_Nullable >I<" "parent_tid>B<,>\n" "B< void *_Nullable >IB<,>\n" "B< pid_t *_Nullable >IB< " ">*/B< );>\n" msgstr "" "BIB<)(void *_Nullable), void *>IB<, int >IB<,>\n" "B< void *_Nullable >IB<, ...>I< >/*B< pid_t *_Nullable >I<" "parent_tid>B<,>\n" "B< void *_Nullable >IB<,>\n" "B< pid_t *_Nullable >IB< " ">*/B< );>\n" #. type: Plain text #: debian-trixie #, no-wrap msgid "/* For the prototype of the raw clone() system call, see NOTES */\n" msgstr "/* للنموذج المبدئي لنداء النظام clone() الخام، انظر NOTES */\n" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "" "struct clone_args {\n" " u64 flags; /* Flags bit mask */\n" " u64 pidfd; /* Where to store PID file descriptor\n" " (I) */\n" " u64 child_tid; /* Where to store child TID,\n" " in child\\[aq]s memory (I) */\n" " u64 parent_tid; /* Where to store child TID,\n" " in parent\\[aq]s memory (I) */\n" " u64 exit_signal; /* Signal to deliver to parent on\n" " child termination */\n" " u64 stack; /* Pointer to lowest byte of stack */\n" " u64 stack_size; /* Size of stack */\n" " u64 tls; /* Location of new TLS */\n" " u64 set_tid; /* Pointer to a I array\n" " (since Linux 5.5) */\n" " u64 set_tid_size; /* Number of elements in I\n" " (since Linux 5.5) */\n" " u64 cgroup; /* File descriptor for target cgroup\n" " of child (since Linux 5.7) */\n" "};\n" msgstr "" "struct clone_args {\n" " u64 flags; /* قناع بتات الأعلام */\n" " u64 pidfd; /* مكان تخزين واصف ملف PID\n" " (I) */\n" " u64 child_tid; /* مكان تخزين TID للابن،\n" " في ذاكرة الابن (I) */\n" " u64 parent_tid; /* مكان تخزين TID للابن،\n" " في ذاكرة الأب (I) */\n" " u64 exit_signal; /* الإشارة التي ستُرسل للأب عند\n" " انتهاء الابن */\n" " u64 stack; /* مؤشر إلى أدنى بايت في المكدس */\n" " u64 stack_size; /* حجم المكدس */\n" " u64 tls; /* موقع TLS الجديد */\n" " u64 set_tid; /* مؤشر لمصفوفة I\n" " (منذ لينكس 5.5) */\n" " u64 set_tid_size; /* عدد العناصر في I\n" " (منذ لينكس 5.5) */\n" " u64 cgroup; /* واصف ملف لـ cgroup المستهدف\n" " للابن (منذ لينكس 5.7) */\n" "};\n" #. type: tbl table #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "I field" msgstr "حقل I" #. type: tbl table #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "For most flags; details below" msgstr "لمعظم الأعلام؛ التفاصيل أدناه" #. type: tbl table #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "I<--->" msgstr "I<--->" #. added in Linux 2.5.32; removed in Linux 2.6.0-test4 #. type: Plain text #: debian-trixie msgid "" "For a while (during the Linux 2.5 development series) there was a " "B flag, which caused the parent not to receive a signal when " "the child terminated. Ultimately, the effect of this flag was subsumed " "under the B flag and by the time Linux 2.6.0 was released, " "this flag had no effect. Starting in Linux 2.6.2, the need to give this " "flag together with B disappeared." msgstr "" "لفترة من الوقت (أثناء سلسلة تطوير لينكس 2.5) كان هناك علم B، " "والذي جعل الأب لا يتلقى إشارة عندما ينتهي الابن. في نهاية المطاف، أُدرج تأثير " "هذا العلم تحت العلم B وبحلول وقت إصدار لينكس 2.6.0، لم يكن " "لهذا العلم أي تأثير. بدءًا من لينكس 2.6.2، اختفت الحاجة لإعطاء هذا العلم مع " "B." #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "It is currently not possible to use this flag together with B " "This means that the process identified by the PID file descriptor will " "always be a thread group leader." msgstr "" "لا يمكن حاليًا استخدام هذا العلم مع B وهذا يعني أن العملية " "المحددة بواسطة واصف ملف PID ستكون دائمًا رئيسة لمجموعة خيوط." #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "" "BIB<, void *>IB<,>\n" "B< int >IB<,> /* Size of stack */\n" "B< int *>IB<, int *>IB<,>\n" "B< unsigned long >IB<);>\n" msgstr "" "BIB<, void *>IB<,>\n" "B< int >IB<,> /* حجم المكدس */\n" "B< int *>IB<, int *>IB<,>\n" "B< unsigned long >IB<);>\n" #. type: Plain text #: debian-trixie #, no-wrap msgid "" "BIB<)(void *),>\n" "B< void *>IB<, size_t >IB<,>\n" "B< int >IB<, void *>IB<, ...>\n" "B< /* pid_t *>IB<, struct user_desc *>IB<,>\n" "B< pid_t *>IB< */ );>\n" msgstr "" "BIB<)(void *),>\n" "B< void *>IB<, size_t >IB<,>\n" "B< int >IB<, void *>IB<, ...>\n" "B< /* pid_t *>IB<, struct user_desc *>IB<,>\n" "B< pid_t *>IB< */ );>\n" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "" "BIB<, void *>IB<,>\n" "B< int >IB<,> /* Size of stack */\n" "B< int *>IB<, int *>IB<,>\n" "B< unsigned long >IB<);>\n" msgstr "" "BIB<, void *>IB<,>\n" "B< int >IB<,> /* حجم المكدس */\n" "B< int *>IB<, int *>IB<,>\n" "B< unsigned long >IB<);>\n" #. type: Plain text #: debian-trixie #, no-wrap msgid "" "#define _GNU_SOURCE\n" "#include Eerr.hE\n" "#include Esched.hE\n" "#include Esignal.hE\n" "#include Estdint.hE\n" "#include Estdio.hE\n" "#include Estdlib.hE\n" "#include Estring.hE\n" "#include Esys/mman.hE\n" "#include Esys/types.hE\n" "#include Esys/utsname.hE\n" "#include Esys/wait.hE\n" "#include Eunistd.hE\n" "\\&\n" "static int /* Start function for cloned child */\n" "childFunc(void *arg)\n" "{\n" " struct utsname uts;\n" "\\&\n" " /* Change hostname in UTS namespace of child. */\n" "\\&\n" " if (sethostname(arg, strlen(arg)) == -1)\n" " err(EXIT_FAILURE, \"sethostname\");\n" "\\&\n" " /* Retrieve and display hostname. */\n" "\\&\n" " if (uname(&uts) == -1)\n" " err(EXIT_FAILURE, \"uname\");\n" " printf(\"uts.nodename in child: %s\\[rs]n\", uts.nodename);\n" "\\&\n" " /* Keep the namespace open for a while, by sleeping.\n" " This allows some experimentation--for example, another\n" " process might join the namespace. */\n" "\\&\n" " sleep(200);\n" "\\&\n" " return 0; /* Child terminates now */\n" "}\n" "\\&\n" "#define STACK_SIZE (1024 * 1024) /* Stack size for cloned child */\n" "\\&\n" "int\n" "main(int argc, char *argv[])\n" "{\n" " char *stack; /* Start of stack buffer */\n" " char *stackTop; /* End of stack buffer */\n" " pid_t pid;\n" " struct utsname uts;\n" "\\&\n" " if (argc E 2) {\n" " fprintf(stderr, \"Usage: %s Echild-hostnameE\\[rs]n\"," " argv[0]);\n" " exit(EXIT_SUCCESS);\n" " }\n" "\\&\n" " /* Allocate memory to be used for the stack of the child. */\n" "\\&\n" " stack = mmap(NULL, STACK_SIZE, PROT_READ | PROT_WRITE,\n" " MAP_PRIVATE | MAP_ANONYMOUS | MAP_STACK, -1, 0);\n" " if (stack == MAP_FAILED)\n" " err(EXIT_FAILURE, \"mmap\");\n" "\\&\n" " stackTop = stack + STACK_SIZE; /* Assume stack grows downward */\n" "\\&\n" " /* Create child that has its own UTS namespace;\n" " child commences execution in childFunc(). */\n" "\\&\n" " pid = clone(childFunc, stackTop, CLONE_NEWUTS | SIGCHLD, argv[1]);\n" " if (pid == -1)\n" " err(EXIT_FAILURE, \"clone\");\n" " printf(\"clone() returned %jd\\[rs]n\", (intmax_t) pid);\n" "\\&\n" " /* Parent falls through to here */\n" "\\&\n" " sleep(1); /* Give child time to change its hostname */\n" "\\&\n" " /* Display hostname in parent\\[aq]s UTS namespace. This will be\n" " different from hostname in child\\[aq]s UTS namespace. */\n" "\\&\n" " if (uname(&uts) == -1)\n" " err(EXIT_FAILURE, \"uname\");\n" " printf(\"uts.nodename in parent: %s\\[rs]n\", uts.nodename);\n" "\\&\n" " if (waitpid(pid, NULL, 0) == -1) /* Wait for child */\n" " err(EXIT_FAILURE, \"waitpid\");\n" " printf(\"child has terminated\\[rs]n\");\n" "\\&\n" " exit(EXIT_SUCCESS);\n" "}\n" msgstr "" "#define _GNU_SOURCE\n" "#include Eerr.hE\n" "#include Esched.hE\n" "#include Esignal.hE\n" "#include Estdint.hE\n" "#include Estdio.hE\n" "#include Estdlib.hE\n" "#include Estring.hE\n" "#include Esys/mman.hE\n" "#include Esys/types.hE\n" "#include Esys/utsname.hE\n" "#include Esys/wait.hE\n" "#include Eunistd.hE\n" "\\&\n" "static int /* دالة البدء للابن المنسوخ */\n" "childFunc(void *arg)\n" "{\n" " struct utsname uts;\n" "\\&\n" " /* غيّر اسم المضيف في نطاق أسماء UTS للابن. */\n" "\\&\n" " if (sethostname(arg, strlen(arg)) == -1)\n" " err(EXIT_FAILURE, \"sethostname\");\n" "\\&\n" " /* استرجع واعرض اسم المضيف. */\n" "\\&\n" " if (uname(&uts) == -1)\n" " err(EXIT_FAILURE, \"uname\");\n" " printf(\"uts.nodename in child: %s\\[rs]n\", uts.nodename);\n" "\\&\n" " /* أبقِ نطاق الأسماء مفتوحًا لفترة عبر النوم.\n" " يسمح هذا ببعض التجارب--على سبيل المثال، قد\n" " تنضم عملية أخرى إلى نطاق الأسماء. */\n" "\\&\n" " sleep(200);\n" "\\&\n" " return 0; /* ينتهي الابن الآن */\n" "}\n" "\\&\n" "#define STACK_SIZE (1024 * 1024) /* حجم المكدس للابن المنسوخ */\n" "\\&\n" "int\n" "main(int argc, char *argv[])\n" "{\n" " char *stack; /* بداية مخزن المكدس */\n" " char *stackTop; /* نهاية مخزن المكدس */\n" " pid_t pid;\n" " struct utsname uts;\n" "\\&\n" " if (argc E 2) {\n" " fprintf(stderr, \"Usage: %s Echild-hostnameE\\[rs]n\"," " argv[0]);\n" " exit(EXIT_SUCCESS);\n" " }\n" "\\&\n" " /* خصص ذاكرة لتستخدم كمكدس للابن. */\n" "\\&\n" " stack = mmap(NULL, STACK_SIZE, PROT_READ | PROT_WRITE,\n" " MAP_PRIVATE | MAP_ANONYMOUS | MAP_STACK, -1, 0);\n" " if (stack == MAP_FAILED)\n" " err(EXIT_FAILURE, \"mmap\");\n" "\\&\n" " stackTop = stack + STACK_SIZE; /* نفترض أن المكدس ينمو لأسفل */\n" "\\&\n" " /* أنشئ ابنًا له نطاق أسماء UTS الخاص به؛\n" " يبدأ الابن التنفيذ في childFunc(). */\n" "\\&\n" " pid = clone(childFunc, stackTop, CLONE_NEWUTS | SIGCHLD, argv[1]);\n" " if (pid == -1)\n" " err(EXIT_FAILURE, \"clone\");\n" " printf(\"clone() returned %jd\\[rs]n\", (intmax_t) pid);\n" "\\&\n" " /* يسقط الأب إلى هنا */\n" "\\&\n" " sleep(1); /* أعطِ الابن وقتًا لتغيير اسم مضيفه */\n" "\\&\n" " /* اعرض اسم المضيف في نطاق أسماء UTS للأب. سيكون هذا\n" " مختلفًا عن اسم المضيف في نطاق أسماء UTS للابن. */\n" "\\&\n" " if (uname(&uts) == -1)\n" " err(EXIT_FAILURE, \"uname\");\n" " printf(\"uts.nodename in parent: %s\\[rs]n\", uts.nodename);\n" "\\&\n" " if (waitpid(pid, NULL, 0) == -1) /* انتظر الابن */\n" " err(EXIT_FAILURE, \"waitpid\");\n" " printf(\"child has terminated\\[rs]n\");\n" "\\&\n" " exit(EXIT_SUCCESS);\n" "}\n" #. type: TH #: fedora-44 fedora-rawhide #, no-wrap msgid "2025-02-10" msgstr "10 فبراير 2025" #. type: TH #: fedora-44 fedora-rawhide #, no-wrap msgid "Linux man-pages 6.13" msgstr "صفحات دليل لينكس 6.13" #. type: Plain text #: fedora-44 fedora-rawhide #, no-wrap msgid "/* For the prototype of the raw clone() system call, see VERSIONS. */\n" msgstr "/* للنموذج المبدئي لنداء النظام clone() الخام، انظر VERSIONS. */\n" #. type: Plain text #: fedora-44 fedora-rawhide #, no-wrap msgid "" "BIB<,>\n" "B< void *>IB<, size_t >IB<,>\n" "B< int >IB<, void *>IB<, ...>\n" "B< >/*B< pid_t *>IB<, struct user_desc *>IB<,>\n" "B< pid_t *>IB< >*/B< );>\n" msgstr "" "BIB<,>\n" "B< void *>IB<, size_t >IB<,>\n" "B< int >IB<, void *>IB<, ...>\n" "B< >/*B< pid_t *>IB<, struct user_desc *>IB<,>\n" "B< pid_t *>IB< >*/B< );>\n" #. type: Plain text #: fedora-44 fedora-rawhide #, no-wrap msgid "" "#define _GNU_SOURCE\n" "#include Eerr.hE\n" "#include Esched.hE\n" "#include Esignal.hE\n" "#include Estdint.hE\n" "#include Estdio.hE\n" "#include Estdlib.hE\n" "#include Estring.hE\n" "#include Esys/mman.hE\n" "#include Esys/types.hE\n" "#include Esys/utsname.hE\n" "#include Esys/wait.hE\n" "#include Eunistd.hE\n" "\\&\n" "static int /* Start function for cloned child */\n" "childFunc(void *arg)\n" "{\n" " struct utsname uts;\n" "\\&\n" " /* Change hostname in UTS namespace of child. */\n" "\\&\n" " if (sethostname(arg, strlen(arg)) == -1)\n" " err(EXIT_FAILURE, \"sethostname\");\n" "\\&\n" " /* Retrieve and display hostname. */\n" "\\&\n" " if (uname(&uts) == -1)\n" " err(EXIT_FAILURE, \"uname\");\n" " printf(\"uts.nodename in child: %s\\[rs]n\", uts.nodename);\n" "\\&\n" " /* Keep the namespace open for a while, by sleeping.\n" " This allows some experimentation--for example, another\n" " process might join the namespace. */\n" "\\&\n" " sleep(200);\n" "\\&\n" " return 0; /* Child terminates now */\n" "}\n" "\\&\n" "#define STACK_SIZE (1024 * 1024) /* Stack size for cloned child */\n" "\\&\n" "int\n" "main(int argc, char *argv[])\n" "{\n" " char *stack; /* Start of stack buffer */\n" " char *stackTop; /* End of stack buffer */\n" " pid_t pid;\n" " struct utsname uts;\n" "\\&\n" " if (argc E 2) {\n" " fprintf(stderr, \"Usage: %s Echild-hostnameE\\[rs]n\"," " argv[0]);\n" " exit(EXIT_SUCCESS);\n" " }\n" "\\&\n" " /* Allocate memory to be used for the stack of the child. */\n" "\\&\n" " stack = mmap(NULL, STACK_SIZE, PROT_READ | PROT_WRITE,\n" " MAP_PRIVATE | MAP_ANONYMOUS | MAP_STACK, -1, 0);\n" " if (stack == MAP_FAILED)\n" " err(EXIT_FAILURE, \"mmap\");\n" "\\&\n" " stackTop = stack + STACK_SIZE; /* Assume stack grows downward */\n" "\\&\n" " /* Create child that has its own UTS namespace;\n" " child commences execution in childFunc(). */\n" "\\&\n" " pid = clone(childFunc, stackTop, CLONE_NEWUTS | SIGCHLD, argv[1]);\n" " if (pid == -1)\n" " err(EXIT_FAILURE, \"clone\");\n" " if (munmap(stack, STACK_SIZE))\n" " err(EXIT_FAILURE, \"munmap\");\n" " printf(\"clone() returned %jd\\[rs]n\", (intmax_t) pid);\n" "\\&\n" " /* Parent falls through to here */\n" "\\&\n" " sleep(1); /* Give child time to change its hostname */\n" "\\&\n" " /* Display hostname in parent\\[aq]s UTS namespace. This will be\n" " different from hostname in child\\[aq]s UTS namespace. */\n" "\\&\n" " if (uname(&uts) == -1)\n" " err(EXIT_FAILURE, \"uname\");\n" " printf(\"uts.nodename in parent: %s\\[rs]n\", uts.nodename);\n" "\\&\n" " if (waitpid(pid, NULL, 0) == -1) /* Wait for child */\n" " err(EXIT_FAILURE, \"waitpid\");\n" " printf(\"child has terminated\\[rs]n\");\n" "\\&\n" " exit(EXIT_SUCCESS);\n" "}\n" msgstr "" "#define _GNU_SOURCE\n" "#include Eerr.hE\n" "#include Esched.hE\n" "#include Esignal.hE\n" "#include Estdint.hE\n" "#include Estdio.hE\n" "#include Estdlib.hE\n" "#include Estring.hE\n" "#include Esys/mman.hE\n" "#include Esys/types.hE\n" "#include Esys/utsname.hE\n" "#include Esys/wait.hE\n" "#include Eunistd.hE\n" "\\&\n" "static int /* دالة البدء للابن المنسوخ */\n" "childFunc(void *arg)\n" "{\n" " struct utsname uts;\n" "\\&\n" " /* غيّر اسم المضيف في نطاق أسماء UTS للابن. */\n" "\\&\n" " if (sethostname(arg, strlen(arg)) == -1)\n" " err(EXIT_FAILURE, \"sethostname\");\n" "\\&\n" " /* استرجع واعرض اسم المضيف. */\n" "\\&\n" " if (uname(&uts) == -1)\n" " err(EXIT_FAILURE, \"uname\");\n" " printf(\"uts.nodename in child: %s\\[rs]n\", uts.nodename);\n" "\\&\n" " /* أبقِ نطاق الأسماء مفتوحًا لفترة عبر النوم.\n" " يسمح هذا ببعض التجارب--على سبيل المثال، قد\n" " تنضم عملية أخرى إلى نطاق الأسماء. */\n" "\\&\n" " sleep(200);\n" "\\&\n" " return 0; /* ينتهي الابن الآن */\n" "}\n" "\\&\n" "#define STACK_SIZE (1024 * 1024) /* حجم المكدس للابن المنسوخ */\n" "\\&\n" "int\n" "main(int argc, char *argv[])\n" "{\n" " char *stack; /* بداية مخزن المكدس */\n" " char *stackTop; /* نهاية مخزن المكدس */\n" " pid_t pid;\n" " struct utsname uts;\n" "\\&\n" " if (argc E 2) {\n" " fprintf(stderr, \"Usage: %s Echild-hostnameE\\[rs]n\"," " argv[0]);\n" " exit(EXIT_SUCCESS);\n" " }\n" "\\&\n" " /* خصص ذاكرة لتستخدم كمكدس للابن. */\n" "\\&\n" " stack = mmap(NULL, STACK_SIZE, PROT_READ | PROT_WRITE,\n" " MAP_PRIVATE | MAP_ANONYMOUS | MAP_STACK, -1, 0);\n" " if (stack == MAP_FAILED)\n" " err(EXIT_FAILURE, \"mmap\");\n" "\\&\n" " stackTop = stack + STACK_SIZE; /* نفترض أن المكدس ينمو لأسفل */\n" "\\&\n" " /* أنشئ ابنًا له نطاق أسماء UTS الخاص به؛\n" " يبدأ الابن التنفيذ في childFunc(). */\n" "\\&\n" " pid = clone(childFunc, stackTop, CLONE_NEWUTS | SIGCHLD, argv[1]);\n" " if (pid == -1)\n" " err(EXIT_FAILURE, \"clone\");\n" " if (munmap(stack, STACK_SIZE))\n" " err(EXIT_FAILURE, \"munmap\");\n" " printf(\"clone() returned %jd\\[rs]n\", (intmax_t) pid);\n" "\\&\n" " /* يسقط الأب إلى هنا */\n" "\\&\n" " sleep(1); /* أعطِ الابن وقتًا لتغيير اسم مضيفه */\n" "\\&\n" " /* اعرض اسم المضيف في نطاق أسماء UTS للأب. سيكون هذا\n" " مختلفًا عن اسم المضيف في نطاق أسماء UTS للابن. */\n" "\\&\n" " if (uname(&uts) == -1)\n" " err(EXIT_FAILURE, \"uname\");\n" " printf(\"uts.nodename in parent: %s\\[rs]n\", uts.nodename);\n" "\\&\n" " if (waitpid(pid, NULL, 0) == -1) /* انتظر الابن */\n" " err(EXIT_FAILURE, \"waitpid\");\n" " printf(\"child has terminated\\[rs]n\");\n" "\\&\n" " exit(EXIT_SUCCESS);\n" "}\n" #. 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 "صفحات دليل لينكس (لم تصدر بعد)"