| 1 |
# Arabic translation of manpages |
| 2 |
# This file is distributed under the same license as the manpages-l10n package. |
| 3 |
# Copyright © of this file: |
| 4 |
# زايد السعيدي <[email protected]>, 2026. |
| 5 |
|
| 6 |
msgid "" |
| 7 |
msgstr "" |
| 8 |
"Project-Id-Version: manpages-l10n\n" |
| 9 |
"POT-Creation-Date: 2026-06-05 06:20+0200\n" |
| 10 |
"PO-Revision-Date: 2026-06-05 23:55+0400\n" |
| 11 |
"Last-Translator: Zayed Al-Saidi <[email protected]>\n" |
| 12 |
"Language-Team: Arabic <[email protected]>\n" |
| 13 |
"Language: ar\n" |
| 14 |
"MIME-Version: 1.0\n" |
| 15 |
"Content-Type: text/plain; charset=UTF-8\n" |
| 16 |
"Content-Transfer-Encoding: 8bit\n" |
| 17 |
".MIME-Version: 1.0\n" |
| 18 |
"Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 &&" |
| 19 |
" n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n" |
| 20 |
"X-Generator: Lokalize 23.08.5\n" |
| 21 |
|
| 22 |
#. type: TH |
| 23 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 24 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 25 |
#, no-wrap |
| 26 |
msgid "clone" |
| 27 |
msgstr "clone" |
| 28 |
|
| 29 |
#. type: TH |
| 30 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 31 |
#: opensuse-tumbleweed |
| 32 |
#, no-wrap |
| 33 |
msgid "2026-02-08" |
| 34 |
msgstr "8 فبراير 2026" |
| 35 |
|
| 36 |
#. type: TH |
| 37 |
#: archlinux debian-unstable |
| 38 |
#, no-wrap |
| 39 |
msgid "Linux man-pages 6.18" |
| 40 |
msgstr "صفحات دليل لينكس 6.18" |
| 41 |
|
| 42 |
#. type: SH |
| 43 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 44 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 45 |
#, no-wrap |
| 46 |
msgid "NAME" |
| 47 |
msgstr "الاسم" |
| 48 |
|
| 49 |
#. type: Plain text |
| 50 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 51 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 52 |
msgid "clone, __clone2, clone3 - create a child process" |
| 53 |
msgstr "clone, __clone2, clone3 - إنشاء عملية ابنة" |
| 54 |
|
| 55 |
#. type: SH |
| 56 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 57 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 58 |
#, no-wrap |
| 59 |
msgid "LIBRARY" |
| 60 |
msgstr "المكتبة" |
| 61 |
|
| 62 |
#. type: Plain text |
| 63 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 64 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 65 |
msgid "Standard C library (I<libc>,\\ I<-lc>)" |
| 66 |
msgstr "مكتبة سي المعيارية (I<libc>،\\ I<-lc>)" |
| 67 |
|
| 68 |
#. type: SH |
| 69 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 70 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 71 |
#, no-wrap |
| 72 |
msgid "SYNOPSIS" |
| 73 |
msgstr "موجز" |
| 74 |
|
| 75 |
#. type: Plain text |
| 76 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 77 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 78 |
#, no-wrap |
| 79 |
msgid "/* Prototype for the glibc wrapper function */\n" |
| 80 |
msgstr "/* النموذج المبدئي لدالة غلاف glibc */\n" |
| 81 |
|
| 82 |
#. type: Plain text |
| 83 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 84 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 85 |
#, no-wrap |
| 86 |
msgid "" |
| 87 |
"B<#define _GNU_SOURCE>\n" |
| 88 |
"B<#include E<lt>sched.hE<gt>>\n" |
| 89 |
msgstr "" |
| 90 |
"B<#define _GNU_SOURCE>\n" |
| 91 |
"B<#include E<lt>sched.hE<gt>>\n" |
| 92 |
|
| 93 |
#. type: Plain text |
| 94 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 95 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 96 |
#, no-wrap |
| 97 |
msgid "" |
| 98 |
"B<int clone(typeof(int (void *_Nullable)) *>I<fn>B<,>\n" |
| 99 |
"B< void *>I<stack>B<,>\n" |
| 100 |
"B< int >I<flags>B<,>\n" |
| 101 |
"B< void *_Nullable >I<arg>B<, ...>\n" |
| 102 |
"B< >\\f[R]/*B< pid_t *_Nullable >I<parent_tid>B<,>\n" |
| 103 |
"B< void *_Nullable >I<tls>B<,>\n" |
| 104 |
"B< pid_t *_Nullable >I<child_tid>B< >\\f[R]*/B< );>\n" |
| 105 |
msgstr "" |
| 106 |
"B<int clone(typeof(int (void *_Nullable)) *>I<fn>B<,>\n" |
| 107 |
"B< void *>I<stack>B<,>\n" |
| 108 |
"B< int >I<flags>B<,>\n" |
| 109 |
"B< void *_Nullable >I<arg>B<, ...>\n" |
| 110 |
"B< >\\f[R]/*B< pid_t *_Nullable >I<parent_tid>B<,>\n" |
| 111 |
"B< void *_Nullable >I<tls>B<,>\n" |
| 112 |
"B< pid_t *_Nullable >I<child_tid>B< >\\f[R]*/B< );>\n" |
| 113 |
|
| 114 |
#. type: Plain text |
| 115 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 116 |
#: opensuse-tumbleweed |
| 117 |
#, no-wrap |
| 118 |
msgid "" |
| 119 |
"/* For the prototype of the raw clone() system call, see VERSIONS. */\n" |
| 120 |
msgstr "/* للنموذج المبدئي لنداء النظام الخام ()clone، انظر VERSIONS. */\n" |
| 121 |
|
| 122 |
#. type: Plain text |
| 123 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 124 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 125 |
#, no-wrap |
| 126 |
msgid "" |
| 127 |
"B<#include E<lt>linux/sched.hE<gt>> /* Definition of B<struct clone_args>" |
| 128 |
" */\n" |
| 129 |
"B<#include E<lt>sched.hE<gt>> /* Definition of B<CLONE_*> constants" |
| 130 |
" */\n" |
| 131 |
"B<#include E<lt>sys/syscall.hE<gt>> /* Definition of B<SYS_*> constants" |
| 132 |
" */\n" |
| 133 |
"B<#include E<lt>unistd.hE<gt>>\n" |
| 134 |
msgstr "" |
| 135 |
"B<#include E<lt>linux/sched.hE<gt>> /* تعريف B<struct clone_args> */\n" |
| 136 |
"B<#include E<lt>sched.hE<gt>> /* تعريف ثوابت B<CLONE_*> */\n" |
| 137 |
"B<#include E<lt>sys/syscall.hE<gt>> /* تعريف ثوابت B<SYS_*> */\n" |
| 138 |
"B<#include E<lt>unistd.hE<gt>>\n" |
| 139 |
|
| 140 |
#. type: Plain text |
| 141 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 142 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 143 |
#, no-wrap |
| 144 |
msgid "" |
| 145 |
"B<long syscall(SYS_clone3, struct clone_args *>I<cl_args>B<, size_t >I<size" |
| 146 |
">B<);>\n" |
| 147 |
msgstr "" |
| 148 |
"B<long syscall(SYS_clone3, struct clone_args *>I<cl_args>B<, size_t >I<size" |
| 149 |
">B<);>\n" |
| 150 |
|
| 151 |
#. type: Plain text |
| 152 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 153 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 154 |
msgid "" |
| 155 |
"I<Note>: glibc provides no wrapper for B<clone3>(), necessitating the use of " |
| 156 |
"B<syscall>(2)." |
| 157 |
msgstr "" |
| 158 |
"I<ملاحظة>: لا توفر glibc غلافًا لـ B<clone3>()، مما يستلزم استخدام " |
| 159 |
"B<syscall>(2)." |
| 160 |
|
| 161 |
#. type: SH |
| 162 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 163 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 164 |
#, no-wrap |
| 165 |
msgid "DESCRIPTION" |
| 166 |
msgstr "الوصف" |
| 167 |
|
| 168 |
#. type: Plain text |
| 169 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 170 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 171 |
msgid "" |
| 172 |
"These system calls create a new (\"child\") process, in a manner similar to " |
| 173 |
"B<fork>(2)." |
| 174 |
msgstr "" |
| 175 |
"تنشئ نداءات النظام هذه عملية جديدة (\"ابنة\")، بطريقة مشابهة لـ B<fork>(2)." |
| 176 |
|
| 177 |
#. type: Plain text |
| 178 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 179 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 180 |
msgid "" |
| 181 |
"By contrast with B<fork>(2), these system calls provide more precise control " |
| 182 |
"over what pieces of execution context are shared between the calling process " |
| 183 |
"and the child process. For example, using these system calls, the caller " |
| 184 |
"can control whether or not the two processes share the virtual address " |
| 185 |
"space, the table of file descriptors, and the table of signal handlers. " |
| 186 |
"These system calls also allow the new child process to be placed in separate " |
| 187 |
"B<namespaces>(7)." |
| 188 |
msgstr "" |
| 189 |
"على النقيض من B<fork>(2)، توفر نداءات النظام هذه تحكمًا أكثر دقة في أجزاء " |
| 190 |
"سياق التنفيذ التي تُتشارك بين المستدعِي والعملية الابنة. على سبيل المثال، " |
| 191 |
"باستخدام نداءات النظام هذه، يمكن لـ المستدعِي التحكم فيما إذا كانت العمليتان " |
| 192 |
"تتشاركان مساحة العناوين الافتراضية، وجدول واصفات الملفات، وجدول معالجات " |
| 193 |
"الإشارات أم لا. تسمح نداءات النظام هذه أيضًا بوضع العملية الابنة الجديدة في " |
| 194 |
"B<namespaces>(7) منفصلة." |
| 195 |
|
| 196 |
#. type: Plain text |
| 197 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 198 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 199 |
msgid "" |
| 200 |
"Note that in this manual page, \"calling process\" normally corresponds to " |
| 201 |
"\"parent process\". But see the descriptions of B<CLONE_PARENT> and " |
| 202 |
"B<CLONE_THREAD> below." |
| 203 |
msgstr "" |
| 204 |
"لاحظ أنه في صفحة الدليل هذه، تشير \"المستدعِي\" عادةً إلى \"العملية الأب\". " |
| 205 |
"ولكن انظر أوصاف B<CLONE_PARENT> و B<CLONE_THREAD> أدناه." |
| 206 |
|
| 207 |
#. type: Plain text |
| 208 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 209 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 210 |
msgid "This page describes the following interfaces:" |
| 211 |
msgstr "تصف هذه الصفحة الواجهات التالية:" |
| 212 |
|
| 213 |
#. type: IP |
| 214 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 215 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 216 |
#, no-wrap |
| 217 |
msgid "\\[bu]" |
| 218 |
msgstr "\\[bu]" |
| 219 |
|
| 220 |
#. type: Plain text |
| 221 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 222 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 223 |
msgid "" |
| 224 |
"The glibc B<clone>() wrapper function and the underlying system call on " |
| 225 |
"which it is based. The main text describes the wrapper function; the " |
| 226 |
"differences for the raw system call are described toward the end of this " |
| 227 |
"page." |
| 228 |
msgstr "" |
| 229 |
"دالة غلاف glibc لـ B<clone>() ونداء النظام الأساسي الذي تستند إليه. يصف النص " |
| 230 |
"الرئيس دالة الغلاف؛ وتوصَف الاختلافات في نداء النظام الخام قرب نهاية هذه " |
| 231 |
"الصفحة." |
| 232 |
|
| 233 |
#. type: Plain text |
| 234 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 235 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 236 |
msgid "The newer B<clone3>() system call." |
| 237 |
msgstr "نداء النظام B<clone3>() الأحدث." |
| 238 |
|
| 239 |
#. type: Plain text |
| 240 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 241 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 242 |
msgid "" |
| 243 |
"In the remainder of this page, the terminology \"the clone call\" is used " |
| 244 |
"when noting details that apply to all of these interfaces." |
| 245 |
msgstr "" |
| 246 |
"فيما تبقى من هذه الصفحة، يُستخدم المصطلح \"نداء الاستنساخ\" عند الإشارة إلى " |
| 247 |
"التفاصيل التي تنطبق على جميع هذه الواجهات." |
| 248 |
|
| 249 |
#. type: SS |
| 250 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 251 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 252 |
#, no-wrap |
| 253 |
msgid "The clone() wrapper function" |
| 254 |
msgstr "دالة الغلاف ()clone" |
| 255 |
|
| 256 |
#. type: Plain text |
| 257 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 258 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 259 |
msgid "" |
| 260 |
"When the child process is created with the B<clone>() wrapper function, it " |
| 261 |
"commences execution by calling the function pointed to by the argument " |
| 262 |
"I<fn>. (This differs from B<fork>(2), where execution continues in the " |
| 263 |
"child from the point of the B<fork>(2) call.) The I<arg> argument is " |
| 264 |
"passed as the argument of the function I<fn>." |
| 265 |
msgstr "" |
| 266 |
"عند إنشاء العملية الابنة باستخدام دالة غلاف B<clone>()، فإنها تبدأ التنفيذ " |
| 267 |
"باستدعاء الدالة التي يشير إليها المعامل I<fn>. (يختلف هذا عن B<fork>(2)، حيث " |
| 268 |
"يستمر التنفيذ في الابن من نقطة استدعاء B<fork>(2)). يُمرر المعامل I<arg> " |
| 269 |
"كمعامل للدالة I<fn>." |
| 270 |
|
| 271 |
#. type: Plain text |
| 272 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 273 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 274 |
msgid "" |
| 275 |
"When the I<fn>(I<arg>) function returns, the child process terminates. The " |
| 276 |
"integer returned by I<fn> is the exit status for the child process. The " |
| 277 |
"child process may also terminate explicitly by calling B<exit>(2) or after " |
| 278 |
"receiving a fatal signal." |
| 279 |
msgstr "" |
| 280 |
"عندما تعود الدالة I<fn>(I<arg>)، تنتهي العملية الابنة. الرقم الصحيح الذي " |
| 281 |
"تعيده I<fn> هو حالة الخروج للعملية الابنة. قد تنتهي العملية الابنة أيضًا " |
| 282 |
"صراحةً باستدعاء B<exit>(2) أو بعد تلقي إشارة قاتلة." |
| 283 |
|
| 284 |
#. type: Plain text |
| 285 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 286 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 287 |
msgid "" |
| 288 |
"The I<stack> argument specifies the location of the stack used by the child " |
| 289 |
"process. Since the child and calling process may share memory, it is not " |
| 290 |
"possible for the child process to execute in the same stack as the calling " |
| 291 |
"process. The calling process must therefore set up memory space for the " |
| 292 |
"child stack and pass a pointer to this space to B<clone>(). Stacks grow " |
| 293 |
"downward on all processors that run Linux (except the HP PA processors), so " |
| 294 |
"I<stack> usually points to the topmost address of the memory space set up " |
| 295 |
"for the child stack. Note that B<clone>() does not provide a means whereby " |
| 296 |
"the caller can inform the kernel of the size of the stack area." |
| 297 |
msgstr "" |
| 298 |
"يحدد المعامل I<stack> موقع المكدس الذي تستخدمه العملية الابنة. وبما أن " |
| 299 |
"العملية الابنة والمستدعِي قد يتشاركان الذاكرة، فليس من الممكن للعملية الابنة " |
| 300 |
"أن تُنفذ في نفس المكدس الذي يستخدمه المستدعِي. يجب على المستدعِي بالتالي" |
| 301 |
" إعداد " |
| 302 |
"مساحة ذاكرة لمكدس الابن وتمرير مؤشر إلى هذه المساحة إلى B<clone>(). تنمو " |
| 303 |
"المكدسات لأسفل في جميع المعالجات التي تشغل لينكس (باستثناء معالجات HP PA)، " |
| 304 |
"لذا يشير I<stack> عادةً إلى أعلى عنوان في مساحة الذاكرة المعدة لمكدس الابن. " |
| 305 |
"لاحظ أن B<clone>() لا توفر وسيلة يمكن من خلالها لـ المستدعِي إبلاغ النواة " |
| 306 |
"بحجم منطقة المكدس." |
| 307 |
|
| 308 |
#. type: Plain text |
| 309 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 310 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 311 |
msgid "The remaining arguments to B<clone>() are discussed below." |
| 312 |
msgstr "تُناقش المعاملات المتبقية لـ B<clone>() أدناه." |
| 313 |
|
| 314 |
#. type: tbl table |
| 315 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 316 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 317 |
#, no-wrap |
| 318 |
msgid "clone3()" |
| 319 |
msgstr "clone3()" |
| 320 |
|
| 321 |
#. type: Plain text |
| 322 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 323 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 324 |
msgid "" |
| 325 |
"The B<clone3>() system call provides a superset of the functionality of the " |
| 326 |
"older B<clone>() interface. It also provides a number of API improvements, " |
| 327 |
"including: space for additional flags bits; cleaner separation in the use of " |
| 328 |
"various arguments; and the ability to specify the size of the child's stack " |
| 329 |
"area." |
| 330 |
msgstr "" |
| 331 |
"يوفر نداء النظام B<clone3>() مجموعة فائقة من وظائف واجهة B<clone>() الأقدم. " |
| 332 |
"كما يوفر عددًا من تحسينات واجهة برمجة التطبيقات (API)، بما في ذلك: مساحة " |
| 333 |
"لبتات أعلام إضافية؛ وفصل أنظف في استخدام المعاملات المختلفة؛ والقدرة على " |
| 334 |
"تحديد حجم منطقة مكدس الابن." |
| 335 |
|
| 336 |
#. type: Plain text |
| 337 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 338 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 339 |
msgid "" |
| 340 |
"As with B<fork>(2), B<clone3>() returns in both the parent and the child. " |
| 341 |
"It returns 0 in the child process and returns the PID of the child in the " |
| 342 |
"parent." |
| 343 |
msgstr "" |
| 344 |
"كما هو الحال مع B<fork>(2)، يعود B<clone3>() في كل من الأب والابن. ويعيد 0 " |
| 345 |
"في العملية الابنة ويعيد المعرف PID الخاص بالابن في الأب." |
| 346 |
|
| 347 |
#. type: Plain text |
| 348 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 349 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 350 |
msgid "" |
| 351 |
"The I<cl_args> argument of B<clone3>() is a structure of the following form:" |
| 352 |
msgstr "المعامل I<cl_args> لـ B<clone3>() هو هيكل بالشكل التالي:" |
| 353 |
|
| 354 |
#. type: Plain text |
| 355 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 356 |
#: opensuse-tumbleweed |
| 357 |
#, no-wrap |
| 358 |
msgid "" |
| 359 |
"struct clone_args {\n" |
| 360 |
" u64 flags; /* Flags bit mask */\n" |
| 361 |
" u64 pidfd; /* Where to store PID file descriptor\n" |
| 362 |
" (\\f[I]int *\\fR) */\n" |
| 363 |
" u64 child_tid; /* Where to store child TID,\n" |
| 364 |
" in child\\[aq]s memory (\\f[I]pid_t *\\fR) */\n" |
| 365 |
" u64 parent_tid; /* Where to store child TID,\n" |
| 366 |
" in parent\\[aq]s memory (\\f[I]pid_t *\\fR) */\n" |
| 367 |
" u64 exit_signal; /* Signal to deliver to parent on\n" |
| 368 |
" child termination */\n" |
| 369 |
" u64 stack; /* Pointer to lowest byte of stack */\n" |
| 370 |
" u64 stack_size; /* Size of stack */\n" |
| 371 |
" u64 tls; /* Location of new TLS */\n" |
| 372 |
" u64 set_tid; /* Pointer to a \\f[I]pid_t\\fR array\n" |
| 373 |
" (since Linux 5.5) */\n" |
| 374 |
" u64 set_tid_size; /* Number of elements in \\f[I]set_tid\\fR\n" |
| 375 |
" (since Linux 5.5) */\n" |
| 376 |
" u64 cgroup; /* File descriptor for target cgroup\n" |
| 377 |
" of child (since Linux 5.7) */\n" |
| 378 |
"};\n" |
| 379 |
msgstr "" |
| 380 |
"struct clone_args {\n" |
| 381 |
" u64 flags; /* قناع بتات الأعلام */\n" |
| 382 |
" u64 pidfd; /* مكان تخزين واصف ملف PID\n" |
| 383 |
" (\\f[I]int *\\fR) */\n" |
| 384 |
" u64 child_tid; /* مكان تخزين معرف TID للابن،\n" |
| 385 |
" في ذاكرة الابن (\\f[I]pid_t *\\fR) */\n" |
| 386 |
" u64 parent_tid; /* مكان تخزين معرف TID للابن،\n" |
| 387 |
" في ذاكرة الأب (\\f[I]pid_t *\\fR) */\n" |
| 388 |
" u64 exit_signal; /* الإشارة التي تُرسل للأب عند\n" |
| 389 |
" إنهاء الابن */\n" |
| 390 |
" u64 stack; /* مؤشر لأدنى بايت في المكدس */\n" |
| 391 |
" u64 stack_size; /* حجم المكدس */\n" |
| 392 |
" u64 tls; /* موقع TLS الجديد */\n" |
| 393 |
" u64 set_tid; /* مؤشر لمصفوفة \\f[I]pid_t\\fR\n" |
| 394 |
" (منذ لينكس 5.5) */\n" |
| 395 |
" u64 set_tid_size; /* عدد العناصر في \\f[I]set_tid\\fR\n" |
| 396 |
" (منذ لينكس 5.5) */\n" |
| 397 |
" u64 cgroup; /* واصف ملف لمجموعة التحكم (cgroup) المستهدفة\n" |
| 398 |
" للابن (منذ لينكس 5.7) */\n" |
| 399 |
"};\n" |
| 400 |
|
| 401 |
#. type: Plain text |
| 402 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 403 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 404 |
msgid "" |
| 405 |
"The I<size> argument that is supplied to B<clone3>() should be initialized " |
| 406 |
"to the size of this structure. (The existence of the I<size> argument " |
| 407 |
"permits future extensions to the I<clone_args> structure.)" |
| 408 |
msgstr "" |
| 409 |
"يجب تهيئة المعامل I<size> الذي يُزود لـ B<clone3>() ليساوي حجم هذا الهيكل. " |
| 410 |
"(وجود المعامل I<size> يسمح بتوسعات مستقبلية لهيكل I<clone_args>)." |
| 411 |
|
| 412 |
#. type: Plain text |
| 413 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 414 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 415 |
msgid "" |
| 416 |
"The stack for the child process is specified via I<cl_args.stack>, which " |
| 417 |
"points to the lowest byte of the stack area, and I<cl_args.stack_size>, " |
| 418 |
"which specifies the size of the stack in bytes. In the case where the " |
| 419 |
"B<CLONE_VM> flag (see below) is specified, a stack must be explicitly " |
| 420 |
"allocated and specified. Otherwise, these two fields can be specified as " |
| 421 |
"NULL and 0, which causes the child to use the same stack area as the parent " |
| 422 |
"(in the child's own virtual address space)." |
| 423 |
msgstr "" |
| 424 |
"يُحدد مكدس العملية الابنة عبر I<cl_args.stack>، الذي يشير إلى أدنى بايت في " |
| 425 |
"منطقة المكدس، و I<cl_args.stack_size>، الذي يحدد حجم المكدس بالبايت. في " |
| 426 |
"الحالة التي يُحدد فيها علم B<CLONE_VM> (انظر أدناه)، يجب تخصيص مكدس وتحديده " |
| 427 |
"صراحةً. خلاف ذلك، يمكن تحديد هذين الحقلين كـ NULL و 0، مما يجعل الابن يستخدم " |
| 428 |
"نفس منطقة مكدس الأب (في مساحة العناوين الافتراضية الخاصة بالابن)." |
| 429 |
|
| 430 |
#. type: Plain text |
| 431 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 432 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 433 |
msgid "The remaining fields in the I<cl_args> argument are discussed below." |
| 434 |
msgstr "تُناقش الحقول المتبقية في المعامل I<cl_args> أدناه." |
| 435 |
|
| 436 |
#. type: SS |
| 437 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 438 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 439 |
#, no-wrap |
| 440 |
msgid "Equivalence between clone() and clone3() arguments" |
| 441 |
msgstr "التكافؤ بين معاملات ()clone و ()clone3" |
| 442 |
|
| 443 |
#. type: Plain text |
| 444 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 445 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 446 |
msgid "" |
| 447 |
"Unlike the older B<clone>() interface, where arguments are passed " |
| 448 |
"individually, in the newer B<clone3>() interface the arguments are packaged " |
| 449 |
"into the I<clone_args> structure shown above. This structure allows for a " |
| 450 |
"superset of the information passed via the B<clone>() arguments." |
| 451 |
msgstr "" |
| 452 |
"على عكس واجهة B<clone>() الأقدم، حيث تُمرر المعاملات بشكل فردي، تُجمع " |
| 453 |
"المعاملات في واجهة B<clone3>() الأحدث داخل هيكل I<clone_args> الموضح أعلاه. " |
| 454 |
"يسمح هذا الهيكل بمجموعة فائقة من المعلومات الممرة عبر معاملات B<clone>()." |
| 455 |
|
| 456 |
#. type: Plain text |
| 457 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 458 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 459 |
msgid "" |
| 460 |
"The following table shows the equivalence between the arguments of " |
| 461 |
"B<clone>() and the fields in the I<clone_args> argument supplied to " |
| 462 |
"B<clone3>():" |
| 463 |
msgstr "" |
| 464 |
"يوضح الجدول التالي التكافؤ بين معاملات B<clone>() والحقول في المعامل " |
| 465 |
"I<clone_args> المزود لـ B<clone3>():" |
| 466 |
|
| 467 |
#. type: tbl table |
| 468 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 469 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 470 |
#, no-wrap |
| 471 |
msgid "clone()" |
| 472 |
msgstr "clone()" |
| 473 |
|
| 474 |
#. type: tbl table |
| 475 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 476 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 477 |
#, no-wrap |
| 478 |
msgid "Notes" |
| 479 |
msgstr "ملاحظات" |
| 480 |
|
| 481 |
#. type: tbl table |
| 482 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 483 |
#: opensuse-tumbleweed |
| 484 |
#, no-wrap |
| 485 |
msgid "\\f[I]cl_args\\fR field" |
| 486 |
msgstr "حقل \\f[I]cl_args\\fR" |
| 487 |
|
| 488 |
#. type: tbl table |
| 489 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 490 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 491 |
#, no-wrap |
| 492 |
msgid "flags & \\[ti]0xff" |
| 493 |
msgstr "flags & \\[ti]0xff" |
| 494 |
|
| 495 |
#. type: tbl table |
| 496 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 497 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 498 |
#, no-wrap |
| 499 |
msgid "flags" |
| 500 |
msgstr "flags" |
| 501 |
|
| 502 |
#. type: tbl table |
| 503 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 504 |
#: opensuse-tumbleweed |
| 505 |
#, no-wrap |
| 506 |
msgid "" |
| 507 |
"For most flags;\n" |
| 508 |
"details below" |
| 509 |
msgstr "" |
| 510 |
"لمعظم الأعلام؛\n" |
| 511 |
"التفاصيل أدناه" |
| 512 |
|
| 513 |
#. type: tbl table |
| 514 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 515 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 516 |
#, no-wrap |
| 517 |
msgid "parent_tid" |
| 518 |
msgstr "parent_tid" |
| 519 |
|
| 520 |
#. type: tbl table |
| 521 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 522 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 523 |
#, no-wrap |
| 524 |
msgid "pidfd" |
| 525 |
msgstr "pidfd" |
| 526 |
|
| 527 |
#. type: tbl table |
| 528 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 529 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 530 |
#, no-wrap |
| 531 |
msgid "See CLONE_PIDFD" |
| 532 |
msgstr "انظر CLONE_PIDFD" |
| 533 |
|
| 534 |
#. type: tbl table |
| 535 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 536 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 537 |
#, no-wrap |
| 538 |
msgid "child_tid" |
| 539 |
msgstr "child_tid" |
| 540 |
|
| 541 |
#. type: tbl table |
| 542 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 543 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 544 |
#, no-wrap |
| 545 |
msgid "See CLONE_CHILD_SETTID" |
| 546 |
msgstr "انظر CLONE_CHILD_SETTID" |
| 547 |
|
| 548 |
#. type: tbl table |
| 549 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 550 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 551 |
#, no-wrap |
| 552 |
msgid "See CLONE_PARENT_SETTID" |
| 553 |
msgstr "انظر CLONE_PARENT_SETTID" |
| 554 |
|
| 555 |
#. type: tbl table |
| 556 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 557 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 558 |
#, no-wrap |
| 559 |
msgid "flags & 0xff" |
| 560 |
msgstr "flags & 0xff" |
| 561 |
|
| 562 |
#. type: tbl table |
| 563 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 564 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 565 |
#, no-wrap |
| 566 |
msgid "exit_signal" |
| 567 |
msgstr "exit_signal" |
| 568 |
|
| 569 |
#. type: tbl table |
| 570 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 571 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 572 |
#, no-wrap |
| 573 |
msgid "stack" |
| 574 |
msgstr "stack" |
| 575 |
|
| 576 |
#. type: tbl table |
| 577 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 578 |
#: opensuse-tumbleweed |
| 579 |
#, no-wrap |
| 580 |
msgid "\\f[R]---\\fR" |
| 581 |
msgstr "\\f[R]---\\fR" |
| 582 |
|
| 583 |
#. type: tbl table |
| 584 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 585 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 586 |
#, no-wrap |
| 587 |
msgid "stack_size" |
| 588 |
msgstr "stack_size" |
| 589 |
|
| 590 |
#. type: tbl table |
| 591 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 592 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 593 |
#, no-wrap |
| 594 |
msgid "tls" |
| 595 |
msgstr "tls" |
| 596 |
|
| 597 |
#. type: tbl table |
| 598 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 599 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 600 |
#, no-wrap |
| 601 |
msgid "See CLONE_SETTLS" |
| 602 |
msgstr "انظر CLONE_SETTLS" |
| 603 |
|
| 604 |
#. type: tbl table |
| 605 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 606 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 607 |
#, no-wrap |
| 608 |
msgid "set_tid" |
| 609 |
msgstr "set_tid" |
| 610 |
|
| 611 |
#. type: tbl table |
| 612 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 613 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 614 |
#, no-wrap |
| 615 |
msgid "See below for details" |
| 616 |
msgstr "انظر أدناه للتفاصيل" |
| 617 |
|
| 618 |
#. type: tbl table |
| 619 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 620 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 621 |
#, no-wrap |
| 622 |
msgid "set_tid_size" |
| 623 |
msgstr "set_tid_size" |
| 624 |
|
| 625 |
#. type: tbl table |
| 626 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 627 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 628 |
#, no-wrap |
| 629 |
msgid "cgroup" |
| 630 |
msgstr "cgroup" |
| 631 |
|
| 632 |
#. type: tbl table |
| 633 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 634 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 635 |
#, no-wrap |
| 636 |
msgid "See CLONE_INTO_CGROUP" |
| 637 |
msgstr "انظر CLONE_INTO_CGROUP" |
| 638 |
|
| 639 |
#. type: SS |
| 640 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 641 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 642 |
#, no-wrap |
| 643 |
msgid "The child termination signal" |
| 644 |
msgstr "إشارة إنهاء الابن" |
| 645 |
|
| 646 |
#. type: Plain text |
| 647 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 648 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 649 |
msgid "" |
| 650 |
"When the child process terminates, a signal may be sent to the parent. The " |
| 651 |
"termination signal is specified in the low byte of I<flags> (B<clone>()) or " |
| 652 |
"in I<cl_args.exit_signal> (B<clone3>()). If this signal is specified as " |
| 653 |
"anything other than B<SIGCHLD>, then the parent process must specify the " |
| 654 |
"B<__WALL> or B<__WCLONE> options when waiting for the child with " |
| 655 |
"B<wait>(2). If no signal (i.e., zero) is specified, then the parent process " |
| 656 |
"is not signaled when the child terminates." |
| 657 |
msgstr "" |
| 658 |
"عند إنهاء العملية الابنة، قد تُرسل إشارة إلى الأب. تُحدد إشارة الإنهاء في " |
| 659 |
"البايت المنخفض لـ I<flags> (B<clone>()) أو في I<cl_args.exit_signal> " |
| 660 |
"(B<clone3>()). إذا حُددت هذه الإشارة كأي شيء آخر غير B<SIGCHLD>، فيجب على " |
| 661 |
"العملية الأب تحديد الخيارات B<__WALL> أو B<__WCLONE> عند انتظار الابن " |
| 662 |
"باستخدام B<wait>(2). إذا لم تُحدد أي إشارة (أي صفر)، فلن تُرسل إشارة إلى " |
| 663 |
"العملية الأب عند إنهاء الابن." |
| 664 |
|
| 665 |
#. type: SS |
| 666 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 667 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 668 |
#, no-wrap |
| 669 |
msgid "The set_tid array" |
| 670 |
msgstr "مصفوفة set_tid" |
| 671 |
|
| 672 |
#. type: Plain text |
| 673 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 674 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 675 |
msgid "" |
| 676 |
"By default, the kernel chooses the next sequential PID for the new process " |
| 677 |
"in each of the PID namespaces where it is present. When creating a process " |
| 678 |
"with B<clone3>(), the I<set_tid> array (available since Linux 5.5) can be " |
| 679 |
"used to select specific PIDs for the process in some or all of the PID " |
| 680 |
"namespaces where it is present. If the PID of the newly created process " |
| 681 |
"should be set only for the current PID namespace or in the newly created PID " |
| 682 |
"namespace (if I<flags> contains B<CLONE_NEWPID>) then the first element in " |
| 683 |
"the I<set_tid> array has to be the desired PID and I<set_tid_size> needs to " |
| 684 |
"be 1." |
| 685 |
msgstr "" |
| 686 |
"بشكل مبدئي، تختار النواة المعرف PID المتسلسل التالي للعملية الجديدة في كل من " |
| 687 |
"فضاءات أسماء PID التي توجد فيها. عند إنشاء عملية باستخدام B<clone3>()، يمكن " |
| 688 |
"استخدام مصفوفة I<set_tid> (المتوفرة منذ لينكس 5.5) لاختيار معرفات PID محددة " |
| 689 |
"للعملية في بعض أو كل فضاءات أسماء PID التي توجد فيها. إذا كان يجب ضبط PID " |
| 690 |
"للعملية المنشأة حديثًا فقط لفضاء أسماء PID الحالي أو في فضاء أسماء PID المنشأ " |
| 691 |
"حديثًا (إذا كانت I<flags> تحتوي على B<CLONE_NEWPID>) فيجب أن يكون العنصر " |
| 692 |
"الأول في مصفوفة I<set_tid> هو الـ PID المطلوب ويجب أن يكون I<set_tid_size> " |
| 693 |
"مساوياً لـ 1." |
| 694 |
|
| 695 |
#. type: Plain text |
| 696 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 697 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 698 |
msgid "" |
| 699 |
"If the PID of the newly created process should have a certain value in " |
| 700 |
"multiple PID namespaces, then the I<set_tid> array can have multiple " |
| 701 |
"entries. The first entry defines the PID in the most deeply nested PID " |
| 702 |
"namespace and each of the following entries contains the PID in the " |
| 703 |
"corresponding ancestor PID namespace. The number of PID namespaces in which " |
| 704 |
"a PID should be set is defined by I<set_tid_size> which cannot be larger " |
| 705 |
"than the number of currently nested PID namespaces." |
| 706 |
msgstr "" |
| 707 |
"إذا كان يجب أن يكون لـ PID العملية المنشأة حديثًا قيمة معينة في فضاءات أسماء " |
| 708 |
"PID متعددة، فيمكن أن تحتوي مصفوفة I<set_tid> على مدخلات متعددة. يحدد المدخل " |
| 709 |
"الأول الـ PID في فضاء أسماء PID الأكثر تعشيشًا، ويحتوي كل من المدخلات التالية " |
| 710 |
"على الـ PID في فضاء أسماء PID السلف المقابل. يُحدد عدد فضاءات أسماء PID التي " |
| 711 |
"يجب ضبط الـ PID فيها بواسطة I<set_tid_size> الذي لا يمكن أن يكون أكبر من عدد " |
| 712 |
"فضاءات أسماء PID المتداخلة حاليًا." |
| 713 |
|
| 714 |
#. type: Plain text |
| 715 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 716 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 717 |
msgid "" |
| 718 |
"To create a process with the following PIDs in a PID namespace hierarchy:" |
| 719 |
msgstr "لإنشاء عملية بمعرفات PID التالية في تسلسل هرمي لفضاء أسماء PID:" |
| 720 |
|
| 721 |
#. type: tbl table |
| 722 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 723 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 724 |
#, no-wrap |
| 725 |
msgid "PID NS level" |
| 726 |
msgstr "مستوى فضاء أسماء PID" |
| 727 |
|
| 728 |
#. type: tbl table |
| 729 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 730 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 731 |
#, no-wrap |
| 732 |
msgid "Requested PID" |
| 733 |
msgstr "PID المطلوب" |
| 734 |
|
| 735 |
#. type: tbl table |
| 736 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 737 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 738 |
#, no-wrap |
| 739 |
msgid "0" |
| 740 |
msgstr "0" |
| 741 |
|
| 742 |
#. type: tbl table |
| 743 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 744 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 745 |
#, no-wrap |
| 746 |
msgid "31496" |
| 747 |
msgstr "31496" |
| 748 |
|
| 749 |
#. type: tbl table |
| 750 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 751 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 752 |
#, no-wrap |
| 753 |
msgid "Outermost PID namespace" |
| 754 |
msgstr "فضاء أسماء PID الأبعد" |
| 755 |
|
| 756 |
#. type: tbl table |
| 757 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 758 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 759 |
#, no-wrap |
| 760 |
msgid "1" |
| 761 |
msgstr "1" |
| 762 |
|
| 763 |
#. type: tbl table |
| 764 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 765 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 766 |
#, no-wrap |
| 767 |
msgid "42" |
| 768 |
msgstr "42" |
| 769 |
|
| 770 |
#. type: tbl table |
| 771 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 772 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 773 |
#, no-wrap |
| 774 |
msgid "2" |
| 775 |
msgstr "2" |
| 776 |
|
| 777 |
#. type: tbl table |
| 778 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 779 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 780 |
#, no-wrap |
| 781 |
msgid "7" |
| 782 |
msgstr "7" |
| 783 |
|
| 784 |
#. type: tbl table |
| 785 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 786 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 787 |
#, no-wrap |
| 788 |
msgid "Innermost PID namespace" |
| 789 |
msgstr "فضاء أسماء PID الأكثر تعشيشًا" |
| 790 |
|
| 791 |
#. type: Plain text |
| 792 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 793 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 794 |
msgid "Set the array to:" |
| 795 |
msgstr "اضبط المصفوفة على:" |
| 796 |
|
| 797 |
#. type: Plain text |
| 798 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 799 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 800 |
#, no-wrap |
| 801 |
msgid "" |
| 802 |
"set_tid[0] = 7;\n" |
| 803 |
"set_tid[1] = 42;\n" |
| 804 |
"set_tid[2] = 31496;\n" |
| 805 |
"set_tid_size = 3;\n" |
| 806 |
msgstr "" |
| 807 |
"set_tid[0] = 7;\n" |
| 808 |
"set_tid[1] = 42;\n" |
| 809 |
"set_tid[2] = 31496;\n" |
| 810 |
"set_tid_size = 3;\n" |
| 811 |
|
| 812 |
#. type: Plain text |
| 813 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 814 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 815 |
msgid "" |
| 816 |
"If only the PIDs in the two innermost PID namespaces need to be specified, " |
| 817 |
"set the array to:" |
| 818 |
msgstr "" |
| 819 |
"إذا كان يلزم فقط تحديد معرفات PID في فضاءي أسماء PID الأكثر تعشيشًا، فاضبط " |
| 820 |
"المصفوفة على:" |
| 821 |
|
| 822 |
#. type: Plain text |
| 823 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 824 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 825 |
#, no-wrap |
| 826 |
msgid "" |
| 827 |
"set_tid[0] = 7;\n" |
| 828 |
"set_tid[1] = 42;\n" |
| 829 |
"set_tid_size = 2;\n" |
| 830 |
msgstr "" |
| 831 |
"set_tid[0] = 7;\n" |
| 832 |
"set_tid[1] = 42;\n" |
| 833 |
"set_tid_size = 2;\n" |
| 834 |
|
| 835 |
#. type: Plain text |
| 836 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 837 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 838 |
msgid "" |
| 839 |
"The PID in the PID namespaces outside the two innermost PID namespaces is " |
| 840 |
"selected the same way as any other PID is selected." |
| 841 |
msgstr "" |
| 842 |
"يُختار الـ PID في فضاءات أسماء PID خارج الفضاءين الأكثر تعشيشًا بنفس الطريقة " |
| 843 |
"التي يُختار بها أي PID آخر." |
| 844 |
|
| 845 |
#. commit 124ea650d3072b005457faed69909221c2905a1f |
| 846 |
#. commit 1caef81da05a84a40dbf02110e967ce6d1135ff6 |
| 847 |
#. type: Plain text |
| 848 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 849 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 850 |
msgid "" |
| 851 |
"The I<set_tid> feature requires B<CAP_SYS_ADMIN> or (since Linux 5.9) " |
| 852 |
"B<CAP_CHECKPOINT_RESTORE> in all owning user namespaces of the target PID " |
| 853 |
"namespaces." |
| 854 |
msgstr "" |
| 855 |
"تتطلب ميزة I<set_tid> صلاحية B<CAP_SYS_ADMIN> أو (منذ لينكس 5.9) " |
| 856 |
"B<CAP_CHECKPOINT_RESTORE> في جميع فضاءات أسماء المستخدمين المالكة لفضاءات " |
| 857 |
"أسماء PID المستهدفة." |
| 858 |
|
| 859 |
#. type: Plain text |
| 860 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 861 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 862 |
msgid "" |
| 863 |
"Callers may only choose a PID greater than 1 in a given PID namespace if an " |
| 864 |
"B<init> process (i.e., a process with PID 1) already exists in that " |
| 865 |
"namespace. Otherwise the PID entry for this PID namespace must be 1." |
| 866 |
msgstr "" |
| 867 |
"يمكن لـ المستدعِين فقط اختيار PID أكبر من 1 في فضاء أسماء PID معين إذا كانت " |
| 868 |
"هناك عملية B<init> (أي عملية ذات PID 1) موجودة بالفعل في ذلك الفضاء. خلاف " |
| 869 |
"ذلك، يجب أن يكون مدخل الـ PID لفضاء أسماء PID هذا هو 1." |
| 870 |
|
| 871 |
#. type: SS |
| 872 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 873 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 874 |
#, no-wrap |
| 875 |
msgid "The flags mask" |
| 876 |
msgstr "قناع الأعلام" |
| 877 |
|
| 878 |
#. type: Plain text |
| 879 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 880 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 881 |
msgid "" |
| 882 |
"Both B<clone>() and B<clone3>() allow a flags bit mask that modifies their " |
| 883 |
"behavior and allows the caller to specify what is shared between the calling " |
| 884 |
"process and the child process. This bit mask\\[em]the I<flags> argument of " |
| 885 |
"B<clone>() or the I<cl_args.flags> field passed to B<clone3>()\\[em]is " |
| 886 |
"referred to as the I<flags> mask in the remainder of this page." |
| 887 |
msgstr "" |
| 888 |
"يسمح كل من B<clone>() و B<clone3>() باستخدام قناع بتات للأعلام يعدل سلوكهما " |
| 889 |
"ويسمح لـ المستدعِي بتحديد ما يُتشارك بين المستدعِي والعملية الابنة. يُشار إلى " |
| 890 |
"قناع البتات هذا — المعامل I<flags> في B<clone>() أو حقل I<cl_args.flags> " |
| 891 |
"الممرر إلى B<clone3>() — باسم قناع I<flags> فيما تبقى من هذه الصفحة." |
| 892 |
|
| 893 |
#. type: Plain text |
| 894 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 895 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 896 |
msgid "" |
| 897 |
"The I<flags> mask is specified as a bitwise OR of zero or more of the " |
| 898 |
"constants listed below. Except as noted below, these flags are available " |
| 899 |
"(and have the same effect) in both B<clone>() and B<clone3>()." |
| 900 |
msgstr "" |
| 901 |
"يُحدد قناع I<flags> كعملية OR بتية لصفر أو أكثر من الثوابت المدرجة أدناه. " |
| 902 |
"باستثناء ما هو مذكور أدناه، تتوفر هذه الأعلام (ولها نفس التأثير) في كل من " |
| 903 |
"B<clone>() و B<clone3>()." |
| 904 |
|
| 905 |
#. type: TP |
| 906 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 907 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 908 |
#, no-wrap |
| 909 |
msgid "B<CLONE_CHILD_CLEARTID> (since Linux 2.5.49)" |
| 910 |
msgstr "B<CLONE_CHILD_CLEARTID> (منذ لينكس 2.5.49)" |
| 911 |
|
| 912 |
#. type: Plain text |
| 913 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 914 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 915 |
msgid "" |
| 916 |
"Clear (zero) the child thread ID at the location pointed to by I<child_tid> " |
| 917 |
"(B<clone>()) or I<cl_args.child_tid> (B<clone3>()) in child memory when " |
| 918 |
"the child exits, and do a wakeup on the futex at that address. The address " |
| 919 |
"involved may be changed by the B<set_tid_address>(2) system call. This is " |
| 920 |
"used by threading libraries." |
| 921 |
msgstr "" |
| 922 |
"مسح (تصفير) معرف خيط الابن في الموقع الذي يشير إليه I<child_tid> " |
| 923 |
"(B<clone>()) أو I<cl_args.child_tid> (B<clone3>()) في ذاكرة الابن عند خروجه، " |
| 924 |
"وإجراء تنبيه (wakeup) على futex في ذلك العنوان. يمكن تغيير العنوان المعني " |
| 925 |
"بواسطة نداء النظام B<set_tid_address>(2). يُستخدم هذا بواسطة مكتبات الخيوط." |
| 926 |
|
| 927 |
#. type: TP |
| 928 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 929 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 930 |
#, no-wrap |
| 931 |
msgid "B<CLONE_CHILD_SETTID> (since Linux 2.5.49)" |
| 932 |
msgstr "B<CLONE_CHILD_SETTID> (منذ لينكس 2.5.49)" |
| 933 |
|
| 934 |
#. type: Plain text |
| 935 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 936 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 937 |
msgid "" |
| 938 |
"Store the child thread ID at the location pointed to by I<child_tid> " |
| 939 |
"(B<clone>()) or I<cl_args.child_tid> (B<clone3>()) in the child's memory. " |
| 940 |
"The store operation completes before the clone call returns control to user " |
| 941 |
"space in the child process. (Note that the store operation may not have " |
| 942 |
"completed before the clone call returns in the parent process, which is " |
| 943 |
"relevant if the B<CLONE_VM> flag is also employed.)" |
| 944 |
msgstr "" |
| 945 |
"تخزين معرف خيط الابن في الموقع الذي يشير إليه I<child_tid> (B<clone>()) أو " |
| 946 |
"I<cl_args.child_tid> (B<clone3>()) في ذاكرة الابن. تكتمل عملية التخزين قبل " |
| 947 |
"أن يعيد نداء الاستنساخ التحكم إلى مساحة المستخدم في العملية الابنة. (لاحظ أن " |
| 948 |
"عملية التخزين قد لا تكون قد اكتملت قبل عودة نداء الاستنساخ في العملية الأب، " |
| 949 |
"وهو أمر ذو صلة إذا استُخدم علم B<CLONE_VM> أيضًا)." |
| 950 |
|
| 951 |
#. type: TP |
| 952 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 953 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 954 |
#, no-wrap |
| 955 |
msgid "B<CLONE_CLEAR_SIGHAND> (since Linux 5.5)" |
| 956 |
msgstr "B<CLONE_CLEAR_SIGHAND> (منذ لينكس 5.5)" |
| 957 |
|
| 958 |
#. commit b612e5df4587c934bd056bf05f4a1deca4de4f75 |
| 959 |
#. type: Plain text |
| 960 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 961 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 962 |
msgid "" |
| 963 |
"By default, signal dispositions in the child thread are the same as in the " |
| 964 |
"parent. If this flag is specified, then all signals that are handled in the " |
| 965 |
"parent (and not set to B<SIG_IGN>) are reset to their default dispositions " |
| 966 |
"(B<SIG_DFL>) in the child." |
| 967 |
msgstr "" |
| 968 |
"بشكل مبدئي، تكون ترتيبات الإشارات في خيط الابن هي نفسها الموجودة في الأب. " |
| 969 |
"إذا حُدد هذا العلم، فإن جميع الإشارات التي تُعالج في الأب (ولم تُضبط على " |
| 970 |
"B<SIG_IGN>) تُعاد إلى ترتيباتها المبدئية (B<SIG_DFL>) في الابن." |
| 971 |
|
| 972 |
#. type: Plain text |
| 973 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 974 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 975 |
msgid "" |
| 976 |
"Specifying this flag together with B<CLONE_SIGHAND> is nonsensical and " |
| 977 |
"disallowed." |
| 978 |
msgstr "تحديد هذا العلم مع B<CLONE_SIGHAND> غير منطقي وغير مسموح به." |
| 979 |
|
| 980 |
#. type: TP |
| 981 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 982 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 983 |
#, no-wrap |
| 984 |
msgid "B<CLONE_DETACHED> (historical)" |
| 985 |
msgstr "B<CLONE_DETACHED> (تاريخي)" |
| 986 |
|
| 987 |
#. added in Linux 2.5.32; removed in Linux 2.6.0-test4 |
| 988 |
#. type: Plain text |
| 989 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 990 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 991 |
msgid "" |
| 992 |
"For a while (during the Linux 2.5 development series) there was a " |
| 993 |
"B<CLONE_DETACHED> flag, which caused the parent not to receive a signal when " |
| 994 |
"the child terminated. Ultimately, the effect of this flag was subsumed " |
| 995 |
"under the B<CLONE_THREAD> flag and by the time Linux 2.6.0 was released, " |
| 996 |
"this flag had no effect. Since Linux 2.6.2, the need to give this flag " |
| 997 |
"together with B<CLONE_THREAD> disappeared." |
| 998 |
msgstr "" |
| 999 |
"لفترة من الوقت (خلال سلسلة تطوير لينكس 2.5) كان هناك علم B<CLONE_DETACHED>، " |
| 1000 |
"والذي تسبب في عدم تلقي الأب إشارة عند إنهاء الابن. في النهاية، دُمج تأثير هذا " |
| 1001 |
"العلم تحت علم B<CLONE_THREAD> وبحلول وقت إصدار لينكس 2.6.0، لم يعد لهذا " |
| 1002 |
"العلم أي تأثير. منذ لينكس 2.6.2، اختفت الحاجة لتقديم هذا العلم مع " |
| 1003 |
"B<CLONE_THREAD>." |
| 1004 |
|
| 1005 |
#. type: Plain text |
| 1006 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1007 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1008 |
msgid "" |
| 1009 |
"This flag is still defined, but it is usually ignored when calling " |
| 1010 |
"B<clone>(). However, see the description of B<CLONE_PIDFD> for some " |
| 1011 |
"exceptions." |
| 1012 |
msgstr "" |
| 1013 |
"لا يزال هذا العلم معرفًا، ولكن عادةً ما يُتجاهل عند استدعاء B<clone>(). ومع " |
| 1014 |
"ذلك، راجع وصف B<CLONE_PIDFD> لمعرفة بعض الاستثناءات." |
| 1015 |
|
| 1016 |
#. type: TP |
| 1017 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1018 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1019 |
#, no-wrap |
| 1020 |
msgid "B<CLONE_FILES> (since Linux 2.0)" |
| 1021 |
msgstr "B<CLONE_FILES> (منذ لينكس 2.0)" |
| 1022 |
|
| 1023 |
#. type: Plain text |
| 1024 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1025 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1026 |
msgid "" |
| 1027 |
"If B<CLONE_FILES> is set, the calling process and the child process share " |
| 1028 |
"the same file descriptor table. Any file descriptor created by the calling " |
| 1029 |
"process or by the child process is also valid in the other process. " |
| 1030 |
"Similarly, if one of the processes closes a file descriptor, or changes its " |
| 1031 |
"associated flags (using the B<fcntl>(2) B<F_SETFD> operation), the other " |
| 1032 |
"process is also affected. If a process sharing a file descriptor table " |
| 1033 |
"calls B<execve>(2), its file descriptor table is duplicated (unshared)." |
| 1034 |
msgstr "" |
| 1035 |
"إذا ضُبط B<CLONE_FILES>، فإن العملية المستدعِية والعملية الوليدة تتشاركان نفس " |
| 1036 |
"جدول واصفات الملفات. أي واصف ملف يُنشأ بواسطة العملية المستدعِية أو بواسطة " |
| 1037 |
"العملية الوليدة يكون صالحًا أيضًا في العملية الأخرى. وبالمثل، إذا أغلقت إحدى " |
| 1038 |
"العمليات واصف ملف، أو غيرت الأعلام المرتبطة به (باستخدام عملية B<F_SETFD> في " |
| 1039 |
"B<fcntl>(2))، تتأثر العملية الأخرى أيضًا. إذا استدعت عملية تتشارك جدول واصفات " |
| 1040 |
"ملفات B<execve>(2)، فإن جدول واصفات ملفاتها يُنسخ (يُفصل التشارك)." |
| 1041 |
|
| 1042 |
#. type: Plain text |
| 1043 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1044 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1045 |
msgid "" |
| 1046 |
"If B<CLONE_FILES> is not set, the child process inherits a copy of all file " |
| 1047 |
"descriptors opened in the calling process at the time of the clone call. " |
| 1048 |
"Subsequent operations that open or close file descriptors, or change file " |
| 1049 |
"descriptor flags, performed by either the calling process or the child " |
| 1050 |
"process do not affect the other process. Note, however, that the duplicated " |
| 1051 |
"file descriptors in the child refer to the same open file descriptions as " |
| 1052 |
"the corresponding file descriptors in the calling process, and thus share " |
| 1053 |
"file offsets and file status flags (see B<open>(2))." |
| 1054 |
msgstr "" |
| 1055 |
"إذا لم يُضبط B<CLONE_FILES>، ترث العملية الوليدة نسخة من جميع واصفات الملفات " |
| 1056 |
"المفتوحة في العملية المستدعِية وقت استدعاء الاستنساخ. العمليات اللاحقة التي " |
| 1057 |
"تفتح أو تغلق واصفات الملفات، أو تغير أعلام واصف الملف، والتي تقوم بها إما " |
| 1058 |
"العملية المستدعِية أو العملية الوليدة لا تؤثر على العملية الأخرى. لاحظ، مع " |
| 1059 |
"ذلك، أن واصفات الملفات المنسوخة في الوليدة تشير إلى نفس أوصاف الملفات " |
| 1060 |
"المفتوحة مثل واصفات الملفات المقابلة في العملية المستدعِية، وبالتالي تتشارك " |
| 1061 |
"إزاحات الملف وأعلام حالة الملف (انظر B<open>(2))." |
| 1062 |
|
| 1063 |
#. type: TP |
| 1064 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1065 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1066 |
#, no-wrap |
| 1067 |
msgid "B<CLONE_FS> (since Linux 2.0)" |
| 1068 |
msgstr "B<CLONE_FS> (منذ لينكس 2.0)" |
| 1069 |
|
| 1070 |
#. type: Plain text |
| 1071 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1072 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1073 |
msgid "" |
| 1074 |
"If B<CLONE_FS> is set, the caller and the child process share the same " |
| 1075 |
"filesystem information. This includes the root of the filesystem, the " |
| 1076 |
"current working directory, and the umask. Any call to B<chroot>(2), " |
| 1077 |
"B<chdir>(2), or B<umask>(2) performed by the calling process or the child " |
| 1078 |
"process also affects the other process." |
| 1079 |
msgstr "" |
| 1080 |
"إذا ضُبط B<CLONE_FS>، يتشارك المستدعِي والعملية الوليدة نفس معلومات نظام " |
| 1081 |
"الملفات. يتضمن ذلك جذر نظام الملفات، ودليل العمل الحالي، وقناع وضع إنشاء " |
| 1082 |
"الملفات (umask). أي استدعاء لـ B<chroot>(2) أو B<chdir>(2) أو B<umask>(2) " |
| 1083 |
"تقوم به العملية المستدعِية أو العملية الوليدة يؤثر أيضًا على العملية الأخرى." |
| 1084 |
|
| 1085 |
#. type: Plain text |
| 1086 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1087 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1088 |
msgid "" |
| 1089 |
"If B<CLONE_FS> is not set, the child process works on a copy of the " |
| 1090 |
"filesystem information of the calling process at the time of the clone " |
| 1091 |
"call. Calls to B<chroot>(2), B<chdir>(2), or B<umask>(2) performed later " |
| 1092 |
"by one of the processes do not affect the other process." |
| 1093 |
msgstr "" |
| 1094 |
"إذا لم يُضبط B<CLONE_FS>، تعمل العملية الوليدة على نسخة من معلومات نظام " |
| 1095 |
"الملفات للعملية المستدعِية وقت استدعاء الاستنساخ. الاستدعاءات لـ B<chroot>(2) " |
| 1096 |
"أو B<chdir>(2) أو B<umask>(2) التي تُجرى لاحقًا بواسطة إحدى العمليات لا تؤثر " |
| 1097 |
"على العملية الأخرى." |
| 1098 |
|
| 1099 |
#. type: TP |
| 1100 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1101 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1102 |
#, no-wrap |
| 1103 |
msgid "B<CLONE_INTO_CGROUP> (since Linux 5.7)" |
| 1104 |
msgstr "B<CLONE_INTO_CGROUP> (منذ لينكس 5.7)" |
| 1105 |
|
| 1106 |
#. commit ef2c41cf38a7559bbf91af42d5b6a4429db8fc68 |
| 1107 |
#. type: Plain text |
| 1108 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1109 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1110 |
msgid "" |
| 1111 |
"By default, a child process is placed in the same version 2 cgroup as its " |
| 1112 |
"parent. The B<CLONE_INTO_CGROUP> flag allows the child process to be " |
| 1113 |
"created in a different version 2 cgroup. (Note that B<CLONE_INTO_CGROUP> " |
| 1114 |
"has effect only for version 2 cgroups.)" |
| 1115 |
msgstr "" |
| 1116 |
"بشكل مبدئي، توضع العملية الوليدة في نفس مجموعة التحكم (cgroup) الإصدار 2 " |
| 1117 |
"التي تتبعها العملية الأب. يسمح علم B<CLONE_INTO_CGROUP> بإنشاء العملية " |
| 1118 |
"الوليدة في مجموعة تحكم إصدار 2 مختلفة. (لاحظ أن B<CLONE_INTO_CGROUP> له " |
| 1119 |
"تأثير فقط على مجموعات التحكم من الإصدار 2.)" |
| 1120 |
|
| 1121 |
#. type: Plain text |
| 1122 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1123 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1124 |
msgid "" |
| 1125 |
"In order to place the child process in a different cgroup, the caller " |
| 1126 |
"specifies B<CLONE_INTO_CGROUP> in I<cl_args.flags> and passes a file " |
| 1127 |
"descriptor that refers to a version 2 cgroup in the I<cl_args.cgroup> " |
| 1128 |
"field. (This file descriptor can be obtained by opening a cgroup v2 " |
| 1129 |
"directory using either the B<O_RDONLY> or the B<O_PATH> flag.) Note that " |
| 1130 |
"all of the usual restrictions (described in B<cgroups>(7)) on placing a " |
| 1131 |
"process into a version 2 cgroup apply." |
| 1132 |
msgstr "" |
| 1133 |
"لوضع العملية الوليدة في مجموعة تحكم مختلفة، يحدد المستدعِي " |
| 1134 |
"B<CLONE_INTO_CGROUP> في I<cl_args.flags> ويمرر واصف ملف يشير إلى مجموعة تحكم " |
| 1135 |
"إصدار 2 في حقل I<cl_args.cgroup>. (يمكن الحصول على واصف الملف هذا عن طريق " |
| 1136 |
"فتح دليل cgroup v2 باستخدام إما علم B<O_RDONLY> أو علم B<O_PATH>.) لاحظ أن " |
| 1137 |
"جميع القيود المعتادة (الموضحة في B<cgroups>(7)) بشأن وضع عملية في مجموعة " |
| 1138 |
"تحكم إصدار 2 تنطبق هنا." |
| 1139 |
|
| 1140 |
#. type: Plain text |
| 1141 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1142 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1143 |
msgid "" |
| 1144 |
"Among the possible use cases for B<CLONE_INTO_CGROUP> are the following:" |
| 1145 |
msgstr "من بين حالات الاستخدام الممكنة لـ B<CLONE_INTO_CGROUP> ما يلي:" |
| 1146 |
|
| 1147 |
#. type: Plain text |
| 1148 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1149 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1150 |
msgid "" |
| 1151 |
"Spawning a process into a cgroup different from the parent's cgroup makes it " |
| 1152 |
"possible for a service manager to directly spawn new services into dedicated " |
| 1153 |
"cgroups. This eliminates the accounting jitter that would be caused if the " |
| 1154 |
"child process was first created in the same cgroup as the parent and then " |
| 1155 |
"moved into the target cgroup. Furthermore, spawning the child process " |
| 1156 |
"directly into a target cgroup is significantly cheaper than moving the child " |
| 1157 |
"process into the target cgroup after it has been created." |
| 1158 |
msgstr "" |
| 1159 |
"إن تفريخ عملية في مجموعة تحكم مختلفة عن مجموعة تحكم الأب يجعل من الممكن " |
| 1160 |
"لمدير الخدمات تفريخ خدمات جديدة مباشرة في مجموعات تحكم مخصصة. هذا يزيل " |
| 1161 |
"اضطراب المحاسبة الذي قد يحدث إذا أُنشئت العملية الوليدة أولاً في نفس مجموعة " |
| 1162 |
"تحكم الأب ثم نُقلت إلى مجموعة التحكم المستهدفة. علاوة على ذلك، فإن تفريخ " |
| 1163 |
"العملية الوليدة مباشرة في مجموعة تحكم مستهدفة أقل تكلفة بكثير من نقل العملية " |
| 1164 |
"الوليدة إلى مجموعة التحكم المستهدفة بعد إنشائها." |
| 1165 |
|
| 1166 |
#. type: Plain text |
| 1167 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1168 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1169 |
msgid "" |
| 1170 |
"The B<CLONE_INTO_CGROUP> flag also allows the creation of frozen child " |
| 1171 |
"processes by spawning them into a frozen cgroup. (See B<cgroups>(7) for a " |
| 1172 |
"description of the freezer controller.)" |
| 1173 |
msgstr "" |
| 1174 |
"يسمح علم B<CLONE_INTO_CGROUP> أيضًا بإنشاء عمليات وليدة مجمدة عن طريق تفريخها " |
| 1175 |
"في مجموعة تحكم مجمدة. (انظر B<cgroups>(7) للحصول على وصف لمتحكم التجميد.)" |
| 1176 |
|
| 1177 |
#. type: Plain text |
| 1178 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1179 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1180 |
msgid "" |
| 1181 |
"For threaded applications (or even thread implementations which make use of " |
| 1182 |
"cgroups to limit individual threads), it is possible to establish a fixed " |
| 1183 |
"cgroup layout before spawning each thread directly into its target cgroup." |
| 1184 |
msgstr "" |
| 1185 |
"بالنسبة للتطبيقات متعددة الخيوط (أو حتى تنفيذات الخيوط التي تستخدم مجموعات " |
| 1186 |
"التحكم للحد من الخيوط الفردية)، من الممكن إنشاء تخطيط ثابت لمجموعة التحكم " |
| 1187 |
"قبل تفريخ كل خيط مباشرة في مجموعة التحكم المستهدفة الخاصة به." |
| 1188 |
|
| 1189 |
#. type: TP |
| 1190 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1191 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1192 |
#, no-wrap |
| 1193 |
msgid "B<CLONE_IO> (since Linux 2.6.25)" |
| 1194 |
msgstr "B<CLONE_IO> (منذ لينكس 2.6.25)" |
| 1195 |
|
| 1196 |
#. type: Plain text |
| 1197 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1198 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1199 |
msgid "" |
| 1200 |
"If B<CLONE_IO> is set, then the new process shares an I/O context with the " |
| 1201 |
"calling process. If this flag is not set, then (as with B<fork>(2)) the " |
| 1202 |
"new process has its own I/O context." |
| 1203 |
msgstr "" |
| 1204 |
"إذا ضُبط B<CLONE_IO>، فإن العملية الجديدة تتشارك سياق إدخال/إخراج مع العملية " |
| 1205 |
"المستدعِية. إذا لم يُضبط هذا العلم، فإن العملية الجديدة (كما في B<fork>(2)) " |
| 1206 |
"يكون لها سياق إدخال/إخراج خاص بها." |
| 1207 |
|
| 1208 |
#. The following based on text from Jens Axboe |
| 1209 |
#. the anticipatory and CFQ scheduler |
| 1210 |
#. with CFQ and AS. |
| 1211 |
#. type: Plain text |
| 1212 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1213 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1214 |
msgid "" |
| 1215 |
"The I/O context is the I/O scope of the disk scheduler (i.e., what the I/O " |
| 1216 |
"scheduler uses to model scheduling of a process's I/O). If processes share " |
| 1217 |
"the same I/O context, they are treated as one by the I/O scheduler. As a " |
| 1218 |
"consequence, they get to share disk time. For some I/O schedulers, if two " |
| 1219 |
"processes share an I/O context, they will be allowed to interleave their " |
| 1220 |
"disk access. If several threads are doing I/O on behalf of the same process " |
| 1221 |
"(B<aio_read>(3), for instance), they should employ B<CLONE_IO> to get better " |
| 1222 |
"I/O performance." |
| 1223 |
msgstr "" |
| 1224 |
"سياق الإدخال/الإخراج هو نطاق الإدخال/الإخراج لجدول القرص (أي ما يستخدمه " |
| 1225 |
"مجدول الإدخال/الإخراج لنمذجة جدولة إدخال/إخراج العملية). إذا تشاركت العمليات " |
| 1226 |
"نفس سياق الإدخال/الإخراج، فإن مجدول الإدخال/الإخراج يعاملها كعملية واحدة. " |
| 1227 |
"نتيجة لذلك، فإنها تتشارك وقت القرص. بالنسبة لبعض مجدولي الإدخال/الإخراج، إذا " |
| 1228 |
"تشاركت عمليتان في سياق إدخال/إخراج واحد، فسيُسمح لهما بتداخل وصولهما إلى " |
| 1229 |
"القرص. إذا كانت عدة خيوط تقوم بالإدخال/الإخراج نيابة عن نفس العملية " |
| 1230 |
"(B<aio_read>(3)، على سبيل المثال)، فيجب عليها استخدام B<CLONE_IO> للحصول على " |
| 1231 |
"أداء إدخال/إخراج أفضل." |
| 1232 |
|
| 1233 |
#. type: Plain text |
| 1234 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1235 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1236 |
msgid "" |
| 1237 |
"If the kernel is not configured with the B<CONFIG_BLOCK> option, this flag " |
| 1238 |
"is a no-op." |
| 1239 |
msgstr "" |
| 1240 |
"إذا لم تُضبط النواة بخيار B<CONFIG_BLOCK>، فإن هذا العلم لا يفعل شيئًا." |
| 1241 |
|
| 1242 |
#. type: TP |
| 1243 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1244 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1245 |
#, no-wrap |
| 1246 |
msgid "B<CLONE_NEWCGROUP> (since Linux 4.6)" |
| 1247 |
msgstr "B<CLONE_NEWCGROUP> (منذ لينكس 4.6)" |
| 1248 |
|
| 1249 |
#. type: Plain text |
| 1250 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1251 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1252 |
msgid "" |
| 1253 |
"Create the process in a new cgroup namespace. If this flag is not set, then " |
| 1254 |
"(as with B<fork>(2)) the process is created in the same cgroup namespaces " |
| 1255 |
"as the calling process." |
| 1256 |
msgstr "" |
| 1257 |
"إنشاء العملية في فضاء أسماء cgroup جديد. إذا لم يُضبط هذا العلم، فإن العملية " |
| 1258 |
"(كما في B<fork>(2)) تُنشأ في نفس فضاءات أسماء cgroup الخاصة بالعملية " |
| 1259 |
"المستدعِية." |
| 1260 |
|
| 1261 |
#. type: Plain text |
| 1262 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1263 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1264 |
msgid "" |
| 1265 |
"For further information on cgroup namespaces, see B<cgroup_namespaces>(7)." |
| 1266 |
msgstr "" |
| 1267 |
"لمزيد من المعلومات حول فضاءات أسماء cgroup، راجع B<cgroup_namespaces>(7)." |
| 1268 |
|
| 1269 |
#. type: Plain text |
| 1270 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1271 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1272 |
msgid "" |
| 1273 |
"Only a privileged process (B<CAP_SYS_ADMIN>) can employ B<CLONE_NEWCGROUP>." |
| 1274 |
msgstr "" |
| 1275 |
"فقط العملية ذات الامتيازات (B<CAP_SYS_ADMIN>) يمكنها استخدام " |
| 1276 |
"B<CLONE_NEWCGROUP>." |
| 1277 |
|
| 1278 |
#. type: TP |
| 1279 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1280 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1281 |
#, no-wrap |
| 1282 |
msgid "B<CLONE_NEWIPC> (since Linux 2.6.19)" |
| 1283 |
msgstr "B<CLONE_NEWIPC> (منذ لينكس 2.6.19)" |
| 1284 |
|
| 1285 |
#. type: Plain text |
| 1286 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1287 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1288 |
msgid "" |
| 1289 |
"If B<CLONE_NEWIPC> is set, then create the process in a new IPC namespace. " |
| 1290 |
"If this flag is not set, then (as with B<fork>(2)), the process is created " |
| 1291 |
"in the same IPC namespace as the calling process." |
| 1292 |
msgstr "" |
| 1293 |
"إذا ضُبط B<CLONE_NEWIPC>، فسيتم إنشاء العملية في فضاء أسماء IPC جديد. إذا لم " |
| 1294 |
"يُضبط هذا العلم، فإن العملية (كما في B<fork>(2)) تُنشأ في نفس فضاء أسماء IPC " |
| 1295 |
"الخاص بالعملية المستدعِية." |
| 1296 |
|
| 1297 |
#. type: Plain text |
| 1298 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1299 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1300 |
msgid "For further information on IPC namespaces, see B<ipc_namespaces>(7)." |
| 1301 |
msgstr "لمزيد من المعلومات حول فضاءات أسماء IPC، راجع B<ipc_namespaces>(7)." |
| 1302 |
|
| 1303 |
#. type: Plain text |
| 1304 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1305 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1306 |
msgid "" |
| 1307 |
"Only a privileged process (B<CAP_SYS_ADMIN>) can employ B<CLONE_NEWIPC>. " |
| 1308 |
"This flag can't be specified in conjunction with B<CLONE_SYSVSEM>." |
| 1309 |
msgstr "" |
| 1310 |
"فقط العملية ذات الامتيازات (B<CAP_SYS_ADMIN>) يمكنها استخدام " |
| 1311 |
"B<CLONE_NEWIPC>. لا يمكن تحديد هذا العلم بالتزامن مع B<CLONE_SYSVSEM>." |
| 1312 |
|
| 1313 |
#. type: TP |
| 1314 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1315 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1316 |
#, no-wrap |
| 1317 |
msgid "B<CLONE_NEWNET> (since Linux 2.6.24)" |
| 1318 |
msgstr "B<CLONE_NEWNET> (منذ لينكس 2.6.24)" |
| 1319 |
|
| 1320 |
#. type: Plain text |
| 1321 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1322 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1323 |
msgid "" |
| 1324 |
"(The implementation of this flag was completed only by about Linux 2.6.29.)" |
| 1325 |
msgstr "(اكتمل تنفيذ هذا العلم فقط في حوالي لينكس 2.6.29.)" |
| 1326 |
|
| 1327 |
#. type: Plain text |
| 1328 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1329 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1330 |
msgid "" |
| 1331 |
"If B<CLONE_NEWNET> is set, then create the process in a new network " |
| 1332 |
"namespace. If this flag is not set, then (as with B<fork>(2)) the process " |
| 1333 |
"is created in the same network namespace as the calling process." |
| 1334 |
msgstr "" |
| 1335 |
"إذا ضُبط B<CLONE_NEWNET>، فسيتم إنشاء العملية في فضاء أسماء شبكة جديد. إذا لم " |
| 1336 |
"يُضبط هذا العلم، فإن العملية (كما في B<fork>(2)) تُنشأ في نفس فضاء أسماء " |
| 1337 |
"الشبكة الخاص بالعملية المستدعِية." |
| 1338 |
|
| 1339 |
#. type: Plain text |
| 1340 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1341 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1342 |
msgid "" |
| 1343 |
"For further information on network namespaces, see B<network_namespaces>(7)." |
| 1344 |
msgstr "" |
| 1345 |
"لمزيد من المعلومات حول فضاءات أسماء الشبكة، راجع B<network_namespaces>(7)." |
| 1346 |
|
| 1347 |
#. type: Plain text |
| 1348 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1349 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1350 |
msgid "" |
| 1351 |
"Only a privileged process (B<CAP_SYS_ADMIN>) can employ B<CLONE_NEWNET>." |
| 1352 |
msgstr "" |
| 1353 |
"فقط العملية ذات الامتيازات (B<CAP_SYS_ADMIN>) يمكنها استخدام B<CLONE_NEWNET>." |
| 1354 |
|
| 1355 |
#. type: TP |
| 1356 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1357 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1358 |
#, no-wrap |
| 1359 |
msgid "B<CLONE_NEWNS> (since Linux 2.4.19)" |
| 1360 |
msgstr "B<CLONE_NEWNS> (منذ لينكس 2.4.19)" |
| 1361 |
|
| 1362 |
#. type: Plain text |
| 1363 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1364 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1365 |
msgid "" |
| 1366 |
"If B<CLONE_NEWNS> is set, the cloned child is started in a new mount " |
| 1367 |
"namespace, initialized with a copy of the namespace of the parent. If " |
| 1368 |
"B<CLONE_NEWNS> is not set, the child lives in the same mount namespace as " |
| 1369 |
"the parent." |
| 1370 |
msgstr "" |
| 1371 |
"إذا ضُبط B<CLONE_NEWNS>، تبدأ الوليدة المستنسخة في فضاء أسماء وصل جديد، يُهيأ " |
| 1372 |
"بنسخة من فضاء أسماء الأب. إذا لم يُضبط B<CLONE_NEWNS>، تعيش الوليدة في نفس " |
| 1373 |
"فضاء أسماء الوصل الخاص بالأب." |
| 1374 |
|
| 1375 |
#. type: Plain text |
| 1376 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1377 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1378 |
msgid "" |
| 1379 |
"For further information on mount namespaces, see B<namespaces>(7) and " |
| 1380 |
"B<mount_namespaces>(7)." |
| 1381 |
msgstr "" |
| 1382 |
"لمزيد من المعلومات حول فضاءات أسماء الوصل، راجع B<namespaces>(7) و " |
| 1383 |
"B<mount_namespaces>(7)." |
| 1384 |
|
| 1385 |
#. See https://lwn.net/Articles/543273/ |
| 1386 |
#. type: Plain text |
| 1387 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1388 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1389 |
msgid "" |
| 1390 |
"Only a privileged process (B<CAP_SYS_ADMIN>) can employ B<CLONE_NEWNS>. It " |
| 1391 |
"is not permitted to specify both B<CLONE_NEWNS> and B<CLONE_FS> in the same " |
| 1392 |
"clone call." |
| 1393 |
msgstr "" |
| 1394 |
"فقط العملية ذات الامتيازات (B<CAP_SYS_ADMIN>) يمكنها استخدام B<CLONE_NEWNS>. " |
| 1395 |
"لا يُسمح بتحديد كل من B<CLONE_NEWNS> و B<CLONE_FS> في نفس استدعاء الاستنساخ." |
| 1396 |
|
| 1397 |
#. type: TP |
| 1398 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1399 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1400 |
#, no-wrap |
| 1401 |
msgid "B<CLONE_NEWPID> (since Linux 2.6.24)" |
| 1402 |
msgstr "B<CLONE_NEWPID> (منذ لينكس 2.6.24)" |
| 1403 |
|
| 1404 |
# |
| 1405 |
#. This explanation draws a lot of details from |
| 1406 |
#. http://lwn.net/Articles/259217/ |
| 1407 |
#. Authors: Pavel Emelyanov <[email protected]> |
| 1408 |
#. and Kir Kolyshkin <[email protected]> |
| 1409 |
#. The primary kernel commit is 30e49c263e36341b60b735cbef5ca37912549264 |
| 1410 |
#. Author: Pavel Emelyanov <[email protected]> |
| 1411 |
#. type: Plain text |
| 1412 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1413 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1414 |
msgid "" |
| 1415 |
"If B<CLONE_NEWPID> is set, then create the process in a new PID namespace. " |
| 1416 |
"If this flag is not set, then (as with B<fork>(2)) the process is created " |
| 1417 |
"in the same PID namespace as the calling process." |
| 1418 |
msgstr "" |
| 1419 |
"إذا ضُبط B<CLONE_NEWPID>، فسيتم إنشاء العملية في فضاء أسماء PID جديد. إذا لم " |
| 1420 |
"يُضبط هذا العلم، فإن العملية (كما في B<fork>(2)) تُنشأ في نفس فضاء أسماء PID " |
| 1421 |
"الخاص بالعملية المستدعِية." |
| 1422 |
|
| 1423 |
#. type: Plain text |
| 1424 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1425 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1426 |
msgid "" |
| 1427 |
"For further information on PID namespaces, see B<namespaces>(7) and " |
| 1428 |
"B<pid_namespaces>(7)." |
| 1429 |
msgstr "" |
| 1430 |
"لمزيد من المعلومات حول فضاءات أسماء PID، راجع B<namespaces>(7) و " |
| 1431 |
"B<pid_namespaces>(7)." |
| 1432 |
|
| 1433 |
#. type: Plain text |
| 1434 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1435 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1436 |
msgid "" |
| 1437 |
"Only a privileged process (B<CAP_SYS_ADMIN>) can employ B<CLONE_NEWPID>. " |
| 1438 |
"This flag can't be specified in conjunction with B<CLONE_THREAD>." |
| 1439 |
msgstr "" |
| 1440 |
"فقط العملية ذات الامتيازات (B<CAP_SYS_ADMIN>) يمكنها استخدام " |
| 1441 |
"B<CLONE_NEWPID>. لا يمكن تحديد هذا العلم بالتزامن مع B<CLONE_THREAD>." |
| 1442 |
|
| 1443 |
#. type: TP |
| 1444 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1445 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1446 |
#, no-wrap |
| 1447 |
msgid "B<CLONE_NEWUSER>" |
| 1448 |
msgstr "B<CLONE_NEWUSER>" |
| 1449 |
|
| 1450 |
#. type: Plain text |
| 1451 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1452 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1453 |
msgid "" |
| 1454 |
"(This flag first became meaningful for B<clone>() in Linux 2.6.23, the " |
| 1455 |
"current B<clone>() semantics were merged in Linux 3.5, and the final pieces " |
| 1456 |
"to make the user namespaces completely usable were merged in Linux 3.8.)" |
| 1457 |
msgstr "" |
| 1458 |
"(أصبح هذا العلم ذا معنى لأول مرة لـ B<clone>() في لينكس 2.6.23، ودُمجت دلالات " |
| 1459 |
"B<clone>() الحالية في لينكس 3.5، ودُمجت الأجزاء النهائية لجعل فضاءات أسماء " |
| 1460 |
"المستخدمين قابلة للاستخدام بالكامل في لينكس 3.8.)" |
| 1461 |
|
| 1462 |
#. type: Plain text |
| 1463 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1464 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1465 |
msgid "" |
| 1466 |
"If B<CLONE_NEWUSER> is set, then create the process in a new user " |
| 1467 |
"namespace. If this flag is not set, then (as with B<fork>(2)) the process " |
| 1468 |
"is created in the same user namespace as the calling process." |
| 1469 |
msgstr "" |
| 1470 |
"إذا ضُبط B<CLONE_NEWUSER>، فسيتم إنشاء العملية في فضاء أسماء مستخدم جديد. إذا " |
| 1471 |
"لم يُضبط هذا العلم، فإن العملية (كما في B<fork>(2)) تُنشأ في نفس فضاء أسماء " |
| 1472 |
"المستخدمين الخاص بالعملية المستدعِية." |
| 1473 |
|
| 1474 |
#. type: Plain text |
| 1475 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1476 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1477 |
msgid "" |
| 1478 |
"For further information on user namespaces, see B<namespaces>(7) and " |
| 1479 |
"B<user_namespaces>(7)." |
| 1480 |
msgstr "" |
| 1481 |
"لمزيد من المعلومات حول فضاءات أسماء المستخدمين، راجع B<namespaces>(7) و " |
| 1482 |
"B<user_namespaces>(7)." |
| 1483 |
|
| 1484 |
#. Before Linux 2.6.29, it appears that only CAP_SYS_ADMIN was needed |
| 1485 |
#. type: Plain text |
| 1486 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1487 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1488 |
msgid "" |
| 1489 |
"Before Linux 3.8, use of B<CLONE_NEWUSER> required that the caller have " |
| 1490 |
"three capabilities: B<CAP_SYS_ADMIN>, B<CAP_SETUID>, and B<CAP_SETGID>. " |
| 1491 |
"Starting with Linux 3.8, no privileges are needed to create a user namespace." |
| 1492 |
msgstr "" |
| 1493 |
"قبل لينكس 3.8، كان استخدام B<CLONE_NEWUSER> يتطلب أن يكون لدى المستدعِي ثلاث " |
| 1494 |
"قدرات: B<CAP_SYS_ADMIN> و B<CAP_SETUID> و B<CAP_SETGID>. بدءًا من لينكس 3.8، " |
| 1495 |
"لا حاجة لامتيازات لإنشاء فضاء أسماء مستخدم." |
| 1496 |
|
| 1497 |
#. #-#-#-#-# archlinux: clone.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 1498 |
#. commit e66eded8309ebf679d3d3c1f5820d1f2ca332c71 |
| 1499 |
#. https://lwn.net/Articles/543273/ |
| 1500 |
#. The fix actually went into Linux 3.9 and into Linux 3.8.3. |
| 1501 |
#. However, user namespaces were, for practical purposes, |
| 1502 |
#. unusable in earlier Linux 3.8.x because of the various filesystems |
| 1503 |
#. that didn't support userns. |
| 1504 |
#. type: Plain text |
| 1505 |
#. #-#-#-#-# debian-trixie: clone.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 1506 |
#. commit e66eded8309ebf679d3d3c1f5820d1f2ca332c71 |
| 1507 |
#. https://lwn.net/Articles/543273/ |
| 1508 |
#. The fix actually went into Linux 3.9 and into Linux 3.8.3. However, user namespaces |
| 1509 |
#. were, for practical purposes, unusable in earlier Linux 3.8.x because of the |
| 1510 |
#. various filesystems that didn't support userns. |
| 1511 |
#. type: Plain text |
| 1512 |
#. #-#-#-#-# debian-unstable: clone.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 1513 |
#. commit e66eded8309ebf679d3d3c1f5820d1f2ca332c71 |
| 1514 |
#. https://lwn.net/Articles/543273/ |
| 1515 |
#. The fix actually went into Linux 3.9 and into Linux 3.8.3. |
| 1516 |
#. However, user namespaces were, for practical purposes, |
| 1517 |
#. unusable in earlier Linux 3.8.x because of the various filesystems |
| 1518 |
#. that didn't support userns. |
| 1519 |
#. type: Plain text |
| 1520 |
#. #-#-#-#-# fedora-44: clone.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 1521 |
#. commit e66eded8309ebf679d3d3c1f5820d1f2ca332c71 |
| 1522 |
#. https://lwn.net/Articles/543273/ |
| 1523 |
#. The fix actually went into Linux 3.9 and into Linux 3.8.3. However, user namespaces |
| 1524 |
#. were, for practical purposes, unusable in earlier Linux 3.8.x because of the |
| 1525 |
#. various filesystems that didn't support userns. |
| 1526 |
#. type: Plain text |
| 1527 |
#. #-#-#-#-# fedora-rawhide: clone.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 1528 |
#. commit e66eded8309ebf679d3d3c1f5820d1f2ca332c71 |
| 1529 |
#. https://lwn.net/Articles/543273/ |
| 1530 |
#. The fix actually went into Linux 3.9 and into Linux 3.8.3. However, user namespaces |
| 1531 |
#. were, for practical purposes, unusable in earlier Linux 3.8.x because of the |
| 1532 |
#. various filesystems that didn't support userns. |
| 1533 |
#. type: Plain text |
| 1534 |
#. #-#-#-#-# mageia-cauldron: clone.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 1535 |
#. commit e66eded8309ebf679d3d3c1f5820d1f2ca332c71 |
| 1536 |
#. https://lwn.net/Articles/543273/ |
| 1537 |
#. The fix actually went into Linux 3.9 and into Linux 3.8.3. |
| 1538 |
#. However, user namespaces were, for practical purposes, |
| 1539 |
#. unusable in earlier Linux 3.8.x because of the various filesystems |
| 1540 |
#. that didn't support userns. |
| 1541 |
#. type: Plain text |
| 1542 |
#. #-#-#-#-# opensuse-leap-16-1: clone.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 1543 |
#. commit e66eded8309ebf679d3d3c1f5820d1f2ca332c71 |
| 1544 |
#. https://lwn.net/Articles/543273/ |
| 1545 |
#. The fix actually went into Linux 3.9 and into Linux 3.8.3. |
| 1546 |
#. However, user namespaces were, for practical purposes, |
| 1547 |
#. unusable in earlier Linux 3.8.x because of the various filesystems |
| 1548 |
#. that didn't support userns. |
| 1549 |
#. type: Plain text |
| 1550 |
#. #-#-#-#-# opensuse-tumbleweed: clone.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 1551 |
#. commit e66eded8309ebf679d3d3c1f5820d1f2ca332c71 |
| 1552 |
#. https://lwn.net/Articles/543273/ |
| 1553 |
#. The fix actually went into Linux 3.9 and into Linux 3.8.3. |
| 1554 |
#. However, user namespaces were, for practical purposes, |
| 1555 |
#. unusable in earlier Linux 3.8.x because of the various filesystems |
| 1556 |
#. that didn't support userns. |
| 1557 |
#. type: Plain text |
| 1558 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1559 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1560 |
msgid "" |
| 1561 |
"This flag can't be specified in conjunction with B<CLONE_THREAD> or " |
| 1562 |
"B<CLONE_PARENT>. For security reasons, B<CLONE_NEWUSER> cannot be specified " |
| 1563 |
"in conjunction with B<CLONE_FS>." |
| 1564 |
msgstr "" |
| 1565 |
"لا يمكن تحديد هذا العلم بالتزامن مع B<CLONE_THREAD> أو B<CLONE_PARENT>. " |
| 1566 |
"لأسباب أمنية، لا يمكن تحديد B<CLONE_NEWUSER> بالتزامن مع B<CLONE_FS>." |
| 1567 |
|
| 1568 |
#. type: TP |
| 1569 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1570 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1571 |
#, no-wrap |
| 1572 |
msgid "B<CLONE_NEWUTS> (since Linux 2.6.19)" |
| 1573 |
msgstr "B<CLONE_NEWUTS> (منذ لينكس 2.6.19)" |
| 1574 |
|
| 1575 |
#. type: Plain text |
| 1576 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1577 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1578 |
msgid "" |
| 1579 |
"If B<CLONE_NEWUTS> is set, then create the process in a new UTS namespace, " |
| 1580 |
"whose identifiers are initialized by duplicating the identifiers from the " |
| 1581 |
"UTS namespace of the calling process. If this flag is not set, then (as " |
| 1582 |
"with B<fork>(2)) the process is created in the same UTS namespace as the " |
| 1583 |
"calling process." |
| 1584 |
msgstr "" |
| 1585 |
"إذا ضُبط B<CLONE_NEWUTS>، فسيتم إنشاء العملية في فضاء أسماء UTS جديد، وتُهيأ " |
| 1586 |
"معرفاته بنسخ المعرفات من فضاء أسماء UTS للعملية المستدعِية. إذا لم يُضبط هذا " |
| 1587 |
"العلم، فإن العملية (كما في B<fork>(2)) تُنشأ في نفس فضاء أسماء UTS الخاص " |
| 1588 |
"بالعملية المستدعِية." |
| 1589 |
|
| 1590 |
#. type: Plain text |
| 1591 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1592 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1593 |
msgid "For further information on UTS namespaces, see B<uts_namespaces>(7)." |
| 1594 |
msgstr "لمزيد من المعلومات حول فضاءات أسماء UTS، راجع B<uts_namespaces>(7)." |
| 1595 |
|
| 1596 |
#. type: Plain text |
| 1597 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1598 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1599 |
msgid "" |
| 1600 |
"Only a privileged process (B<CAP_SYS_ADMIN>) can employ B<CLONE_NEWUTS>." |
| 1601 |
msgstr "" |
| 1602 |
"فقط العملية ذات الامتيازات (B<CAP_SYS_ADMIN>) يمكنها استخدام B<CLONE_NEWUTS>." |
| 1603 |
|
| 1604 |
#. type: TP |
| 1605 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1606 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1607 |
#, no-wrap |
| 1608 |
msgid "B<CLONE_PARENT> (since Linux 2.3.12)" |
| 1609 |
msgstr "B<CLONE_PARENT> (منذ لينكس 2.3.12)" |
| 1610 |
|
| 1611 |
#. type: Plain text |
| 1612 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1613 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1614 |
msgid "" |
| 1615 |
"If B<CLONE_PARENT> is set, then the parent of the new child (as returned by " |
| 1616 |
"B<getppid>(2)) will be the same as that of the calling process." |
| 1617 |
msgstr "" |
| 1618 |
"إذا ضُبط B<CLONE_PARENT>، فإن أب الوليدة الجديدة (كما تعيده B<getppid>(2)) " |
| 1619 |
"سيكون هو نفسه أب العملية المستدعِية." |
| 1620 |
|
| 1621 |
#. type: Plain text |
| 1622 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1623 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1624 |
msgid "" |
| 1625 |
"If B<CLONE_PARENT> is not set, then (as with B<fork>(2)) the child's parent " |
| 1626 |
"is the calling process." |
| 1627 |
msgstr "" |
| 1628 |
"إذا لم يُضبط B<CLONE_PARENT>، فإن أب الوليدة (كما في B<fork>(2)) هو العملية " |
| 1629 |
"المستدعِية." |
| 1630 |
|
| 1631 |
#. type: Plain text |
| 1632 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1633 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1634 |
msgid "" |
| 1635 |
"Note that it is the parent process, as returned by B<getppid>(2), which is " |
| 1636 |
"signaled when the child terminates, so that if B<CLONE_PARENT> is set, then " |
| 1637 |
"the parent of the calling process, rather than the calling process itself, " |
| 1638 |
"is signaled." |
| 1639 |
msgstr "" |
| 1640 |
"لاحظ أن العملية الأب، كما تعيدها B<getppid>(2)، هي التي تتلقى إشارة عند " |
| 1641 |
"إنهاء الوليدة، بحيث إذا ضُبط B<CLONE_PARENT>، فإن أب العملية المستدعِية، وليس " |
| 1642 |
"العملية المستدعِية نفسها، هو من يتلقى الإشارة." |
| 1643 |
|
| 1644 |
#. type: Plain text |
| 1645 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1646 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1647 |
msgid "" |
| 1648 |
"The B<CLONE_PARENT> flag can't be used in clone calls by the global init " |
| 1649 |
"process (PID 1 in the initial PID namespace) and init processes in other " |
| 1650 |
"PID namespaces. This restriction prevents the creation of multi-rooted " |
| 1651 |
"process trees as well as the creation of unreapable zombies in the initial " |
| 1652 |
"PID namespace." |
| 1653 |
msgstr "" |
| 1654 |
"لا يمكن استخدام علم B<CLONE_PARENT> في استدعاءات الاستنساخ من قبل عملية " |
| 1655 |
"البدء العامة (PID 1 في فضاء أسماء PID الأولي) وعمليات البدء في فضاءات أسماء " |
| 1656 |
"PID الأخرى. يمنع هذا القيد إنشاء أشجار عمليات متعددة الجذور بالإضافة إلى منع " |
| 1657 |
"إنشاء زومبي لا يمكن حصادهم في فضاء أسماء PID الأولي." |
| 1658 |
|
| 1659 |
#. type: TP |
| 1660 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1661 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1662 |
#, no-wrap |
| 1663 |
msgid "B<CLONE_PARENT_SETTID> (since Linux 2.5.49)" |
| 1664 |
msgstr "B<CLONE_PARENT_SETTID> (منذ لينكس 2.5.49)" |
| 1665 |
|
| 1666 |
#. type: Plain text |
| 1667 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1668 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1669 |
msgid "" |
| 1670 |
"Store the child thread ID at the location pointed to by I<parent_tid> " |
| 1671 |
"(B<clone>()) or I<cl_args.parent_tid> (B<clone3>()) in the parent's " |
| 1672 |
"memory. (In Linux 2.5.32-2.5.48 there was a flag B<CLONE_SETTID> that did " |
| 1673 |
"this.) The store operation completes before the clone call returns control " |
| 1674 |
"to user space." |
| 1675 |
msgstr "" |
| 1676 |
"تخزين معرف خيط الوليدة في الموقع الذي يشير إليه I<parent_tid> (في " |
| 1677 |
"B<clone>()) أو I<cl_args.parent_tid> (في B<clone3>()) في ذاكرة الأب. (في " |
| 1678 |
"لينكس 2.5.32-2.5.48 كان هناك علم B<CLONE_SETTID> يقوم بذلك.) تكتمل عملية " |
| 1679 |
"التخزين قبل أن يعيد استدعاء الاستنساخ التحكم إلى مساحة المستخدم." |
| 1680 |
|
| 1681 |
#. type: TP |
| 1682 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1683 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1684 |
#, no-wrap |
| 1685 |
msgid "B<CLONE_PID> (Linux 2.0 to Linux 2.5.15)" |
| 1686 |
msgstr "B<CLONE_PID> (لينكس 2.0 إلى لينكس 2.5.15)" |
| 1687 |
|
| 1688 |
#. type: Plain text |
| 1689 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1690 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1691 |
msgid "" |
| 1692 |
"If B<CLONE_PID> is set, the child process is created with the same process " |
| 1693 |
"ID as the calling process. This is good for hacking the system, but " |
| 1694 |
"otherwise of not much use. From Linux 2.3.21 onward, this flag could be " |
| 1695 |
"specified only by the system boot process (PID 0). The flag disappeared " |
| 1696 |
"completely from the kernel sources in Linux 2.5.16. Subsequently, the " |
| 1697 |
"kernel silently ignored this bit if it was specified in the I<flags> mask. " |
| 1698 |
"Much later, the same bit was recycled for use as the B<CLONE_PIDFD> flag." |
| 1699 |
msgstr "" |
| 1700 |
"إذا ضُبط B<CLONE_PID>، تُنشأ العملية الوليدة بنفس معرف العملية للمستدعِية." |
| 1701 |
" هذا " |
| 1702 |
"مفيد لاختراق النظام، ولكنه غير مفيد لغير ذلك. من لينكس 2.3.21 فصاعدًا، أصبح " |
| 1703 |
"بالإمكان تحديد هذا العلم فقط بواسطة عملية تمهيد النظام (PID 0). اختفى العلم " |
| 1704 |
"تمامًا من مصادر النواة في لينكس 2.5.16. لاحقًا، تجاهلت النواة بصمت هذه البتة " |
| 1705 |
"إذا حُددت في قناع I<الأعلام>. وبعد فترة طويلة، أُعيد تدوير نفس البتة " |
| 1706 |
"لاستخدامها كعلم B<CLONE_PIDFD>." |
| 1707 |
|
| 1708 |
#. type: TP |
| 1709 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1710 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1711 |
#, no-wrap |
| 1712 |
msgid "B<CLONE_PIDFD> (since Linux 5.2)" |
| 1713 |
msgstr "B<CLONE_PIDFD> (منذ لينكس 5.2)" |
| 1714 |
|
| 1715 |
#. commit b3e5838252665ee4cfa76b82bdf1198dca81e5be |
| 1716 |
#. type: Plain text |
| 1717 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1718 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1719 |
msgid "" |
| 1720 |
"If this flag is specified, a PID file descriptor referring to the child " |
| 1721 |
"process is allocated and placed at a specified location in the parent's " |
| 1722 |
"memory. The close-on-exec flag is set on this new file descriptor. PID " |
| 1723 |
"file descriptors can be used for the purposes described in B<pidfd_open>(2)." |
| 1724 |
msgstr "" |
| 1725 |
"إذا حُدد هذا العلم، يُخصص واصف ملف PID يشير إلى العملية الوليدة ويُوضع في" |
| 1726 |
" موقع " |
| 1727 |
"محدد في ذاكرة الأب. يُضبط علم الإغلاق عند التنفيذ (close-on-exec) على واصف " |
| 1728 |
"الملف الجديد هذا. يمكن استخدام واصفات ملفات PID للأغراض الموضحة في " |
| 1729 |
"B<pidfd_open>(2)." |
| 1730 |
|
| 1731 |
#. type: Plain text |
| 1732 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1733 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1734 |
msgid "" |
| 1735 |
"When using B<clone3>(), the PID file descriptor is placed at the location " |
| 1736 |
"pointed to by I<cl_args.pidfd>." |
| 1737 |
msgstr "" |
| 1738 |
"عند استخدام B<clone3>()، يُوضع واصف ملف PID في الموقع الذي يشير إليه " |
| 1739 |
"I<cl_args.pidfd>." |
| 1740 |
|
| 1741 |
#. type: Plain text |
| 1742 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1743 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1744 |
msgid "" |
| 1745 |
"When using B<clone>(), the PID file descriptor is placed at the location " |
| 1746 |
"pointed to by I<parent_tid>. Since the I<parent_tid> argument is used to " |
| 1747 |
"return the PID file descriptor, B<CLONE_PIDFD> cannot be used with " |
| 1748 |
"B<CLONE_PARENT_SETTID> when calling B<clone>()." |
| 1749 |
msgstr "" |
| 1750 |
"عند استخدام B<clone>()، يُوضع واصف ملف PID في الموقع الذي يشير إليه " |
| 1751 |
"I<parent_tid>. وبما أن معامل I<parent_tid> يُستخدم لإعادة واصف ملف PID، فلا " |
| 1752 |
"يمكن استخدام B<CLONE_PIDFD> مع B<CLONE_PARENT_SETTID> عند استدعاء B<clone>()." |
| 1753 |
|
| 1754 |
#. commit 83b290c9e3b5d95891f43a4aeadf6071cbff25d3 |
| 1755 |
#. type: Plain text |
| 1756 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 1757 |
#: opensuse-tumbleweed |
| 1758 |
msgid "" |
| 1759 |
"If B<CLONE_PIDFD> is specified together with B<CLONE_THREAD>, the obtained " |
| 1760 |
"PID file descriptor refers to a specific thread, as opposed to a thread-" |
| 1761 |
"group leader if B<CLONE_THREAD> is not specified. This feature is available " |
| 1762 |
"since Linux 6.9." |
| 1763 |
msgstr "" |
| 1764 |
"إذا حُدد B<CLONE_PIDFD> مع B<CLONE_THREAD>، فإن واصف ملف PID الذي تم الحصول " |
| 1765 |
"عليه يشير إلى خيط معين، بدلاً من متصدر مجموعة الخيوط إذا لم يُحدد " |
| 1766 |
"B<CLONE_THREAD>. تتوفر هذه الميزة منذ لينكس 6.9." |
| 1767 |
|
| 1768 |
#. type: Plain text |
| 1769 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1770 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1771 |
msgid "" |
| 1772 |
"If the obsolete B<CLONE_DETACHED> flag is specified alongside B<CLONE_PIDFD> " |
| 1773 |
"when calling B<clone>(), an error is returned. An error also results if " |
| 1774 |
"B<CLONE_DETACHED> is specified when calling B<clone3>(). This error " |
| 1775 |
"behavior ensures that the bit corresponding to B<CLONE_DETACHED> can be " |
| 1776 |
"reused for further PID file descriptor features in the future." |
| 1777 |
msgstr "" |
| 1778 |
"إذا حُدد علم B<CLONE_DETACHED> المهمل بجانب B<CLONE_PIDFD> عند استدعاء " |
| 1779 |
"B<clone>()، فسيُعاد خطأ. وينتج خطأ أيضًا إذا حُدد B<CLONE_DETACHED> عند" |
| 1780 |
" استدعاء " |
| 1781 |
"B<clone3>(). يضمن سلوك الخطأ هذا إمكانية إعادة استخدام البتة المقابلة لـ " |
| 1782 |
"B<CLONE_DETACHED> لميزات واصف ملف PID الإضافية في المستقبل." |
| 1783 |
|
| 1784 |
#. type: TP |
| 1785 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1786 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1787 |
#, no-wrap |
| 1788 |
msgid "B<CLONE_PTRACE> (since Linux 2.2)" |
| 1789 |
msgstr "B<CLONE_PTRACE> (منذ لينكس 2.2)" |
| 1790 |
|
| 1791 |
#. type: Plain text |
| 1792 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1793 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1794 |
msgid "" |
| 1795 |
"If B<CLONE_PTRACE> is specified, and the calling process is being traced, " |
| 1796 |
"then trace the child also (see B<ptrace>(2))." |
| 1797 |
msgstr "" |
| 1798 |
"إذا حُدد B<CLONE_PTRACE>، وكانت العملية المستدعِية تخضع للتتبع، فسيتم تتبع " |
| 1799 |
"الوليدة أيضًا (راجع B<ptrace>(2))." |
| 1800 |
|
| 1801 |
#. type: TP |
| 1802 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1803 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1804 |
#, no-wrap |
| 1805 |
msgid "B<CLONE_SETTLS> (since Linux 2.5.32)" |
| 1806 |
msgstr "B<CLONE_SETTLS> (منذ لينكس 2.5.32)" |
| 1807 |
|
| 1808 |
#. type: Plain text |
| 1809 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1810 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1811 |
msgid "The TLS (Thread Local Storage) descriptor is set to I<tls>." |
| 1812 |
msgstr "يُضبط واصف TLS (تخزين الخيط المحلي) على I<tls>." |
| 1813 |
|
| 1814 |
#. type: Plain text |
| 1815 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1816 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1817 |
#| msgid "" |
| 1818 |
#| "The interpretation of I<tls> and the resulting effect is architecture " |
| 1819 |
#| "dependent. On x86, I<tls> is interpreted as a I<struct user_desc\\~*> " |
| 1820 |
#| "(see B<set_thread_area>(2)). On x86-64 it is the new value to be set for " |
| 1821 |
#| "the %fs base register (see the B<ARCH_SET_FS> argument to " |
| 1822 |
#| "B<arch_prctl>(2)). On architectures with a dedicated TLS register, it is " |
| 1823 |
#| "the new value of that register." |
| 1824 |
msgid "" |
| 1825 |
"The interpretation of I<tls> and the resulting effect is architecture " |
| 1826 |
"dependent. On x86, I<tls> is interpreted as a I<struct user_desc\\ *> (see " |
| 1827 |
"B<set_thread_area>(2)). On x86-64 it is the new value to be set for the %fs " |
| 1828 |
"base register (see the B<ARCH_SET_FS> argument to B<arch_prctl>(2)). On " |
| 1829 |
"architectures with a dedicated TLS register, it is the new value of that " |
| 1830 |
"register." |
| 1831 |
msgstr "" |
| 1832 |
"تفسير I<tls> والأثر الناتج يعتمد على المعمارية. في x86، يُفسر I<tls> على أنه " |
| 1833 |
"I<struct user_desc\\ *> (راجع B<set_thread_area>(2)). في x86-64 هي القيمة " |
| 1834 |
"الجديدة التي ستُضبط لسجل القاعدة %fs (راجع معامل B<ARCH_SET_FS> لـ " |
| 1835 |
"B<arch_prctl>(2)). في المعماريات التي تحتوي على سجل TLS مخصص، فهي القيمة " |
| 1836 |
"الجديدة لذلك السجل." |
| 1837 |
|
| 1838 |
#. type: Plain text |
| 1839 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1840 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1841 |
msgid "" |
| 1842 |
"Use of this flag requires detailed knowledge and generally it should not be " |
| 1843 |
"used except in libraries implementing threading." |
| 1844 |
msgstr "" |
| 1845 |
"يتطلب استخدام هذا العلم معرفة مفصلة وعمومًا لا ينبغي استخدامه إلا في المكتبات " |
| 1846 |
"التي تنفذ تعدد الخيوط." |
| 1847 |
|
| 1848 |
#. type: TP |
| 1849 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1850 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1851 |
#, no-wrap |
| 1852 |
msgid "B<CLONE_SIGHAND> (since Linux 2.0)" |
| 1853 |
msgstr "B<CLONE_SIGHAND> (منذ لينكس 2.0)" |
| 1854 |
|
| 1855 |
#. type: Plain text |
| 1856 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1857 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1858 |
msgid "" |
| 1859 |
"If B<CLONE_SIGHAND> is set, the calling process and the child process share " |
| 1860 |
"the same table of signal handlers. If the calling process or child process " |
| 1861 |
"calls B<sigaction>(2) to change the behavior associated with a signal, the " |
| 1862 |
"behavior is changed in the other process as well. However, the calling " |
| 1863 |
"process and child processes still have distinct signal masks and sets of " |
| 1864 |
"pending signals. So, one of them may block or unblock signals using " |
| 1865 |
"B<sigprocmask>(2) without affecting the other process." |
| 1866 |
msgstr "" |
| 1867 |
"إذا ضُبط B<CLONE_SIGHAND>، تتشارك العملية المستدعِية والوليدة في نفس جدول " |
| 1868 |
"معالجي الإشارات. إذا استدعت العملية المستدعِية أو الوليدة B<sigaction>(2) " |
| 1869 |
"لتغيير السلوك المرتبط بإشارة ما، يتغير السلوك في العملية الأخرى أيضًا. ومع " |
| 1870 |
"ذلك، لا يزال للعملية المستدعِية والوليدة أقنعة إشارات ومجموعات إشارات معلقة " |
| 1871 |
"متميزة. لذا، يمكن لإحداهما حجب أو إلغاء حجب الإشارات باستخدام " |
| 1872 |
"B<sigprocmask>(2) دون التأثير على العملية الأخرى." |
| 1873 |
|
| 1874 |
#. type: Plain text |
| 1875 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1876 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1877 |
msgid "" |
| 1878 |
"If B<CLONE_SIGHAND> is not set, the child process inherits a copy of the " |
| 1879 |
"signal handlers of the calling process at the time of the clone call. Calls " |
| 1880 |
"to B<sigaction>(2) performed later by one of the processes have no effect " |
| 1881 |
"on the other process." |
| 1882 |
msgstr "" |
| 1883 |
"إذا لم يُضبط B<CLONE_SIGHAND>، ترث العملية الوليدة نسخة من معالجي الإشارات " |
| 1884 |
"للعملية المستدعِية وقت استدعاء الاستنساخ. الاستدعاءات لـ B<sigaction>(2) التي " |
| 1885 |
"تُجرى لاحقًا بواسطة إحدى العمليات ليس لها أي تأثير على العملية الأخرى." |
| 1886 |
|
| 1887 |
#. Precisely: Linux 2.6.0-test6 |
| 1888 |
#. type: Plain text |
| 1889 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1890 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1891 |
msgid "" |
| 1892 |
"Since Linux 2.6.0, the I<flags> mask must also include B<CLONE_VM> if " |
| 1893 |
"B<CLONE_SIGHAND> is specified." |
| 1894 |
msgstr "" |
| 1895 |
"منذ لينكس 2.6.0، يجب أن يتضمن قناع I<flags> أيضًا B<CLONE_VM> إذا حُدد " |
| 1896 |
"B<CLONE_SIGHAND>." |
| 1897 |
|
| 1898 |
#. type: TP |
| 1899 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1900 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1901 |
#, no-wrap |
| 1902 |
msgid "B<CLONE_STOPPED> (since Linux 2.6.0)" |
| 1903 |
msgstr "B<CLONE_STOPPED> (منذ لينكس 2.6.0)" |
| 1904 |
|
| 1905 |
#. Precisely: Linux 2.6.0-test2 |
| 1906 |
#. type: Plain text |
| 1907 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1908 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1909 |
msgid "" |
| 1910 |
"If B<CLONE_STOPPED> is set, then the child is initially stopped (as though " |
| 1911 |
"it was sent a B<SIGSTOP> signal), and must be resumed by sending it a " |
| 1912 |
"B<SIGCONT> signal." |
| 1913 |
msgstr "" |
| 1914 |
"إذا ضُبط B<CLONE_STOPPED>، فسيتم إيقاف الوليدة في البداية (كما لو أُرسلت" |
| 1915 |
" إليها " |
| 1916 |
"إشارة B<SIGSTOP>)، ويجب استئنافها عن طريق إرسال إشارة B<SIGCONT> إليها." |
| 1917 |
|
| 1918 |
#. glibc 2.8 removed this defn from bits/sched.h |
| 1919 |
#. type: Plain text |
| 1920 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1921 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1922 |
msgid "" |
| 1923 |
"This flag was I<deprecated> from Linux 2.6.25 onward, and was I<removed> " |
| 1924 |
"altogether in Linux 2.6.38. Since then, the kernel silently ignores it " |
| 1925 |
"without error. Starting with Linux 4.6, the same bit was reused for the " |
| 1926 |
"B<CLONE_NEWCGROUP> flag." |
| 1927 |
msgstr "" |
| 1928 |
"I<أُهمل> هذا العلم منذ لينكس 2.6.25 فصاعدًا، وI<أُزيل> تمامًا في لينكس" |
| 1929 |
" 2.6.38. " |
| 1930 |
"ومنذ ذلك الحين، تتجاهله النواة بصمت دون خطأ. بدءًا من لينكس 4.6، أُعيد تدوير " |
| 1931 |
"نفس البتة لعلم B<CLONE_NEWCGROUP>." |
| 1932 |
|
| 1933 |
#. type: TP |
| 1934 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1935 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1936 |
#, no-wrap |
| 1937 |
msgid "B<CLONE_SYSVSEM> (since Linux 2.5.10)" |
| 1938 |
msgstr "B<CLONE_SYSVSEM> (منذ لينكس 2.5.10)" |
| 1939 |
|
| 1940 |
#. type: Plain text |
| 1941 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1942 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1943 |
msgid "" |
| 1944 |
"If B<CLONE_SYSVSEM> is set, then the child and the calling process share a " |
| 1945 |
"single list of System V semaphore adjustment (I<semadj>) values (see " |
| 1946 |
"B<semop>(2)). In this case, the shared list accumulates I<semadj> values " |
| 1947 |
"across all processes sharing the list, and semaphore adjustments are " |
| 1948 |
"performed only when the last process that is sharing the list terminates (or " |
| 1949 |
"ceases sharing the list using B<unshare>(2)). If this flag is not set, then " |
| 1950 |
"the child has a separate I<semadj> list that is initially empty." |
| 1951 |
msgstr "" |
| 1952 |
"إذا ضُبط B<CLONE_SYSVSEM>، تتشارك الوليدة والعملية المستدعِية في قائمة واحدة " |
| 1953 |
"لقيم تعديل سيمافور System V (تُعرف بـ I<semadj>) (راجع B<semop>(2)). في هذه " |
| 1954 |
"الحالة، تراكم القائمة المشتركة قيم I<semadj> عبر جميع العمليات التي تتشارك " |
| 1955 |
"القائمة، وتُجرى تعديلات السيمافور فقط عندما تنتهي آخر عملية تشارك القائمة (أو " |
| 1956 |
"تتوقف عن مشاركتها باستخدام B<unshare>(2)). إذا لم يُضبط هذا العلم، يكون " |
| 1957 |
"للوليدة قائمة I<semadj> منفصلة تكون فارغة في البداية." |
| 1958 |
|
| 1959 |
#. type: TP |
| 1960 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1961 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1962 |
#, no-wrap |
| 1963 |
msgid "B<CLONE_THREAD> (since Linux 2.4.0)" |
| 1964 |
msgstr "B<CLONE_THREAD> (منذ لينكس 2.4.0)" |
| 1965 |
|
| 1966 |
#. Precisely: Linux 2.6.0-test8 |
| 1967 |
#. type: Plain text |
| 1968 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1969 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1970 |
msgid "" |
| 1971 |
"If B<CLONE_THREAD> is set, the child is placed in the same thread group as " |
| 1972 |
"the calling process. To make the remainder of the discussion of " |
| 1973 |
"B<CLONE_THREAD> more readable, the term \"thread\" is used to refer to the " |
| 1974 |
"processes within a thread group." |
| 1975 |
msgstr "" |
| 1976 |
"إذا ضُبط B<CLONE_THREAD>، تُوضع الوليدة في نفس مجموعة الخيوط التي تتبعها " |
| 1977 |
"العملية المستدعِية. ولجعل ما تبقى من مناقشة B<CLONE_THREAD> أكثر قابلية " |
| 1978 |
"للقراءة، استُخدم مصطلح \"خيط\" للإشارة إلى العمليات داخل مجموعة الخيوط." |
| 1979 |
|
| 1980 |
#. type: Plain text |
| 1981 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1982 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1983 |
msgid "" |
| 1984 |
"Thread groups were a feature added in Linux 2.4 to support the POSIX threads " |
| 1985 |
"notion of a set of threads that share a single PID. Internally, this shared " |
| 1986 |
"PID is the so-called thread group identifier (TGID) for the thread group. " |
| 1987 |
"Since Linux 2.4, calls to B<getpid>(2) return the TGID of the caller." |
| 1988 |
msgstr "" |
| 1989 |
"كانت مجموعات الخيوط ميزة أضيفت في لينكس 2.4 لدعم مفهوم خيوط POSIX لمجموعة من " |
| 1990 |
"الخيوط التي تتشارك معرف عملية (PID) واحد. داخليًا، هذا المعرف المشترك هو ما " |
| 1991 |
"يسمى بمعرف مجموعة الخيوط (TGID). منذ لينكس 2.4، تعيد الاستدعاءات لـ " |
| 1992 |
"B<getpid>(2) معرف TGID للمستدعِي." |
| 1993 |
|
| 1994 |
#. type: Plain text |
| 1995 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1996 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1997 |
msgid "" |
| 1998 |
"The threads within a group can be distinguished by their (system-wide) " |
| 1999 |
"unique thread IDs (TID). A new thread's TID is available as the function " |
| 2000 |
"result returned to the caller, and a thread can obtain its own TID using " |
| 2001 |
"B<gettid>(2)." |
| 2002 |
msgstr "" |
| 2003 |
"يمكن تمييز الخيوط داخل المجموعة من خلال معرفات الخيوط (TID) الفريدة (على " |
| 2004 |
"مستوى النظام). يتوفر معرف TID للخيط الجديد كنتيجة دالة تعاد للمستدعِي، ويمكن " |
| 2005 |
"للخيط الحصول على معرف TID الخاص به باستخدام B<gettid>(2)." |
| 2006 |
|
| 2007 |
#. type: Plain text |
| 2008 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2009 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2010 |
msgid "" |
| 2011 |
"When a clone call is made without specifying B<CLONE_THREAD>, then the " |
| 2012 |
"resulting thread is placed in a new thread group whose TGID is the same as " |
| 2013 |
"the thread's TID. This thread is the I<leader> of the new thread group." |
| 2014 |
msgstr "" |
| 2015 |
"عند إجراء استدعاء استنساخ بدون تحديد B<CLONE_THREAD>، يُوضع الخيط الناتج في " |
| 2016 |
"مجموعة خيوط جديدة يكون معرف TGID الخاص بها هو نفسه معرف TID للخيط. هذا الخيط " |
| 2017 |
"هو I<متصدر> مجموعة الخيوط الجديدة." |
| 2018 |
|
| 2019 |
#. type: Plain text |
| 2020 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2021 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2022 |
msgid "" |
| 2023 |
"A new thread created with B<CLONE_THREAD> has the same parent process as the " |
| 2024 |
"process that made the clone call (i.e., like B<CLONE_PARENT>), so that calls " |
| 2025 |
"to B<getppid>(2) return the same value for all of the threads in a thread " |
| 2026 |
"group. When a B<CLONE_THREAD> thread terminates, the thread that created it " |
| 2027 |
"is not sent a B<SIGCHLD> (or other termination) signal; nor can the status " |
| 2028 |
"of such a thread be obtained using B<wait>(2). (The thread is said to be " |
| 2029 |
"I<detached>.)" |
| 2030 |
msgstr "" |
| 2031 |
"الخيط الجديد المنشأ باستخدام B<CLONE_THREAD> له نفس العملية الأب للعملية " |
| 2032 |
"التي أجرت استدعاء الاستنساخ (أي، مثل B<CLONE_PARENT>)، بحيث تعيد الاستدعاءات " |
| 2033 |
"لـ B<getppid>(2) نفس القيمة لجميع الخيوط في مجموعة خيوط واحدة. عندما ينتهي " |
| 2034 |
"خيط B<CLONE_THREAD>، لا تُرسل للخيط الذي أنشأه إشارة B<SIGCHLD> (أو أي إشارة " |
| 2035 |
"إنهاء أخرى)؛ ولا يمكن الحصول على حالة مثل هذا الخيط باستخدام B<wait>(2). " |
| 2036 |
"(يُقال عن الخيط إنه I<منفصل>)." |
| 2037 |
|
| 2038 |
#. type: Plain text |
| 2039 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2040 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2041 |
msgid "" |
| 2042 |
"After all of the threads in a thread group terminate the parent process of " |
| 2043 |
"the thread group is sent a B<SIGCHLD> (or other termination) signal." |
| 2044 |
msgstr "" |
| 2045 |
"بعد انتهاء جميع الخيوط في مجموعة الخيوط، تُرسل للعملية الأب لمجموعة الخيوط " |
| 2046 |
"إشارة B<SIGCHLD> (أو إشارة إنهاء أخرى)." |
| 2047 |
|
| 2048 |
#. type: Plain text |
| 2049 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2050 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2051 |
msgid "" |
| 2052 |
"If any of the threads in a thread group performs an B<execve>(2), then all " |
| 2053 |
"threads other than the thread group leader are terminated, and the new " |
| 2054 |
"program is executed in the thread group leader." |
| 2055 |
msgstr "" |
| 2056 |
"إذا قام أي من الخيوط في مجموعة خيوط بتنفيذ B<execve>(2)، فسيتم إنهاء جميع " |
| 2057 |
"الخيوط الأخرى باستثناء متصدر مجموعة الخيوط، ويُنفذ البرنامج الجديد في متصدر " |
| 2058 |
"مجموعة الخيوط." |
| 2059 |
|
| 2060 |
#. type: Plain text |
| 2061 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2062 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2063 |
msgid "" |
| 2064 |
"If one of the threads in a thread group creates a child using B<fork>(2), " |
| 2065 |
"then any thread in the group can B<wait>(2) for that child." |
| 2066 |
msgstr "" |
| 2067 |
"إذا أنشأ أحد الخيوط في مجموعة خيوط وليدة باستخدام B<fork>(2)، فيمكن لأي خيط " |
| 2068 |
"في المجموعة انتظار (B<wait>(2)) تلك الوليدة." |
| 2069 |
|
| 2070 |
#. Precisely: Linux 2.6.0-test6 |
| 2071 |
#. type: Plain text |
| 2072 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2073 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2074 |
msgid "" |
| 2075 |
"Since Linux 2.5.35, the I<flags> mask must also include B<CLONE_SIGHAND> if " |
| 2076 |
"B<CLONE_THREAD> is specified (and note that, since Linux 2.6.0, " |
| 2077 |
"B<CLONE_SIGHAND> also requires B<CLONE_VM> to be included)." |
| 2078 |
msgstr "" |
| 2079 |
"منذ لينكس 2.5.35، يجب أن يتضمن قناع I<flags> أيضًا B<CLONE_SIGHAND> إذا حُدد " |
| 2080 |
"B<CLONE_THREAD> (ولاحظ أنه منذ لينكس 2.6.0، يتطلب B<CLONE_SIGHAND> أيضًا " |
| 2081 |
"تضمين B<CLONE_VM>)." |
| 2082 |
|
| 2083 |
#. type: Plain text |
| 2084 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2085 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2086 |
msgid "" |
| 2087 |
"Signal dispositions and actions are process-wide: if an unhandled signal is " |
| 2088 |
"delivered to a thread, then it will affect (terminate, stop, continue, be " |
| 2089 |
"ignored in) all members of the thread group." |
| 2090 |
msgstr "" |
| 2091 |
"ترتيبات الإشارات وإجراءاتها تكون على مستوى العملية: إذا سُلّمت إشارة غير " |
| 2092 |
"معالجة إلى خيط ما، فإنها ستؤثر على (تنهي، توقف، تواصل، تُتجاهل في) جميع أعضاء " |
| 2093 |
"مجموعة الخيوط." |
| 2094 |
|
| 2095 |
#. type: Plain text |
| 2096 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2097 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2098 |
msgid "Each thread has its own signal mask, as set by B<sigprocmask>(2)." |
| 2099 |
msgstr "لكل خيط قناع إشارات خاص به، كما يُضبط بواسطة B<sigprocmask>(2)." |
| 2100 |
|
| 2101 |
#. type: Plain text |
| 2102 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2103 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2104 |
msgid "" |
| 2105 |
"A signal may be process-directed or thread-directed. A process-directed " |
| 2106 |
"signal is targeted at a thread group (i.e., a TGID), and is delivered to an " |
| 2107 |
"arbitrarily selected thread from among those that are not blocking the " |
| 2108 |
"signal. A signal may be process-directed because it was generated by the " |
| 2109 |
"kernel for reasons other than a hardware exception, or because it was sent " |
| 2110 |
"using B<kill>(2) or B<sigqueue>(3). A thread-directed signal is targeted " |
| 2111 |
"at (i.e., delivered to) a specific thread. A signal may be thread directed " |
| 2112 |
"because it was sent using B<tgkill>(2) or B<pthread_sigqueue>(3), or " |
| 2113 |
"because the thread executed a machine language instruction that triggered a " |
| 2114 |
"hardware exception (e.g., invalid memory access triggering B<SIGSEGV> or a " |
| 2115 |
"floating-point exception triggering B<SIGFPE>)." |
| 2116 |
msgstr "" |
| 2117 |
"قد تكون الإشارة موجهة للعملية أو موجهة للخيط. تستهدف الإشارة الموجهة للعملية " |
| 2118 |
"مجموعة خيوط (أي معرف TGID)، وتُسلّم إلى خيط مختار عشوائيًا من بين تلك التي لا " |
| 2119 |
"تحجب الإشارة. قد تكون الإشارة موجهة للعملية لأنها نُتجت بواسطة النواة لأسباب " |
| 2120 |
"أخرى غير استثناء الأجهزة، أو لأنها أُرسلت باستخدام B<kill>(2) أو " |
| 2121 |
"B<sigqueue>(3). تستهدف الإشارة الموجهة للخيط (أي تُسلّم إلى) خيطًا معينًا. قد " |
| 2122 |
"تكون الإشارة موجهة للخيط لأنها أُرسلت باستخدام B<tgkill>(2) أو " |
| 2123 |
"B<pthread_sigqueue>(3)، أو لأن الخيط نفذ تعليمة بلغة الآلة أدت إلى إطلاق " |
| 2124 |
"استثناء في الأجهزة (على سبيل المثال، وصول غير صالح للذاكرة أطلق B<SIGSEGV> " |
| 2125 |
"أو استثناء نقطة عائمة أطلق B<SIGFPE>)." |
| 2126 |
|
| 2127 |
#. type: Plain text |
| 2128 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2129 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2130 |
msgid "" |
| 2131 |
"A call to B<sigpending>(2) returns a signal set that is the union of the " |
| 2132 |
"pending process-directed signals and the signals that are pending for the " |
| 2133 |
"calling thread." |
| 2134 |
msgstr "" |
| 2135 |
"يعيد استدعاء B<sigpending>(2) مجموعة إشارات تمثل اتحاد الإشارات المعلقة " |
| 2136 |
"الموجهة للعملية والإشارات المعلقة للخيط المستدعِي." |
| 2137 |
|
| 2138 |
#. type: Plain text |
| 2139 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2140 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2141 |
msgid "" |
| 2142 |
"If a process-directed signal is delivered to a thread group, and the thread " |
| 2143 |
"group has installed a handler for the signal, then the handler is invoked in " |
| 2144 |
"exactly one, arbitrarily selected member of the thread group that has not " |
| 2145 |
"blocked the signal. If multiple threads in a group are waiting to accept " |
| 2146 |
"the same signal using B<sigwaitinfo>(2), the kernel will arbitrarily select " |
| 2147 |
"one of these threads to receive the signal." |
| 2148 |
msgstr "" |
| 2149 |
"إذا سُلّمت إشارة موجهة للعملية إلى مجموعة خيوط، وقامت مجموعة الخيوط بتثبيت " |
| 2150 |
"معالج للإشارة، فسيتم استدعاء المعالج في عضو واحد بالضبط، يُختار عشوائيًا من " |
| 2151 |
"أعضاء مجموعة الخيوط الذين لم يحجبوا الإشارة. إذا كانت خيوط متعددة في مجموعة " |
| 2152 |
"ما تنتظر قبول نفس الإشارة باستخدام B<sigwaitinfo>(2)، فستختار النواة عشوائيًا " |
| 2153 |
"أحد هذه الخيوط لتلقي الإشارة." |
| 2154 |
|
| 2155 |
#. type: TP |
| 2156 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2157 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2158 |
#, no-wrap |
| 2159 |
msgid "B<CLONE_UNTRACED> (since Linux 2.5.46)" |
| 2160 |
msgstr "B<CLONE_UNTRACED> (منذ لينكس 2.5.46)" |
| 2161 |
|
| 2162 |
#. type: Plain text |
| 2163 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2164 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2165 |
msgid "" |
| 2166 |
"If B<CLONE_UNTRACED> is specified, then a tracing process cannot force " |
| 2167 |
"B<CLONE_PTRACE> on this child process." |
| 2168 |
msgstr "" |
| 2169 |
"إذا حُدد B<CLONE_UNTRACED>، فلا يمكن لعملية التتبع فرض B<CLONE_PTRACE> على " |
| 2170 |
"هذه العملية الوليدة." |
| 2171 |
|
| 2172 |
#. type: TP |
| 2173 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2174 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2175 |
#, no-wrap |
| 2176 |
msgid "B<CLONE_VFORK> (since Linux 2.2)" |
| 2177 |
msgstr "B<CLONE_VFORK> (منذ لينكس 2.2)" |
| 2178 |
|
| 2179 |
#. type: Plain text |
| 2180 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2181 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2182 |
msgid "" |
| 2183 |
"If B<CLONE_VFORK> is set, the execution of the calling process is suspended " |
| 2184 |
"until the child releases its virtual memory resources via a call to " |
| 2185 |
"B<execve>(2) or B<_exit>(2) (as with B<vfork>(2))." |
| 2186 |
msgstr "" |
| 2187 |
"إذا ضُبط B<CLONE_VFORK>، يُعلق تنفيذ العملية المستدعِية حتى تحرر الوليدة" |
| 2188 |
" موارد " |
| 2189 |
"ذاكرتها الافتراضية عبر استدعاء B<execve>(2) أو B<_exit>(2) (كما هو الحال مع " |
| 2190 |
"B<vfork>(2))." |
| 2191 |
|
| 2192 |
#. type: Plain text |
| 2193 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2194 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2195 |
msgid "" |
| 2196 |
"If B<CLONE_VFORK> is not set, then both the calling process and the child " |
| 2197 |
"are schedulable after the call, and an application should not rely on " |
| 2198 |
"execution occurring in any particular order." |
| 2199 |
msgstr "" |
| 2200 |
"إذا لم يُضبط B<CLONE_VFORK>، فستكون كل من العملية المستدعِية والوليدة قابلتين " |
| 2201 |
"للجدولة بعد الاستدعاء، ولا ينبغي للتطبيق الاعتماد على حدوث التنفيذ بأي ترتيب " |
| 2202 |
"معين." |
| 2203 |
|
| 2204 |
#. type: TP |
| 2205 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2206 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2207 |
#, no-wrap |
| 2208 |
msgid "B<CLONE_VM> (since Linux 2.0)" |
| 2209 |
msgstr "B<CLONE_VM> (منذ لينكس 2.0)" |
| 2210 |
|
| 2211 |
#. type: Plain text |
| 2212 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2213 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2214 |
msgid "" |
| 2215 |
"If B<CLONE_VM> is set, the calling process and the child process run in the " |
| 2216 |
"same memory space. In particular, memory writes performed by the calling " |
| 2217 |
"process or by the child process are also visible in the other process. " |
| 2218 |
"Moreover, any memory mapping or unmapping performed with B<mmap>(2) or " |
| 2219 |
"B<munmap>(2) by the child or calling process also affects the other process." |
| 2220 |
msgstr "" |
| 2221 |
"إذا ضُبطت B<CLONE_VM>، فستعمل العملية المستدعية والعملية الوليدة في مساحة " |
| 2222 |
"الذاكرة ذاتها. وعلى وجه الخصوص، تكون عمليات كتابة الذاكرة التي تجريها " |
| 2223 |
"العملية المستدعية أو العملية الوليدة مرئية أيضًا في العملية الأخرى. علاوة على " |
| 2224 |
"ذلك، فإن أي وصل أو فصل لذاكرة يُجرى باستخدام B<mmap>(2) أو B<munmap>(2) " |
| 2225 |
"بواسطة العملية الوليدة أو المستدعية يؤثر أيضًا في العملية الأخرى." |
| 2226 |
|
| 2227 |
#. type: Plain text |
| 2228 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2229 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2230 |
msgid "" |
| 2231 |
"If B<CLONE_VM> is not set, the child process runs in a separate copy of the " |
| 2232 |
"memory space of the calling process at the time of the clone call. Memory " |
| 2233 |
"writes or file mappings/unmappings performed by one of the processes do not " |
| 2234 |
"affect the other, as with B<fork>(2)." |
| 2235 |
msgstr "" |
| 2236 |
"إذا لم تُضبط B<CLONE_VM>، فستعمل العملية الوليدة في نسخة منفصلة من مساحة " |
| 2237 |
"ذاكرة العملية المستدعية وقت استدعاء الاستنساخ. ولا تؤثر عمليات كتابة الذاكرة " |
| 2238 |
"أو وصل/فصل الملفات التي تجريها إحدى العمليتين في الأخرى، تمامًا كما في " |
| 2239 |
"B<fork>(2)." |
| 2240 |
|
| 2241 |
#. type: Plain text |
| 2242 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2243 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2244 |
msgid "" |
| 2245 |
"If the B<CLONE_VM> flag is specified and the B<CLONE_VFORK> flag is not " |
| 2246 |
"specified, then any alternate signal stack that was established by " |
| 2247 |
"B<sigaltstack>(2) is cleared in the child process." |
| 2248 |
msgstr "" |
| 2249 |
"إذا حُددت علامة B<CLONE_VM> ولم تُحدد علامة B<CLONE_VFORK>، فسيُمسح أي كدس " |
| 2250 |
"إشارات بديل أُنشئ بواسطة B<sigaltstack>(2) في العملية الوليدة." |
| 2251 |
|
| 2252 |
#. type: SH |
| 2253 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2254 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2255 |
#, no-wrap |
| 2256 |
msgid "RETURN VALUE" |
| 2257 |
msgstr "قيمة الإرجاع" |
| 2258 |
|
| 2259 |
#. gettid(2) returns current->pid; |
| 2260 |
#. getpid(2) returns current->tgid; |
| 2261 |
#. type: Plain text |
| 2262 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2263 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2264 |
msgid "" |
| 2265 |
"On success, the thread ID of the child process is returned in the caller's " |
| 2266 |
"thread of execution. On failure, -1 is returned in the caller's context, no " |
| 2267 |
"child process is created, and I<errno> is set to indicate the error." |
| 2268 |
msgstr "" |
| 2269 |
"عند النجاح، يُعاد معرف الخيط (thread ID) للعملية الوليدة في خيط التنفيذ الخاص " |
| 2270 |
"بالمستدعِي. وفي حالة الفشل، يُعاد -1 في سياق المستدعِي، ولا تُنشأ أي عملية " |
| 2271 |
"وليدة، وتُضبط I<errno> للإشارة إلى الخطأ." |
| 2272 |
|
| 2273 |
#. type: SH |
| 2274 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2275 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2276 |
#, no-wrap |
| 2277 |
msgid "ERRORS" |
| 2278 |
msgstr "الأخطاء" |
| 2279 |
|
| 2280 |
#. type: TP |
| 2281 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 2282 |
#: opensuse-tumbleweed |
| 2283 |
#, no-wrap |
| 2284 |
msgid "B<E2BIG> (B<clone3>() only)" |
| 2285 |
msgstr "B<E2BIG> (في B<clone3>() فقط)" |
| 2286 |
|
| 2287 |
#. type: Plain text |
| 2288 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 2289 |
#: opensuse-tumbleweed |
| 2290 |
msgid "" |
| 2291 |
"The kernel does not support some functionality requested in this " |
| 2292 |
"B<clone3>() call: The size argument is larger than what the kernel " |
| 2293 |
"supports, and there are non-zero values in the struct after the kernel-" |
| 2294 |
"supported size." |
| 2295 |
msgstr "" |
| 2296 |
"النواة لا تدعم بعض الوظائف المطلوبة في استدعاء B<clone3>() هذا: معطى الحجم " |
| 2297 |
"أكبر مما تدعمه النواة، وتوجد قيم غير صفرية في البنية (struct) بعد الحجم الذي " |
| 2298 |
"تدعمه النواة." |
| 2299 |
|
| 2300 |
#. type: Plain text |
| 2301 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 2302 |
#: opensuse-tumbleweed |
| 2303 |
msgid "The size argument is larger than the page size." |
| 2304 |
msgstr "معطى الحجم أكبر من حجم الصفحة." |
| 2305 |
|
| 2306 |
#. type: TP |
| 2307 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2308 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2309 |
#, no-wrap |
| 2310 |
msgid "B<EACCES> (B<clone3>() only)" |
| 2311 |
msgstr "B<EACCES> (في B<clone3>() فقط)" |
| 2312 |
|
| 2313 |
#. type: Plain text |
| 2314 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2315 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2316 |
msgid "" |
| 2317 |
"B<CLONE_INTO_CGROUP> was specified in I<cl_args.flags>, but the restrictions " |
| 2318 |
"(described in B<cgroups>(7)) on placing the child process into the version " |
| 2319 |
"2 cgroup referred to by I<cl_args.cgroup> are not met." |
| 2320 |
msgstr "" |
| 2321 |
"حُددت B<CLONE_INTO_CGROUP> في I<cl_args.flags>، ولكن القيود (الموضحة في " |
| 2322 |
"B<cgroups>(7)) المفروضة على وضع العملية الوليدة في الإصدار 2 من مجموعات " |
| 2323 |
"التحكم (cgroup) المشار إليها بواسطة I<cl_args.cgroup> لم تُستوفَ." |
| 2324 |
|
| 2325 |
#. type: TP |
| 2326 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2327 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2328 |
#, no-wrap |
| 2329 |
msgid "B<EAGAIN>" |
| 2330 |
msgstr "B<EAGAIN>" |
| 2331 |
|
| 2332 |
#. type: Plain text |
| 2333 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2334 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2335 |
msgid "Too many processes are already running; see B<fork>(2)." |
| 2336 |
msgstr "هناك عدد كبير جدًا من العمليات قيد التشغيل بالفعل؛ انظر B<fork>(2)." |
| 2337 |
|
| 2338 |
#. type: TP |
| 2339 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2340 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2341 |
#, no-wrap |
| 2342 |
msgid "B<EBUSY> (B<clone3>() only)" |
| 2343 |
msgstr "B<EBUSY> (في B<clone3>() فقط)" |
| 2344 |
|
| 2345 |
#. type: Plain text |
| 2346 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2347 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2348 |
msgid "" |
| 2349 |
"B<CLONE_INTO_CGROUP> was specified in I<cl_args.flags>, but the file " |
| 2350 |
"descriptor specified in I<cl_args.cgroup> refers to a version 2 cgroup in " |
| 2351 |
"which a domain controller is enabled." |
| 2352 |
msgstr "" |
| 2353 |
"حُددت B<CLONE_INTO_CGROUP> في I<cl_args.flags>، لكن واصف الملف المحدد في " |
| 2354 |
"I<cl_args.cgroup> يشير إلى مجموعة تحكم (cgroup) من الإصدار 2 تملك متحكم نطاق " |
| 2355 |
"(domain controller) مُفعّلًا." |
| 2356 |
|
| 2357 |
#. type: TP |
| 2358 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2359 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2360 |
#, no-wrap |
| 2361 |
msgid "B<EEXIST> (B<clone3>() only)" |
| 2362 |
msgstr "B<EEXIST> (في B<clone3>() فقط)" |
| 2363 |
|
| 2364 |
#. type: Plain text |
| 2365 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2366 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2367 |
msgid "" |
| 2368 |
"One (or more) of the PIDs specified in I<set_tid> already exists in the " |
| 2369 |
"corresponding PID namespace." |
| 2370 |
msgstr "" |
| 2371 |
"واحد (أو أكثر) من معرفات العمليات (PIDs) المحددة في I<set_tid> موجود بالفعل " |
| 2372 |
"في مساحة أسماء PID المقابلة." |
| 2373 |
|
| 2374 |
#. type: TP |
| 2375 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2376 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2377 |
#, no-wrap |
| 2378 |
msgid "B<EINVAL>" |
| 2379 |
msgstr "B<EINVAL>" |
| 2380 |
|
| 2381 |
#. type: Plain text |
| 2382 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2383 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2384 |
msgid "" |
| 2385 |
"Both B<CLONE_SIGHAND> and B<CLONE_CLEAR_SIGHAND> were specified in the " |
| 2386 |
"I<flags> mask." |
| 2387 |
msgstr "كلا B<CLONE_SIGHAND> و B<CLONE_CLEAR_SIGHAND> حُددا في قناع I<flags>." |
| 2388 |
|
| 2389 |
#. Precisely: Linux 2.6.0-test6 |
| 2390 |
#. type: Plain text |
| 2391 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2392 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2393 |
msgid "" |
| 2394 |
"B<CLONE_SIGHAND> was specified in the I<flags> mask, but B<CLONE_VM> was " |
| 2395 |
"not. (Since Linux 2.6.0.)" |
| 2396 |
msgstr "" |
| 2397 |
"حُددت B<CLONE_SIGHAND> في قناع I<flags>، لكن B<CLONE_VM> لم تُحدد. (منذ لينكس " |
| 2398 |
"2.6.0.)" |
| 2399 |
|
| 2400 |
#. .TP |
| 2401 |
#. .B EINVAL |
| 2402 |
#. Precisely one of |
| 2403 |
#. .B CLONE_DETACHED |
| 2404 |
#. and |
| 2405 |
#. .B CLONE_THREAD |
| 2406 |
#. was specified. |
| 2407 |
#. (Since Linux 2.6.0-test6.) |
| 2408 |
#. type: Plain text |
| 2409 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2410 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2411 |
msgid "" |
| 2412 |
"B<CLONE_THREAD> was specified in the I<flags> mask, but B<CLONE_SIGHAND> was " |
| 2413 |
"not. (Since Linux 2.5.35.)" |
| 2414 |
msgstr "" |
| 2415 |
"حُددت B<CLONE_THREAD> في قناع I<flags>، لكن B<CLONE_SIGHAND> لم تُحدد. (منذ " |
| 2416 |
"لينكس 2.5.35.)" |
| 2417 |
|
| 2418 |
#. type: Plain text |
| 2419 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2420 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2421 |
msgid "" |
| 2422 |
"B<CLONE_THREAD> was specified in the I<flags> mask, but the current process " |
| 2423 |
"previously called B<unshare>(2) with the B<CLONE_NEWPID> flag or used " |
| 2424 |
"B<setns>(2) to reassociate itself with a PID namespace." |
| 2425 |
msgstr "" |
| 2426 |
"حُددت B<CLONE_THREAD> في قناع I<flags>، لكن العملية الحالية استدعت سابقًا " |
| 2427 |
"B<unshare>(2) مع علامة B<CLONE_NEWPID> أو استخدمت B<setns>(2) لإعادة ربط " |
| 2428 |
"نفسها بمساحة أسماء PID." |
| 2429 |
|
| 2430 |
#. commit e66eded8309ebf679d3d3c1f5820d1f2ca332c71 |
| 2431 |
#. type: Plain text |
| 2432 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2433 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2434 |
msgid "" |
| 2435 |
"Both B<CLONE_FS> and B<CLONE_NEWNS> were specified in the I<flags> mask." |
| 2436 |
msgstr "كلا B<CLONE_FS> و B<CLONE_NEWNS> حُددا في قناع I<flags>." |
| 2437 |
|
| 2438 |
#. type: TP |
| 2439 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2440 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2441 |
#, no-wrap |
| 2442 |
msgid "B<EINVAL> (since Linux 3.9)" |
| 2443 |
msgstr "B<EINVAL> (منذ لينكس 3.9)" |
| 2444 |
|
| 2445 |
#. type: Plain text |
| 2446 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2447 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2448 |
msgid "" |
| 2449 |
"Both B<CLONE_NEWUSER> and B<CLONE_FS> were specified in the I<flags> mask." |
| 2450 |
msgstr "كلا B<CLONE_NEWUSER> و B<CLONE_FS> حُددا في قناع I<flags>." |
| 2451 |
|
| 2452 |
#. type: Plain text |
| 2453 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2454 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2455 |
msgid "" |
| 2456 |
"Both B<CLONE_NEWIPC> and B<CLONE_SYSVSEM> were specified in the I<flags> " |
| 2457 |
"mask." |
| 2458 |
msgstr "كلا B<CLONE_NEWIPC> و B<CLONE_SYSVSEM> حُددا في قناع I<flags>." |
| 2459 |
|
| 2460 |
#. type: Plain text |
| 2461 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2462 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2463 |
msgid "" |
| 2464 |
"B<CLONE_NEWPID> and one (or both) of B<CLONE_THREAD> or B<CLONE_PARENT> were " |
| 2465 |
"specified in the I<flags> mask." |
| 2466 |
msgstr "" |
| 2467 |
"حُددت B<CLONE_NEWPID> مع واحدة (أو كلتا) B<CLONE_THREAD> أو B<CLONE_PARENT> " |
| 2468 |
"في قناع I<flags>." |
| 2469 |
|
| 2470 |
#. type: Plain text |
| 2471 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2472 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2473 |
msgid "" |
| 2474 |
"B<CLONE_NEWUSER> and B<CLONE_THREAD> were specified in the I<flags> mask." |
| 2475 |
msgstr "كلا B<CLONE_NEWUSER> و B<CLONE_THREAD> حُددا في قناع I<flags>." |
| 2476 |
|
| 2477 |
#. type: TP |
| 2478 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2479 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2480 |
#, no-wrap |
| 2481 |
msgid "B<EINVAL> (since Linux 2.6.32)" |
| 2482 |
msgstr "B<EINVAL> (منذ لينكس 2.6.32)" |
| 2483 |
|
| 2484 |
#. commit 123be07b0b399670a7cc3d82fef0cb4f93ef885c |
| 2485 |
#. type: Plain text |
| 2486 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2487 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2488 |
msgid "B<CLONE_PARENT> was specified, and the caller is an init process." |
| 2489 |
msgstr "حُددت B<CLONE_PARENT>، وكان المستدعِي هو عملية init." |
| 2490 |
|
| 2491 |
#. type: Plain text |
| 2492 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2493 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2494 |
msgid "" |
| 2495 |
"Returned by the glibc B<clone>() wrapper function when I<fn> or I<stack> is " |
| 2496 |
"specified as NULL." |
| 2497 |
msgstr "" |
| 2498 |
"تُعيدها دالة غلاف B<clone>() في glibc عندما يُحدد I<fn> أو I<stack> كقيمة" |
| 2499 |
" NULL." |
| 2500 |
|
| 2501 |
#. type: Plain text |
| 2502 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2503 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2504 |
msgid "" |
| 2505 |
"B<CLONE_NEWIPC> was specified in the I<flags> mask, but the kernel was not " |
| 2506 |
"configured with the B<CONFIG_SYSVIPC> and B<CONFIG_IPC_NS> options." |
| 2507 |
msgstr "" |
| 2508 |
"حُددت B<CLONE_NEWIPC> في قناع I<flags>، لكن النواة لم تُضبط مع خيارات " |
| 2509 |
"B<CONFIG_SYSVIPC> و B<CONFIG_IPC_NS>." |
| 2510 |
|
| 2511 |
#. type: Plain text |
| 2512 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2513 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2514 |
msgid "" |
| 2515 |
"B<CLONE_NEWNET> was specified in the I<flags> mask, but the kernel was not " |
| 2516 |
"configured with the B<CONFIG_NET_NS> option." |
| 2517 |
msgstr "" |
| 2518 |
"حُددت B<CLONE_NEWNET> في قناع I<flags>، لكن النواة لم تُضبط مع خيار " |
| 2519 |
"B<CONFIG_NET_NS>." |
| 2520 |
|
| 2521 |
#. type: Plain text |
| 2522 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2523 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2524 |
msgid "" |
| 2525 |
"B<CLONE_NEWPID> was specified in the I<flags> mask, but the kernel was not " |
| 2526 |
"configured with the B<CONFIG_PID_NS> option." |
| 2527 |
msgstr "" |
| 2528 |
"حُددت B<CLONE_NEWPID> في قناع I<flags>، لكن النواة لم تُضبط مع خيار " |
| 2529 |
"B<CONFIG_PID_NS>." |
| 2530 |
|
| 2531 |
#. type: Plain text |
| 2532 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2533 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2534 |
msgid "" |
| 2535 |
"B<CLONE_NEWUSER> was specified in the I<flags> mask, but the kernel was not " |
| 2536 |
"configured with the B<CONFIG_USER_NS> option." |
| 2537 |
msgstr "" |
| 2538 |
"حُددت B<CLONE_NEWUSER> في قناع I<flags>، لكن النواة لم تُضبط مع خيار " |
| 2539 |
"B<CONFIG_USER_NS>." |
| 2540 |
|
| 2541 |
#. type: Plain text |
| 2542 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2543 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2544 |
msgid "" |
| 2545 |
"B<CLONE_NEWUTS> was specified in the I<flags> mask, but the kernel was not " |
| 2546 |
"configured with the B<CONFIG_UTS_NS> option." |
| 2547 |
msgstr "" |
| 2548 |
"حُددت B<CLONE_NEWUTS> في قناع I<flags>، لكن النواة لم تُضبط مع خيار " |
| 2549 |
"B<CONFIG_UTS_NS>." |
| 2550 |
|
| 2551 |
#. type: Plain text |
| 2552 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2553 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2554 |
msgid "" |
| 2555 |
"I<stack> is not aligned to a suitable boundary for this architecture. For " |
| 2556 |
"example, on aarch64, I<stack> must be a multiple of 16." |
| 2557 |
msgstr "" |
| 2558 |
"الكدس I<stack> غير محاذٍ لحدود مناسبة لهذه المعمارية. على سبيل المثال، في " |
| 2559 |
"معمارية aarch64، يجب أن يكون I<stack> من مضاعفات 16." |
| 2560 |
|
| 2561 |
#. type: TP |
| 2562 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2563 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2564 |
#, no-wrap |
| 2565 |
msgid "B<EINVAL> (B<clone3>() only)" |
| 2566 |
msgstr "B<EINVAL> (في B<clone3>() فقط)" |
| 2567 |
|
| 2568 |
#. type: Plain text |
| 2569 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2570 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2571 |
msgid "B<CLONE_DETACHED> was specified in the I<flags> mask." |
| 2572 |
msgstr "حُددت B<CLONE_DETACHED> في قناع I<flags>." |
| 2573 |
|
| 2574 |
#. type: TP |
| 2575 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2576 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2577 |
#, no-wrap |
| 2578 |
msgid "B<EINVAL> (B<clone>() only)" |
| 2579 |
msgstr "B<EINVAL> (في B<clone>() فقط)" |
| 2580 |
|
| 2581 |
#. type: Plain text |
| 2582 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2583 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2584 |
msgid "" |
| 2585 |
"B<CLONE_PIDFD> was specified together with B<CLONE_DETACHED> in the I<flags> " |
| 2586 |
"mask." |
| 2587 |
msgstr "حُددت B<CLONE_PIDFD> مع B<CLONE_DETACHED> في قناع I<flags>." |
| 2588 |
|
| 2589 |
#. type: TP |
| 2590 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 2591 |
#: opensuse-tumbleweed |
| 2592 |
#, no-wrap |
| 2593 |
msgid "B<EINVAL> (before Linux 6.9)" |
| 2594 |
msgstr "B<EINVAL> (قبل لينكس 6.9)" |
| 2595 |
|
| 2596 |
#. type: Plain text |
| 2597 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2598 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2599 |
msgid "" |
| 2600 |
"B<CLONE_PIDFD> was specified together with B<CLONE_THREAD> in the I<flags> " |
| 2601 |
"mask." |
| 2602 |
msgstr "حُددت B<CLONE_PIDFD> مع B<CLONE_THREAD> في قناع I<flags>." |
| 2603 |
|
| 2604 |
#. type: TP |
| 2605 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2606 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2607 |
#, no-wrap |
| 2608 |
msgid "B<EINVAL >(B<clone>() only)" |
| 2609 |
msgstr "B<EINVAL> (في B<clone>() فقط)" |
| 2610 |
|
| 2611 |
#. type: Plain text |
| 2612 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2613 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2614 |
msgid "" |
| 2615 |
"B<CLONE_PIDFD> was specified together with B<CLONE_PARENT_SETTID> in the " |
| 2616 |
"I<flags> mask." |
| 2617 |
msgstr "حُددت B<CLONE_PIDFD> مع B<CLONE_PARENT_SETTID> في قناع I<flags>." |
| 2618 |
|
| 2619 |
#. type: Plain text |
| 2620 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2621 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2622 |
msgid "I<set_tid_size> is greater than the number of nested PID namespaces." |
| 2623 |
msgstr "حجم I<set_tid_size> أكبر من عدد مساحات أسماء PID المتداخلة." |
| 2624 |
|
| 2625 |
#. type: Plain text |
| 2626 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2627 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2628 |
msgid "One of the PIDs specified in I<set_tid> was an invalid." |
| 2629 |
msgstr "أحد معرفات العمليات (PIDs) المحددة في I<set_tid> غير صالح." |
| 2630 |
|
| 2631 |
#. commit 7f192e3cd316ba58c88dfa26796cf77789dd9872 |
| 2632 |
#. type: Plain text |
| 2633 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2634 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2635 |
msgid "" |
| 2636 |
"B<CLONE_THREAD> or B<CLONE_PARENT> was specified in the I<flags> mask, but a " |
| 2637 |
"signal was specified in I<exit_signal>." |
| 2638 |
msgstr "" |
| 2639 |
"حُددت B<CLONE_THREAD> أو B<CLONE_PARENT> في قناع I<flags>، ولكن حُددت إشارة" |
| 2640 |
" في " |
| 2641 |
"I<exit_signal>." |
| 2642 |
|
| 2643 |
#. type: TP |
| 2644 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2645 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2646 |
#, no-wrap |
| 2647 |
msgid "B<EINVAL> (AArch64 only, Linux 4.6 and earlier)" |
| 2648 |
msgstr "B<EINVAL> (في AArch64 فقط، لينكس 4.6 وما قبله)" |
| 2649 |
|
| 2650 |
#. type: Plain text |
| 2651 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2652 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2653 |
msgid "I<stack> was not aligned to a 128-bit boundary." |
| 2654 |
msgstr "الكدس I<stack> لم يكن محاذيًا لحدود 128 بت." |
| 2655 |
|
| 2656 |
#. type: TP |
| 2657 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2658 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2659 |
#, no-wrap |
| 2660 |
msgid "B<ENOMEM>" |
| 2661 |
msgstr "B<ENOMEM>" |
| 2662 |
|
| 2663 |
#. type: Plain text |
| 2664 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2665 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2666 |
msgid "" |
| 2667 |
"Cannot allocate sufficient memory to allocate a task structure for the " |
| 2668 |
"child, or to copy those parts of the caller's context that need to be copied." |
| 2669 |
msgstr "" |
| 2670 |
"تعذر تخصيص ذاكرة كافية لتخصيص بنية مهمة للعملية الوليدة، أو لنسخ أجزاء سياق " |
| 2671 |
"المستدعِي التي يجب نسخها." |
| 2672 |
|
| 2673 |
#. type: TP |
| 2674 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2675 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2676 |
#, no-wrap |
| 2677 |
msgid "B<ENOSPC> (since Linux 3.7)" |
| 2678 |
msgstr "B<ENOSPC> (منذ لينكس 3.7)" |
| 2679 |
|
| 2680 |
#. commit f2302505775fd13ba93f034206f1e2a587017929 |
| 2681 |
#. type: Plain text |
| 2682 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2683 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2684 |
msgid "" |
| 2685 |
"B<CLONE_NEWPID> was specified in the I<flags> mask, but the limit on the " |
| 2686 |
"nesting depth of PID namespaces would have been exceeded; see " |
| 2687 |
"B<pid_namespaces>(7)." |
| 2688 |
msgstr "" |
| 2689 |
"حُددت B<CLONE_NEWPID> في قناع I<flags>، ولكن كان سيتم تجاوز الحد الأقصى لعمق " |
| 2690 |
"تداخل مساحات أسماء PID؛ انظر B<pid_namespaces>(7)." |
| 2691 |
|
| 2692 |
#. type: TP |
| 2693 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2694 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2695 |
#, no-wrap |
| 2696 |
msgid "B<ENOSPC> (since Linux 4.9; beforehand B<EUSERS>)" |
| 2697 |
msgstr "B<ENOSPC> (منذ لينكس 4.9؛ قبله B<EUSERS>)" |
| 2698 |
|
| 2699 |
#. type: Plain text |
| 2700 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2701 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2702 |
msgid "" |
| 2703 |
"B<CLONE_NEWUSER> was specified in the I<flags> mask, and the call would " |
| 2704 |
"cause the limit on the number of nested user namespaces to be exceeded. See " |
| 2705 |
"B<user_namespaces>(7)." |
| 2706 |
msgstr "" |
| 2707 |
"حُددت B<CLONE_NEWUSER> في قناع I<flags>، وسيتسبب الاستدعاء في تجاوز الحد " |
| 2708 |
"الأقصى لعدد مساحات أسماء المستخدمين المتداخلة. انظر B<user_namespaces>(7)." |
| 2709 |
|
| 2710 |
#. type: Plain text |
| 2711 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2712 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2713 |
msgid "" |
| 2714 |
"From Linux 3.11 to Linux 4.8, the error diagnosed in this case was B<EUSERS>." |
| 2715 |
msgstr "" |
| 2716 |
"من لينكس 3.11 إلى لينكس 4.8، كان الخطأ الذي يُشخص في هذه الحالة هو B<EUSERS>." |
| 2717 |
|
| 2718 |
#. type: TP |
| 2719 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2720 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2721 |
#, no-wrap |
| 2722 |
msgid "B<ENOSPC> (since Linux 4.9)" |
| 2723 |
msgstr "B<ENOSPC> (منذ لينكس 4.9)" |
| 2724 |
|
| 2725 |
#. type: Plain text |
| 2726 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2727 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2728 |
msgid "" |
| 2729 |
"One of the values in the I<flags> mask specified the creation of a new user " |
| 2730 |
"namespace, but doing so would have caused the limit defined by the " |
| 2731 |
"corresponding file in I</proc/sys/user> to be exceeded. For further " |
| 2732 |
"details, see B<namespaces>(7)." |
| 2733 |
msgstr "" |
| 2734 |
"إحدى القيم في قناع I<flags> حددت إنشاء مساحة أسماء مستخدم جديدة، ولكن القيام " |
| 2735 |
"بذلك كان سيؤدي إلى تجاوز الحد المحدد بواسطة الملف المقابل في I</proc/sys/" |
| 2736 |
"user>. لمزيد من التفاصيل، انظر B<namespaces>(7)." |
| 2737 |
|
| 2738 |
#. type: TP |
| 2739 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2740 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2741 |
#, no-wrap |
| 2742 |
msgid "B<EOPNOTSUPP> (B<clone3>() only)" |
| 2743 |
msgstr "B<EOPNOTSUPP> (في B<clone3>() فقط)" |
| 2744 |
|
| 2745 |
#. type: Plain text |
| 2746 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2747 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2748 |
msgid "" |
| 2749 |
"B<CLONE_INTO_CGROUP> was specified in I<cl_args.flags>, but the file " |
| 2750 |
"descriptor specified in I<cl_args.cgroup> refers to a version 2 cgroup that " |
| 2751 |
"is in the I<domain invalid> state." |
| 2752 |
msgstr "" |
| 2753 |
"حُددت B<CLONE_INTO_CGROUP> في I<cl_args.flags>، لكن واصف الملف المحدد في " |
| 2754 |
"I<cl_args.cgroup> يشير إلى مجموعة تحكم (cgroup) من الإصدار 2 في حالة " |
| 2755 |
"I<domain invalid>." |
| 2756 |
|
| 2757 |
#. type: TP |
| 2758 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2759 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2760 |
#, no-wrap |
| 2761 |
msgid "B<EPERM>" |
| 2762 |
msgstr "B<EPERM>" |
| 2763 |
|
| 2764 |
#. type: Plain text |
| 2765 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2766 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2767 |
msgid "" |
| 2768 |
"B<CLONE_NEWCGROUP>, B<CLONE_NEWIPC>, B<CLONE_NEWNET>, B<CLONE_NEWNS>, " |
| 2769 |
"B<CLONE_NEWPID>, or B<CLONE_NEWUTS> was specified by an unprivileged process " |
| 2770 |
"(process without B<CAP_SYS_ADMIN>)." |
| 2771 |
msgstr "" |
| 2772 |
"حُددت B<CLONE_NEWCGROUP> أو B<CLONE_NEWIPC> أو B<CLONE_NEWNET> أو " |
| 2773 |
"B<CLONE_NEWNS> أو B<CLONE_NEWPID> أو B<CLONE_NEWUTS> بواسطة عملية غير مميزة " |
| 2774 |
"(عملية بدون B<CAP_SYS_ADMIN>)." |
| 2775 |
|
| 2776 |
#. type: Plain text |
| 2777 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2778 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2779 |
msgid "" |
| 2780 |
"B<CLONE_PID> was specified by a process other than process 0. (This error " |
| 2781 |
"occurs only on Linux 2.5.15 and earlier.)" |
| 2782 |
msgstr "" |
| 2783 |
"حُددت B<CLONE_PID> بواسطة عملية غير العملية 0. (يحدث هذا الخطأ فقط في لينكس " |
| 2784 |
"2.5.15 وما قبله)." |
| 2785 |
|
| 2786 |
#. type: Plain text |
| 2787 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2788 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2789 |
msgid "" |
| 2790 |
"B<CLONE_NEWUSER> was specified in the I<flags> mask, but either the " |
| 2791 |
"effective user ID or the effective group ID of the caller does not have a " |
| 2792 |
"mapping in the parent namespace (see B<user_namespaces>(7))." |
| 2793 |
msgstr "" |
| 2794 |
"حُددت B<CLONE_NEWUSER> في قناع I<flags>، ولكن إما معرف المستخدم الفعلي أو " |
| 2795 |
"معرف المجموعة الفعلي للمستدعِي ليس له خريطة مقابلة (mapping) في مساحة أسماء " |
| 2796 |
"الأب (انظر B<user_namespaces>(7))." |
| 2797 |
|
| 2798 |
#. type: TP |
| 2799 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2800 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2801 |
#, no-wrap |
| 2802 |
msgid "B<EPERM> (since Linux 3.9)" |
| 2803 |
msgstr "B<EPERM> (منذ لينكس 3.9)" |
| 2804 |
|
| 2805 |
#. commit 3151527ee007b73a0ebd296010f1c0454a919c7d |
| 2806 |
#. FIXME What is the rationale for this restriction? |
| 2807 |
#. type: Plain text |
| 2808 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2809 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2810 |
msgid "" |
| 2811 |
"B<CLONE_NEWUSER> was specified in the I<flags> mask and the caller is in a " |
| 2812 |
"chroot environment (i.e., the caller's root directory does not match the " |
| 2813 |
"root directory of the mount namespace in which it resides)." |
| 2814 |
msgstr "" |
| 2815 |
"حُددت B<CLONE_NEWUSER> في قناع I<flags> وكان المستدعِي في بيئة chroot (أي أن " |
| 2816 |
"دليل الجذر للمستدعِي لا يطابق دليل الجذر لمساحة أسماء الوصل التي يقيم فيها)." |
| 2817 |
|
| 2818 |
#. type: TP |
| 2819 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2820 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2821 |
#, no-wrap |
| 2822 |
msgid "B<EPERM> (B<clone3>() only)" |
| 2823 |
msgstr "B<EPERM> (في B<clone3>() فقط)" |
| 2824 |
|
| 2825 |
#. type: Plain text |
| 2826 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2827 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2828 |
msgid "" |
| 2829 |
"I<set_tid_size> was greater than zero, and the caller lacks the " |
| 2830 |
"B<CAP_SYS_ADMIN> capability in one or more of the user namespaces that own " |
| 2831 |
"the corresponding PID namespaces." |
| 2832 |
msgstr "" |
| 2833 |
"كان I<set_tid_size> أكبر من صفر، ويفتقر المستدعِي إلى قدرة B<CAP_SYS_ADMIN> " |
| 2834 |
"في واحدة أو أكثر من مساحات أسماء المستخدمين التي تمتلك مساحات أسماء PID " |
| 2835 |
"المقابلة." |
| 2836 |
|
| 2837 |
#. type: TP |
| 2838 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2839 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2840 |
#, no-wrap |
| 2841 |
msgid "B<ERESTARTNOINTR> (since Linux 2.6.17)" |
| 2842 |
msgstr "B<ERESTARTNOINTR> (منذ لينكس 2.6.17)" |
| 2843 |
|
| 2844 |
#. commit 4a2c7a7837da1b91468e50426066d988050e4d56 |
| 2845 |
#. type: Plain text |
| 2846 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2847 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2848 |
msgid "" |
| 2849 |
"System call was interrupted by a signal and will be restarted. (This can be " |
| 2850 |
"seen only during a trace.)" |
| 2851 |
msgstr "" |
| 2852 |
"قُطِعَ استدعاء النظام بواسطة إشارة وسيُعاد تشغيله. (لا يمكن رؤية هذا إلا" |
| 2853 |
" أثناء " |
| 2854 |
"التتبع trace.)" |
| 2855 |
|
| 2856 |
#. type: TP |
| 2857 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2858 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2859 |
#, no-wrap |
| 2860 |
msgid "B<EUSERS> (Linux 3.11 to Linux 4.8)" |
| 2861 |
msgstr "B<EUSERS> (لينكس 3.11 إلى لينكس 4.8)" |
| 2862 |
|
| 2863 |
#. type: Plain text |
| 2864 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2865 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2866 |
msgid "" |
| 2867 |
"B<CLONE_NEWUSER> was specified in the I<flags> mask, and the limit on the " |
| 2868 |
"number of nested user namespaces would be exceeded. See the discussion of " |
| 2869 |
"the B<ENOSPC> error above." |
| 2870 |
msgstr "" |
| 2871 |
"حُددت B<CLONE_NEWUSER> في قناع I<flags>، وسيتم تجاوز الحد الأقصى لعدد مساحات " |
| 2872 |
"أسماء المستخدمين المتداخلة. انظر مناقشة خطأ B<ENOSPC> أعلاه." |
| 2873 |
|
| 2874 |
#. type: SH |
| 2875 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2876 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2877 |
#, no-wrap |
| 2878 |
msgid "VERSIONS" |
| 2879 |
msgstr "الإصدارات" |
| 2880 |
|
| 2881 |
#. type: Plain text |
| 2882 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2883 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2884 |
msgid "" |
| 2885 |
"The glibc B<clone>() wrapper function makes some changes in the memory " |
| 2886 |
"pointed to by I<stack> (changes required to set the stack up correctly for " |
| 2887 |
"the child) I<before> invoking the B<clone>() system call. So, in cases " |
| 2888 |
"where B<clone>() is used to recursively create children, do not use the " |
| 2889 |
"buffer employed for the parent's stack as the stack of the child." |
| 2890 |
msgstr "" |
| 2891 |
"تجري دالة غلاف B<clone>() في glibc بعض التغييرات في الذاكرة التي يشير إليها " |
| 2892 |
"I<stack> (التغييرات المطلوبة لإعداد الكدس بشكل صحيح للوليد) I<قبل> استدعاء " |
| 2893 |
"نظام B<clone>(). لذا، في الحالات التي يُستخدم فيها B<clone>() لإنشاء عمليات " |
| 2894 |
"وليدة بشكل تكراري، لا تستخدم المخزن المؤقت المستخدم لكدس الأب ككدس للعملية " |
| 2895 |
"الوليدة." |
| 2896 |
|
| 2897 |
#. type: Plain text |
| 2898 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2899 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2900 |
msgid "" |
| 2901 |
"On i386, B<clone>() should not be called through vsyscall, but directly " |
| 2902 |
"through I<int $0x80>." |
| 2903 |
msgstr "" |
| 2904 |
"في i386، لا ينبغي استدعاء B<clone>() من خلال vsyscall، بل مباشرة من خلال " |
| 2905 |
"I<int $0x80>." |
| 2906 |
|
| 2907 |
#. type: SS |
| 2908 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2909 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2910 |
#, no-wrap |
| 2911 |
msgid "C library/kernel differences" |
| 2912 |
msgstr "الاختلافات بين مكتبة C والنواة" |
| 2913 |
|
| 2914 |
#. type: Plain text |
| 2915 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2916 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2917 |
msgid "" |
| 2918 |
"The raw B<clone>() system call corresponds more closely to B<fork>(2) in " |
| 2919 |
"that execution in the child continues from the point of the call. As such, " |
| 2920 |
"the I<fn> and I<arg> arguments of the B<clone>() wrapper function are " |
| 2921 |
"omitted." |
| 2922 |
msgstr "" |
| 2923 |
"استدعاء نظام B<clone>() الخام يتوافق بشكل أوثق مع B<fork>(2) من حيث أن " |
| 2924 |
"التنفيذ في العملية الوليدة يستمر من نقطة الاستدعاء. وعلى هذا النحو، تُحذف " |
| 2925 |
"المعطيات I<fn> و I<arg> الخاصة بدالة غلاف B<clone>()." |
| 2926 |
|
| 2927 |
#. type: Plain text |
| 2928 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2929 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2930 |
msgid "" |
| 2931 |
"In contrast to the glibc wrapper, the raw B<clone>() system call accepts " |
| 2932 |
"NULL as a I<stack> argument (and B<clone3>() likewise allows I<cl_args." |
| 2933 |
"stack> to be NULL). In this case, the child uses a duplicate of the " |
| 2934 |
"parent's stack. (Copy-on-write semantics ensure that the child gets " |
| 2935 |
"separate copies of stack pages when either process modifies the stack.) In " |
| 2936 |
"this case, for correct operation, the B<CLONE_VM> option should not be " |
| 2937 |
"specified. (If the child I<shares> the parent's memory because of the use " |
| 2938 |
"of the B<CLONE_VM> flag, then no copy-on-write duplication occurs and chaos " |
| 2939 |
"is likely to result.)" |
| 2940 |
msgstr "" |
| 2941 |
"على عكس غلاف glibc، يقبل استدعاء نظام B<clone>() الخام NULL كمعطى لـ " |
| 2942 |
"I<stack> (وبالمثل يسمح B<clone3>() لـ I<cl_args.stack> بأن يكون NULL). وفي " |
| 2943 |
"هذه الحالة، تستخدم العملية الوليدة نسخة مكررة من كدس الأب. (تضمن دلالات " |
| 2944 |
"النسخ عند الكتابة Copy-on-write أن تحصل العملية الوليدة على نسخ منفصلة من " |
| 2945 |
"صفحات الكدس عندما تقوم أي من العمليتين بتعديل الكدس). وفي هذه الحالة، لضمان " |
| 2946 |
"التشغيل الصحيح، لا ينبغي تحديد خيار B<CLONE_VM>. (إذا كانت العملية الوليدة " |
| 2947 |
"I<تتشارك> ذاكرة الأب بسبب استخدام علامة B<CLONE_VM>، فلن يحدث تكرار بالنسخ " |
| 2948 |
"عند الكتابة ومن المرجح أن يؤدي ذلك إلى حدوث فوضى)." |
| 2949 |
|
| 2950 |
#. type: Plain text |
| 2951 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2952 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2953 |
msgid "" |
| 2954 |
"The order of the arguments also differs in the raw system call, and there " |
| 2955 |
"are variations in the arguments across architectures, as detailed in the " |
| 2956 |
"following paragraphs." |
| 2957 |
msgstr "" |
| 2958 |
"يختلف ترتيب المعطيات أيضًا في استدعاء النظام الخام، وهناك اختلافات في " |
| 2959 |
"المعطيات عبر المعماريات المختلفة، كما هو مفصل في الفقرات التالية." |
| 2960 |
|
| 2961 |
#. type: Plain text |
| 2962 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2963 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2964 |
msgid "" |
| 2965 |
"The raw system call interface on x86-64 and some other architectures " |
| 2966 |
"(including sh, tile, and alpha) is:" |
| 2967 |
msgstr "" |
| 2968 |
"واجهة استدعاء النظام الخام في x86-64 وبعض المعماريات الأخرى (بما في ذلك sh و " |
| 2969 |
"tile و alpha) هي:" |
| 2970 |
|
| 2971 |
#. type: Plain text |
| 2972 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2973 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2974 |
#, no-wrap |
| 2975 |
msgid "" |
| 2976 |
"B<long clone(unsigned long >I<flags>B<, void *>I<stack>B<,>\n" |
| 2977 |
"B< int *>I<parent_tid>B<, int *>I<child_tid>B<,>\n" |
| 2978 |
"B< unsigned long >I<tls>B<);>\n" |
| 2979 |
msgstr "" |
| 2980 |
"B<long clone(unsigned long >I<flags>B<, void *>I<stack>B<,>\n" |
| 2981 |
"B< int *>I<parent_tid>B<, int *>I<child_tid>B<,>\n" |
| 2982 |
"B< unsigned long >I<tls>B<);>\n" |
| 2983 |
|
| 2984 |
#. CONFIG_CLONE_BACKWARDS |
| 2985 |
#. type: Plain text |
| 2986 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2987 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2988 |
msgid "" |
| 2989 |
"On x86-32, and several other common architectures (including score, ARM, ARM " |
| 2990 |
"64, PA-RISC, arc, Power PC, xtensa, and MIPS), the order of the last two " |
| 2991 |
"arguments is reversed:" |
| 2992 |
msgstr "" |
| 2993 |
"في x86-32 وعدة معماريات شائعة أخرى (بما في ذلك score و ARM و ARM 64 و PA-" |
| 2994 |
"RISC و arc و Power PC و xtensa و MIPS)، ينعكس ترتيب آخر معطيين:" |
| 2995 |
|
| 2996 |
#. type: Plain text |
| 2997 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2998 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2999 |
#, no-wrap |
| 3000 |
msgid "" |
| 3001 |
"B<long clone(unsigned long >I<flags>B<, void *>I<stack>B<,>\n" |
| 3002 |
"B< int *>I<parent_tid>B<, unsigned long >I<tls>B<,>\n" |
| 3003 |
"B< int *>I<child_tid>B<);>\n" |
| 3004 |
msgstr "" |
| 3005 |
"B<long clone(unsigned long >I<flags>B<, void *>I<stack>B<,>\n" |
| 3006 |
"B< int *>I<parent_tid>B<, unsigned long >I<tls>B<,>\n" |
| 3007 |
"B< int *>I<child_tid>B<);>\n" |
| 3008 |
|
| 3009 |
#. CONFIG_CLONE_BACKWARDS2 |
| 3010 |
#. type: Plain text |
| 3011 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3012 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3013 |
msgid "" |
| 3014 |
"On the cris and s390 architectures, the order of the first two arguments is " |
| 3015 |
"reversed:" |
| 3016 |
msgstr "في معماريتي cris و s390، ينعكس ترتيب أول معطيين:" |
| 3017 |
|
| 3018 |
#. type: Plain text |
| 3019 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3020 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3021 |
#, no-wrap |
| 3022 |
msgid "" |
| 3023 |
"B<long clone(void *>I<stack>B<, unsigned long >I<flags>B<,>\n" |
| 3024 |
"B< int *>I<parent_tid>B<, int *>I<child_tid>B<,>\n" |
| 3025 |
"B< unsigned long >I<tls>B<);>\n" |
| 3026 |
msgstr "" |
| 3027 |
"B<long clone(void *>I<stack>B<, unsigned long >I<flags>B<,>\n" |
| 3028 |
"B< int *>I<parent_tid>B<, int *>I<child_tid>B<,>\n" |
| 3029 |
"B< unsigned long >I<tls>B<);>\n" |
| 3030 |
|
| 3031 |
#. CONFIG_CLONE_BACKWARDS3 |
| 3032 |
#. type: Plain text |
| 3033 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3034 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3035 |
msgid "On the microblaze architecture, an additional argument is supplied:" |
| 3036 |
msgstr "في معمارية microblaze، يُزوّد معطى إضافي:" |
| 3037 |
|
| 3038 |
#. type: Plain text |
| 3039 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 3040 |
#: opensuse-tumbleweed |
| 3041 |
#, no-wrap |
| 3042 |
msgid "" |
| 3043 |
"B<long clone(unsigned long >I<flags>B<, void *>I<stack>B<,>\n" |
| 3044 |
"B< int >I<stack_size>B<,>\\f[R] /* Size of stack */\\fR\n" |
| 3045 |
"B< int *>I<parent_tid>B<, int *>I<child_tid>B<,>\n" |
| 3046 |
"B< unsigned long >I<tls>B<);>\n" |
| 3047 |
msgstr "" |
| 3048 |
"B<long clone(unsigned long >I<flags>B<, void *>I<stack>B<,>\n" |
| 3049 |
"B< int >I<stack_size>B<,>\\f[R] /* حجم الكدس */\\fR\n" |
| 3050 |
"B< int *>I<parent_tid>B<, int *>I<child_tid>B<,>\n" |
| 3051 |
"B< unsigned long >I<tls>B<);>\n" |
| 3052 |
|
| 3053 |
#. type: SS |
| 3054 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3055 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3056 |
#, no-wrap |
| 3057 |
msgid "blackfin, m68k, and sparc" |
| 3058 |
msgstr "blackfin و m68k و sparc" |
| 3059 |
|
| 3060 |
#. Mike Frysinger noted in a 2013 mail: |
| 3061 |
#. these arches don't define __ARCH_WANT_SYS_CLONE: |
| 3062 |
#. blackfin ia64 m68k sparc |
| 3063 |
#. type: Plain text |
| 3064 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3065 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3066 |
msgid "" |
| 3067 |
"The argument-passing conventions on blackfin, m68k, and sparc are different " |
| 3068 |
"from the descriptions above. For details, see the kernel (and glibc) source." |
| 3069 |
msgstr "" |
| 3070 |
"اتفاقيات تمرير المعطيات في blackfin و m68k و sparc تختلف عن الأوصاف أعلاه. " |
| 3071 |
"لمزيد من التفاصيل، انظر مصدر النواة (و glibc)." |
| 3072 |
|
| 3073 |
#. type: SH |
| 3074 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3075 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3076 |
#, no-wrap |
| 3077 |
msgid "STANDARDS" |
| 3078 |
msgstr "المعايير" |
| 3079 |
|
| 3080 |
#. type: Plain text |
| 3081 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3082 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3083 |
msgid "Linux." |
| 3084 |
msgstr "لينكس." |
| 3085 |
|
| 3086 |
#. type: SH |
| 3087 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3088 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3089 |
#, no-wrap |
| 3090 |
msgid "HISTORY" |
| 3091 |
msgstr "التاريخ" |
| 3092 |
|
| 3093 |
#. type: TP |
| 3094 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3095 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3096 |
#, no-wrap |
| 3097 |
msgid "B<clone3>()" |
| 3098 |
msgstr "B<clone3>()" |
| 3099 |
|
| 3100 |
#. There is no entry for |
| 3101 |
#. .BR clone () |
| 3102 |
#. in libc5. |
| 3103 |
#. glibc2 provides |
| 3104 |
#. .BR clone () |
| 3105 |
#. as described in this manual page. |
| 3106 |
#. type: Plain text |
| 3107 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3108 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3109 |
msgid "Linux 5.3." |
| 3110 |
msgstr "لينكس 5.3." |
| 3111 |
|
| 3112 |
#. type: SS |
| 3113 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3114 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3115 |
#, no-wrap |
| 3116 |
msgid "Linux 2.4 and earlier" |
| 3117 |
msgstr "لينكس 2.4 وما قبله" |
| 3118 |
|
| 3119 |
#. type: Plain text |
| 3120 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3121 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3122 |
msgid "" |
| 3123 |
"In the Linux 2.4.x series, B<CLONE_THREAD> generally does not make the " |
| 3124 |
"parent of the new thread the same as the parent of the calling process. " |
| 3125 |
"However, from Linux 2.4.7 to Linux 2.4.18 the B<CLONE_THREAD> flag implied " |
| 3126 |
"the B<CLONE_PARENT> flag (as in Linux 2.6.0 and later)." |
| 3127 |
msgstr "" |
| 3128 |
"في سلسلة لينكس 2.4.x، لا تجعل B<CLONE_THREAD> بشكل عام أب الخيط الجديد هو " |
| 3129 |
"نفس أب العملية المستدعية. ومع ذلك، من لينكس 2.4.7 إلى لينكس 2.4.18، كانت " |
| 3130 |
"علامة B<CLONE_THREAD> تتضمن علامة B<CLONE_PARENT> (كما هو الحال في لينكس " |
| 3131 |
"2.6.0 وما بعده)." |
| 3132 |
|
| 3133 |
#. type: Plain text |
| 3134 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3135 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3136 |
msgid "" |
| 3137 |
"In Linux 2.4 and earlier, B<clone>() does not take arguments I<parent_tid>, " |
| 3138 |
"I<tls>, and I<child_tid>." |
| 3139 |
msgstr "" |
| 3140 |
"في لينكس 2.4 وما قبله، لا يأخذ B<clone>() المعطيات I<parent_tid> و I<tls> و " |
| 3141 |
"I<child_tid>." |
| 3142 |
|
| 3143 |
#. type: SS |
| 3144 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3145 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3146 |
#, no-wrap |
| 3147 |
msgid "ia64" |
| 3148 |
msgstr "ia64" |
| 3149 |
|
| 3150 |
#. type: Plain text |
| 3151 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3152 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3153 |
msgid "On ia64, a different interface is used:" |
| 3154 |
msgstr "في ia64، تُستخدم واجهة مختلفة:" |
| 3155 |
|
| 3156 |
#. type: Plain text |
| 3157 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 3158 |
#: opensuse-tumbleweed |
| 3159 |
#, no-wrap |
| 3160 |
msgid "" |
| 3161 |
"B<int __clone2(typeof(int (void *)) *>I<fn>B<,>\n" |
| 3162 |
"B< void *>I<stack_base>B<, size_t >I<stack_size>B<,>\n" |
| 3163 |
"B< int >I<flags>B<, void *>I<arg>B<, ...>\n" |
| 3164 |
"B< >\\f[R]/*B< pid_t *>I<parent_tid>B<, struct user_desc *>I<tls>B<," |
| 3165 |
">\n" |
| 3166 |
"B< pid_t *>I<child_tid>B< >\\f[R]*/B< );>\n" |
| 3167 |
msgstr "" |
| 3168 |
"B<int __clone2(typeof(int (void *)) *>I<fn>B<,>\n" |
| 3169 |
"B< void *>I<stack_base>B<, size_t >I<stack_size>B<,>\n" |
| 3170 |
"B< int >I<flags>B<, void *>I<arg>B<, ...>\n" |
| 3171 |
"B< >\\f[R]/*B< pid_t *>I<parent_tid>B<, struct user_desc *>I<tls>B<," |
| 3172 |
">\n" |
| 3173 |
"B< pid_t *>I<child_tid>B< >\\f[R]*/B< );>\n" |
| 3174 |
|
| 3175 |
#. type: Plain text |
| 3176 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3177 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3178 |
msgid "" |
| 3179 |
"The prototype shown above is for the glibc wrapper function; for the system " |
| 3180 |
"call itself, the prototype can be described as follows (it is identical to " |
| 3181 |
"the B<clone>() prototype on microblaze):" |
| 3182 |
msgstr "" |
| 3183 |
"النموذج المبدئي الموضح أعلاه هو لدالة غلاف glibc؛ أما بالنسبة لنداء النظام " |
| 3184 |
"نفسه، فيمكن وصف النموذج المبدئي على النحو التالي (وهو مطابق لنموذج " |
| 3185 |
"B<clone>() المبدئي على microblaze):" |
| 3186 |
|
| 3187 |
#. type: Plain text |
| 3188 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 3189 |
#: opensuse-tumbleweed |
| 3190 |
#, no-wrap |
| 3191 |
msgid "" |
| 3192 |
"B<long clone2(unsigned long >I<flags>B<, void *>I<stack_base>B<,>\n" |
| 3193 |
"B< int >I<stack_size>B<,>\\f[R] /* Size of stack */\\fR\n" |
| 3194 |
"B< int *>I<parent_tid>B<, int *>I<child_tid>B<,>\n" |
| 3195 |
"B< unsigned long >I<tls>B<);>\n" |
| 3196 |
msgstr "" |
| 3197 |
"B<long clone2(unsigned long >I<flags>B<, void *>I<stack_base>B<,>\n" |
| 3198 |
"B< int >I<stack_size>B<,>\\f[R] /* حجم المكدس */\\fR\n" |
| 3199 |
"B< int *>I<parent_tid>B<, int *>I<child_tid>B<,>\n" |
| 3200 |
"B< unsigned long >I<tls>B<);>\n" |
| 3201 |
|
| 3202 |
#. type: Plain text |
| 3203 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3204 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3205 |
msgid "" |
| 3206 |
"B<__clone2>() operates in the same way as B<clone>(), except that " |
| 3207 |
"I<stack_base> points to the lowest address of the child's stack area, and " |
| 3208 |
"I<stack_size> specifies the size of the stack pointed to by I<stack_base>." |
| 3209 |
msgstr "" |
| 3210 |
"تعمل B<__clone2>() بنفس طريقة B<clone>()، باستثناء أن I<stack_base> يشير إلى " |
| 3211 |
"أدنى عنوان في منطقة مكدس الابن، ويحدد I<stack_size> حجم المكدس الذي يشير " |
| 3212 |
"إليه I<stack_base>." |
| 3213 |
|
| 3214 |
#. type: SH |
| 3215 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3216 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3217 |
#, no-wrap |
| 3218 |
msgid "NOTES" |
| 3219 |
msgstr "ملاحظات" |
| 3220 |
|
| 3221 |
#. type: Plain text |
| 3222 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3223 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3224 |
msgid "" |
| 3225 |
"One use of these system calls is to implement threads: multiple flows of " |
| 3226 |
"control in a program that run concurrently in a shared address space." |
| 3227 |
msgstr "" |
| 3228 |
"أحد استخدامات نداءات النظام هذه هو تنفيذ الخيوط: تدفقات متعددة للتحكم في " |
| 3229 |
"برنامج يعمل بالتزامن في مساحة عناوين مشتركة." |
| 3230 |
|
| 3231 |
#. type: Plain text |
| 3232 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3233 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3234 |
msgid "" |
| 3235 |
"The B<kcmp>(2) system call can be used to test whether two processes share " |
| 3236 |
"various resources such as a file descriptor table, System V semaphore undo " |
| 3237 |
"operations, or a virtual address space." |
| 3238 |
msgstr "" |
| 3239 |
"يمكن استخدام نداء النظام B<kcmp>(2) لاختبار ما إذا كانت عمليتان تتشاركان " |
| 3240 |
"موارد مختلفة مثل جدول واصفات الملفات، أو عمليات تراجع سيمافور System V، أو " |
| 3241 |
"مساحة عناوين افتراضية." |
| 3242 |
|
| 3243 |
#. type: Plain text |
| 3244 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3245 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3246 |
msgid "" |
| 3247 |
"Handlers registered using B<pthread_atfork>(3) are not executed during a " |
| 3248 |
"clone call." |
| 3249 |
msgstr "" |
| 3250 |
"المناولات المسجلة باستخدام B<pthread_atfork>(3) لا تُنفذ أثناء نداء clone." |
| 3251 |
|
| 3252 |
#. type: SH |
| 3253 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3254 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3255 |
#, no-wrap |
| 3256 |
msgid "BUGS" |
| 3257 |
msgstr "العلل" |
| 3258 |
|
| 3259 |
#. type: Plain text |
| 3260 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3261 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3262 |
msgid "" |
| 3263 |
"GNU C library versions 2.3.4 up to and including 2.24 contained a wrapper " |
| 3264 |
"function for B<getpid>(2) that performed caching of PIDs. This caching " |
| 3265 |
"relied on support in the glibc wrapper for B<clone>(), but limitations in " |
| 3266 |
"the implementation meant that the cache was not up to date in some " |
| 3267 |
"circumstances. In particular, if a signal was delivered to the child " |
| 3268 |
"immediately after the B<clone>() call, then a call to B<getpid>(2) in a " |
| 3269 |
"handler for the signal could return the PID of the calling process (\"the " |
| 3270 |
"parent\"), if the clone wrapper had not yet had a chance to update the PID " |
| 3271 |
"cache in the child. (This discussion ignores the case where the child was " |
| 3272 |
"created using B<CLONE_THREAD>, when B<getpid>(2) I<should> return the same " |
| 3273 |
"value in the child and in the process that called B<clone>(), since the " |
| 3274 |
"caller and the child are in the same thread group. The stale-cache problem " |
| 3275 |
"also does not occur if the I<flags> argument includes B<CLONE_VM>.) To get " |
| 3276 |
"the truth, it was sometimes necessary to use code such as the following:" |
| 3277 |
msgstr "" |
| 3278 |
"احتوت إصدارات مكتبة GNU C من 2.3.4 وحتى 2.24 (بما في ذلك هذا الإصدار) على " |
| 3279 |
"دالة غلاف لـ B<getpid>(2) تؤدي عملية تخزين في خبيئة لمعرفات العمليات (PIDs). " |
| 3280 |
"اعتمد هذا التخزين في الخبيئة على دعم في غلاف glibc للدالة B<clone>()، ولكن " |
| 3281 |
"القيود في التنفيذ جعلت الخبيئة غير محدثة في بعض الظروف. وعلى وجه الخصوص، إذا " |
| 3282 |
"وُصل إشعار (إشارة) إلى الابن فور استدعاء B<clone>()، فإن استدعاء B<getpid>(2) " |
| 3283 |
"في معالج ذلك الإشعار قد يعيد معرف العملية للمستدعِي («الأب»)، إذا لم يتح " |
| 3284 |
"لغلاف الاستنساخ فرصة لتحديث خبيئة معرف العملية في الابن بعد. (يتجاهل هذا " |
| 3285 |
"النقاش الحالة التي يُنشأ فيها الابن باستخدام B<CLONE_THREAD>، حيث I<ينبغي> أن " |
| 3286 |
"تعيد B<getpid>(2) القيمة نفسها في الابن وفي العملية التي استدعت B<clone>()، " |
| 3287 |
"بما أن المستدعِي والابن في مجموعة الخيوط نفسها. كما لا تحدث مشكلة الخبيئة " |
| 3288 |
"القديمة إذا تضمنت معطاة I<flags> الوسم B<CLONE_VM>.) وللحصول على الحقيقة، " |
| 3289 |
"كان من الضروري أحيانًا استخدام كود مثل الآتي:" |
| 3290 |
|
| 3291 |
#. type: Plain text |
| 3292 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3293 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3294 |
#, no-wrap |
| 3295 |
msgid "" |
| 3296 |
"#include E<lt>syscall.hE<gt>\n" |
| 3297 |
"\\&\n" |
| 3298 |
"pid_t mypid;\n" |
| 3299 |
"\\&\n" |
| 3300 |
"mypid = syscall(SYS_getpid);\n" |
| 3301 |
msgstr "" |
| 3302 |
"#include E<lt>syscall.hE<gt>\n" |
| 3303 |
"\\&\n" |
| 3304 |
"pid_t mypid;\n" |
| 3305 |
"\\&\n" |
| 3306 |
"mypid = syscall(SYS_getpid);\n" |
| 3307 |
|
| 3308 |
#. type: Plain text |
| 3309 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3310 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3311 |
msgid "" |
| 3312 |
"Because of the stale-cache problem, as well as other problems noted in " |
| 3313 |
"B<getpid>(2), the PID caching feature was removed in glibc 2.25." |
| 3314 |
msgstr "" |
| 3315 |
"بسبب مشكلة الخبيئة القديمة، بالإضافة إلى مشكلات أخرى لوحظت في B<getpid>(2)، " |
| 3316 |
"أُزيلت ميزة تخزين معرف العملية في الخبيئة في الإصدار 2.25 من glibc." |
| 3317 |
|
| 3318 |
#. type: SH |
| 3319 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3320 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3321 |
#, no-wrap |
| 3322 |
msgid "EXAMPLES" |
| 3323 |
msgstr "أمثلة" |
| 3324 |
|
| 3325 |
#. type: Plain text |
| 3326 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3327 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3328 |
msgid "" |
| 3329 |
"The following program demonstrates the use of B<clone>() to create a child " |
| 3330 |
"process that executes in a separate UTS namespace. The child changes the " |
| 3331 |
"hostname in its UTS namespace. Both parent and child then display the " |
| 3332 |
"system hostname, making it possible to see that the hostname differs in the " |
| 3333 |
"UTS namespaces of the parent and child. For an example of the use of this " |
| 3334 |
"program, see B<setns>(2)." |
| 3335 |
msgstr "" |
| 3336 |
"يوضح البرنامج التالي استخدام B<clone>() لإنشاء عملية ابن تعمل في مساحة أسماء " |
| 3337 |
"UTS منفصلة. يغير الابن اسم المضيف في مساحة أسماء UTS الخاصة به. ثم يعرض كل " |
| 3338 |
"من الأب والابن اسم مضيف النظام، مما يسمح برؤية اختلاف اسم المضيف في مساحات " |
| 3339 |
"أسماء UTS للأب والابن. لمثال على استخدام هذا البرنامج، انظر B<setns>(2)." |
| 3340 |
|
| 3341 |
#. type: Plain text |
| 3342 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3343 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3344 |
msgid "" |
| 3345 |
"Within the sample program, we allocate the memory that is to be used for the " |
| 3346 |
"child's stack using B<mmap>(2) rather than B<malloc>(3) for the following " |
| 3347 |
"reasons:" |
| 3348 |
msgstr "" |
| 3349 |
"داخل البرنامج النموذجي، نخصص الذاكرة التي ستُستخدم مكدسًا للابن باستخدام " |
| 3350 |
"B<mmap>(2) بدلاً من B<malloc>(3) للأسباب الرئيسة التالية:" |
| 3351 |
|
| 3352 |
#. type: Plain text |
| 3353 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3354 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3355 |
msgid "" |
| 3356 |
"B<mmap>(2) allocates a block of memory that starts on a page boundary and " |
| 3357 |
"is a multiple of the page size. This is useful if we want to establish a " |
| 3358 |
"guard page (a page with protection B<PROT_NONE>) at the end of the stack " |
| 3359 |
"using B<mprotect>(2)." |
| 3360 |
msgstr "" |
| 3361 |
"تخصص B<mmap>(2) كتلة من الذاكرة تبدأ عند حدود الصفحة وتكون من مضاعفات حجم " |
| 3362 |
"الصفحة. وهذا مفيد إذا أردنا إنشاء صفحة حماية (صفحة ذات حماية B<PROT_NONE>) " |
| 3363 |
"في نهاية المكدس باستخدام B<mprotect>(2)." |
| 3364 |
|
| 3365 |
#. type: Plain text |
| 3366 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3367 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3368 |
msgid "" |
| 3369 |
"We can specify the B<MAP_STACK> flag to request a mapping that is suitable " |
| 3370 |
"for a stack. For the moment, this flag is a no-op on Linux, but it exists " |
| 3371 |
"and has effect on some other systems, so we should include it for " |
| 3372 |
"portability." |
| 3373 |
msgstr "" |
| 3374 |
"يمكننا تحديد العلم B<MAP_STACK> لطلب تخطيط مناسب للمكدس. في الوقت الحالي، " |
| 3375 |
"هذا العلم لا يقوم بأي عملية (no-op) على لينكس، ولكنه موجود وله تأثير على بعض " |
| 3376 |
"الأنظمة الأخرى، لذا ينبغي لنا تضمينه من أجل قابلية النقل." |
| 3377 |
|
| 3378 |
#. type: SS |
| 3379 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3380 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3381 |
#, no-wrap |
| 3382 |
msgid "Program source" |
| 3383 |
msgstr "مصدر البرنامج" |
| 3384 |
|
| 3385 |
#. type: Plain text |
| 3386 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 3387 |
#: opensuse-tumbleweed |
| 3388 |
#, no-wrap |
| 3389 |
msgid "" |
| 3390 |
"#define _GNU_SOURCE\n" |
| 3391 |
"#include E<lt>err.hE<gt>\n" |
| 3392 |
"#include E<lt>sched.hE<gt>\n" |
| 3393 |
"#include E<lt>signal.hE<gt>\n" |
| 3394 |
"#include E<lt>stdint.hE<gt>\n" |
| 3395 |
"#include E<lt>stdio.hE<gt>\n" |
| 3396 |
"#include E<lt>stdlib.hE<gt>\n" |
| 3397 |
"#include E<lt>string.hE<gt>\n" |
| 3398 |
"#include E<lt>sys/mman.hE<gt>\n" |
| 3399 |
"#include E<lt>sys/types.hE<gt>\n" |
| 3400 |
"#include E<lt>sys/utsname.hE<gt>\n" |
| 3401 |
"#include E<lt>sys/wait.hE<gt>\n" |
| 3402 |
"#include E<lt>unistd.hE<gt>\n" |
| 3403 |
"\\&\n" |
| 3404 |
"static int /* Start function for cloned child */\n" |
| 3405 |
"childFunc(void *arg)\n" |
| 3406 |
"{\n" |
| 3407 |
" struct utsname uts;\n" |
| 3408 |
"\\&\n" |
| 3409 |
" /* Change hostname in UTS namespace of child. */\n" |
| 3410 |
"\\&\n" |
| 3411 |
" if (sethostname(arg, strlen(arg)) == -1)\n" |
| 3412 |
" err(EXIT_FAILURE, \"sethostname\");\n" |
| 3413 |
"\\&\n" |
| 3414 |
" /* Retrieve and display hostname. */\n" |
| 3415 |
"\\&\n" |
| 3416 |
" if (uname(&uts) == -1)\n" |
| 3417 |
" err(EXIT_FAILURE, \"uname\");\n" |
| 3418 |
" printf(\"uts.nodename in child: %s\\[rs]n\", uts.nodename);\n" |
| 3419 |
"\\&\n" |
| 3420 |
" /* Keep the namespace open for a while, by sleeping.\n" |
| 3421 |
" This allows some experimentation--for example, another\n" |
| 3422 |
" process might join the namespace. */\n" |
| 3423 |
"\\&\n" |
| 3424 |
" sleep(200);\n" |
| 3425 |
"\\&\n" |
| 3426 |
" return 0; /* Child terminates now */\n" |
| 3427 |
"}\n" |
| 3428 |
"\\&\n" |
| 3429 |
"#define STACK_SIZE (1024 * 1024) /* Stack size for cloned child */\n" |
| 3430 |
"\\&\n" |
| 3431 |
"int\n" |
| 3432 |
"main(int argc, char *argv[])\n" |
| 3433 |
"{\n" |
| 3434 |
" char *stack; /* Start of stack buffer */\n" |
| 3435 |
" char *stackTop; /* End of stack buffer */\n" |
| 3436 |
" pid_t pid;\n" |
| 3437 |
" struct utsname uts;\n" |
| 3438 |
"\\&\n" |
| 3439 |
" if (argc E<lt> 2) {\n" |
| 3440 |
" fprintf(stderr, \"Usage: %s E<lt>child-hostnameE<gt>\\[rs]n\"," |
| 3441 |
" argv[0]);\n" |
| 3442 |
" exit(EXIT_SUCCESS);\n" |
| 3443 |
" }\n" |
| 3444 |
"\\&\n" |
| 3445 |
" /* Allocate memory to be used for the stack of the child. */\n" |
| 3446 |
"\\&\n" |
| 3447 |
" stack = mmap(NULL, STACK_SIZE, PROT_READ | PROT_WRITE,\n" |
| 3448 |
" MAP_PRIVATE | MAP_ANONYMOUS | MAP_STACK, -1, 0);\n" |
| 3449 |
" if (stack == MAP_FAILED)\n" |
| 3450 |
" err(EXIT_FAILURE, \"mmap\");\n" |
| 3451 |
"\\&\n" |
| 3452 |
" stackTop = stack + STACK_SIZE; /* Assume stack grows downward */\n" |
| 3453 |
"\\&\n" |
| 3454 |
" /* Create child that has its own UTS namespace;\n" |
| 3455 |
" child commences execution in childFunc(). */\n" |
| 3456 |
"\\&\n" |
| 3457 |
" pid = clone(childFunc, stackTop, CLONE_NEWUTS | SIGCHLD, argv[1]);\n" |
| 3458 |
" if (pid == -1)\n" |
| 3459 |
" err(EXIT_FAILURE, \"clone\");\n" |
| 3460 |
" if (munmap(stack, STACK_SIZE))\n" |
| 3461 |
" err(EXIT_FAILURE, \"munmap\");\n" |
| 3462 |
" printf(\"clone() returned %jd\\[rs]n\", (intmax_t) pid);\n" |
| 3463 |
"\\&\n" |
| 3464 |
" /* Parent falls through to here */\n" |
| 3465 |
"\\&\n" |
| 3466 |
" sleep(1); /* Give child time to change its hostname */\n" |
| 3467 |
"\\&\n" |
| 3468 |
" /* Display hostname in parent\\[aq]s UTS namespace. This will be\n" |
| 3469 |
" different from hostname in child\\[aq]s UTS namespace. */\n" |
| 3470 |
"\\&\n" |
| 3471 |
" if (uname(&uts) == -1)\n" |
| 3472 |
" err(EXIT_FAILURE, \"uname\");\n" |
| 3473 |
" printf(\"uts.nodename in parent: %s\\[rs]n\", uts.nodename);\n" |
| 3474 |
"\\&\n" |
| 3475 |
" if (waitpid(pid, NULL, 0) == -1) /* Wait for child */\n" |
| 3476 |
" err(EXIT_FAILURE, \"waitpid\");\n" |
| 3477 |
" printf(\"child has terminated\\[rs]n\");\n" |
| 3478 |
"\\&\n" |
| 3479 |
" exit(EXIT_SUCCESS);\n" |
| 3480 |
"}\n" |
| 3481 |
msgstr "" |
| 3482 |
"#define _GNU_SOURCE\n" |
| 3483 |
"#include E<lt>err.hE<gt>\n" |
| 3484 |
"#include E<lt>sched.hE<gt>\n" |
| 3485 |
"#include E<lt>signal.hE<gt>\n" |
| 3486 |
"#include E<lt>stdint.hE<gt>\n" |
| 3487 |
"#include E<lt>stdio.hE<gt>\n" |
| 3488 |
"#include E<lt>stdlib.hE<gt>\n" |
| 3489 |
"#include E<lt>string.hE<gt>\n" |
| 3490 |
"#include E<lt>sys/mman.hE<gt>\n" |
| 3491 |
"#include E<lt>sys/types.hE<gt>\n" |
| 3492 |
"#include E<lt>sys/utsname.hE<gt>\n" |
| 3493 |
"#include E<lt>sys/wait.hE<gt>\n" |
| 3494 |
"#include E<lt>unistd.hE<gt>\n" |
| 3495 |
"\\&\n" |
| 3496 |
"static int /* دالة البدء للابن المنسوخ */\n" |
| 3497 |
"childFunc(void *arg)\n" |
| 3498 |
"{\n" |
| 3499 |
" struct utsname uts;\n" |
| 3500 |
"\\&\n" |
| 3501 |
" /* غيّر اسم المضيف في نطاق أسماء UTS للابن. */\n" |
| 3502 |
"\\&\n" |
| 3503 |
" if (sethostname(arg, strlen(arg)) == -1)\n" |
| 3504 |
" err(EXIT_FAILURE, \"sethostname\");\n" |
| 3505 |
"\\&\n" |
| 3506 |
" /* استرجع واعرض اسم المضيف. */\n" |
| 3507 |
"\\&\n" |
| 3508 |
" if (uname(&uts) == -1)\n" |
| 3509 |
" err(EXIT_FAILURE, \"uname\");\n" |
| 3510 |
" printf(\"uts.nodename in child: %s\\[rs]n\", uts.nodename);\n" |
| 3511 |
"\\&\n" |
| 3512 |
" /* أبقِ نطاق الأسماء مفتوحًا لفترة عبر النوم.\n" |
| 3513 |
" يسمح هذا ببعض التجارب--على سبيل المثال، قد\n" |
| 3514 |
" تنضم عملية أخرى إلى نطاق الأسماء. */\n" |
| 3515 |
"\\&\n" |
| 3516 |
" sleep(200);\n" |
| 3517 |
"\\&\n" |
| 3518 |
" return 0; /* ينتهي الابن الآن */\n" |
| 3519 |
"}\n" |
| 3520 |
"\\&\n" |
| 3521 |
"#define STACK_SIZE (1024 * 1024) /* حجم المكدس للابن المنسوخ */\n" |
| 3522 |
"\\&\n" |
| 3523 |
"int\n" |
| 3524 |
"main(int argc, char *argv[])\n" |
| 3525 |
"{\n" |
| 3526 |
" char *stack; /* بداية مخزن المكدس */\n" |
| 3527 |
" char *stackTop; /* نهاية مخزن المكدس */\n" |
| 3528 |
" pid_t pid;\n" |
| 3529 |
" struct utsname uts;\n" |
| 3530 |
"\\&\n" |
| 3531 |
" if (argc E<lt> 2) {\n" |
| 3532 |
" fprintf(stderr, \"Usage: %s E<lt>child-hostnameE<gt>\\[rs]n\"," |
| 3533 |
" argv[0]);\n" |
| 3534 |
" exit(EXIT_SUCCESS);\n" |
| 3535 |
" }\n" |
| 3536 |
"\\&\n" |
| 3537 |
" /* خصص ذاكرة لتستخدم كمكدس للابن. */\n" |
| 3538 |
"\\&\n" |
| 3539 |
" stack = mmap(NULL, STACK_SIZE, PROT_READ | PROT_WRITE,\n" |
| 3540 |
" MAP_PRIVATE | MAP_ANONYMOUS | MAP_STACK, -1, 0);\n" |
| 3541 |
" if (stack == MAP_FAILED)\n" |
| 3542 |
" err(EXIT_FAILURE, \"mmap\");\n" |
| 3543 |
"\\&\n" |
| 3544 |
" stackTop = stack + STACK_SIZE; /* نفترض أن المكدس ينمو لأسفل */\n" |
| 3545 |
"\\&\n" |
| 3546 |
" /* أنشئ ابنًا له نطاق أسماء UTS الخاص به؛\n" |
| 3547 |
" يبدأ الابن التنفيذ في childFunc(). */\n" |
| 3548 |
"\\&\n" |
| 3549 |
" pid = clone(childFunc, stackTop, CLONE_NEWUTS | SIGCHLD, argv[1]);\n" |
| 3550 |
" if (pid == -1)\n" |
| 3551 |
" err(EXIT_FAILURE, \"clone\");\n" |
| 3552 |
" if (munmap(stack, STACK_SIZE))\n" |
| 3553 |
" err(EXIT_FAILURE, \"munmap\");\n" |
| 3554 |
" printf(\"clone() returned %jd\\[rs]n\", (intmax_t) pid);\n" |
| 3555 |
"\\&\n" |
| 3556 |
" /* يسقط الأب إلى هنا */\n" |
| 3557 |
"\\&\n" |
| 3558 |
" sleep(1); /* أعطِ الابن وقتًا لتغيير اسم مضيفه */\n" |
| 3559 |
"\\&\n" |
| 3560 |
" /* اعرض اسم المضيف في نطاق أسماء UTS للأب. سيكون هذا\n" |
| 3561 |
" مختلفًا عن اسم المضيف في نطاق أسماء UTS للابن. */\n" |
| 3562 |
"\\&\n" |
| 3563 |
" if (uname(&uts) == -1)\n" |
| 3564 |
" err(EXIT_FAILURE, \"uname\");\n" |
| 3565 |
" printf(\"uts.nodename in parent: %s\\[rs]n\", uts.nodename);\n" |
| 3566 |
"\\&\n" |
| 3567 |
" if (waitpid(pid, NULL, 0) == -1) /* انتظر الابن */\n" |
| 3568 |
" err(EXIT_FAILURE, \"waitpid\");\n" |
| 3569 |
" printf(\"child has terminated\\[rs]n\");\n" |
| 3570 |
"\\&\n" |
| 3571 |
" exit(EXIT_SUCCESS);\n" |
| 3572 |
"}\n" |
| 3573 |
|
| 3574 |
#. SRC END |
| 3575 |
#. type: SH |
| 3576 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3577 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3578 |
#, no-wrap |
| 3579 |
msgid "SEE ALSO" |
| 3580 |
msgstr "انظر أيضًا" |
| 3581 |
|
| 3582 |
#. type: Plain text |
| 3583 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3584 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3585 |
msgid "" |
| 3586 |
"B<fork>(2), B<futex>(2), B<getpid>(2), B<gettid>(2), B<kcmp>(2), B<mmap>(2), " |
| 3587 |
"B<pidfd_open>(2), B<set_thread_area>(2), B<set_tid_address>(2), B<setns>(2), " |
| 3588 |
"B<tkill>(2), B<unshare>(2), B<wait>(2), B<capabilities>(7), " |
| 3589 |
"B<namespaces>(7), B<pthreads>(7)" |
| 3590 |
msgstr "" |
| 3591 |
"B<fork>(2), B<futex>(2), B<getpid>(2), B<gettid>(2), B<kcmp>(2), B<mmap>(2), " |
| 3592 |
"B<pidfd_open>(2), B<set_thread_area>(2), B<set_tid_address>(2), B<setns>(2), " |
| 3593 |
"B<tkill>(2), B<unshare>(2), B<wait>(2), B<capabilities>(7), " |
| 3594 |
"B<namespaces>(7), B<pthreads>(7)" |
| 3595 |
|
| 3596 |
#. type: TH |
| 3597 |
#: debian-trixie |
| 3598 |
#, no-wrap |
| 3599 |
msgid "2024-06-15" |
| 3600 |
msgstr "15 يونيو 2024" |
| 3601 |
|
| 3602 |
#. type: TH |
| 3603 |
#: debian-trixie |
| 3604 |
#, no-wrap |
| 3605 |
msgid "Linux man-pages 6.9.1" |
| 3606 |
msgstr "صفحات دليل لينكس 6.9.1" |
| 3607 |
|
| 3608 |
#. type: Plain text |
| 3609 |
#: debian-trixie |
| 3610 |
msgid "Standard C library (I<libc>, I<-lc>)" |
| 3611 |
msgstr "مكتبة سي المعيارية (I<libc>، I<-lc>)" |
| 3612 |
|
| 3613 |
#. type: Plain text |
| 3614 |
#: debian-trixie |
| 3615 |
#, no-wrap |
| 3616 |
msgid "" |
| 3617 |
"B<int clone(int (*>I<fn>B<)(void *_Nullable), void *>I<stack>B<, int >I<flags" |
| 3618 |
">B<,>\n" |
| 3619 |
"B< void *_Nullable >I<arg>B<, ...>I< >/*B< pid_t *_Nullable >I<" |
| 3620 |
"parent_tid>B<,>\n" |
| 3621 |
"B< void *_Nullable >I<tls>B<,>\n" |
| 3622 |
"B< pid_t *_Nullable >I<child_tid>B< " |
| 3623 |
">*/B< );>\n" |
| 3624 |
msgstr "" |
| 3625 |
"B<int clone(int (*>I<fn>B<)(void *_Nullable), void *>I<stack>B<, int >I<flags" |
| 3626 |
">B<,>\n" |
| 3627 |
"B< void *_Nullable >I<arg>B<, ...>I< >/*B< pid_t *_Nullable >I<" |
| 3628 |
"parent_tid>B<,>\n" |
| 3629 |
"B< void *_Nullable >I<tls>B<,>\n" |
| 3630 |
"B< pid_t *_Nullable >I<child_tid>B< " |
| 3631 |
">*/B< );>\n" |
| 3632 |
|
| 3633 |
#. type: Plain text |
| 3634 |
#: debian-trixie |
| 3635 |
#, no-wrap |
| 3636 |
msgid "/* For the prototype of the raw clone() system call, see NOTES */\n" |
| 3637 |
msgstr "/* للنموذج المبدئي لنداء النظام clone() الخام، انظر NOTES */\n" |
| 3638 |
|
| 3639 |
#. type: Plain text |
| 3640 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3641 |
#, no-wrap |
| 3642 |
msgid "" |
| 3643 |
"struct clone_args {\n" |
| 3644 |
" u64 flags; /* Flags bit mask */\n" |
| 3645 |
" u64 pidfd; /* Where to store PID file descriptor\n" |
| 3646 |
" (I<int *>) */\n" |
| 3647 |
" u64 child_tid; /* Where to store child TID,\n" |
| 3648 |
" in child\\[aq]s memory (I<pid_t *>) */\n" |
| 3649 |
" u64 parent_tid; /* Where to store child TID,\n" |
| 3650 |
" in parent\\[aq]s memory (I<pid_t *>) */\n" |
| 3651 |
" u64 exit_signal; /* Signal to deliver to parent on\n" |
| 3652 |
" child termination */\n" |
| 3653 |
" u64 stack; /* Pointer to lowest byte of stack */\n" |
| 3654 |
" u64 stack_size; /* Size of stack */\n" |
| 3655 |
" u64 tls; /* Location of new TLS */\n" |
| 3656 |
" u64 set_tid; /* Pointer to a I<pid_t> array\n" |
| 3657 |
" (since Linux 5.5) */\n" |
| 3658 |
" u64 set_tid_size; /* Number of elements in I<set_tid>\n" |
| 3659 |
" (since Linux 5.5) */\n" |
| 3660 |
" u64 cgroup; /* File descriptor for target cgroup\n" |
| 3661 |
" of child (since Linux 5.7) */\n" |
| 3662 |
"};\n" |
| 3663 |
msgstr "" |
| 3664 |
"struct clone_args {\n" |
| 3665 |
" u64 flags; /* قناع بتات الأعلام */\n" |
| 3666 |
" u64 pidfd; /* مكان تخزين واصف ملف PID\n" |
| 3667 |
" (I<int *>) */\n" |
| 3668 |
" u64 child_tid; /* مكان تخزين TID للابن،\n" |
| 3669 |
" في ذاكرة الابن (I<pid_t *>) */\n" |
| 3670 |
" u64 parent_tid; /* مكان تخزين TID للابن،\n" |
| 3671 |
" في ذاكرة الأب (I<pid_t *>) */\n" |
| 3672 |
" u64 exit_signal; /* الإشارة التي ستُرسل للأب عند\n" |
| 3673 |
" انتهاء الابن */\n" |
| 3674 |
" u64 stack; /* مؤشر إلى أدنى بايت في المكدس */\n" |
| 3675 |
" u64 stack_size; /* حجم المكدس */\n" |
| 3676 |
" u64 tls; /* موقع TLS الجديد */\n" |
| 3677 |
" u64 set_tid; /* مؤشر لمصفوفة I<pid_t>\n" |
| 3678 |
" (منذ لينكس 5.5) */\n" |
| 3679 |
" u64 set_tid_size; /* عدد العناصر في I<set_tid>\n" |
| 3680 |
" (منذ لينكس 5.5) */\n" |
| 3681 |
" u64 cgroup; /* واصف ملف لـ cgroup المستهدف\n" |
| 3682 |
" للابن (منذ لينكس 5.7) */\n" |
| 3683 |
"};\n" |
| 3684 |
|
| 3685 |
#. type: tbl table |
| 3686 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3687 |
#, no-wrap |
| 3688 |
msgid "I<cl_args> field" |
| 3689 |
msgstr "حقل I<cl_args>" |
| 3690 |
|
| 3691 |
#. type: tbl table |
| 3692 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3693 |
#, no-wrap |
| 3694 |
msgid "For most flags; details below" |
| 3695 |
msgstr "لمعظم الأعلام؛ التفاصيل أدناه" |
| 3696 |
|
| 3697 |
#. type: tbl table |
| 3698 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3699 |
#, no-wrap |
| 3700 |
msgid "I<--->" |
| 3701 |
msgstr "I<--->" |
| 3702 |
|
| 3703 |
#. added in Linux 2.5.32; removed in Linux 2.6.0-test4 |
| 3704 |
#. type: Plain text |
| 3705 |
#: debian-trixie |
| 3706 |
msgid "" |
| 3707 |
"For a while (during the Linux 2.5 development series) there was a " |
| 3708 |
"B<CLONE_DETACHED> flag, which caused the parent not to receive a signal when " |
| 3709 |
"the child terminated. Ultimately, the effect of this flag was subsumed " |
| 3710 |
"under the B<CLONE_THREAD> flag and by the time Linux 2.6.0 was released, " |
| 3711 |
"this flag had no effect. Starting in Linux 2.6.2, the need to give this " |
| 3712 |
"flag together with B<CLONE_THREAD> disappeared." |
| 3713 |
msgstr "" |
| 3714 |
"لفترة من الوقت (أثناء سلسلة تطوير لينكس 2.5) كان هناك علم B<CLONE_DETACHED>، " |
| 3715 |
"والذي جعل الأب لا يتلقى إشارة عندما ينتهي الابن. في نهاية المطاف، أُدرج تأثير " |
| 3716 |
"هذا العلم تحت العلم B<CLONE_THREAD> وبحلول وقت إصدار لينكس 2.6.0، لم يكن " |
| 3717 |
"لهذا العلم أي تأثير. بدءًا من لينكس 2.6.2، اختفت الحاجة لإعطاء هذا العلم مع " |
| 3718 |
"B<CLONE_THREAD>." |
| 3719 |
|
| 3720 |
#. type: Plain text |
| 3721 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3722 |
msgid "" |
| 3723 |
"It is currently not possible to use this flag together with B<CLONE_THREAD.> " |
| 3724 |
"This means that the process identified by the PID file descriptor will " |
| 3725 |
"always be a thread group leader." |
| 3726 |
msgstr "" |
| 3727 |
"لا يمكن حاليًا استخدام هذا العلم مع B<CLONE_THREAD.> وهذا يعني أن العملية " |
| 3728 |
"المحددة بواسطة واصف ملف PID ستكون دائمًا رئيسة لمجموعة خيوط." |
| 3729 |
|
| 3730 |
#. type: Plain text |
| 3731 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3732 |
#, no-wrap |
| 3733 |
msgid "" |
| 3734 |
"B<long clone(unsigned long >I<flags>B<, void *>I<stack>B<,>\n" |
| 3735 |
"B< int >I<stack_size>B<,> /* Size of stack */\n" |
| 3736 |
"B< int *>I<parent_tid>B<, int *>I<child_tid>B<,>\n" |
| 3737 |
"B< unsigned long >I<tls>B<);>\n" |
| 3738 |
msgstr "" |
| 3739 |
"B<long clone(unsigned long >I<flags>B<, void *>I<stack>B<,>\n" |
| 3740 |
"B< int >I<stack_size>B<,> /* حجم المكدس */\n" |
| 3741 |
"B< int *>I<parent_tid>B<, int *>I<child_tid>B<,>\n" |
| 3742 |
"B< unsigned long >I<tls>B<);>\n" |
| 3743 |
|
| 3744 |
#. type: Plain text |
| 3745 |
#: debian-trixie |
| 3746 |
#, no-wrap |
| 3747 |
msgid "" |
| 3748 |
"B<int __clone2(int (*>I<fn>B<)(void *),>\n" |
| 3749 |
"B< void *>I<stack_base>B<, size_t >I<stack_size>B<,>\n" |
| 3750 |
"B< int >I<flags>B<, void *>I<arg>B<, ...>\n" |
| 3751 |
"B< /* pid_t *>I<parent_tid>B<, struct user_desc *>I<tls>B<,>\n" |
| 3752 |
"B< pid_t *>I<child_tid>B< */ );>\n" |
| 3753 |
msgstr "" |
| 3754 |
"B<int __clone2(int (*>I<fn>B<)(void *),>\n" |
| 3755 |
"B< void *>I<stack_base>B<, size_t >I<stack_size>B<,>\n" |
| 3756 |
"B< int >I<flags>B<, void *>I<arg>B<, ...>\n" |
| 3757 |
"B< /* pid_t *>I<parent_tid>B<, struct user_desc *>I<tls>B<,>\n" |
| 3758 |
"B< pid_t *>I<child_tid>B< */ );>\n" |
| 3759 |
|
| 3760 |
#. type: Plain text |
| 3761 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3762 |
#, no-wrap |
| 3763 |
msgid "" |
| 3764 |
"B<long clone2(unsigned long >I<flags>B<, void *>I<stack_base>B<,>\n" |
| 3765 |
"B< int >I<stack_size>B<,> /* Size of stack */\n" |
| 3766 |
"B< int *>I<parent_tid>B<, int *>I<child_tid>B<,>\n" |
| 3767 |
"B< unsigned long >I<tls>B<);>\n" |
| 3768 |
msgstr "" |
| 3769 |
"B<long clone2(unsigned long >I<flags>B<, void *>I<stack_base>B<,>\n" |
| 3770 |
"B< int >I<stack_size>B<,> /* حجم المكدس */\n" |
| 3771 |
"B< int *>I<parent_tid>B<, int *>I<child_tid>B<,>\n" |
| 3772 |
"B< unsigned long >I<tls>B<);>\n" |
| 3773 |
|
| 3774 |
#. type: Plain text |
| 3775 |
#: debian-trixie |
| 3776 |
#, no-wrap |
| 3777 |
msgid "" |
| 3778 |
"#define _GNU_SOURCE\n" |
| 3779 |
"#include E<lt>err.hE<gt>\n" |
| 3780 |
"#include E<lt>sched.hE<gt>\n" |
| 3781 |
"#include E<lt>signal.hE<gt>\n" |
| 3782 |
"#include E<lt>stdint.hE<gt>\n" |
| 3783 |
"#include E<lt>stdio.hE<gt>\n" |
| 3784 |
"#include E<lt>stdlib.hE<gt>\n" |
| 3785 |
"#include E<lt>string.hE<gt>\n" |
| 3786 |
"#include E<lt>sys/mman.hE<gt>\n" |
| 3787 |
"#include E<lt>sys/types.hE<gt>\n" |
| 3788 |
"#include E<lt>sys/utsname.hE<gt>\n" |
| 3789 |
"#include E<lt>sys/wait.hE<gt>\n" |
| 3790 |
"#include E<lt>unistd.hE<gt>\n" |
| 3791 |
"\\&\n" |
| 3792 |
"static int /* Start function for cloned child */\n" |
| 3793 |
"childFunc(void *arg)\n" |
| 3794 |
"{\n" |
| 3795 |
" struct utsname uts;\n" |
| 3796 |
"\\&\n" |
| 3797 |
" /* Change hostname in UTS namespace of child. */\n" |
| 3798 |
"\\&\n" |
| 3799 |
" if (sethostname(arg, strlen(arg)) == -1)\n" |
| 3800 |
" err(EXIT_FAILURE, \"sethostname\");\n" |
| 3801 |
"\\&\n" |
| 3802 |
" /* Retrieve and display hostname. */\n" |
| 3803 |
"\\&\n" |
| 3804 |
" if (uname(&uts) == -1)\n" |
| 3805 |
" err(EXIT_FAILURE, \"uname\");\n" |
| 3806 |
" printf(\"uts.nodename in child: %s\\[rs]n\", uts.nodename);\n" |
| 3807 |
"\\&\n" |
| 3808 |
" /* Keep the namespace open for a while, by sleeping.\n" |
| 3809 |
" This allows some experimentation--for example, another\n" |
| 3810 |
" process might join the namespace. */\n" |
| 3811 |
"\\&\n" |
| 3812 |
" sleep(200);\n" |
| 3813 |
"\\&\n" |
| 3814 |
" return 0; /* Child terminates now */\n" |
| 3815 |
"}\n" |
| 3816 |
"\\&\n" |
| 3817 |
"#define STACK_SIZE (1024 * 1024) /* Stack size for cloned child */\n" |
| 3818 |
"\\&\n" |
| 3819 |
"int\n" |
| 3820 |
"main(int argc, char *argv[])\n" |
| 3821 |
"{\n" |
| 3822 |
" char *stack; /* Start of stack buffer */\n" |
| 3823 |
" char *stackTop; /* End of stack buffer */\n" |
| 3824 |
" pid_t pid;\n" |
| 3825 |
" struct utsname uts;\n" |
| 3826 |
"\\&\n" |
| 3827 |
" if (argc E<lt> 2) {\n" |
| 3828 |
" fprintf(stderr, \"Usage: %s E<lt>child-hostnameE<gt>\\[rs]n\"," |
| 3829 |
" argv[0]);\n" |
| 3830 |
" exit(EXIT_SUCCESS);\n" |
| 3831 |
" }\n" |
| 3832 |
"\\&\n" |
| 3833 |
" /* Allocate memory to be used for the stack of the child. */\n" |
| 3834 |
"\\&\n" |
| 3835 |
" stack = mmap(NULL, STACK_SIZE, PROT_READ | PROT_WRITE,\n" |
| 3836 |
" MAP_PRIVATE | MAP_ANONYMOUS | MAP_STACK, -1, 0);\n" |
| 3837 |
" if (stack == MAP_FAILED)\n" |
| 3838 |
" err(EXIT_FAILURE, \"mmap\");\n" |
| 3839 |
"\\&\n" |
| 3840 |
" stackTop = stack + STACK_SIZE; /* Assume stack grows downward */\n" |
| 3841 |
"\\&\n" |
| 3842 |
" /* Create child that has its own UTS namespace;\n" |
| 3843 |
" child commences execution in childFunc(). */\n" |
| 3844 |
"\\&\n" |
| 3845 |
" pid = clone(childFunc, stackTop, CLONE_NEWUTS | SIGCHLD, argv[1]);\n" |
| 3846 |
" if (pid == -1)\n" |
| 3847 |
" err(EXIT_FAILURE, \"clone\");\n" |
| 3848 |
" printf(\"clone() returned %jd\\[rs]n\", (intmax_t) pid);\n" |
| 3849 |
"\\&\n" |
| 3850 |
" /* Parent falls through to here */\n" |
| 3851 |
"\\&\n" |
| 3852 |
" sleep(1); /* Give child time to change its hostname */\n" |
| 3853 |
"\\&\n" |
| 3854 |
" /* Display hostname in parent\\[aq]s UTS namespace. This will be\n" |
| 3855 |
" different from hostname in child\\[aq]s UTS namespace. */\n" |
| 3856 |
"\\&\n" |
| 3857 |
" if (uname(&uts) == -1)\n" |
| 3858 |
" err(EXIT_FAILURE, \"uname\");\n" |
| 3859 |
" printf(\"uts.nodename in parent: %s\\[rs]n\", uts.nodename);\n" |
| 3860 |
"\\&\n" |
| 3861 |
" if (waitpid(pid, NULL, 0) == -1) /* Wait for child */\n" |
| 3862 |
" err(EXIT_FAILURE, \"waitpid\");\n" |
| 3863 |
" printf(\"child has terminated\\[rs]n\");\n" |
| 3864 |
"\\&\n" |
| 3865 |
" exit(EXIT_SUCCESS);\n" |
| 3866 |
"}\n" |
| 3867 |
msgstr "" |
| 3868 |
"#define _GNU_SOURCE\n" |
| 3869 |
"#include E<lt>err.hE<gt>\n" |
| 3870 |
"#include E<lt>sched.hE<gt>\n" |
| 3871 |
"#include E<lt>signal.hE<gt>\n" |
| 3872 |
"#include E<lt>stdint.hE<gt>\n" |
| 3873 |
"#include E<lt>stdio.hE<gt>\n" |
| 3874 |
"#include E<lt>stdlib.hE<gt>\n" |
| 3875 |
"#include E<lt>string.hE<gt>\n" |
| 3876 |
"#include E<lt>sys/mman.hE<gt>\n" |
| 3877 |
"#include E<lt>sys/types.hE<gt>\n" |
| 3878 |
"#include E<lt>sys/utsname.hE<gt>\n" |
| 3879 |
"#include E<lt>sys/wait.hE<gt>\n" |
| 3880 |
"#include E<lt>unistd.hE<gt>\n" |
| 3881 |
"\\&\n" |
| 3882 |
"static int /* دالة البدء للابن المنسوخ */\n" |
| 3883 |
"childFunc(void *arg)\n" |
| 3884 |
"{\n" |
| 3885 |
" struct utsname uts;\n" |
| 3886 |
"\\&\n" |
| 3887 |
" /* غيّر اسم المضيف في نطاق أسماء UTS للابن. */\n" |
| 3888 |
"\\&\n" |
| 3889 |
" if (sethostname(arg, strlen(arg)) == -1)\n" |
| 3890 |
" err(EXIT_FAILURE, \"sethostname\");\n" |
| 3891 |
"\\&\n" |
| 3892 |
" /* استرجع واعرض اسم المضيف. */\n" |
| 3893 |
"\\&\n" |
| 3894 |
" if (uname(&uts) == -1)\n" |
| 3895 |
" err(EXIT_FAILURE, \"uname\");\n" |
| 3896 |
" printf(\"uts.nodename in child: %s\\[rs]n\", uts.nodename);\n" |
| 3897 |
"\\&\n" |
| 3898 |
" /* أبقِ نطاق الأسماء مفتوحًا لفترة عبر النوم.\n" |
| 3899 |
" يسمح هذا ببعض التجارب--على سبيل المثال، قد\n" |
| 3900 |
" تنضم عملية أخرى إلى نطاق الأسماء. */\n" |
| 3901 |
"\\&\n" |
| 3902 |
" sleep(200);\n" |
| 3903 |
"\\&\n" |
| 3904 |
" return 0; /* ينتهي الابن الآن */\n" |
| 3905 |
"}\n" |
| 3906 |
"\\&\n" |
| 3907 |
"#define STACK_SIZE (1024 * 1024) /* حجم المكدس للابن المنسوخ */\n" |
| 3908 |
"\\&\n" |
| 3909 |
"int\n" |
| 3910 |
"main(int argc, char *argv[])\n" |
| 3911 |
"{\n" |
| 3912 |
" char *stack; /* بداية مخزن المكدس */\n" |
| 3913 |
" char *stackTop; /* نهاية مخزن المكدس */\n" |
| 3914 |
" pid_t pid;\n" |
| 3915 |
" struct utsname uts;\n" |
| 3916 |
"\\&\n" |
| 3917 |
" if (argc E<lt> 2) {\n" |
| 3918 |
" fprintf(stderr, \"Usage: %s E<lt>child-hostnameE<gt>\\[rs]n\"," |
| 3919 |
" argv[0]);\n" |
| 3920 |
" exit(EXIT_SUCCESS);\n" |
| 3921 |
" }\n" |
| 3922 |
"\\&\n" |
| 3923 |
" /* خصص ذاكرة لتستخدم كمكدس للابن. */\n" |
| 3924 |
"\\&\n" |
| 3925 |
" stack = mmap(NULL, STACK_SIZE, PROT_READ | PROT_WRITE,\n" |
| 3926 |
" MAP_PRIVATE | MAP_ANONYMOUS | MAP_STACK, -1, 0);\n" |
| 3927 |
" if (stack == MAP_FAILED)\n" |
| 3928 |
" err(EXIT_FAILURE, \"mmap\");\n" |
| 3929 |
"\\&\n" |
| 3930 |
" stackTop = stack + STACK_SIZE; /* نفترض أن المكدس ينمو لأسفل */\n" |
| 3931 |
"\\&\n" |
| 3932 |
" /* أنشئ ابنًا له نطاق أسماء UTS الخاص به؛\n" |
| 3933 |
" يبدأ الابن التنفيذ في childFunc(). */\n" |
| 3934 |
"\\&\n" |
| 3935 |
" pid = clone(childFunc, stackTop, CLONE_NEWUTS | SIGCHLD, argv[1]);\n" |
| 3936 |
" if (pid == -1)\n" |
| 3937 |
" err(EXIT_FAILURE, \"clone\");\n" |
| 3938 |
" printf(\"clone() returned %jd\\[rs]n\", (intmax_t) pid);\n" |
| 3939 |
"\\&\n" |
| 3940 |
" /* يسقط الأب إلى هنا */\n" |
| 3941 |
"\\&\n" |
| 3942 |
" sleep(1); /* أعطِ الابن وقتًا لتغيير اسم مضيفه */\n" |
| 3943 |
"\\&\n" |
| 3944 |
" /* اعرض اسم المضيف في نطاق أسماء UTS للأب. سيكون هذا\n" |
| 3945 |
" مختلفًا عن اسم المضيف في نطاق أسماء UTS للابن. */\n" |
| 3946 |
"\\&\n" |
| 3947 |
" if (uname(&uts) == -1)\n" |
| 3948 |
" err(EXIT_FAILURE, \"uname\");\n" |
| 3949 |
" printf(\"uts.nodename in parent: %s\\[rs]n\", uts.nodename);\n" |
| 3950 |
"\\&\n" |
| 3951 |
" if (waitpid(pid, NULL, 0) == -1) /* انتظر الابن */\n" |
| 3952 |
" err(EXIT_FAILURE, \"waitpid\");\n" |
| 3953 |
" printf(\"child has terminated\\[rs]n\");\n" |
| 3954 |
"\\&\n" |
| 3955 |
" exit(EXIT_SUCCESS);\n" |
| 3956 |
"}\n" |
| 3957 |
|
| 3958 |
#. type: TH |
| 3959 |
#: fedora-44 fedora-rawhide |
| 3960 |
#, no-wrap |
| 3961 |
msgid "2025-02-10" |
| 3962 |
msgstr "10 فبراير 2025" |
| 3963 |
|
| 3964 |
#. type: TH |
| 3965 |
#: fedora-44 fedora-rawhide |
| 3966 |
#, no-wrap |
| 3967 |
msgid "Linux man-pages 6.13" |
| 3968 |
msgstr "صفحات دليل لينكس 6.13" |
| 3969 |
|
| 3970 |
#. type: Plain text |
| 3971 |
#: fedora-44 fedora-rawhide |
| 3972 |
#, no-wrap |
| 3973 |
msgid "/* For the prototype of the raw clone() system call, see VERSIONS. */\n" |
| 3974 |
msgstr "/* للنموذج المبدئي لنداء النظام clone() الخام، انظر VERSIONS. */\n" |
| 3975 |
|
| 3976 |
#. type: Plain text |
| 3977 |
#: fedora-44 fedora-rawhide |
| 3978 |
#, no-wrap |
| 3979 |
msgid "" |
| 3980 |
"B<int __clone2(typeof(int (void *)) *>I<fn>B<,>\n" |
| 3981 |
"B< void *>I<stack_base>B<, size_t >I<stack_size>B<,>\n" |
| 3982 |
"B< int >I<flags>B<, void *>I<arg>B<, ...>\n" |
| 3983 |
"B< >/*B< pid_t *>I<parent_tid>B<, struct user_desc *>I<tls>B<,>\n" |
| 3984 |
"B< pid_t *>I<child_tid>B< >*/B< );>\n" |
| 3985 |
msgstr "" |
| 3986 |
"B<int __clone2(typeof(int (void *)) *>I<fn>B<,>\n" |
| 3987 |
"B< void *>I<stack_base>B<, size_t >I<stack_size>B<,>\n" |
| 3988 |
"B< int >I<flags>B<, void *>I<arg>B<, ...>\n" |
| 3989 |
"B< >/*B< pid_t *>I<parent_tid>B<, struct user_desc *>I<tls>B<,>\n" |
| 3990 |
"B< pid_t *>I<child_tid>B< >*/B< );>\n" |
| 3991 |
|
| 3992 |
#. type: Plain text |
| 3993 |
#: fedora-44 fedora-rawhide |
| 3994 |
#, no-wrap |
| 3995 |
msgid "" |
| 3996 |
"#define _GNU_SOURCE\n" |
| 3997 |
"#include E<lt>err.hE<gt>\n" |
| 3998 |
"#include E<lt>sched.hE<gt>\n" |
| 3999 |
"#include E<lt>signal.hE<gt>\n" |
| 4000 |
"#include E<lt>stdint.hE<gt>\n" |
| 4001 |
"#include E<lt>stdio.hE<gt>\n" |
| 4002 |
"#include E<lt>stdlib.hE<gt>\n" |
| 4003 |
"#include E<lt>string.hE<gt>\n" |
| 4004 |
"#include E<lt>sys/mman.hE<gt>\n" |
| 4005 |
"#include E<lt>sys/types.hE<gt>\n" |
| 4006 |
"#include E<lt>sys/utsname.hE<gt>\n" |
| 4007 |
"#include E<lt>sys/wait.hE<gt>\n" |
| 4008 |
"#include E<lt>unistd.hE<gt>\n" |
| 4009 |
"\\&\n" |
| 4010 |
"static int /* Start function for cloned child */\n" |
| 4011 |
"childFunc(void *arg)\n" |
| 4012 |
"{\n" |
| 4013 |
" struct utsname uts;\n" |
| 4014 |
"\\&\n" |
| 4015 |
" /* Change hostname in UTS namespace of child. */\n" |
| 4016 |
"\\&\n" |
| 4017 |
" if (sethostname(arg, strlen(arg)) == -1)\n" |
| 4018 |
" err(EXIT_FAILURE, \"sethostname\");\n" |
| 4019 |
"\\&\n" |
| 4020 |
" /* Retrieve and display hostname. */\n" |
| 4021 |
"\\&\n" |
| 4022 |
" if (uname(&uts) == -1)\n" |
| 4023 |
" err(EXIT_FAILURE, \"uname\");\n" |
| 4024 |
" printf(\"uts.nodename in child: %s\\[rs]n\", uts.nodename);\n" |
| 4025 |
"\\&\n" |
| 4026 |
" /* Keep the namespace open for a while, by sleeping.\n" |
| 4027 |
" This allows some experimentation--for example, another\n" |
| 4028 |
" process might join the namespace. */\n" |
| 4029 |
"\\&\n" |
| 4030 |
" sleep(200);\n" |
| 4031 |
"\\&\n" |
| 4032 |
" return 0; /* Child terminates now */\n" |
| 4033 |
"}\n" |
| 4034 |
"\\&\n" |
| 4035 |
"#define STACK_SIZE (1024 * 1024) /* Stack size for cloned child */\n" |
| 4036 |
"\\&\n" |
| 4037 |
"int\n" |
| 4038 |
"main(int argc, char *argv[])\n" |
| 4039 |
"{\n" |
| 4040 |
" char *stack; /* Start of stack buffer */\n" |
| 4041 |
" char *stackTop; /* End of stack buffer */\n" |
| 4042 |
" pid_t pid;\n" |
| 4043 |
" struct utsname uts;\n" |
| 4044 |
"\\&\n" |
| 4045 |
" if (argc E<lt> 2) {\n" |
| 4046 |
" fprintf(stderr, \"Usage: %s E<lt>child-hostnameE<gt>\\[rs]n\"," |
| 4047 |
" argv[0]);\n" |
| 4048 |
" exit(EXIT_SUCCESS);\n" |
| 4049 |
" }\n" |
| 4050 |
"\\&\n" |
| 4051 |
" /* Allocate memory to be used for the stack of the child. */\n" |
| 4052 |
"\\&\n" |
| 4053 |
" stack = mmap(NULL, STACK_SIZE, PROT_READ | PROT_WRITE,\n" |
| 4054 |
" MAP_PRIVATE | MAP_ANONYMOUS | MAP_STACK, -1, 0);\n" |
| 4055 |
" if (stack == MAP_FAILED)\n" |
| 4056 |
" err(EXIT_FAILURE, \"mmap\");\n" |
| 4057 |
"\\&\n" |
| 4058 |
" stackTop = stack + STACK_SIZE; /* Assume stack grows downward */\n" |
| 4059 |
"\\&\n" |
| 4060 |
" /* Create child that has its own UTS namespace;\n" |
| 4061 |
" child commences execution in childFunc(). */\n" |
| 4062 |
"\\&\n" |
| 4063 |
" pid = clone(childFunc, stackTop, CLONE_NEWUTS | SIGCHLD, argv[1]);\n" |
| 4064 |
" if (pid == -1)\n" |
| 4065 |
" err(EXIT_FAILURE, \"clone\");\n" |
| 4066 |
" if (munmap(stack, STACK_SIZE))\n" |
| 4067 |
" err(EXIT_FAILURE, \"munmap\");\n" |
| 4068 |
" printf(\"clone() returned %jd\\[rs]n\", (intmax_t) pid);\n" |
| 4069 |
"\\&\n" |
| 4070 |
" /* Parent falls through to here */\n" |
| 4071 |
"\\&\n" |
| 4072 |
" sleep(1); /* Give child time to change its hostname */\n" |
| 4073 |
"\\&\n" |
| 4074 |
" /* Display hostname in parent\\[aq]s UTS namespace. This will be\n" |
| 4075 |
" different from hostname in child\\[aq]s UTS namespace. */\n" |
| 4076 |
"\\&\n" |
| 4077 |
" if (uname(&uts) == -1)\n" |
| 4078 |
" err(EXIT_FAILURE, \"uname\");\n" |
| 4079 |
" printf(\"uts.nodename in parent: %s\\[rs]n\", uts.nodename);\n" |
| 4080 |
"\\&\n" |
| 4081 |
" if (waitpid(pid, NULL, 0) == -1) /* Wait for child */\n" |
| 4082 |
" err(EXIT_FAILURE, \"waitpid\");\n" |
| 4083 |
" printf(\"child has terminated\\[rs]n\");\n" |
| 4084 |
"\\&\n" |
| 4085 |
" exit(EXIT_SUCCESS);\n" |
| 4086 |
"}\n" |
| 4087 |
msgstr "" |
| 4088 |
"#define _GNU_SOURCE\n" |
| 4089 |
"#include E<lt>err.hE<gt>\n" |
| 4090 |
"#include E<lt>sched.hE<gt>\n" |
| 4091 |
"#include E<lt>signal.hE<gt>\n" |
| 4092 |
"#include E<lt>stdint.hE<gt>\n" |
| 4093 |
"#include E<lt>stdio.hE<gt>\n" |
| 4094 |
"#include E<lt>stdlib.hE<gt>\n" |
| 4095 |
"#include E<lt>string.hE<gt>\n" |
| 4096 |
"#include E<lt>sys/mman.hE<gt>\n" |
| 4097 |
"#include E<lt>sys/types.hE<gt>\n" |
| 4098 |
"#include E<lt>sys/utsname.hE<gt>\n" |
| 4099 |
"#include E<lt>sys/wait.hE<gt>\n" |
| 4100 |
"#include E<lt>unistd.hE<gt>\n" |
| 4101 |
"\\&\n" |
| 4102 |
"static int /* دالة البدء للابن المنسوخ */\n" |
| 4103 |
"childFunc(void *arg)\n" |
| 4104 |
"{\n" |
| 4105 |
" struct utsname uts;\n" |
| 4106 |
"\\&\n" |
| 4107 |
" /* غيّر اسم المضيف في نطاق أسماء UTS للابن. */\n" |
| 4108 |
"\\&\n" |
| 4109 |
" if (sethostname(arg, strlen(arg)) == -1)\n" |
| 4110 |
" err(EXIT_FAILURE, \"sethostname\");\n" |
| 4111 |
"\\&\n" |
| 4112 |
" /* استرجع واعرض اسم المضيف. */\n" |
| 4113 |
"\\&\n" |
| 4114 |
" if (uname(&uts) == -1)\n" |
| 4115 |
" err(EXIT_FAILURE, \"uname\");\n" |
| 4116 |
" printf(\"uts.nodename in child: %s\\[rs]n\", uts.nodename);\n" |
| 4117 |
"\\&\n" |
| 4118 |
" /* أبقِ نطاق الأسماء مفتوحًا لفترة عبر النوم.\n" |
| 4119 |
" يسمح هذا ببعض التجارب--على سبيل المثال، قد\n" |
| 4120 |
" تنضم عملية أخرى إلى نطاق الأسماء. */\n" |
| 4121 |
"\\&\n" |
| 4122 |
" sleep(200);\n" |
| 4123 |
"\\&\n" |
| 4124 |
" return 0; /* ينتهي الابن الآن */\n" |
| 4125 |
"}\n" |
| 4126 |
"\\&\n" |
| 4127 |
"#define STACK_SIZE (1024 * 1024) /* حجم المكدس للابن المنسوخ */\n" |
| 4128 |
"\\&\n" |
| 4129 |
"int\n" |
| 4130 |
"main(int argc, char *argv[])\n" |
| 4131 |
"{\n" |
| 4132 |
" char *stack; /* بداية مخزن المكدس */\n" |
| 4133 |
" char *stackTop; /* نهاية مخزن المكدس */\n" |
| 4134 |
" pid_t pid;\n" |
| 4135 |
" struct utsname uts;\n" |
| 4136 |
"\\&\n" |
| 4137 |
" if (argc E<lt> 2) {\n" |
| 4138 |
" fprintf(stderr, \"Usage: %s E<lt>child-hostnameE<gt>\\[rs]n\"," |
| 4139 |
" argv[0]);\n" |
| 4140 |
" exit(EXIT_SUCCESS);\n" |
| 4141 |
" }\n" |
| 4142 |
"\\&\n" |
| 4143 |
" /* خصص ذاكرة لتستخدم كمكدس للابن. */\n" |
| 4144 |
"\\&\n" |
| 4145 |
" stack = mmap(NULL, STACK_SIZE, PROT_READ | PROT_WRITE,\n" |
| 4146 |
" MAP_PRIVATE | MAP_ANONYMOUS | MAP_STACK, -1, 0);\n" |
| 4147 |
" if (stack == MAP_FAILED)\n" |
| 4148 |
" err(EXIT_FAILURE, \"mmap\");\n" |
| 4149 |
"\\&\n" |
| 4150 |
" stackTop = stack + STACK_SIZE; /* نفترض أن المكدس ينمو لأسفل */\n" |
| 4151 |
"\\&\n" |
| 4152 |
" /* أنشئ ابنًا له نطاق أسماء UTS الخاص به؛\n" |
| 4153 |
" يبدأ الابن التنفيذ في childFunc(). */\n" |
| 4154 |
"\\&\n" |
| 4155 |
" pid = clone(childFunc, stackTop, CLONE_NEWUTS | SIGCHLD, argv[1]);\n" |
| 4156 |
" if (pid == -1)\n" |
| 4157 |
" err(EXIT_FAILURE, \"clone\");\n" |
| 4158 |
" if (munmap(stack, STACK_SIZE))\n" |
| 4159 |
" err(EXIT_FAILURE, \"munmap\");\n" |
| 4160 |
" printf(\"clone() returned %jd\\[rs]n\", (intmax_t) pid);\n" |
| 4161 |
"\\&\n" |
| 4162 |
" /* يسقط الأب إلى هنا */\n" |
| 4163 |
"\\&\n" |
| 4164 |
" sleep(1); /* أعطِ الابن وقتًا لتغيير اسم مضيفه */\n" |
| 4165 |
"\\&\n" |
| 4166 |
" /* اعرض اسم المضيف في نطاق أسماء UTS للأب. سيكون هذا\n" |
| 4167 |
" مختلفًا عن اسم المضيف في نطاق أسماء UTS للابن. */\n" |
| 4168 |
"\\&\n" |
| 4169 |
" if (uname(&uts) == -1)\n" |
| 4170 |
" err(EXIT_FAILURE, \"uname\");\n" |
| 4171 |
" printf(\"uts.nodename in parent: %s\\[rs]n\", uts.nodename);\n" |
| 4172 |
"\\&\n" |
| 4173 |
" if (waitpid(pid, NULL, 0) == -1) /* انتظر الابن */\n" |
| 4174 |
" err(EXIT_FAILURE, \"waitpid\");\n" |
| 4175 |
" printf(\"child has terminated\\[rs]n\");\n" |
| 4176 |
"\\&\n" |
| 4177 |
" exit(EXIT_SUCCESS);\n" |
| 4178 |
"}\n" |
| 4179 |
|
| 4180 |
#. type: TH |
| 4181 |
#: mageia-cauldron |
| 4182 |
#, no-wrap |
| 4183 |
msgid "Linux man-pages 6.17" |
| 4184 |
msgstr "صفحات دليل لينكس 6.17" |
| 4185 |
|
| 4186 |
#. type: TH |
| 4187 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 4188 |
#, no-wrap |
| 4189 |
msgid "Linux man-pages (unreleased)" |
| 4190 |
msgstr "صفحات دليل لينكس (لم تصدر بعد)" |
| 4191 |
|