Debian Codegraph @

po/ar/man3/system.3.po

raw
1 # Arabic translation of manpages
2 # This file is distributed under the same license as the manpages-l10n package.
3 # Copyright © of this file:
4 # زايد السعيدي <[email protected]>, 2026.
5 msgid ""
6 msgstr ""
7 "Project-Id-Version: manpages-l10n 4.30.2\n"
8 "POT-Creation-Date: 2026-06-05 06:45+0200\n"
9 "PO-Revision-Date: 2026-06-03 18:38+0400\n"
10 "Last-Translator: Zayed Al-Saidi <[email protected]>\n"
11 "Language-Team: Arabic <[email protected]>\n"
12 "Language: ar\n"
13 "MIME-Version: 1.0\n"
14 "Content-Type: text/plain; charset=UTF-8\n"
15 "Content-Transfer-Encoding: 8bit\n"
16 "Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 "
17 "&& n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n"
18 "X-Generator: Lokalize 23.08.5\n"
19
20 #. type: TH
21 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
22 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
23 #, no-wrap
24 msgid "system"
25 msgstr "system"
26
27 #. type: TH
28 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
29 #: opensuse-tumbleweed
30 #, no-wrap
31 msgid "2026-02-08"
32 msgstr "8 فبراير 2026"
33
34 #. type: TH
35 #: archlinux debian-unstable
36 #, no-wrap
37 msgid "Linux man-pages 6.18"
38 msgstr "صفحات دليل لينكس 6.18"
39
40 #. type: SH
41 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
42 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
43 #, no-wrap
44 msgid "NAME"
45 msgstr "الاسم"
46
47 #. type: Plain text
48 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
49 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
50 msgid "system - execute a shell command"
51 msgstr "system - تنفيذ أمر شل"
52
53 #. type: SH
54 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
55 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
56 #, no-wrap
57 msgid "LIBRARY"
58 msgstr "المكتبة"
59
60 #. type: Plain text
61 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
62 #: opensuse-leap-16-1 opensuse-tumbleweed
63 msgid "Standard C library (I<libc>,\\ I<-lc>)"
64 msgstr "مكتبة سي المعيارية (I<libc>،\\ I<-lc>)"
65
66 #. type: SH
67 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
68 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
69 #, no-wrap
70 msgid "SYNOPSIS"
71 msgstr "موجز"
72
73 #. type: Plain text
74 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
75 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
76 #, no-wrap
77 msgid "B<#include E<lt>stdlib.hE<gt>>\n"
78 msgstr "B<#include E<lt>stdlib.hE<gt>>\n"
79
80 #. type: Plain text
81 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
82 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
83 #, no-wrap
84 msgid "B<int system(const char *>I<command>B<);>\n"
85 msgstr "B<int system(const char *>I<command>B<);>\n"
86
87 #. type: SH
88 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
89 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
90 #, no-wrap
91 msgid "DESCRIPTION"
92 msgstr "الوصف"
93
94 #. type: Plain text
95 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
96 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
97 msgid ""
98 "The B<system>() library function behaves as if it used B<fork>(2) to "
99 "create a child process that executed the shell command specified in "
100 "I<command> using B<execl>(3) as follows:"
101 msgstr ""
102 "تتصرف دالة المكتبة B<system>() كما لو أنها استخدمت B<fork>(2) لإنشاء عملية "
103 "فرعية تنفذ أمر الشل المحدد في I<command> باستخدام B<execl>(3) كالتالي:"
104
105 #. type: Plain text
106 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
107 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
108 #, no-wrap
109 msgid "execl(\"/bin/sh\", \"sh\", \"-c\", command, (char *) NULL);\n"
110 msgstr "execl(\"/bin/sh\", \"sh\", \"-c\", command, (char *) NULL);\n"
111
112 #. type: Plain text
113 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
114 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
115 msgid "B<system>() returns after the command has been completed."
116 msgstr "تعود B<system>() بعد اكتمال الأمر."
117
118 #. type: Plain text
119 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
120 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
121 msgid ""
122 "During execution of the command, B<SIGCHLD> will be blocked, and B<SIGINT> "
123 "and B<SIGQUIT> will be ignored, in the process that calls B<system>(). "
124 "(These signals will be handled according to their defaults inside the child "
125 "process that executes I<command>.)"
126 msgstr ""
127 "أثناء تنفيذ الأمر، يُحجب B<SIGCHLD>، ويُتجاهل B<SIGINT> و B<SIGQUIT>، في "
128 "العملية التي تستدعي B<system>(). (تُعالج هذه الإشارات وفقًا لمبدئياتها داخل "
129 "العملية الفرعية التي تنفذ I<command>.)"
130
131 #. type: Plain text
132 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
133 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
134 msgid ""
135 "If I<command> is NULL, then B<system>() returns a status indicating whether "
136 "a shell is available on the system."
137 msgstr ""
138 "إذا كان I<command> فارغًا، تعيد B<system>() حالة تشير إلى توفر شل في النظام."
139
140 #. type: SH
141 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
142 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
143 #, no-wrap
144 msgid "RETURN VALUE"
145 msgstr "قيمة الإرجاع"
146
147 #. type: Plain text
148 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
149 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
150 msgid "The return value of B<system>() is one of the following:"
151 msgstr "قيمة عودة B<system>() هي إحدى التالية:"
152
153 #. type: IP
154 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
155 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
156 #, no-wrap
157 msgid "\\[bu]"
158 msgstr "\\[bu]"
159
160 #. type: Plain text
161 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
162 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
163 msgid ""
164 "If I<command> is NULL, then a nonzero value if a shell is available, or 0 if "
165 "no shell is available."
166 msgstr ""
167 "إذا كان I<command> فارغًا، فقيمة غير صفرية إذا توفر شل، أو 0 إذا لم يتوفر شل."
168
169 #. type: Plain text
170 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
171 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
172 msgid ""
173 "If a child process could not be created, or its status could not be "
174 "retrieved, the return value is -1 and I<errno> is set to indicate the error."
175 msgstr ""
176 "إذا تعذر إنشاء عملية فرعية، أو تعذر استرداد حالتها، تكون قيمة العودة -1 "
177 "ويُضبط I<errno> للإشارة إلى الخطأ."
178
179 #. type: Plain text
180 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
181 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
182 msgid ""
183 "If a shell could not be executed in the child process, then the return value "
184 "is as though the child shell terminated by calling B<_exit>(2) with the "
185 "status 127."
186 msgstr ""
187 "إذا تعذر تنفيذ شل في العملية الفرعية، تكون قيمة العودة كما لو أن شل الفرعية "
188 "أنهيت باستدعاء B<_exit>(2) بالحالة 127."
189
190 #. type: Plain text
191 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
192 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
193 msgid ""
194 "If all system calls succeed, then the return value is the termination status "
195 "of the child shell used to execute I<command>. (The termination status of a "
196 "shell is the termination status of the last command it executes.)"
197 msgstr ""
198 "إذا نجحت جميع استدعاءات النظام، تكون قيمة العودة هي حالة إنهاء شل الفرعية "
199 "المستخدمة لتنفيذ I<command>. (حالة إنهاء شل هي حالة إنهاء آخر أمر تنفذه.)"
200
201 #. type: Plain text
202 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
203 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
204 msgid ""
205 "In the last two cases, the return value is a \"wait status\" that can be "
206 "examined using the macros described in B<waitpid>(2). (i.e., "
207 "B<WIFEXITED>(), B<WEXITSTATUS>(), and so on)."
208 msgstr ""
209 "في الحالتين الأخيرتين، قيمة العودة هي \"حالة انتظار\" يمكن فحصها باستخدام "
210 "الكليّات الموصوفة في B<waitpid>(2). (أي B<WIFEXITED>()، B<WEXITSTATUS>()، "
211 "وهكذا)."
212
213 #. type: Plain text
214 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
215 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
216 msgid "B<system>() does not affect the wait status of any other children."
217 msgstr "لا تؤثر B<system>() على حالة انتظار أي أطفال آخرين."
218
219 #. type: SH
220 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
221 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
222 #, no-wrap
223 msgid "ERRORS"
224 msgstr "الأخطاء"
225
226 #. type: Plain text
227 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
228 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
229 msgid "B<system>() can fail with any of the same errors as B<fork>(2)."
230 msgstr "قد تفشل B<system>() بأي من نفس الأخطاء مثل B<fork>(2)."
231
232 #. type: SH
233 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
234 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
235 #, no-wrap
236 msgid "ATTRIBUTES"
237 msgstr "السمات"
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 "For an explanation of the terms used in this section, see B<attributes>(7)."
244 msgstr ""
245 "للاطلاع على شرح للمصطلحات المستخدمة في هذا القسم، انظر B<attributes>(7)."
246
247 #. type: tbl table
248 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
249 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
250 #, no-wrap
251 msgid "Interface"
252 msgstr "الواجهة"
253
254 #. type: tbl table
255 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
256 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
257 #, no-wrap
258 msgid "Attribute"
259 msgstr "السمة"
260
261 #. type: tbl table
262 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
263 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
264 #, no-wrap
265 msgid "Value"
266 msgstr "القيمة"
267
268 #. type: tbl table
269 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
270 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
271 #, no-wrap
272 msgid ".na\n"
273 msgstr ".na\n"
274
275 #. type: tbl table
276 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
277 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
278 #, no-wrap
279 msgid ".nh\n"
280 msgstr ".nh\n"
281
282 #. type: tbl table
283 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
284 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
285 #, no-wrap
286 msgid "B<system>()"
287 msgstr "B<system>()"
288
289 #. type: tbl table
290 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
291 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
292 #, no-wrap
293 msgid "Thread safety"
294 msgstr "سلامة الخيوط"
295
296 #. type: tbl table
297 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
298 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
299 #, no-wrap
300 msgid "MT-Safe"
301 msgstr "MT-Safe"
302
303 #. type: SH
304 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
305 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
306 #, no-wrap
307 msgid "STANDARDS"
308 msgstr "المعايير"
309
310 #. type: Plain text
311 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
312 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
313 msgid "C11, POSIX.1-2008."
314 msgstr "C11, POSIX.1-2008."
315
316 #. type: SH
317 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
318 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
319 #, no-wrap
320 msgid "HISTORY"
321 msgstr "التاريخ"
322
323 #. type: Plain text
324 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
325 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
326 msgid "POSIX.1-2001, C89."
327 msgstr "POSIX.1-2001، C89."
328
329 #. type: SH
330 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
331 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
332 #, no-wrap
333 msgid "NOTES"
334 msgstr "ملاحظات"
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 "B<system>() provides simplicity and convenience: it handles all of the "
341 "details of calling B<fork>(2), B<execl>(3), and B<waitpid>(2), as well as "
342 "the necessary manipulations of signals; in addition, the shell performs the "
343 "usual substitutions and I/O redirections for I<command>. The main cost of "
344 "B<system>() is inefficiency: additional system calls are required to create "
345 "the process that runs the shell and to execute the shell."
346 msgstr ""
347 "توفر B<system>() البساطة والراحة: فهي تعالج جميع تفاصيل استدعاء B<fork>(2) و "
348 "B<execl>(3) و B<waitpid>(2)، بالإضافة إلى التلاعبات الضرورية بالإشارات؛ "
349 "بالإضافة إلى ذلك، ينفذ الشل الاستبدالات المعتادة وإعادة توجيه الإدخال/"
350 "الإخراج لـ I<command>. التكلفة الرئيسية لـ B<system>() هي عدم الكفاءة: "
351 "استدعاءات نظام إضافية مطلوبة لإنشاء العملية التي تشغل الشل وتنفيذ الشل."
352
353 #. type: Plain text
354 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
355 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
356 msgid ""
357 "If the B<_XOPEN_SOURCE> feature test macro is defined (before including "
358 "I<any> header files), then the macros described in B<waitpid>(2) "
359 "(B<WEXITSTATUS>(), etc.) are made available when including I<E<lt>stdlib."
360 "hE<gt>>."
361 msgstr ""
362 "إذا عُرفت كليّة اختبار الميزة B<_XOPEN_SOURCE> (قبل تضمين I<أي> ملفات رأس)، "
363 "فتُتاح الكليّات الموصوفة في B<waitpid>(2) (B<WEXITSTATUS>()، إلخ) عند تضمين "
364 "I<E<lt>stdlib.hE<gt>>."
365
366 #. type: Plain text
367 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
368 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
369 msgid ""
370 "As mentioned, B<system>() ignores B<SIGINT> and B<SIGQUIT>. This may make "
371 "programs that call it from a loop uninterruptible, unless they take care "
372 "themselves to check the exit status of the child. For example:"
373 msgstr ""
374 "كما ذُكر، تتجاهل B<system>() B<SIGINT> و B<SIGQUIT>. قد يجعل هذا البرامج التي "
375 "تستدعيها من حلقة غير قابلة للمقاطعة، إلا إذا اهتمت بنفسها بفحص حالة خروج "
376 "الطفل. على سبيل المثال:"
377
378 #. type: Plain text
379 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
380 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
381 #, no-wrap
382 msgid ""
383 "while (something) {\n"
384 " int ret = system(\"foo\");\n"
385 "\\&\n"
386 " if (WIFSIGNALED(ret) &&\n"
387 " (WTERMSIG(ret) == SIGINT || WTERMSIG(ret) == SIGQUIT))\n"
388 " break;\n"
389 "}\n"
390 msgstr ""
391 "while (something) {\n"
392 " int ret = system(\"foo\");\n"
393 "\\&\n"
394 " if (WIFSIGNALED(ret) &&\n"
395 " (WTERMSIG(ret) == SIGINT || WTERMSIG(ret) == SIGQUIT))\n"
396 " break;\n"
397 "}\n"
398
399 #. type: Plain text
400 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
401 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
402 msgid ""
403 "According to POSIX.1, it is unspecified whether handlers registered using "
404 "B<pthread_atfork>(3) are called during the execution of B<system>(). In "
405 "the glibc implementation, such handlers are not called."
406 msgstr ""
407 "وفقًا لـ POSIX.1، لم يُحدد ما إذا كانت المعالجات المسجلة باستخدام "
408 "B<pthread_atfork>(3) تُستدعى أثناء تنفيذ B<system>(). في تطبيق glibc، لا "
409 "تُستدعى هذه المعالجات."
410
411 #. type: Plain text
412 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
413 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
414 msgid ""
415 "Before glibc 2.1.3, the check for the availability of I</bin/sh> was not "
416 "actually performed if I<command> was NULL; instead it was always assumed to "
417 "be available, and B<system>() always returned 1 in this case. Since glibc "
418 "2.1.3, this check is performed because, even though POSIX.1-2001 requires a "
419 "conforming implementation to provide a shell, that shell may not be "
420 "available or executable if the calling program has previously called "
421 "B<chroot>(2) (which is not specified by POSIX.1-2001)."
422 msgstr ""
423 "قبل glibc 2.1.3، لم يُجرَ التحقق من توفر I</bin/sh> فعليًا إذا كان I<command> "
424 "فارغًا؛ بل كان يُفترض دائمًا أنه متوفر، وكانت B<system>() تُرجع 1 دائمًا في هذه "
425 "الحالة. منذ glibc 2.1.3، يُجرى هذا التحقق لأنه، على الرغم من أن POSIX.1-2001 "
426 "يتطلب من التطبيق المطابق توفير غلاف، إلا أن هذا الغلاف قد لا يكون متوفرًا أو "
427 "قابلًا للتنفيذ إذا كان البرنامج المُستدعي قد استدعى سابقًا B<chroot>(2) (وهو "
428 "غير محدد بواسطة POSIX.1-2001)."
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 ""
434 "It is possible for the shell command to terminate with a status of 127, "
435 "which yields a B<system>() return value that is indistinguishable from the "
436 "case where a shell could not be executed in the child process."
437 msgstr ""
438 "من الممكن أن ينهي أمر الغلاف بحالة 127، مما يُنتج قيمة إرجاع من B<system>() "
439 "لا يمكن تمييزها عن الحالة التي لم يُنفذ فيها غلاف في العملية الابنة."
440
441 #. type: SS
442 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
443 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
444 #, no-wrap
445 msgid "Caveats"
446 msgstr "تحذيرات"
447
448 #. type: Plain text
449 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
450 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
451 msgid ""
452 "Do not use B<system>() from a privileged program (a set-user-ID or set-"
453 "group-ID program, or a program with capabilities) because strange values "
454 "for some environment variables might be used to subvert system integrity. "
455 "For example, B<PATH> could be manipulated so that an arbitrary program is "
456 "executed with privilege. Use the B<exec>(3) family of functions instead, "
457 "but not B<execlp>(3) or B<execvp>(3) (which also use the B<PATH> "
458 "environment variable to search for an executable)."
459 msgstr ""
460 "لا تستخدم B<system>() من برنامج مُمتاز (برنامج set-user-ID أو set-group-ID، "
461 "أو برنامج ذو صلاحيات) لأن القيم الغريبة لبعض متغيرات البيئة قد تُستخدم لتقويض "
462 "سلامة النظام. على سبيل المثال، يمكن التلاعب بـ B<PATH> لتنفيذ برنامج عشوائي "
463 "بامتيازات. استخدم عائلة دوال B<exec>(3) بدلاً من ذلك، ولكن ليس B<execlp>(3) "
464 "أو B<execvp>(3) (والتي تستخدم أيضًا متغير البيئة B<PATH> للبحث عن ملف قابل "
465 "للتنفيذ)."
466
467 #. type: Plain text
468 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
469 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
470 msgid ""
471 "B<system>() will not, in fact, work properly from programs with set-user-ID "
472 "or set-group-ID privileges on systems on which I</bin/sh> is bash version 2: "
473 "as a security measure, bash 2 drops privileges on startup. (Debian uses a "
474 "different shell, B<dash>(1), which does not do this when invoked as B<sh>.)"
475 msgstr ""
476 "في الواقع، لن تعمل B<system>() بشكل صحيح من البرامج ذات امتيازات set-user-ID "
477 "أو set-group-ID على الأنظمة التي يكون فيها I</bin/sh> هو bash الإصدار 2: "
478 "كإجراء أمني، يُسقط bash 2 الامتيازات عند بدء التشغيل. (يستخدم Debian غلافًا "
479 "مختلفًا، B<dash>(1)، والذي لا يفعل ذلك عند استدعائه كـ B<sh>.)"
480
481 #. type: Plain text
482 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
483 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
484 msgid ""
485 "Any user input that is employed as part of I<command> should be I<carefully> "
486 "sanitized, to ensure that unexpected shell commands or command options are "
487 "not executed. Such risks are especially grave when using B<system>() from "
488 "a privileged program."
489 msgstr ""
490 "يجب تعقيم أي إدخال مستخدم يُستخدم كجزء من I<command> بعناية، لضمان عدم تنفيذ "
491 "أوامر غلاف أو خيارات أوامر غير متوقعة. هذه المخاطر خطيرة بشكل خاص عند "
492 "استخدام B<system>() من برنامج مُمتاز."
493
494 #. type: SH
495 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
496 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
497 #, no-wrap
498 msgid "BUGS"
499 msgstr "العلل"
500
501 #. [BUG 211029](https://bugzilla.kernel.org/show_bug.cgi?id=211029)
502 #. [glibc bug](https://sourceware.org/bugzilla/show_bug.cgi?id=27143)
503 #. [POSIX bug](https://www.austingroupbugs.net/view.php?id=1440)
504 #. type: Plain text
505 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
506 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
507 msgid ""
508 "If the command name starts with a hyphen, B<sh>(1) interprets the command "
509 "name as an option, and the behavior is undefined. (See the B<-c> option to "
510 "B<sh>(1).) To work around this problem, prepend the command with a space as "
511 "in the following call:"
512 msgstr ""
513 "إذا بدأ اسم الأمر بواصلة، يُفسر B<sh>(1) اسم الأمر كخيار، ويكون السلوك غير "
514 "محدد. (انظر الخيار B<-c> لـ B<sh>(1).) لتجاوز هذه المشكلة، أسبق الأمر بمسافة "
515 "كما في الاستدعاء التالي:"
516
517 #. type: Plain text
518 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
519 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
520 #, no-wrap
521 msgid " system(\" -unfortunate-command-name\");\n"
522 msgstr " system(\" -unfortunate-command-name\");\n"
523
524 #. type: SH
525 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
526 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
527 #, no-wrap
528 msgid "SEE ALSO"
529 msgstr "انظر أيضًا"
530
531 #. type: Plain text
532 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
533 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
534 msgid ""
535 "B<sh>(1), B<execve>(2), B<fork>(2), B<sigaction>(2), B<sigprocmask>(2), "
536 "B<wait>(2), B<exec>(3), B<signal>(7)"
537 msgstr ""
538 "B<sh>(1), B<execve>(2), B<fork>(2), B<sigaction>(2), B<sigprocmask>(2), "
539 "B<wait>(2), B<exec>(3), B<signal>(7)"
540
541 #. type: TH
542 #: debian-trixie
543 #, no-wrap
544 msgid "2024-05-02"
545 msgstr "2 مايو 2024"
546
547 #. type: TH
548 #: debian-trixie
549 #, no-wrap
550 msgid "Linux man-pages 6.9.1"
551 msgstr "صفحات دليل لينكس 6.9.1"
552
553 #. type: Plain text
554 #: debian-trixie
555 msgid "Standard C library (I<libc>, I<-lc>)"
556 msgstr "مكتبة سي المعيارية (I<libc>، I<-lc>)"
557
558 #. type: TH
559 #: fedora-44 fedora-rawhide
560 #, no-wrap
561 msgid "2024-07-23"
562 msgstr "23 يوليو 2024"
563
564 #. type: TH
565 #: fedora-44 fedora-rawhide
566 #, no-wrap
567 msgid "Linux man-pages 6.13"
568 msgstr "صفحات دليل لينكس 6.13"
569
570 #. type: TH
571 #: mageia-cauldron
572 #, no-wrap
573 msgid "Linux man-pages 6.17"
574 msgstr "صفحات دليل لينكس 6.17"
575
576 #. type: TH
577 #: opensuse-leap-16-1 opensuse-tumbleweed
578 #, no-wrap
579 msgid "Linux man-pages (unreleased)"
580 msgstr "صفحات دليل لينكس (لم تصدر بعد)"