# Arabic translation of manpages # This file is distributed under the same license as the manpages-l10n package. # Copyright © of this file: # زايد السعيدي , 2026. msgid "" msgstr "" "Project-Id-Version: manpages-l10n\n" "POT-Creation-Date: 2026-06-05 06:24+0200\n" "PO-Revision-Date: 2026-06-05 21:34+0400\n" "Last-Translator: Zayed Al-Saidi \n" "Language-Team: Arabic \n" "Language: ar\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" ".MIME-Version: 1.0\n" "Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 &&" " n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n" "X-Generator: Lokalize 23.08.5\n" #. type: TH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "fcntl" msgstr "fcntl" #. type: TH #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "2026-02-08" msgstr "8 فبراير 2026" #. type: TH #: archlinux debian-unstable #, no-wrap msgid "Linux man-pages 6.18" msgstr "صفحات دليل لينكس 6.18" #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "NAME" msgstr "الاسم" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "fcntl - manipulate file descriptor" msgstr "fcntl - التلاعب بواصف الملف" #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "LIBRARY" msgstr "المكتبة" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "Standard C library (I,\\ I<-lc>)" msgstr "مكتبة سي المعيارية (I،\\ I<-lc>)" #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "SYNOPSIS" msgstr "موجز" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B<#include Efcntl.hE>\n" msgstr "B<#include Efcntl.hE>\n" #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "BIB<, int >IB<, ...);>\n" msgstr "BIB<, int >IB<, ...);>\n" #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "DESCRIPTION" msgstr "الوصف" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "B() performs one of the operations described below on the open file " "descriptor I. The operation is determined by I." msgstr "" "تجري B() إحدى العمليات الموصوفة أدناه على واصف الملف المفتوح I. " "تُحدد العملية بواسطة I." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Certain of the operations below are supported only since a particular Linux " "kernel version. The preferred method of checking whether the host kernel " "supports a particular operation is to invoke B() with the desired " "I value and then test whether the call failed with B, indicating " "that the kernel does not recognize this value." msgstr "" "تُدعم بعض العمليات أدناه فقط بدءًا من إصدار معين من نواة لينكس. الطريقة " "المفضلة للتحقق مما إذا كانت نواة المضيف تدعم عملية معينة هي استدعاء " "B() مع قيمة I المطلوبة، ثم اختبار ما إذا كان الاستدعاء قد فشل مع " "الخطأ B، مما يشير إلى أن النواة لا تتعرف على هذه القيمة." #. type: SS #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Duplicating a file descriptor" msgstr "مضاعفة واصف ملف" #. type: TP #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "B(2const)" msgstr "B(2const)" #. type: TQ #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "B(2const)" msgstr "B(2const)" #. type: SS #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "File descriptor flags" msgstr "لصائق واصف الملف" #. type: TP #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "B(2const)" msgstr "B(2const)" #. type: TQ #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "B(2const)" msgstr "B(2const)" #. type: SS #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "File status flags" msgstr "لصائق حالة الملف" #. type: TP #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "B(2const)" msgstr "B(2const)" #. type: TQ #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "B(2const)" msgstr "B(2const)" #. type: SS #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Advisory record locking" msgstr "قفل السجلات الاستشاري" #. type: TP #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "B(2const)" msgstr "B(2const)" #. type: TQ #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "B(2const)" msgstr "B(2const)" #. type: TQ #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "B(2const)" msgstr "B(2const)" #. type: SS #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Open file description locks (non-POSIX)" msgstr "أقفال وصف الملف المفتوح (ليست ضمن POSIX)" #. type: TP #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "B(2const)" msgstr "B(2const)" #. type: TQ #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "B(2const)" msgstr "B(2const)" #. type: TQ #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "B(2const)" msgstr "B(2const)" #. type: SS #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Managing signals" msgstr "إدارة الإشارات" #. type: TP #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "B(2const)" msgstr "B(2const)" #. type: TQ #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "B(2const)" msgstr "B(2const)" #. type: TQ #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "B(2const)" msgstr "B(2const)" #. type: TQ #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "B(2const)" msgstr "B(2const)" #. type: TQ #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "B(2const)" msgstr "B(2const)" #. type: TQ #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "B(2const)" msgstr "B(2const)" #. type: SS #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Leases" msgstr "الإيجارات" #. type: TP #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "B(2const)" msgstr "B(2const)" #. type: TQ #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "B(2const)" msgstr "B(2const)" #. type: SS #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "Delegations" msgstr "التفويضات" #. type: TP #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "B(2const)" msgstr "B(2const)" #. type: TQ #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "B(2const)" msgstr "B(2const)" #. type: SS #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "File and directory change notification (dnotify)" msgstr "إشعار تغيير الملفات والدلائل (dnotify)" #. type: TP #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "B(2const)" msgstr "B(2const)" #. type: SS #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Changing the capacity of a pipe" msgstr "تغيير سعة الأنبوب" #. type: TP #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "B(2const)" msgstr "B(2const)" #. type: TQ #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "B(2const)" msgstr "B(2const)" #. type: SS #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "File Sealing" msgstr "ختم الملفات" #. type: TP #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "B(2const)" msgstr "B(2const)" #. type: TQ #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "B(2const)" msgstr "B(2const)" #. type: SS #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "File read/write hints" msgstr "تلميحات قراءة/كتابة الملف" #. type: TP #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "B(2const)" msgstr "B(2const)" #. type: TQ #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "B(2const)" msgstr "B(2const)" #. type: TQ #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "B(2const)" msgstr "B(2const)" #. type: TQ #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "B(2const)" msgstr "B(2const)" #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "RETURN VALUE" msgstr "قيمة الإرجاع" #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "For a successful call, the return value depends on the operation." msgstr "للاستدعاء الناجح، تعتمد قيمة الإرجاع على العملية." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "On error, -1 is returned, and I is set to indicate the error." msgstr "عند الخطأ، تُعاد القيمة -1، ويُضبط I للإشارة إلى الخطأ." #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "ERRORS" msgstr "الأخطاء" #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B or B" msgstr "B أو B" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "Operation is prohibited by locks held by other processes." msgstr "العملية محظورة بسبب أقفال تحتفظ بها عمليات أخرى." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The operation is prohibited because the file has been memory-mapped by " "another process." msgstr "العملية محظورة لأن الملف قد خُطط في الذاكرة بواسطة عملية أخرى." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "I is not an open file descriptor" msgstr "I ليس واصف ملف مفتوح" #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "The value specified in I is not recognized by this kernel." msgstr "القيمة المحددة في I غير معروفة لهذه النواة." #. type: SH #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "VERSIONS" msgstr "الإصدارات" #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "POSIX.1-2024 specifies B and B, but Linux " "doesn't support them." msgstr "" "يحدد POSIX.1-2024 الخيارين B و B، لكن لينكس لا " "يدعمهما." #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "STANDARDS" msgstr "المعايير" #. .P #. SVr4 documents additional EIO, ENOLINK and EOVERFLOW error conditions. #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "POSIX.1-2024." msgstr "POSIX.1-2024." #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "HISTORY" msgstr "التاريخ" #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "4.3BSD, SVr4, POSIX.1-1988." msgstr "4.3BSD، SVr4، POSIX.1-1988." #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "SEE ALSO" msgstr "انظر أيضًا" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "B(2), B(2), B(2), B(2), B(3), " "B(7), B(7), B(8)" msgstr "" "B(2), B(2), B(2), B(2), B(3), " "B(7), B(7), B(8)" #. type: TH #: debian-trixie #, no-wrap msgid "2024-05-02" msgstr "2 مايو 2024" #. type: TH #: debian-trixie #, no-wrap msgid "Linux man-pages 6.9.1" msgstr "صفحات دليل لينكس 6.9.1" #. type: Plain text #: debian-trixie msgid "Standard C library (I, I<-lc>)" msgstr "مكتبة سي المعيارية (I، I<-lc>)" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "BIB<, int >IB<, ... /* >IB< */ );>\n" msgstr "BIB<, int >IB<, ... /* >IB< */ );>\n" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "B() can take an optional third argument. Whether or not this " "argument is required is determined by I. The required argument type is " "indicated in parentheses after each I name (in most cases, the required " "type is I, and we identify the argument using the name I), or " "I is specified if the argument is not required." msgstr "" "يمكن لـ B() أن تأخذ وسيطًا ثالثًا اختياريًا. ويُحدد ما إذا كان هذا" " الوسيط " "مطلوبًا أم لا بواسطة I. يشار إلى نوع الوسيط المطلوب بين قوسين بعد كل اسم " "I (في معظم الحالات، النوع المطلوب هو I، ونحدد الوسيط باستخدام الاسم " "I)، أو يتم تحديد I إذا لم يكن الوسيط مطلوبًا." #. type: TP #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "B (I)" msgstr "B (I)" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "Duplicate the file descriptor I using the lowest-numbered available file " "descriptor greater than or equal to I. This is different from " "B(2), which uses exactly the file descriptor specified." msgstr "" "مضاعفة واصف الملف I باستخدام أصغر واصف ملف متاح برقم أكبر من أو يساوي " "I. يختلف هذا عن B(2)، التي تستخدم واصف الملف المحدد بالضبط." #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "On success, the new file descriptor is returned." msgstr "عند النجاح، يُعاد واصف الملف الجديد." #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "See B(2) for further details." msgstr "انظر B(2) لمزيد من التفاصيل." #. type: TP #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "B (I; since Linux 2.6.24)" msgstr "B (I؛ منذ لينكس 2.6.24)" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "As for B, but additionally set the close-on-exec flag for the " "duplicate file descriptor. Specifying this flag permits a program to avoid " "an additional B() B operation to set the B " "flag. For an explanation of why this flag is useful, see the description of " "B in B(2)." msgstr "" "كما في B، ولكن بالإضافة إلى ذلك تُضبط لصيقة الإغلاق عند التنفيذ " "(close-on-exec) لواصف الملف المضاعف. يتيح تحديد هذه اللصيقة للبرنامج تجنب " "عملية B() B إضافية لضبط لصيقة B. لشرح سبب فائدة " "هذه اللصيقة، انظر وصف B في B(2)." #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "The following operations manipulate the flags associated with a file " "descriptor. Currently, only one such flag is defined: B, the " "close-on-exec flag. If the B bit is set, the file descriptor " "will automatically be closed during a successful B(2). (If the " "B(2) fails, the file descriptor is left open.) If the " "B bit is not set, the file descriptor will remain open across an " "B(2)." msgstr "" "تتلاعب العمليات التالية باللصائق المرتبطة بواصف الملف. حاليًا، تم تحديد لصيقة " "واحدة فقط من هذا النوع: B، لصيقة الإغلاق عند التنفيذ. إذا ضُبطت " "بتة B، فسيُغلق واصف الملف آليًا أثناء تنفيذ B(2) ناجح. " "(إذا فشل B(2)، يُترك واصف الملف مفتوحًا.) إذا لم تُضبط بتة " "B، فسيظل واصف الملف مفتوحًا عبر B(2)." #. type: TP #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "B (I)" msgstr "B (I)" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "Return (as the function result) the file descriptor flags; I is ignored." msgstr "إعادة لصائق واصف الملف (كنتيجة للدالة)؛ ويُتجاهل I." #. type: TP #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "B (I)" msgstr "B (I)" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "Set the file descriptor flags to the value specified by I." msgstr "ضبط لصائق واصف الملف على القيمة المحددة بواسطة I." #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "In multithreaded programs, using B() B to set the close-on-" "exec flag at the same time as another thread performs a B(2) plus " "B(2) is vulnerable to a race condition that may unintentionally " "leak the file descriptor to the program executed in the child process. See " "the discussion of the B flag in B(2) for details and a " "remedy to the problem." msgstr "" "في البرامج متعددة الخيوط، يكون استخدام B() B لضبط لصيقة " "الإغلاق عند التنفيذ في نفس الوقت الذي يقوم فيه خيط آخر بعملية B(2) " "بالإضافة إلى B(2) عرضة لحالة تسابق قد تسرب واصف الملف دون قصد إلى " "البرنامج المنفذ في العملية الابنة. انظر مناقشة لصيقة B في " "B(2) للحصول على التفاصيل وعلاج للمشكلة." #. or #. .BR creat (2), #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "Each open file description has certain associated status flags, initialized " "by B(2) and possibly modified by B(). Duplicated file " "descriptors (made with B(2), B(F_DUPFD), B(2), etc.) refer " "to the same open file description, and thus share the same file status flags." msgstr "" "لكل وصف ملف مفتوح لصائق حالة مرتبطة به، تُهيأ بواسطة B(2) وربما تُعدل " "بواسطة B(). واصفات الملفات المضاعفة (التي تم إنشاؤها باستخدام " "B(2) و B(F_DUPFD) و B(2) وما إلى ذلك) تشير إلى نفس وصف " "الملف المفتوح، وبالتالي تتشارك في نفس لصائق حالة الملف." #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "The file status flags and their semantics are described in B(2)." msgstr "تم وصف لصائق حالة الملف ودلالاتها في B(2)." #. type: TP #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "B (I)" msgstr "B (I)" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "Return (as the function result) the file access mode and the file status " "flags; I is ignored." msgstr "" "إعادة وضع الوصول إلى الملف ولصائق حالة الملف (كنتيجة للدالة)؛ ويُتجاهل I." #. type: TP #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "B (I)" msgstr "B (I)" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "Set the file status flags to the value specified by I. File access " "mode (B, B, B) and file creation flags (i.e., " "B, B, B, B) in I are ignored. On " "Linux, this operation can change only the B, B, " "B, B, and B flags. It is not possible to " "change the B and B flags; see BUGS, below." msgstr "" "ضبط لصائق حالة الملف على القيمة المحددة بواسطة I. يتم تجاهل وضع الوصول " "إلى الملف (B و B و B) ولصائق إنشاء الملف (أي " "B و B و B و B) في I. في لينكس، يمكن " "لهذه العملية تغيير لصائق B و B و B و " "B و B فقط. لا يمكن تغيير لصيقتي B و " "B؛ انظر قسم العلل (BUGS) أدناه." #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "Linux implements traditional (\"process-associated\") UNIX record locks, as " "standardized by POSIX. For a Linux-specific alternative with better " "semantics, see the discussion of open file description locks below." msgstr "" "تنفذ لينكس أقفال سجلات يونكس (UNIX) التقليدية (\"المرتبطة بالعملية\")، كما " "هو معياري في POSIX. لبديل مخصص للينكس ذو دلالات أفضل، انظر مناقشة أقفال وصف " "الملف المفتوح أدناه." #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "B, B, and B are used to acquire, release, and " "test for the existence of record locks (also known as byte-range, file-" "segment, or file-region locks). The third argument, I, is a pointer " "to a structure that has at least the following fields (in unspecified order)." msgstr "" "تُستخدم B و B و B للاستحواذ على أقفال السجلات، " "وتحريرها، واختبار وجودها (تُعرف أيضًا بأقفال نطاق-البايت، أو قطاع-الملف، أو " "منطقة-الملف). المعامل الثالث، I، هو مؤشر إلى بنية تحتوي على الأقل على " "الحقول التالية (بترتيب غير محدد)." #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "" "struct flock {\n" " ...\n" " short l_type; /* Type of lock: F_RDLCK,\n" " F_WRLCK, F_UNLCK */\n" " short l_whence; /* How to interpret l_start:\n" " SEEK_SET, SEEK_CUR, SEEK_END */\n" " off_t l_start; /* Starting offset for lock */\n" " off_t l_len; /* Number of bytes to lock */\n" " pid_t l_pid; /* PID of process blocking our lock\n" " (set by F_GETLK and F_OFD_GETLK) */\n" " ...\n" "};\n" msgstr "" "struct flock {\n" " ...\n" " short l_type; /* نوع القفل: F_RDLCK,\n" " F_WRLCK, F_UNLCK */\n" " short l_whence; /* كيفية تفسير l_start:\n" " SEEK_SET, SEEK_CUR, SEEK_END */\n" " off_t l_start; /* إزاحة البداية للقفل */\n" " off_t l_len; /* عدد البايتات المراد قفلها */\n" " pid_t l_pid; /* معرف العملية (PID) التي تمنع قفلنا\n" " (يُضبط بواسطة F_GETLK و F_OFD_GETLK) */\n" " ...\n" "};\n" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "The I, I, and I fields of this structure specify " "the range of bytes we wish to lock. Bytes past the end of the file may be " "locked, but not bytes before the start of the file." msgstr "" "تحدد حقول I و I و I في هذه البنية نطاق البايتات " "التي نرغب في قفلها. يمكن قفل البايتات التي تتجاوز نهاية الملف، ولكن لا يمكن " "قفل البايتات التي تسبق بداية الملف." #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "I is the starting offset for the lock, and is interpreted relative " "to either: the start of the file (if I is B); the " "current file offset (if I is B); or the end of the file " "(if I is B). In the final two cases, I can be " "a negative number provided the offset does not lie before the start of the " "file." msgstr "" "تمثل I إزاحة البداية للقفل، وتُفسّر بالنسبة إلى: إما بداية الملف" " (إذا " "كانت I هي B)؛ أو إزاحة الملف الحالية (إذا كانت " "I هي B)؛ أو نهاية الملف (إذا كانت I هي " "B). في الحالتين الأخيرتين، يمكن أن تكون I رقمًا سالبًا" " بشرط " "ألا تقع الإزاحة قبل بداية الملف." #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "I specifies the number of bytes to be locked. If I is " "positive, then the range to be locked covers bytes I up to and " "including I+I-1. Specifying 0 for I has the special " "meaning: lock all bytes starting at the location specified by I " "and I through to the end of file, no matter how large the file " "grows." msgstr "" "تحدد I عدد البايتات المراد قفلها. إذا كانت I موجبة، فإن النطاق " "المراد قفله يغطي البايتات من I صعودًا إلى I+I-1 (بما " "في ذلك هذا الأخير). لتحديد 0 لقيمة I معنى خاص: قفل جميع البايتات بدءًا " "من الموقع المحدد بواسطة I و I وصولاً إلى نهاية الملف، بغض " "النظر عن مدى كبر حجم الملف." #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "POSIX.1-2001 allows (but does not require) an implementation to support a " "negative I value; if I is negative, the interval described by " "I covers bytes I+I up to and including I-1. " "This is supported since Linux 2.4.21 and Linux 2.5.49." msgstr "" "يسمح POSIX.1-2001 (لكنه لا يتطلب) للتنفيذ بدعم قيمة I سالبة؛ إذا كانت " "I سالبة، فإن الفترة الموضحة بواسطة I تغطي البايتات من " "I+I صعودًا إلى I-1 (بما في ذلك هذا الأخير). دُعم هذا " "منذ لينكس 2.4.21 ولينكس 2.5.49." #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "The I field can be used to place a read (B) or a write " "(B) lock on a file. Any number of processes may hold a read lock " "(shared lock) on a file region, but only one process may hold a write lock " "(exclusive lock). An exclusive lock excludes all other locks, both shared " "and exclusive. A single process can hold only one type of lock on a file " "region; if a new lock is applied to an already-locked region, then the " "existing lock is converted to the new lock type. (Such conversions may " "involve splitting, shrinking, or coalescing with an existing lock if the " "byte range specified by the new lock does not precisely coincide with the " "range of the existing lock.)" msgstr "" "يمكن استخدام حقل I لوضع قفل قراءة (B) أو قفل كتابة " "(B) على ملف. يمكن لأي عدد من العمليات حيازة قفل قراءة (قفل مشترك) " "على منطقة ملف، ولكن يمكن لعملية واحدة فقط حيازة قفل كتابة (قفل حصري). يستبعد " "القفل الحصري جميع الأقفال الأخرى، سواء كانت مشتركة أو حصرية. يمكن لعملية " "واحدة حيازة نوع واحد فقط من الأقفال على منطقة ملف؛ إذا وُضع قفل جديد على " "منطقة مقفولة بالفعل، فسيُحوّل القفل الحالي إلى نوع القفل الجديد. (قد تتضمن" " مثل " "هذه التحويلات تقسيم القفل، أو تقليصه، أو دمجه مع قفل موجود إذا كان نطاق " "البايت المحدد بواسطة القفل الجديد لا يتطابق تمامًا مع نطاق القفل الحالي)." #. type: TP #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "B (I)" msgstr "B (I)" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "Acquire a lock (when I is B or B) or release a " "lock (when I is B) on the bytes specified by the " "I, I, and I fields of I. If a conflicting " "lock is held by another process, this call returns -1 and sets I to " "B or B. (The error returned in this case differs across " "implementations, so POSIX requires a portable application to check for both " "errors.)" msgstr "" "الاستحواذ على قفل (عندما يكون I هو B أو B) أو " "تحرير قفل (عندما يكون I هو B) على البايتات المحددة بواسطة " "حقول I و I و I للمعامل I. إذا كانت هناك " "عملية أخرى تحوز قفلاً متعارضًا، فإن هذا الاستدعاء يعيد -1 ويضبط I على " "B أو B. (يختلف الخطأ المعاد في هذه الحالة عبر التنفيذات، لذا " "يتطلب POSIX من التطبيقات المحمولة التحقق من كلا الخطأين)." #. type: TP #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "B (I)" msgstr "B (I)" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "As for B, but if a conflicting lock is held on the file, then wait " "for that lock to be released. If a signal is caught while waiting, then the " "call is interrupted and (after the signal handler has returned) returns " "immediately (with return value -1 and I set to B; see " "B(7))." msgstr "" "كما هو الحال في B، ولكن إذا كان هناك قفل متعارض محوز على الملف، " "فانتظر حتى يُحرّر ذلك القفل. إذا التُقطت إشارة أثناء الانتظار، فسيُقاطع " "الاستدعاء ويعيد (بعد عودة معالج الإشارة) القيمة فوريًا (مع قيمة إرجاع -1 وضبط " "I على B؛ انظر B(7))." #. type: TP #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "B (I)" msgstr "B (I)" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "On input to this call, I describes a lock we would like to place on " "the file. If the lock could be placed, B() does not actually place " "it, but returns B in the I field of I and leaves the " "other fields of the structure unchanged." msgstr "" "عند إدخال هذا الاستدعاء، يصف I القفل الذي نود وضعه على الملف. إذا كان " "بالإمكان وضع القفل، فإن B() لا يضعه فعليًا، بل يعيد B في حقل " "I من I ويترك الحقول الأخرى للبنية دون تغيير." #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "If one or more incompatible locks would prevent this lock being placed, then " "B() returns details about one of those locks in the I, " "I, I, and I fields of I. If the conflicting " "lock is a traditional (process-associated) record lock, then the I " "field is set to the PID of the process holding that lock. If the " "conflicting lock is an open file description lock, then I is set to " "-1. Note that the returned information may already be out of date by the " "time the caller inspects it." msgstr "" "إذا كان هناك قفل أو أكثر غير متوافق يمنع وضع هذا القفل، فإن B() يعيد " "تفاصيل حول أحد تلك الأقفال في حقول I و I و I و " "I من I. إذا كان القفل المتعارض قفل سجل تقليدي (مرتبط بالعملية)، " "فسيُضبط حقل I على PID العملية التي تحوز ذلك القفل. أما إذا كان القفل " "المتعارض قفل وصف ملف مفتوح، فسيُضبط I على -1. لاحظ أن المعلومات " "المعادة قد تكون قديمة بالفعل بحلول الوقت الذي يفحصها فيه I<المستدعِي>." #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "In order to place a read lock, I must be open for reading. In order to " "place a write lock, I must be open for writing. To place both types of " "lock, open a file read-write." msgstr "" "لوضع قفل قراءة، يجب أن يكون I مفتوحًا للقراءة. ولوضع قفل كتابة، يجب أن " "يكون I مفتوحًا للكتابة. ولوضع كلا النوعين من الأقفال، افتح الملف للقراءة " "والكتابة." #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "When placing locks with B, the kernel detects I, " "whereby two or more processes have their lock requests mutually blocked by " "locks held by the other processes. For example, suppose process A holds a " "write lock on byte 100 of a file, and process B holds a write lock on byte " "200. If each process then attempts to lock the byte already locked by the " "other process using B, then, without deadlock detection, both " "processes would remain blocked indefinitely. When the kernel detects such " "deadlocks, it causes one of the blocking lock requests to immediately fail " "with the error B; an application that encounters such an error " "should release some of its locks to allow other applications to proceed " "before attempting regain the locks that it requires. Circular deadlocks " "involving more than two processes are also detected. Note, however, that " "there are limitations to the kernel's deadlock-detection algorithm; see BUGS." msgstr "" "عند وضع أقفال باستخدام B، تكتشف الـ I<نواة> \"حالات " "الاستعصاء\" (I)، حيث يتم حظر طلبات قفل عمليتين أو أكثر بشكل " "متبادل بواسطة أقفال تحوزها العمليات الأخرى. على سبيل المثال، افترض أن " "العملية (أ) تحوز قفل كتابة على البايت 100 من ملف، والعملية (ب) تحوز قفل " "كتابة على البايت 200. إذا حاولت كل عملية بعد ذلك قفل البايت المقفل بالفعل من " "قبل العملية الأخرى باستخدام B، فبدون اكتشاف الاستعصاء، ستظل كلتا " "العمليتين محظورتين إلى أجل غير مسمى. عندما تكتشف الـ I<نواة> مثل هذه " "الحالات، فإنها تؤدي إلى فشل أحد طلبات القفل المحظورة فوريًا مع الخطأ " "B؛ يجب على التطبيق الذي يواجه مثل هذا الخطأ تحرير بعض أقفاله للسماح " "للتطبيقات الأخرى بالمتابعة قبل محاولة استعادة الأقفال التي يتطلبها. تكتشف " "أيضًا حالات الاستعصاء الدائرية التي تشمل أكثر من عمليتين. لاحظ، مع ذلك، أن " "هناك قيودًا على خوارزمية اكتشاف الاستعصاء في الـ I<نواة>؛ انظر قسم BUGS." #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "As well as being removed by an explicit B, record locks are " "automatically released when the process terminates." msgstr "" "بالإضافة إلى إزالتها بواسطة B صريح، تُحرّر أقفال السجلات I<آليًا>" " عند " "انتهاء العملية." #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "Record locks are not inherited by a child created via B(2), but are " "preserved across an B(2)." msgstr "" "لا تُرث أقفال السجلات من قبل عملية ابن أُنشئت عبر B(2)، ولكن يُحتفظ بها " "عبر B(2)." #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "Because of the buffering performed by the B(3) library, the use of " "record locking with routines in that package should be avoided; use " "B(2) and B(2) instead." msgstr "" "بسبب التخزين المؤقت الذي تقوم به مكتبة B(3)، يجب تجنب استخدام قفل " "السجلات مع الدوال الموجودة في تلك الحزمة؛ استخدم B(2) و B(2) " "بدلاً من ذلك." #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "The record locks described above are associated with the process (unlike the " "open file description locks described below). This has some unfortunate " "consequences:" msgstr "" "أقفال السجلات الموضحة أعلاه مرتبطة بالعملية (على عكس أقفال وصف الملف المفتوح " "الموضحة أدناه). وهذا له بعض العواقب المؤسفة:" #. type: IP #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "\\[bu]" msgstr "\\[bu]" #. (Additional file descriptors referring to the same file #. may have been obtained by calls to #. .BR open "(2), " dup "(2), " dup2 "(2), or " fcntl ().) #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "If a process closes I file descriptor referring to a file, then all of " "the process's locks on that file are released, regardless of the file " "descriptor(s) on which the locks were obtained. This is bad: it means that " "a process can lose its locks on a file such as I or I when for some reason a library function decides to open, read, and " "close the same file." msgstr "" "إذا أغلقت عملية I<أي> واصف ملف يشير إلى ملف، فستُحرّر جميع أقفال العملية على " "ذلك الملف، بغض النظر عن واصف (أو واصفات) الملف التي استُخدمت للحصول على " "الأقفال. هذا أمر سيئ: فهذا يعني أن العملية يمكن أن تفقد أقفالها على ملف مثل " "I أو I عندما تقرر دالة مكتبة لسبب ما فتح وقراءة " "وإغلاق نفس الملف." #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "The threads in a process share locks. In other words, a multithreaded " "program can't use record locking to ensure that threads don't simultaneously " "access the same region of a file." msgstr "" "تتشارك الخيوط في العملية الأقفال. بعبارة أخرى، لا يمكن لبرنامج متعدد الخيوط " "استخدام قفل السجلات لضمان عدم وصول الخيوط في نفس الوقت إلى نفس المنطقة من " "الملف." #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "Open file description locks solve both of these problems." msgstr "تحل أقفال وصف الملف المفتوح كلتا المشكلتين." #. FIXME . Review progress into POSIX #. http://austingroupbugs.net/view.php?id=768 #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "Open file description locks are advisory byte-range locks whose operation is " "in most respects identical to the traditional record locks described above. " "This lock type is Linux-specific, and available since Linux 3.15. (There is " "a proposal with the Austin Group to include this lock type in the next " "revision of POSIX.1.) For an explanation of open file descriptions, see " "B(2)." msgstr "" "أقفال وصف الملف المفتوح هي أقفال نطاق-بايت استشارية تتطابق في معظم جوانبها " "مع أقفال السجلات التقليدية الموضحة أعلاه. هذا النوع من الأقفال مخصص للينكس، " "ومتاح منذ لينكس 3.15. (يوجد اقتراح مع مجموعة أوستن Austin Group لتضمين هذا " "النوع من الأقفال في المراجعة القادمة لـ POSIX.1). لشرح أوصاف الملفات " "المفتوحة، انظر B(2)." #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "The principal difference between the two lock types is that whereas " "traditional record locks are associated with a process, open file " "description locks are associated with the open file description on which " "they are acquired, much like locks acquired with B(2). Consequently " "(and unlike traditional advisory record locks), open file description locks " "are inherited across B(2) (and B(2) with B), and " "are only automatically released on the last close of the open file " "description, instead of being released on any close of the file." msgstr "" "الفرق الرئيس بين نوعي الأقفال هو أنه بينما ترتبط أقفال السجلات التقليدية " "بالعملية، ترتبط أقفال وصف الملف المفتوح بوصف الملف المفتوح الذي اكتُسبت عليه، " "تمامًا مثل الأقفال المكتسبة باستخدام B(2). وبالتالي (وعلى عكس أقفال " "السجلات الاستشارية التقليدية)، تُرث أقفال وصف الملف المفتوح عبر B(2) (و " "B(2) مع B)، وتُحرّر I<آليًا> فقط عند الإغلاق الأخير لوصف " "الملف المفتوح، بدلاً من تحريرها عند أي إغلاق للملف." #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "Conflicting lock combinations (i.e., a read lock and a write lock or two " "write locks) where one lock is an open file description lock and the other " "is a traditional record lock conflict even when they are acquired by the " "same process on the same file descriptor." msgstr "" "مجموعات الأقفال المتعارضة (أي قفل قراءة وقفل كتابة، أو قفلا كتابة) حيث يكون " "أحد الأقفال قفل وصف ملف مفتوح والآخر قفل سجل تقليدي تتعارض حتى لو اكتُسبت " "بواسطة نفس العملية على نفس واصف الملف." #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "Open file description locks placed via the same open file description (i.e., " "via the same file descriptor, or via a duplicate of the file descriptor " "created by B(2), B(2), B() B, and so on) are " "always compatible: if a new lock is placed on an already locked region, then " "the existing lock is converted to the new lock type. (Such conversions may " "result in splitting, shrinking, or coalescing with an existing lock as " "discussed above.)" msgstr "" "أقفال وصف الملف المفتوح التي توضع عبر نفس وصف الملف المفتوح (أي عبر نفس واصف " "الملف، أو عبر نسخة من واصف الملف أُنشئت بواسطة B(2) أو B(2) أو " "B() B، وما إلى ذلك) تكون دائمًا متوافقة: إذا وُضع قفل جديد" " على " "منطقة مقفولة بالفعل، فسيُحوّل القفل الحالي إلى نوع القفل الجديد. (قد تؤدي مثل " "هذه التحويلات إلى تقسيم القفل، أو تقليصه، أو دمجه مع قفل موجود كما نُوقش " "أعلاه)." #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "On the other hand, open file description locks may conflict with each other " "when they are acquired via different open file descriptions. Thus, the " "threads in a multithreaded program can use open file description locks to " "synchronize access to a file region by having each thread perform its own " "B(2) on the file and applying locks via the resulting file descriptor." msgstr "" "من ناحية أخرى، قد تتعارض أقفال وصف الملف المفتوح مع بعضها البعض عندما تُكتسب " "عبر أوصاف ملفات مفتوحة مختلفة. وبالتالي، يمكن للخيوط في برنامج متعدد الخيوط " "استخدام أقفال وصف الملف المفتوح لمزامنة الوصول إلى منطقة ملف عن طريق قيام كل " "خيط بإجراء B(2) خاص به على الملف وتطبيق الأقفال عبر واصف الملف الناتج." #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "As with traditional advisory locks, the third argument to B(), " "I, is a pointer to an I structure. By contrast with " "traditional record locks, the I field of that structure must be set " "to zero when using the operations described below." msgstr "" "كما هو الحال مع الأقفال الاستشارية التقليدية، فإن المعامل الثالث لـ " "B()، وهو I، هو مؤشر إلى بنية I. وبخلاف أقفال السجلات " "التقليدية، يجب ضبط حقل I لتلك البنية على الصفر عند استخدام العمليات " "الموضحة أدناه." #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "The operations for working with open file description locks are analogous to " "those used with traditional locks:" msgstr "" "العمليات المخصصة للتعامل مع أقفال وصف الملف المفتوح مماثلة لتلك المستخدمة مع " "الأقفال التقليدية:" #. type: TP #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "B (I)" msgstr "B (I)" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "Acquire an open file description lock (when I is B or " "B) or release an open file description lock (when I is " "B) on the bytes specified by the I, I, and " "I fields of I. If a conflicting lock is held by another " "process, this call returns -1 and sets I to B." msgstr "" "الاستحواذ على قفل وصف ملف مفتوح (عندما يكون I هو B أو " "B) أو تحرير قفل وصف ملف مفتوح (عندما يكون I هو B) " "على البايتات المحددة بواسطة حقول I و I و I للمعامل " "I. إذا كانت هناك عملية أخرى تحوز قفلاً متعارضًا، فإن هذا الاستدعاء يعيد " "-1 ويضبط I على B." #. type: TP #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "B (I)" msgstr "B (I)" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "As for B, but if a conflicting lock is held on the file, then " "wait for that lock to be released. If a signal is caught while waiting, " "then the call is interrupted and (after the signal handler has returned) " "returns immediately (with return value -1 and I set to B; see " "B(7))." msgstr "" "كما هو الحال في B، ولكن إذا كان هناك قفل متعارض محوز على الملف، " "فانتظر حتى يُحرّر ذلك القفل. إذا التُقطت إشارة أثناء الانتظار، فسيُقاطع " "الاستدعاء ويعيد (بعد عودة معالج الإشارة) القيمة فوريًا (مع قيمة إرجاع -1 وضبط " "I على B؛ انظر B(7))." #. type: TP #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "B (I)" msgstr "B (I)" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "On input to this call, I describes an open file description lock we " "would like to place on the file. If the lock could be placed, B() " "does not actually place it, but returns B in the I field of " "I and leaves the other fields of the structure unchanged. If one or " "more incompatible locks would prevent this lock being placed, then details " "about one of these locks are returned via I, as described above for " "B." msgstr "" "عند إدخال هذا الاستدعاء، يصف I قفل وصف ملف مفتوح نود وضعه على الملف. " "إذا كان بالإمكان وضع القفل، فإن B() لا يضعه فعليًا، بل يعيد B " "في حقل I من I ويترك الحقول الأخرى للبنية دون تغيير. إذا كان " "هناك قفل أو أكثر غير متوافق يمنع وضع هذا القفل، فستُعاد تفاصيل حول أحد هذه " "الأقفال عبر I، كما هو موضح أعلاه لـ B." #. commit 57b65325fe34ec4c917bc4e555144b4a94d9e1f7 #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "In the current implementation, no deadlock detection is performed for open " "file description locks. (This contrasts with process-associated record " "locks, for which the kernel does perform deadlock detection.)" msgstr "" "في التنفيذ الحالي، لا يتم إجراء اكتشاف استعصاء لأقفال وصف الملف المفتوح. " "(يتعارض هذا مع أقفال السجلات المرتبطة بالعملية، والتي تقوم الـ I<نواة> " "بإجراء اكتشاف الاستعصاء لها)." #. type: SS #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "Mandatory locking" msgstr "القفل الإلزامي" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "I: the Linux implementation of mandatory locking is unreliable. " "See BUGS below. Because of these bugs, and the fact that the feature is " "believed to be little used, since Linux 4.5, mandatory locking has been made " "an optional feature, governed by a configuration option " "(B). This feature is no longer supported at " "all in Linux 5.15 and above." msgstr "" "I<تحذير>: تنفيذ لينكس للقفل الإلزامي غير موثوق به. انظر قسم BUGS أدناه. بسبب " "هذه العيوب، وحقيقة أنه يُعتقد أن هذه الميزة قليلة الاستخدام، فقد أُصبح القفل " "الإلزامي ميزة اختيارية منذ لينكس 4.5، يحكمها خيار الضبط " "(B). لم تعد هذه الميزة مدعومة على الإطلاق في " "لينكس 5.15 وما فوق." #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "By default, both traditional (process-associated) and open file description " "record locks are advisory. Advisory locks are not enforced and are useful " "only between cooperating processes." msgstr "" "بشكل مبدئي، تكون كل من أقفال السجلات التقليدية (المرتبطة بالعملية) وأقفال " "وصف الملف المفتوح استشارية. الأقفال الاستشارية لا تُفرض وهي مفيدة فقط بين " "العمليات المتعاونة." #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "Both lock types can also be mandatory. Mandatory locks are enforced for all " "processes. If a process tries to perform an incompatible access (e.g., " "B(2) or B(2)) on a file region that has an incompatible " "mandatory lock, then the result depends upon whether the B flag " "is enabled for its open file description. If the B flag is not " "enabled, then the system call is blocked until the lock is removed or " "converted to a mode that is compatible with the access. If the " "B flag is enabled, then the system call fails with the error " "B." msgstr "" "يمكن أن يكون كلا نوعي القفل إلزاميين أيضًا. تُفرض الأقفال الإلزامية على جميع " "العمليات. إذا حاولت عملية إجراء وصول غير متوافق (مثل B(2) أو " "B(2)) على منطقة ملف بها قفل إلزامي غير متوافق، فإن النتيجة تعتمد على " "ما إذا كان علم B مفعلاً لوصف الملف المفتوح الخاص بها. إذا لم يكن " "علم B مفعلاً، فسيُحظر استدعاء النظام حتى يُزال القفل أو يُحوّل" " إلى " "وضع متوافق مع الوصول. إذا كان علم B مفعلاً، فإن استدعاء النظام " "يفشل مع الخطأ B." #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "To make use of mandatory locks, mandatory locking must be enabled both on " "the filesystem that contains the file to be locked, and on the file itself. " "Mandatory locking is enabled on a filesystem using the \"-o mand\" option to " "B(8), or the B flag for B(2). Mandatory locking " "is enabled on a file by disabling group execute permission on the file and " "enabling the set-group-ID permission bit (see B(1) and B(2))." msgstr "" "للاستفادة من الأقفال الإلزامية، يجب تمكين القفل الإلزامي على كل من I<نظام " "الملفات> الذي يحتوي على الملف المراد قفله، وعلى الملف نفسه. يُمكن القفل " "الإلزامي على I<نظام ملفات> باستخدام خيار \"-o mand\" للأمر B(8)، أو " "علم B لـ B(2). يُمكن القفل الإلزامي على ملف عن طريق تعطيل " "إذن التنفيذ للمجموعة على الملف وتمكين بت إذن set-group-ID (انظر B(1) " "و B(2))." #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "Mandatory locking is not specified by POSIX. Some other systems also " "support mandatory locking, although the details of how to enable it vary " "across systems." msgstr "" "لم يتم تحديد القفل الإلزامي بواسطة POSIX. تدعم بعض الأنظمة الأخرى أيضًا القفل " "الإلزامي، على الرغم من أن تفاصيل كيفية تمكينه تختلف عبر الأنظمة." #. type: SS #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "Lost locks" msgstr "الأقفال المفقودة" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "When an advisory lock is obtained on a networked filesystem such as NFS it " "is possible that the lock might get lost. This may happen due to " "administrative action on the server, or due to a network partition (i.e., " "loss of network connectivity with the server) which lasts long enough for " "the server to assume that the client is no longer functioning." msgstr "" "عند الحصول على قفل استشاري على I<نظام ملفات> شبكي مثل NFS، فمن الممكن أن " "يُفقد القفل. قد يحدث هذا بسبب إجراء إداري على الخادم، أو بسبب انقسام الشبكة " "(أي فقدان الاتصال بالشبكة مع الخادم) الذي يستمر لفترة كافية ليفتضر الخادم أن " "العميل لم يعد يعمل." #. commit ef1820f9be27b6ad158f433ab38002ab8131db4d #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "When the filesystem determines that a lock has been lost, future B(2) " "or B(2) requests may fail with the error B. This error will " "persist until the lock is removed or the file descriptor is closed. Since " "Linux 3.12, this happens at least for NFSv4 (including all minor versions)." msgstr "" "عندما يحدد I<نظام الملفات> أن القفل قد فُقد، قد تفشل طلبات B(2) أو " "B(2) المستقبلية مع الخطأ B. سيستمر هذا الخطأ حتى يُزال القفل أو " "يُغلق واصف الملف. منذ لينكس 3.12، يحدث هذا على الأقل لـ NFSv4 (بما في ذلك " "جميع الإصدارات الفرعية)." #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "Some versions of UNIX send a signal (B) in this circumstance. " "Linux does not define this signal, and does not provide any asynchronous " "notification of lost locks." msgstr "" "ترسل بعض إصدارات UNIX إشارة (B) في هذه الحالة. لا تعرّف لينكس هذه " "الإشارة، ولا توفر أي I<إشعار> غير متزامن بالأقفال المفقودة." #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "B, B, B, B, B, and " "B are used to manage I/O availability signals:" msgstr "" "تُستخدم B و B و B و B و " "B و B لإدارة إشارات توفر الإدخال/الإخراج:" #. type: TP #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "B (I)" msgstr "B (I)" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "Return (as the function result) the process ID or process group ID " "currently receiving B and B signals for events on file " "descriptor I. Process IDs are returned as positive values; process " "group IDs are returned as negative values (but see BUGS below). I is " "ignored." msgstr "" "إرجاع (كنتيجة للدالة) معرف العملية أو معرف مجموعة العمليات التي تتلقى حاليًا " "إشارات B و B للأحداث على واصف الملف I. تُعاد معرفات " "العمليات كقيم موجبة؛ وتُعاد معرفات مجموعات العمليات كقيم سالبة (ولكن انظر قسم " "BUGS أدناه). يُتجاهل المعامل I." #. type: TP #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "B (I)" msgstr "B (I)" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "Set the process ID or process group ID that will receive B and " "B signals for events on the file descriptor I. The target " "process or process group ID is specified in I. A process ID is " "specified as a positive value; a process group ID is specified as a negative " "value. Most commonly, the calling process specifies itself as the owner " "(that is, I is specified as B(2))." msgstr "" "ضبط معرف العملية أو معرف مجموعة العمليات التي ستتلقى إشارات B و " "B للأحداث على واصف الملف I. يُحدد معرف العملية المستهدفة أو " "مجموعة العمليات في I. يُحدد معرف العملية كقيمة موجبة؛ ويُحدد معرف مجموعة " "العمليات كقيمة سالبة. في الغالب، يحدد I<المستدعِي> نفسه كمالك (أي يُحدد I " "كنتيجة لـ B(2))." #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "As well as setting the file descriptor owner, one must also enable " "generation of signals on the file descriptor. This is done by using the " "B() B operation to set the B file status flag on " "the file descriptor. Subsequently, a B signal is sent whenever input " "or output becomes possible on the file descriptor. The B() " "B operation can be used to obtain delivery of a signal other than " "B." msgstr "" "بالإضافة إلى ضبط مالك واصف الملف، يجب أيضًا تمكين توليد الإشارات على واصف " "الملف. يتم ذلك باستخدام عملية B() B لضبط علم حالة الملف " "B على واصف الملف. لاحقًا، تُرسل إشارة B كلما أصبح الإدخال أو " "الإخراج ممكنًا على واصف الملف. يمكن استخدام عملية B() B " "للحصول على تسليم إشارة أخرى غير B." #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "Sending a signal to the owner process (group) specified by B is " "subject to the same permissions checks as are described for B(2), " "where the sending process is the one that employs B (but see BUGS " "below). If this permission check fails, then the signal is silently " "discarded. I: The B operation records the caller's " "credentials at the time of the B() call, and it is these saved " "credentials that are used for the permission checks." msgstr "" "يخضع إرسال إشارة إلى عملية المالك (أو المجموعة) المحددة بواسطة B " "لنفس عمليات التحقق من الأذونات الموضحة في B(2)، حيث تكون العملية " "المرسلة هي تلك التي تستخدم B (ولكن انظر قسم BUGS أدناه). إذا فشل " "التحقق من الإذن، فسيتم تجاهل الإشارة بصمت. I<ملاحظة>: تسجل عملية B " "بيانات الاستيثاق الخاصة بـ I<المستدعِي> في وقت استدعاء B()، وتُستخدم " "بيانات الاستيثاق المحفوظة هذه للتحقق من الأذونات." # #. The following appears to be rubbish. It doesn't seem to #. be true according to the kernel source, and I can write #. a program that gets a terminal-generated SIGIO even though #. it is not the foreground process group of the terminal. #. -- MTK, 8 Apr 05 #. If the file descriptor #. .I fd #. refers to a terminal device, then SIGIO #. signals are sent to the foreground process group of the terminal. #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "If the file descriptor I refers to a socket, B also selects " "the recipient of B signals that are delivered when out-of-band data " "arrives on that socket. (B is sent in any situation where " "B(2) أن المقبس لديه " "\"حالة استثنائية\")." #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "The following was true in Linux 2.6.x up to and including Linux 2.6.11:" msgstr "" "كان ما يلي صحيحًا في لينكس 2.6.x حتى لينكس 2.6.11 (بما في ذلك هذا الأخير):" #. The relevant place in the (2.6) kernel source is the #. 'switch' in fs/fcntl.c::send_sigio_to_task() -- MTK, Apr 2005 #. send_sigurg()/send_sigurg_to_task() bypasses #. kill_fasync()/send_sigio()/send_sigio_to_task() #. to directly call send_group_sig_info() #. -- MTK, Apr 2005 (kernel 2.6.11) #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "If a nonzero value is given to B in a multithreaded process " "running with a threading library that supports thread groups (e.g., NPTL), " "then a positive value given to B has a different meaning: instead " "of being a process ID identifying a whole process, it is a thread ID " "identifying a specific thread within a process. Consequently, it may be " "necessary to pass B the result of B(2) instead of " "B(2) to get sensible results when B is used. (In current " "Linux threading implementations, a main thread's thread ID is the same as " "its process ID. This means that a single-threaded program can equally use " "B(2) or B(2) in this scenario.) Note, however, that the " "statements in this paragraph do not apply to the B signal generated " "for out-of-band data on a socket: this signal is always sent to either a " "process or a process group, depending on the value given to B." msgstr "" "إذا أُعطيت قيمة غير صفرية لـ B في عملية متعددة الخيوط تعمل مع مكتبة " "خيوط تدعم مجموعات الخيوط (مثل NPTL)، فإن القيمة الموجبة المعطاة لـ " "B لها معنى مختلف: فبدلاً من كونها معرف عملية يحدد عملية كاملة، تكون " "معرف خيط يحدد خيطًا معينًا داخل عملية. وبالتالي، قد يكون من الضروري تمرير " "نتيجة B(2) إلى B بدلاً من B(2) للحصول على نتائج " "منطقية عند استخدام B. (في تنفيذات خيوط لينكس الحالية، يكون معرف " "الخيط الرئيس هو نفسه معرف العملية الخاص به. وهذا يعني أن البرنامج أحادي " "الخيط يمكنه استخدام B(2) أو B(2) على حد سواء في هذا " "السيناريو). لاحظ، مع ذلك، أن البيانات الواردة في هذه الفقرة لا تنطبق على " "إشارة B المتولدة لبيانات خارج النطاق على مقبس: تُرسل هذه الإشارة " "دائمًا إما إلى عملية أو مجموعة عمليات، اعتمادًا على القيمة المعطاة لـ " "B." #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "The above behavior was accidentally dropped in Linux 2.6.12, and won't be " "restored. From Linux 2.6.32 onward, use B to target B " "and B signals at a particular thread." msgstr "" "أُسقط السلوك أعلاه عن طريق الخطأ في لينكس 2.6.12، ولن يُستعاد. بدءًا من لينكس " "2.6.32 فصاعدًا، استخدم B لتوجيه إشارات B و B إلى " "خيط معين." #. type: TP #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "B (I) (since Linux 2.6.32)" msgstr "B (I) (منذ لينكس 2.6.32)" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "Return the current file descriptor owner settings as defined by a previous " "B operation. The information is returned in the structure " "pointed to by I, which has the following form:" msgstr "" "إرجاع إعدادات مالك واصف الملف الحالية كما حددتها عملية B سابقة. " "تُعاد المعلومات في البنية التي يشير إليها I، والتي لها الشكل التالي:" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "" "struct f_owner_ex {\n" " int type;\n" " pid_t pid;\n" "};\n" msgstr "" "struct f_owner_ex {\n" " int type;\n" " pid_t pid;\n" "};\n" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "The I field will have one of the values B, " "B, or B. The I field is a positive integer " "representing a thread ID, process ID, or process group ID. See " "B for more details." msgstr "" "سيحتوي حقل I على إحدى القيم B، أو B، أو " "B. حقل I هو عدد صحيح موجب يمثل معرف خيط، أو معرف عملية، " "أو معرف مجموعة عمليات. انظر B لمزيد من التفاصيل." #. type: TP #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "B (I) (since Linux 2.6.32)" msgstr "B (I) (منذ لينكس 2.6.32)" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "This operation performs a similar task to B. It allows the caller " "to direct I/O availability signals to a specific thread, process, or process " "group. The caller specifies the target of signals via I, which is a " "pointer to a I structure. The I field has one of the " "following values, which define how I is interpreted:" msgstr "" "تؤدي هذه العملية مهمة مماثلة لـ B. وهي تسمح لـ I<المستدعِي> بتوجيه " "إشارات توفر الإدخال/الإخراج إلى خيط أو عملية أو مجموعة عمليات معينة. يحدد " "I<المستدعِي> هدف الإشارات عبر I، وهو مؤشر إلى بنية I. يحتوي " "حقل I على إحدى القيم التالية، والتي تحدد كيفية تفسير I:" #. type: TP #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "Send the signal to the thread whose thread ID (the value returned by a call " "to B(2) or B(2)) is specified in I." msgstr "" "إرسال الإشارة إلى الخيط الذي يكون معرفه (القيمة المعادة بواسطة استدعاء " "B(2) أو B(2)) محددًا في I." #. type: TP #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "Send the signal to the process whose ID is specified in I." msgstr "إرسال الإشارة إلى العملية التي يكون معرفها محددًا في I." #. type: TP #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "Send the signal to the process group whose ID is specified in I. (Note " "that, unlike with B, a process group ID is specified as a positive " "value here.)" msgstr "" "إرسال الإشارة إلى مجموعة العمليات التي يكون معرفها محددًا في I. (لاحظ " "أنه، على عكس B، يُحدد معرف مجموعة العمليات كقيمة موجبة هنا)." #. type: TP #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "B (I)" msgstr "B (I)" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "Return (as the function result) the signal sent when input or output " "becomes possible. A value of zero means B is sent. Any other value " "(including B) is the signal sent instead, and in this case " "additional info is available to the signal handler if installed with " "B. I is ignored." msgstr "" "إرجاع (كنتيجة للدالة) الإشارة المرسلة عندما يصبح الإدخال أو الإخراج ممكنًا. " "القيمة صفر تعني إرسال B. أي قيمة أخرى (بما في ذلك B) هي " "الإشارة المرسلة بدلاً من ذلك، وفي هذه الحالة تتوفر معلومات إضافية لمعالج " "الإشارة إذا ثُبت بـ B. يُتجاهل I." #. type: TP #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "B (I)" msgstr "B (I)" # # #. The following was true only up until Linux 2.6.11: #. Additionally, passing a nonzero value to #. .B F_SETSIG #. changes the signal recipient from a whole process to a specific thread #. within a process. #. See the description of #. .B F_SETOWN #. for more details. #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "Set the signal sent when input or output becomes possible to the value given " "in I. A value of zero means to send the default B signal. Any " "other value (including B) is the signal to send instead, and in this " "case additional info is available to the signal handler if installed with " "B." msgstr "" "ضبط الإشارة المرسلة عندما يصبح الإدخال أو الإخراج ممكنًا على القيمة المعطاة " "في I. القيمة صفر تعني إرسال إشارة B المبدئية. أي قيمة أخرى (بما " "في ذلك B) هي الإشارة المراد إرسالها بدلاً من ذلك، وفي هذه الحالة تتوفر " "معلومات إضافية لمعالج الإشارة إذا ثُبت بـ B." #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "By using B with a nonzero value, and setting B for the " "signal handler (see B(2)), extra information about I/O events is " "passed to the handler in a I structure. If the I field " "indicates the source is B, the I field gives the file " "descriptor associated with the event. Otherwise, there is no indication " "which file descriptors are pending, and you should use the usual mechanisms " "(B(2) و B(2) و B(2) مع ضبط B وما إلى ذلك) " "لتحديد واصفات الملفات المتاحة للإدخال/الإخراج." #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "Note that the file descriptor provided in I is the one that was " "specified during the B operation. This can lead to an unusual " "corner case. If the file descriptor is duplicated (B(2) or similar), " "and the original file descriptor is closed, then I/O events will continue to " "be generated, but the I field will contain the number of the now " "closed file descriptor." msgstr "" "لاحظ أن واصف الملف المتوفر في I هو الذي حُدد أثناء عملية B. " "قد يؤدي هذا إلى حالة نادرة غير معتادة. إذا نُسخ واصف الملف (B(2) أو ما " "شابه)، وأُغلق واصف الملف الأصلي، فستستمر أحداث الإدخال/الإخراج في التولد، " "ولكن حقل I سيحتوي على رقم واصف الملف المغلق الآن." # This paragraph does not build, probably you need to >= → E= #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "By selecting a real time signal (value E= B), multiple I/O " "events may be queued using the same signal numbers. (Queuing is dependent " "on available memory.) Extra information is available if B is " "set for the signal handler, as above." msgstr "" "باختيار إشارة زمن حقيقي (قيمة E= B)، يمكن جدولة أحداث إدخال/" "إخراج متعددة باستخدام نفس أرقام الإشارات. (تعتمد الجدولة على الذاكرة " "المتاحة). تتوفر معلومات إضافية إذا ضُبطت B لمعالج الإشارة، كما هو " "موضح أعلاه." #. See fs/fcntl.c::send_sigio_to_task() (2.4/2.6) sources -- MTK, Apr 05 #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "Note that Linux imposes a limit on the number of real-time signals that may " "be queued to a process (see B(2) and B(7)) and if this " "limit is reached, then the kernel reverts to delivering B, and this " "signal is delivered to the entire process rather than to a specific thread." msgstr "" "لاحظ أن لينكس تفرض حدًا على عدد إشارات الزمن الحقيقي التي قد تُجدول لعملية ما " "(انظر B(2) و B(7)) وإذا تم الوصول إلى هذا الحد، فإن الـ " "I<نواة> تعود إلى تسليم B، وتُسلم هذه الإشارة إلى العملية بأكملها بدلاً " "من خيط معين." #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "Using these mechanisms, a program can implement fully asynchronous I/O " "without using B(2) أو B(2) في معظم الأوقات." #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "The use of B is specific to BSD and Linux. The only use of " "B and B specified in POSIX.1 is in conjunction with the " "use of the B signal on sockets. (POSIX does not specify the " "B signal.) B, B, B, and " "B are Linux-specific. POSIX has asynchronous I/O and the " "I structure to achieve similar things; these are also " "available in Linux as part of the GNU C Library (glibc)." msgstr "" "استخدام B مخصص لـ BSD ولينكس. الاستخدام الوحيد لـ B و " "B المحدد في POSIX.1 هو بالتزامن مع استخدام إشارة B على " "المقابس. (لا يحدد POSIX إشارة B). تُعد B و B " "و B و B ميزات مخصصة للينكس. لدى POSIX إدخال/إخراج غير " "متزامن وبنية I لتحقيق أشياء مماثلة؛ وهذه متوفرة أيضًا في لينكس " "كجزء من مكتبة جـنو سي (glibc)." #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "B and B (Linux 2.4 onward) are used to establish a " "new lease, and retrieve the current lease, on the open file description " "referred to by the file descriptor I. A file lease provides a mechanism " "whereby the process holding the lease (the \"lease holder\") is notified " "(via delivery of a signal) when a process (the \"lease breaker\") tries to " "B(2) or B(2) the file referred to by that file descriptor." msgstr "" "تُستخدم B و B (لينكس 2.4 فصاعدًا) لإنشاء عقد إيجار " "جديد، واستعادة العقد الحالي، على وصف الملف المفتوح الذي يشير إليه واصف الملف " "I. يوفر عقد إيجار الملف آلية يتم من خلالها إخطار العملية التي تحمل العقد " "(\"حائز العقد\") (عبر تسليم إشارة) عندما تحاول عملية أخرى (\"كاسر العقد\") " "إجراء B(2) أو B(2) للملف الذي يشير إليه واصف الملف هذا." #. type: TP #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "B (I)" msgstr "B (I)" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "Set or remove a file lease according to which of the following values is " "specified in the integer I:" msgstr "" "ضبط أو إزالة عقد إيجار ملف وفقًا لأي من القيم التالية المحددة في العدد الصحيح " "I:" #. type: TP #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "B" msgstr "B" #. The following became true in Linux 2.6.10: #. See the man-pages-2.09 Changelog for further info. #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "Take out a read lease. This will cause the calling process to be notified " "when the file is opened for writing or is truncated. A read lease can be " "placed only on a file descriptor that is opened read-only." msgstr "" "الحصول على عقد إيجار قراءة. سيؤدي هذا إلى إخطار العملية I<المستدعِية> عندما " "يُفتح الملف للكتابة أو يُقَصّ (truncate). يمكن وضع عقد إيجار قراءة فقط على" " واصف " "ملف مفتوح للقراءة فقط." #. type: TP #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "Take out a write lease. This will cause the caller to be notified when the " "file is opened for reading or writing or is truncated. A write lease may be " "placed on a file only if there are no other open file descriptors for the " "file." msgstr "" "الحصول على عقد إيجار كتابة. سيؤدي هذا إلى إخطار I<المستدعِي> عندما يُفتح" " الملف " "للقراءة أو الكتابة أو يُقَصّ. يمكن وضع عقد إيجار كتابة على ملف فقط إذا لم تكن " "هناك واصفات ملفات مفتوحة أخرى لهذا الملف." #. type: TP #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "Remove our lease from the file." msgstr "إزالة عقد الإيجار الخاص بنا من الملف." #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "Leases are associated with an open file description (see B(2)). This " "means that duplicate file descriptors (created by, for example, B(2) " "or B(2)) refer to the same lease, and this lease may be modified or " "released using any of these descriptors. Furthermore, the lease is released " "by either an explicit B operation on any of these duplicate file " "descriptors, or when all such file descriptors have been closed." msgstr "" "ترتبط عقود الإيجار بوصف ملف مفتوح (انظر B(2)). وهذا يعني أن واصفات " "الملفات المكررة (التي أُنشئت بواسطة، على سبيل المثال، B(2) أو " "B(2)) تشير إلى نفس عقد الإيجار، ويمكن تعديل هذا العقد أو تحريره " "باستخدام أي من هذه الواصفات. علاوة على ذلك، يُحرّر عقد الإيجار إما بعملية " "B صريحة على أي من واصفات الملفات المكررة هذه، أو عندما تُغلق جميع " "واصفات الملفات هذه." #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "Leases may be taken out only on regular files. An unprivileged process may " "take out a lease only on a file whose UID (owner) matches the filesystem UID " "of the process. A process with the B capability may take out " "leases on arbitrary files." msgstr "" "لا يمكن الحصول على عقود إيجار إلا على الملفات العادية. يمكن للعملية غير " "المتميزة الحصول على عقد إيجار فقط لملف يتطابق معرفه (المالك) مع معرف I<نظام " "ملفات> العملية. يمكن للعملية التي تمتلك قدرة B الحصول على عقود " "إيجار لملفات عشوائية." #. type: TP #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "B (I)" msgstr "B (I)" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "Indicates what type of lease is associated with the file descriptor I by " "returning either B, B, or B, indicating, " "respectively, a read lease , a write lease, or no lease. I is ignored." msgstr "" "يشير إلى نوع عقد الإيجار المرتبط بواصف الملف I عن طريق إرجاع إما " "B أو B أو B، مما يشير على التوالي إلى عقد إيجار " "قراءة، أو عقد إيجار كتابة، أو عدم وجود عقد إيجار. يُتجاهل I." #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "When a process (the \"lease breaker\") performs an B(2) or " "B(2) that conflicts with a lease established via B, " "the system call is blocked by the kernel and the kernel notifies the lease " "holder by sending it a signal (B by default). The lease holder " "should respond to receipt of this signal by doing whatever cleanup is " "required in preparation for the file to be accessed by another process (e." "g., flushing cached buffers) and then either remove or downgrade its lease. " "A lease is removed by performing an B operation specifying " "I as B. If the lease holder currently holds a write lease on " "the file, and the lease breaker is opening the file for reading, then it is " "sufficient for the lease holder to downgrade the lease to a read lease. " "This is done by performing an B operation specifying I as " "B." msgstr "" "عندما تقوم عملية (\"كاسر العقد\") بإجراء B(2) أو B(2) يتعارض " "مع عقد إيجار أُنشئ عبر B، فسيُحظر استدعاء النظام بواسطة الـ " "I<نواة> وتخطر الـ I<نواة> حائز العقد بإرسال إشارة إليه (B بشكل " "مبدئي). يجب على حائز العقد الاستجابة لاستلام هذه الإشارة من خلال القيام بأي " "تنظيف مطلوب استعدادًا للوصول إلى الملف من قبل عملية أخرى (مثل تفريغ الخبيئات) " "ثم إما إزالة العقد أو خفض درجته. تُزال عقود الإيجار بإجراء عملية " "B مع تحديد I كـ B. إذا كان حائز العقد يحمل حاليًا " "عقد إيجار كتابة على الملف، وكان كاسر العقد يفتح الملف للقراءة، فيكفي لحائز " "العقد خفض درجة العقد إلى عقد إيجار قراءة. يتم ذلك بإجراء عملية B " "مع تحديد I كـ B." #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "If the lease holder fails to downgrade or remove the lease within the number " "of seconds specified in I, then the kernel " "forcibly removes or downgrades the lease holder's lease." msgstr "" "إذا فشل حائز العقد في خفض درجة العقد أو إزالته خلال عدد الثواني المحدد في I، فإن الـ I<نواة> تزيل العقد أو تخفض درجته " "قسريًا." #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "Once a lease break has been initiated, B returns the target " "lease type (either B or B, depending on what would be " "compatible with the lease breaker) until the lease holder voluntarily " "downgrades or removes the lease or the kernel forcibly does so after the " "lease break timer expires." msgstr "" "بمجرد بدء كسر العقد، تعيد B نوع عقد الإيجار المستهدف (إما " "B أو B، اعتمادًا على ما سيكون متوافقًا مع كاسر العقد) حتى " "يقوم حائز العقد طواعية بخفض درجة العقد أو إزالته أو تقوم الـ I<نواة> بذلك " "قسريًا بعد انتهاء موقت كسر العقد." #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "Once the lease has been voluntarily or forcibly removed or downgraded, and " "assuming the lease breaker has not unblocked its system call, the kernel " "permits the lease breaker's system call to proceed." msgstr "" "بمجرد إزالة عقد الإيجار أو خفض درجته طواعية أو قسريًا، وبافتراض أن كاسر العقد " "لم يلغِ حظر استدعاء النظام الخاص به، تسمح الـ I<نواة> لاستدعاء نظام كاسر " "العقد بالمتابعة." #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "If the lease breaker's blocked B(2) or B(2) is interrupted " "by a signal handler, then the system call fails with the error B, but " "the other steps still occur as described above. If the lease breaker is " "killed by a signal while blocked in B(2) or B(2), then the " "other steps still occur as described above. If the lease breaker specifies " "the B flag when calling B(2), then the call immediately " "fails with the error B, but the other steps still occur as " "described above." msgstr "" "إذا قوطع استدعاء B(2) أو B(2) المحظور لكاسر العقد بواسطة " "معالج إشارة، فإن استدعاء النظام يفشل مع الخطأ B، ولكن الخطوات الأخرى " "لا تزال تحدث كما هو موضح أعلاه. إذا قُتل كاسر العقد بواسطة إشارة أثناء حظره " "في B(2) أو B(2)، فإن الخطوات الأخرى لا تزال تحدث كما هو موضح " "أعلاه. إذا حدد كاسر العقد علم B عند استدعاء B(2)، فإن " "الاستدعاء يفشل فوريًا مع الخطأ B، ولكن الخطوات الأخرى لا تزال " "تحدث كما هو موضح أعلاه." #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "The default signal used to notify the lease holder is B, but this can " "be changed using the B operation to B(). If a B " "operation is performed (even one specifying B), and the signal " "handler is established using B, then the handler will receive a " "I structure as its second argument, and the I field of " "this argument will hold the file descriptor of the leased file that has been " "accessed by another process. (This is useful if the caller holds leases " "against multiple files.)" msgstr "" "الإشارة المبدئية المستخدمة لإشعار حامل عقد الإيجار هي B، ولكن يمكن " "تغيير ذلك باستخدام العملية B في B(). إذا نُفذت عملية " "B (حتى لو حددت B)، وأُسس معالج الإشارة باستخدام " "B، فسيستقبل المعالج بنية I كوسيط ثانٍ له، وسيحتوي " "الحقل I في هذا الوسيط على واصف الملف للملف المستأجر الذي وُصل إليه " "بواسطة عملية أخرى. (هذا مفيد إذا كان المستدعِي يحمل عقود إيجار لملفات متعددة.)" #. type: TP #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "B (I)" msgstr "B (I)" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "(Linux 2.4 onward) Provide notification when the directory referred to by " "I or any of the files that it contains is changed. The events to be " "notified are specified in I, which is a bit mask specified by ORing " "together zero or more of the following bits:" msgstr "" "(بدءًا من لينكس 2.4) يوفر إشعاراً عندما يتغير الدليل المشار إليه بواسطة I " "أو أي من الملفات التي يحتوي عليها. تُحدد الأحداث المراد الإشعار بها في " "I، وهو قناع بتات (bit mask) يُحدد عبر إجراء عملية OR لصفر أو أكثر من " "البتات التالية:" #. type: TP #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "A file was accessed (B(2), B(2), B(2), and similar)" msgstr "وُصل إلى ملف (B(2)،‏ B(2)،‏ B(2)، وما شابه)" #. type: TP #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "A file was modified (B(2), B(2), B(2), " "B(2), B(2), and similar)." msgstr "" "عُدل ملف (B(2)،‏ B(2)،‏ B(2)،‏ B(2)،‏ " "B(2)، وما شابه)." #. type: TP #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "A file was created (B(2), B(2), B(2), B(2), " "B(2), B(2), B(2) into this directory)." msgstr "" "أُنشئ ملف (B(2)،‏ B(2)،‏ B(2)،‏ B(2)،‏ B(2)،‏ " "B(2)،‏ B(2) إلى هذا الدليل)." #. type: TP #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "A file was unlinked (B(2), B(2) to another directory, " "B(2))." msgstr "فُصل رابط ملف (B(2)،‏ B(2) إلى دليل آخر، B(2))." #. type: TP #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "A file was renamed within this directory (B(2))." msgstr "غُير اسم ملف داخل هذا الدليل (B(2))." #. type: TP #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "The attributes of a file were changed (B(2), B(2), " "B(2), B(2), and similar)." msgstr "" "غُيرت سمات ملف (B(2)،‏ B(2)،‏ B(2)،‏ B(2)،" " وما " "شابه)." #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "(In order to obtain these definitions, the B<_GNU_SOURCE> feature test macro " "must be defined before including I header files.)" msgstr "" "(من أجل الحصول على هذه التعريفات، يجب تعريف ماكرو اختبار الميزة " "B<_GNU_SOURCE> قبل تضمين I<أي> ملفات رأسية.)" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "Directory notifications are normally \"one-shot\", and the application must " "reregister to receive further notifications. Alternatively, if " "B is included in I, then notification will remain in " "effect until explicitly removed." msgstr "" "إشعارات الدليل عادةً ما تكون \"طلقة واحدة\" (one-shot)، ويجب على التطبيق " "إعادة التسجيل لاستلام مزيد من الإشعارات. بدلاً من ذلك، إذا ضُمّن " "B في I، فسيظل الإشعار سارياً حتى يُزال صراحةً." #. The following does seem a poor API-design choice... #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "A series of B requests is cumulative, with the events in I " "being added to the set already monitored. To disable notification of all " "events, make an B call specifying I as 0." msgstr "" "سلسلة طلبات B تراكمية، حيث تُضاف الأحداث في I إلى المجموعة " "المراقبة بالفعل. لتعطيل الإشعار بجميع الأحداث، قم باستدعاء B مع " "تحديد I كـ 0." #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "Notification occurs via delivery of a signal. The default signal is " "B, but this can be changed using the B operation to " "B(). (Note that B is one of the nonqueuing standard signals; " "switching to the use of a real-time signal means that multiple notifications " "can be queued to the process.) In the latter case, the signal handler " "receives a I structure as its second argument (if the handler was " "established using B) and the I field of this structure " "contains the file descriptor which generated the notification (useful when " "establishing notification on multiple directories)." msgstr "" "يحدث الإشعار عبر تسليم إشارة. الإشارة المبدئية هي B، ولكن يمكن تغيير " "ذلك باستخدام العملية B في B(). (لاحظ أن B هي إحدى " "الإشارات القياسية غير القابلة للجدولة؛ التحول إلى استخدام إشارة زمن حقيقي " "يعني إمكانية جدولة إشعارات متعددة للعملية.) في الحالة الأخيرة، يستقبل معالج " "الإشارة بنية I كوسيط ثانٍ له (إذا أُسس المعالج باستخدام " "B) ويحتوي الحقل I في هذه البنية على واصف الملف الذي ولد " "الإشعار (مفيد عند تأسيس إشعارات على أدلة متعددة)." #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "Especially when using B, a real time signal should be used for " "notification, so that multiple notifications can be queued." msgstr "" "خاصة عند استخدام B، يجب استخدام إشارة زمن حقيقي للإشعار، بحيث " "يمكن جدولة إشعارات متعددة." #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "B New applications should use the I interface (available " "since Linux 2.6.13), which provides a much superior interface for obtaining " "notifications of filesystem events. See B(7)." msgstr "" "B<ملاحظة:> يجب على التطبيقات الجديدة استخدام واجهة I (المتوفرة منذ " "لينكس 2.6.13)، والتي توفر واجهة متفوقة بكثير للحصول على إشعارات أحداث نظام " "الملفات. انظر B(7)." #. type: TP #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "B (I; since Linux 2.6.35)" msgstr "B (I؛ منذ لينكس 2.6.35)" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "Change the capacity of the pipe referred to by I to be at least I " "bytes. An unprivileged process can adjust the pipe capacity to any value " "between the system page size and the limit defined in I (see B(5)). Attempts to set the pipe capacity below the " "page size are silently rounded up to the page size. Attempts by an " "unprivileged process to set the pipe capacity above the limit in I yield the error B; a privileged process " "(B) can override the limit." msgstr "" "يغير سعة الأنبوب المشار إليه بواسطة I لتكون على الأقل I بايت. يمكن " "لعملية غير متميزة ضبط سعة الأنبوب لأي قيمة بين حجم صفحة النظام والحد المعرف " "في I (انظر B(5)). محاولات تعيين سعة " "الأنبوب تحت حجم الصفحة تُقرب بصمت إلى حجم الصفحة. محاولات عملية غير متميزة " "لتعيين سعة الأنبوب أعلى من الحد في I تؤدي إلى " "الخطأ B؛ يمكن لعملية متميزة (B) تجاوز الحد." #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "When allocating the buffer for the pipe, the kernel may use a capacity " "larger than I, if that is convenient for the implementation. (In the " "current implementation, the allocation is the next higher power-of-two page-" "size multiple of the requested size.) The actual capacity (in bytes) that " "is set is returned as the function result." msgstr "" "عند تخصيص المخزن المؤقت للأنبوب، قد تستخدم النواة سعة أكبر من I، إذا " "كان ذلك مناسباً للتنفيذ. (في التنفيذ الحالي، يكون التخصيص هو مضاعف حجم الصفحة " "التالي لقوة العدد اثنين من الحجم المطلوب.) تُعاد السعة الفعلية (بالبايت) التي " "عُينت كناتج للدالة." #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "Attempting to set the pipe capacity smaller than the amount of buffer space " "currently used to store data produces the error B." msgstr "" "محاولة تعيين سعة الأنبوب أصغر من مساحة المخزن المؤقت المستخدمة حالياً لتخزين " "البيانات تؤدي إلى الخطأ B." #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "Note that because of the way the pages of the pipe buffer are employed when " "data is written to the pipe, the number of bytes that can be written may be " "less than the nominal size, depending on the size of the writes." msgstr "" "لاحظ أنه بسبب طريقة توظيف صفحات مخزن الأنبوب المؤقت عند كتابة البيانات إلى " "الأنبوب، فإن عدد البايتات التي يمكن كتابتها قد يكون أقل من الحجم الاسمي، " "اعتماداً على حجم الكتابات." #. type: TP #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "B (I; since Linux 2.6.35)" msgstr "B (I؛ منذ لينكس 2.6.35)" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "Return (as the function result) the capacity of the pipe referred to by " "I." msgstr "يعيد (كنتيجة للدالة) سعة الأنبوب المشار إليه بواسطة I." #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "File seals limit the set of allowed operations on a given file. For each " "seal that is set on a file, a specific set of operations will fail with " "B on this file from now on. The file is said to be sealed. The " "default set of seals depends on the type of the underlying file and " "filesystem. For an overview of file sealing, a discussion of its purpose, " "and some code examples, see B(2)." msgstr "" "تحد أختام الملفات من مجموعة العمليات المسموح بها على ملف معين. لكل ختم يُوضع " "على ملف، ستفشل مجموعة معينة من العمليات مع الخطأ B على هذا الملف من " "الآن فصاعداً. يُقال إن الملف مختوم. تعتمد المجموعة المبدئية من الأختام على" " نوع " "الملف ونظام الملفات الأساسي. للحصول على نظرة عامة على ختم الملفات، ومناقشة " "غرضه، وبعض أمثلة الكود، انظر B(2)." #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "Currently, file seals can be applied only to a file descriptor returned by " "B(2) (if the B was employed). On other " "filesystems, all B() operations that operate on seals will return " "B." msgstr "" "حالياً، يمكن تطبيق أختام الملفات فقط على واصف ملف أعادته الدالة " "B(2) (إذا استُخدم B). في أنظمة الملفات " "الأخرى، ستعيد جميع عمليات B() التي تعمل على الأختام B." #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "Seals are a property of an inode. Thus, all open file descriptors referring " "to the same inode share the same set of seals. Furthermore, seals can never " "be removed, only added." msgstr "" "الأختام هي خاصية للفهرس (inode). لذا، تشترك جميع واصفات الملفات المفتوحة " "التي تشير إلى نفس الفهرس في نفس مجموعة الأختام. علاوة على ذلك، لا يمكن إزالة " "الأختام أبداً، بل يمكن إضافتها فقط." #. type: TP #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "B (I; since Linux 3.17)" msgstr "B (I؛ منذ لينكس 3.17)" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "Add the seals given in the bit-mask argument I to the set of seals of " "the inode referred to by the file descriptor I. Seals cannot be removed " "again. Once this call succeeds, the seals are enforced by the kernel " "immediately. If the current set of seals includes B (see " "below), then this call will be rejected with B. Adding a seal that " "is already set is a no-op, in case B is not set already. In " "order to place a seal, the file descriptor I must be writable." msgstr "" "يضيف الأختام المحددة في وسيط قناع البتات I إلى مجموعة أختام الفهرس " "المشار إليه بواسطة واصف الملف I. لا يمكن إزالة الأختام مرة أخرى. بمجرد " "نجاح هذا الاستدعاء، تفرض النواة الأختام فوراً. إذا كانت المجموعة الحالية من " "الأختام تتضمن B (انظر أدناه)، فسيُرفض هذا الاستدعاء مع B. " "إضافة ختم معين مسبقاً هي عملية لا تأثير لها، في حالة عدم تعيين B " "بالفعل. لوضع ختم، يجب أن يكون واصف الملف I قابلاً للكتابة." #. type: TP #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "B (I; since Linux 3.17)" msgstr "B (I؛ منذ لينكس 3.17)" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "Return (as the function result) the current set of seals of the inode " "referred to by I. If no seals are set, 0 is returned. If the file does " "not support sealing, -1 is returned and I is set to B." msgstr "" "يعيد (كنتيجة للدالة) المجموعة الحالية من أختام الفهرس المشار إليه بواسطة " "I. إذا لم تُعين أي أختام، يُعاد 0. إذا كان الملف لا يدعم الختم، يُعاد -1 " "ويُضبط I على B." #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "The following seals are available:" msgstr "الأختام التالية متوفرة:" #. type: TP #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "If this seal is set, any further call to B() with B " "fails with the error B. Therefore, this seal prevents any " "modifications to the set of seals itself. If the initial set of seals of a " "file includes B, then this effectively causes the set of seals " "to be constant and locked." msgstr "" "إذا عُين هذا الختم، فإن أي استدعاء لاحق لـ B() مع B يفشل " "مع الخطأ B. لذلك، يمنع هذا الختم أي تعديلات على مجموعة الأختام نفسها. " "إذا كانت المجموعة المبدئية للأختام لملف ما تتضمن B، فإن هذا " "يؤدي فعلياً إلى جعل مجموعة الأختام ثابتة ومقفلة." #. type: TP #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "If this seal is set, the file in question cannot be reduced in size. This " "affects B(2) with the B flag as well as B(2) and " "B(2). Those calls fail with B if you try to shrink the " "file in question. Increasing the file size is still possible." msgstr "" "إذا عُين هذا الختم، فلا يمكن تقليص حجم الملف المعني. يؤثر هذا على B(2) " "مع وسم B وكذلك B(2) و B(2). تفشل هذه " "الاستدعاءات مع B إذا حاولت تقليص الملف المعني. زيادة حجم الملف لا " "تزال ممكنة." #. type: TP #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "If this seal is set, the size of the file in question cannot be increased. " "This affects B(2) beyond the end of the file, B(2), " "B(2), and B(2). These calls fail with B if you " "use them to increase the file size. If you keep the size or shrink it, " "those calls still work as expected." msgstr "" "إذا عُين هذا الختم، فلا يمكن زيادة حجم الملف المعني. يؤثر هذا على B(2) " "وراء نهاية الملف، و B(2)، و B(2)، و B(2). " "تفشل هذه الاستدعاءات مع B إذا استخدمتها لزيادة حجم الملف. إذا حافظت " "على الحجم أو قلصته، فستظل هذه الاستدعاءات تعمل كما هو متوقع." #. type: TP #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "B" msgstr "B" #. One or more other seals are typically used with F_SEAL_WRITE #. because, given a file with the F_SEAL_WRITE seal set, then, #. while it would no longer be possible to (say) write zeros into #. the last 100 bytes of a file, it would still be possible #. to (say) shrink the file by 100 bytes using ftruncate(), and #. then increase the file size by 100 bytes, which would have #. the effect of replacing the last hundred bytes by zeros. #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "If this seal is set, you cannot modify the contents of the file. Note that " "shrinking or growing the size of the file is still possible and allowed. " "Thus, this seal is normally used in combination with one of the other " "seals. This seal affects B(2) and B(2) (only in " "combination with the B flag). Those calls fail with " "B if this seal is set. Furthermore, trying to create new shared, " "writable memory-mappings via B(2) will also fail with B." msgstr "" "إذا عُين هذا الختم، فلا يمكنك تعديل محتويات الملف. لاحظ أن تقليص أو زيادة حجم " "الملف لا يزال ممكناً ومسموحاً به. لذلك، يُستخدم هذا الختم عادةً بالاشتراك مع" " أحد " "الأختام الأخرى. يؤثر هذا الختم على B(2) و B(2) (فقط " "بالاشتراك مع وسم B). تفشل هذه الاستدعاءات مع B " "إذا عُين هذا الختم. علاوة على ذلك، ستفشل أيضًا محاولة إنشاء تخطيطات ذاكرة " "(memory-mappings) مشتركة وقابلة للكتابة عبر B(2) مع B." #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "Using the B operation to set the B seal fails " "with B if any writable, shared mapping exists. Such mappings must be " "unmapped before you can add this seal. Furthermore, if there are any " "asynchronous I/O operations (B(2)) pending on the file, all " "outstanding writes will be discarded." msgstr "" "تفشل العملية B لتعيين الختم B مع الخطأ B " "إذا كان هناك أي تخطيط مشترك وقابل للكتابة. يجب إلغاء تخطيط هذه الروابط قبل " "أن تتمكن من إضافة هذا الختم. علاوة على ذلك، إذا كانت هناك أي عمليات دخل/خرج " "غير متزامنة (B(2)) معلقة على الملف، فسيُتخلص من جميع الكتابات " "المعلقة." #. type: TP #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "B (since Linux 5.1)" msgstr "B (منذ لينكس 5.1)" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "The effect of this seal is similar to B, but the contents of " "the file can still be modified via shared writable mappings that were " "created prior to the seal being set. Any attempt to create a new writable " "mapping on the file via B(2) will fail with B. Likewise, an " "attempt to write to the file via B(2) will fail with B." msgstr "" "تأثير هذا الختم مشابه لـ B، ولكن لا يزال من الممكن تعديل " "محتويات الملف عبر التخطيطات المشتركة القابلة للكتابة التي أُنشئت قبل تعيين " "الختم. ستفشل أي محاولة لإنشاء تخطيط جديد قابل للكتابة على الملف عبر " "B(2) مع الخطأ B. وبالمثل، ستفشل أي محاولة للكتابة إلى الملف عبر " "B(2) مع الخطأ B." #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "Using this seal, one process can create a memory buffer that it can continue " "to modify while sharing that buffer on a \"read-only\" basis with other " "processes." msgstr "" "باستخدام هذا الختم، يمكن لعملية واحدة إنشاء مخزن ذاكرة مؤقت يمكنها الاستمرار " "في تعديله مع مشاركة هذا المخزن على أساس \"للقراءة فقط\" مع عمليات أخرى." #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "Write lifetime hints can be used to inform the kernel about the relative " "expected lifetime of writes on a given inode or via a particular open file " "description. (See B(2) for an explanation of open file " "descriptions.) In this context, the term \"write lifetime\" means the " "expected time the data will live on media, before being overwritten or " "erased." msgstr "" "يمكن استخدام تلميحات عمر الكتابة لإبلاغ النواة بالعمر المتوقع النسبي " "للكتابات على فهرس معين أو عبر وصف ملف مفتوح معين. (انظر B(2) للحصول " "على شرح لأوصاف الملفات المفتوحة.) في هذا السياق، يعني مصطلح \"عمر الكتابة\" " "الوقت المتوقع الذي ستعيشه البيانات على الوسائط قبل أن تُستبدل أو تُمحى." #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "An application may use the different hint values specified below to separate " "writes into different write classes, so that multiple users or applications " "running on a single storage back-end can aggregate their I/O patterns in a " "consistent manner. However, there are no functional semantics implied by " "these flags, and different I/O classes can use the write lifetime hints in " "arbitrary ways, so long as the hints are used consistently." msgstr "" "يمكن للتطبيق استخدام قيم التلميحات المختلفة المحددة أدناه لفصل الكتابات إلى " "فئات كتابة مختلفة، بحيث يمكن لمستخدمين أو تطبيقات متعددة تعمل على خلفية " "تخزين واحدة تجميع أنماط الدخل/الخرج الخاصة بهم بطريقة متسقة. ومع ذلك، لا " "توجد دلالات وظيفية تفرضها هذه الأوسام، ويمكن لفئات الدخل/الخرج المختلفة " "استخدام تلميحات عمر الكتابة بطرق عشوائية، طالما استُخدمت التلميحات باستمرار." #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "The following operations can be applied to the file descriptor, I:" msgstr "العمليات التالية يمكن تطبيقها على واصف الملف، I:" #. type: TP #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "B (I; since Linux 4.13)" msgstr "B (I; منذ لينكس 4.13)" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "Returns the value of the read/write hint associated with the underlying " "inode referred to by I." msgstr "" "يعيد قيمة تلميح القراءة/الكتابة المرتبط بالفهرس الأساسي المشار إليه بواسطة " "I." #. type: TP #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "B (I; since Linux 4.13)" msgstr "B (I; منذ لينكس 4.13)" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "Sets the read/write hint value associated with the underlying inode referred " "to by I. This hint persists until either it is explicitly modified or " "the underlying filesystem is unmounted." msgstr "" "يضبط قيمة تلميح القراءة/الكتابة المرتبط بالفهرس الأساسي المشار إليه بواسطة " "I. يستمر هذا التلميح حتى يُعدل صراحةً أو يُفصل نظام الملفات الأساسي." #. type: TP #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "B (I; since Linux 4.13)" msgstr "B (I; منذ لينكس 4.13)" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "Returns the value of the read/write hint associated with the open file " "description referred to by I." msgstr "" "يعيد قيمة تلميح القراءة/الكتابة المرتبط بوصف الملف المفتوح المشار إليه " "بواسطة I." #. type: TP #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "B (I; since Linux 4.13)" msgstr "B (I; منذ لينكس 4.13)" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "Sets the read/write hint value associated with the open file description " "referred to by I." msgstr "" "يضبط قيمة تلميح القراءة/الكتابة المرتبط بوصف الملف المفتوح المشار إليه " "بواسطة I." #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "If an open file description has not been assigned a read/write hint, then it " "shall use the value assigned to the inode, if any." msgstr "" "إذا لم يُخصص تلميح قراءة/كتابة لوصف ملف مفتوح، فسيستخدم القيمة المخصصة " "للفهرس، إن وجدت." #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "The following read/write hints are valid since Linux 4.13:" msgstr "تلميحات القراءة/الكتابة التالية صالحة منذ لينكس 4.13:" #. type: TP #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "No specific hint has been set. This is the default value." msgstr "لم يُضبط أي تلميح محدد. هذه هي القيمة المبدئية." #. type: TP #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "No specific write lifetime is associated with this file or inode." msgstr "لا يوجد عمر كتابة محدد مرتبط بهذا الملف أو الفهرس." #. type: TP #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "Data written to this inode or via this open file description is expected to " "have a short lifetime." msgstr "" "يُتوقع أن يكون للبيانات المكتوبة إلى هذا الفهرس أو عبر وصف الملف المفتوح هذا " "عمر قصير." #. type: TP #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "Data written to this inode or via this open file description is expected to " "have a lifetime longer than data written with B." msgstr "" "يُتوقع أن يكون للبيانات المكتوبة إلى هذا الفهرس أو عبر وصف الملف المفتوح هذا " "عمر أطول من البيانات المكتوبة بـ B." #. type: TP #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "Data written to this inode or via this open file description is expected to " "have a lifetime longer than data written with B." msgstr "" "يُتوقع أن يكون للبيانات المكتوبة إلى هذا الفهرس أو عبر وصف الملف المفتوح هذا " "عمر أطول من البيانات المكتوبة بـ B." #. type: TP #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "Data written to this inode or via this open file description is expected to " "have a lifetime longer than data written with B." msgstr "" "يُتوقع أن يكون للبيانات المكتوبة إلى هذا الفهرس أو عبر وصف الملف المفتوح هذا " "عمر أطول من البيانات المكتوبة بـ B." #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "All the write-specific hints are relative to each other, and no individual " "absolute meaning should be attributed to them." msgstr "" "جميع تلميحات الكتابة المحددة نسبية لبعضها البعض، ولا ينبغي عزو أي معنى مطلق " "فردي لها." #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "For a successful call, the return value depends on the operation:" msgstr "في حالة الاستدعاء الناجح، تعتمد قيمة الإرجاع على العملية:" #. type: TP #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "The new file descriptor." msgstr "واصف الملف الجديد." #. type: TP #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "Value of file descriptor flags." msgstr "قيمة أوسام واصف الملف." #. type: TP #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "Value of file status flags." msgstr "قيمة أوسام حالة الملف." #. type: TP #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "Type of lease held on file descriptor." msgstr "نوع عقد الإيجار المحتفظ به على واصف الملف." #. type: TP #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "Value of file descriptor owner." msgstr "قيمة مالك واصف الملف." #. type: TP #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "Value of signal sent when read or write becomes possible, or zero for " "traditional B behavior." msgstr "" "قيمة الإشارة المرسلة عندما تصبح القراءة أو الكتابة ممكنة، أو صفر لسلوك " "B التقليدي." #. type: TP #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "B" msgstr "B" #. type: TQ #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "The pipe capacity." msgstr "سعة الأنبوب." #. type: TP #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "A bit mask identifying the seals that have been set for the inode referred " "to by I." msgstr "قناع بتات يحدد الأختام التي عُينت للفهرس المشار إليه بواسطة I." #. type: TP #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "All other operations" msgstr "جميع العمليات الأخرى" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "Zero." msgstr "صفر." #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "I is B or B and the file descriptor open mode doesn't " "match with the type of lock requested." msgstr "" "I هو B أو B ووضع فتح واصف الملف لا يتطابق مع نوع " "القفل المطلوب." #. type: TP #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "I is B and the new pipe capacity specified in I is " "smaller than the amount of buffer space currently used to store data in the " "pipe." msgstr "" "I هو B وسعة الأنبوب الجديدة المحددة في I أصغر من " "مساحة المخزن المؤقت المستخدمة حالياً لتخزين البيانات في الأنبوب." #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "I is B, I includes B, and there exists a " "writable, shared mapping on the file referred to by I." msgstr "" "I هو B، و I يتضمن B، وهناك تخطيط مشترك " "وقابل للكتابة على الملف المشار إليه بواسطة I." #. type: TP #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "It was detected that the specified B operation would cause a " "deadlock." msgstr "كُشف عن أن عملية B المحددة ستسبب طريقاً مسدوداً (deadlock)." #. type: TP #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "I is outside your accessible address space." msgstr "تقع I خارج مساحة العناوين التي يمكن الوصول إليها." #. type: TP #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "I is B or B and the operation was interrupted by " "a signal; see B(7)." msgstr "" "قيمة I هي B أو B وقُطعت العملية بواسطة إشارة؛ " "راجع B(7)." #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "I is B, B, B, or B, and the " "operation was interrupted by a signal before the lock was checked or " "acquired. Most likely when locking a remote file (e.g., locking over NFS), " "but can sometimes happen locally." msgstr "" "قيمة I هي B أو B أو B أو B، " "وقُطعت العملية بواسطة إشارة قبل فحص القفل أو الاستحواذ عليه. يحدث هذا غالباً " "عند قفل ملف بعيد (مثل القفل عبر NFS)، ولكن قد يحدث محلياً أحياناً." #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "I is B and I includes an unrecognized sealing bit." msgstr "" "قيمة I هي B وتتضمن I بت ختم (sealing bit) غير معروف." #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "I is B or B and the filesystem containing the " "inode referred to by I does not support sealing." msgstr "" "قيمة I هي B أو B ونظام الملفات الذي يحتوي على " "الـ inode المشار إليه بواسطة I لا يدعم الختم (sealing)." #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "I is B and I is negative or is greater than the maximum " "allowable value (see the discussion of B in B(2))." msgstr "" "قيمة I هي B و I سالبة أو أكبر من أقصى قيمة مسموح بها (راجع " "مناقشة B في B(2))." #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "I is B and I is not an allowable signal number." msgstr "قيمة I هي B و I ليست رقم إشارة مسموح به." #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "I is B, B, or B, and I " "was not specified as zero." msgstr "" "قيمة I هي B أو B أو B، ولم تُحدد " "I كصفر." #. type: TP #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "I is B and the per-process limit on the number of open file " "descriptors has been reached." msgstr "" "قيمة I هي B ووُصل إلى الحد الأقصى لواصفات الملفات المفتوحة لكل " "عملية." #. type: TP #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "Too many segment locks open, lock table is full, or a remote locking " "protocol failed (e.g., locking over NFS)." msgstr "" "فُتح عدد كبير جداً من أقفال المقاطع (segment locks)، أو جدول الأقفال ممتلئ،" " أو " "فشل بروتوكول قفل بعيد (مثل القفل عبر NFS)." #. type: TP #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "B was specified in I, but I does not refer to a directory." msgstr "حُددت B في I، ولكن I لا يشير إلى دليل." #. type: TP #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "I is B and the soft or hard user pipe limit has been " "reached; see B(7)." msgstr "" "قيمة I هي B ووُصل إلى حد الأنابيب (pipe limit) المرن أو " "الصلب للمستخدم؛ راجع B(7)." #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "Attempted to clear the B flag on a file that has the append-only " "attribute set." msgstr "" "حُووِل مسح علامة B لملف عُينت له سمة الإلحاق فقط (append-only)." #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "I was B, but I was not open for writing or the current " "set of seals on the file already includes B." msgstr "" "كانت I هي B، ولكن I لم يكن مفتوحاً للكتابة أو أن مجموعة " "الأختام الحالية على الملف تتضمن بالفعل B." #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "POSIX.1-2008." msgstr "POSIX.1-2008." #. .P #. SVr4 documents additional EIO, ENOLINK and EOVERFLOW error conditions. #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "B, B, B, B, " "B, B, B, B, and B are " "Linux-specific. (Define the B<_GNU_SOURCE> macro to obtain these " "definitions.)" msgstr "" "تعد العمليات B و B و B و " "B و B و B و B و B و " "B خاصة بلينكس. (عرّف ماكرو B<_GNU_SOURCE> للحصول على هذه " "التعريفات.)" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "B, B, and B are Linux-specific (and " "one must define B<_GNU_SOURCE> to obtain their definitions), but work is " "being done to have them included in the next version of POSIX.1." msgstr "" "تعد العمليات B و B و B خاصة بلينكس " "(ويجب تعريف B<_GNU_SOURCE> للحصول على تعريفاتها)، ولكن يجري العمل على " "تضمينها في النسخة القادمة من POSIX.1." #. FIXME . Once glibc adds support, add a note about FTM requirements #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "B and B are Linux-specific." msgstr "العمليتان B و B خاصتان بلينكس." #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "SVr4, 4.3BSD, POSIX.1-2001." msgstr "SVr4، 4.3BSD، POSIX.1-2001." #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "Only the operations B, B, B, B, " "B, B, B, and B are specified in " "POSIX.1-2001." msgstr "" "فقط العمليات B و B و B و B و B " "و B و B و B هي المحددة في POSIX.1-2001." #. .BR _BSD_SOURCE , #. or #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "B and B are specified in POSIX.1-2001. (To get their " "definitions, define either B<_XOPEN_SOURCE> with the value 500 or greater, " "or B<_POSIX_C_SOURCE> with the value 200809L or greater.)" msgstr "" "العمليتان B و B محددتان في POSIX.1-2001. (للحصول على " "تعريفاتهما، عرّف إما B<_XOPEN_SOURCE> بقيمة 500 أو أكثر، أو " "B<_POSIX_C_SOURCE> بقيمة 200809L أو أكثر.)" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "B is specified in POSIX.1-2008. (To get this definition, " "define B<_POSIX_C_SOURCE> with the value 200809L or greater, or " "B<_XOPEN_SOURCE> with the value 700 or greater.)" msgstr "" "العملية B محددة في POSIX.1-2008. (للحصول على هذا التعريف، " "عرّف B<_POSIX_C_SOURCE> بقيمة 200809L أو أكثر، أو B<_XOPEN_SOURCE> بقيمة 700 " "أو أكثر.)" #. type: SH #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "NOTES" msgstr "ملاحظات" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "The errors returned by B(2) are different from those returned by " "B." msgstr "تختلف الأخطاء التي ترجعها B(2) عن تلك التي ترجعها B." #. type: SS #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "File locking" msgstr "قفل الملفات" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "The original Linux B() system call was not designed to handle large " "file offsets (in the I structure). Consequently, an B() " "system call was added in Linux 2.4. The newer system call employs a " "different structure for file locking, I, and corresponding " "operations, B, B, and B. However, these " "details can be ignored by applications using glibc, whose B() " "wrapper function transparently employs the more recent system call where it " "is available." msgstr "" "لم يُصمم استدعاء النظام B() الأصلي في لينكس للتعامل مع إزاحات الملفات " "الكبيرة (في هيكل I). وبناءً على ذلك، أُضيف استدعاء نظام B()" " في " "لينكس 2.4. يستخدم استدعاء النظام الأحدث هيكلاً مختلفاً لقفل الملفات، " "I، والعمليات المقابلة لها B و B و " "B. ومع ذلك، يمكن للتطبيقات التي تستخدم glibc تجاهل هذه التفاصيل، " "حيث تستخدم دالة الغلاف B() استدعاء النظام الأحدث بشفافية حيثما توفر." #. type: SS #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "Record locks" msgstr "أقفال السجلات" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "Since Linux 2.0, there is no interaction between the types of lock placed by " "B(2) and B()." msgstr "" "منذ لينكس 2.0، لا يوجد تفاعل بين أنواع الأقفال التي يضعها B(2) و " "B()." #. e.g., Solaris 8 documents this field in fcntl(2), and Irix 6.5 #. documents it in fcntl(5). mtk, May 2007 #. Also, FreeBSD documents it (Apr 2014). #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "Several systems have more fields in I such as, for example, " "I (to identify the machine where the lock is held). Clearly, " "I alone is not going to be very useful if the process holding the " "lock may live on a different machine; on Linux, while present on some " "architectures (such as MIPS32), this field is not used." msgstr "" "تحتوي عدة أنظمة على حقول أكثر في I مثل I (لتحديد " "الحاسوب الذي يُحتفظ فيه بالقفل). ومن الواضح أن I وحده لن يكون مفيداً " "جداً إذا كانت العملية التي تحمل القفل تعيش على حاسوب مختلف؛ في لينكس، وعلى " "الرغم من وجود هذا الحقل في بعض المعماريات (مثل MIPS32)، إلا أنه لا يُستخدم." #. type: SS #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "Record locking and NFS" msgstr "قفل السجلات و NFS" # # # #. Neil Brown: With NFSv3 the failure mode is the reverse. If #. the server loses contact with a client then any lock stays in place #. indefinitely ("why can't I read my mail"... I remember it well). #. Jeff Layton: #. Note that this is not a firm timeout. The server runs a job #. periodically to clean out expired stateful objects, and it's likely #. that there is some time (maybe even up to another whole lease period) #. between when the timeout expires and the job actually runs. If the #. client gets a RENEW in there within that window, its lease will be #. renewed and its state preserved. #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "Before Linux 3.12, if an NFSv4 client loses contact with the server for a " "period of time (defined as more than 90 seconds with no communication), it " "might lose and regain a lock without ever being aware of the fact. (The " "period of time after which contact is assumed lost is known as the NFSv4 " "leasetime. On a Linux NFS server, this can be determined by looking at I, which expresses the period in seconds. The " "default value for this file is 90.) This scenario potentially risks data " "corruption, since another process might acquire a lock in the intervening " "period and perform file I/O." msgstr "" "قبل لينكس 3.12، إذا فقد عميل NFSv4 الاتصال بالخادم لفترة زمنية (تُعرف بأنها " "أكثر من 90 ثانية دون تواصل)، فقد يفقد القفل ويستعيده دون أن يدرك ذلك أبداً. " "(تُعرف الفترة الزمنية التي يُفترض بعدها فقدان الاتصال باسم NFSv4 leasetime." " في " "خادم لينكس NFS، يمكن تحديد ذلك من خلال النظر في I، الذي يعبر عن الفترة بالثواني. القيمة المبدئية لهذا الملف هي " "90.) يخاطر هذا السيناريو باحتمال فساد البيانات، حيث قد تستحوذ عملية أخرى على " "قفل في الفترة الفاصلة وتجري عمليات إدخال/إخراج للملف." #. commit ef1820f9be27b6ad158f433ab38002ab8131db4d #. commit f6de7a39c181dfb8a2c534661a53c73afb3081cd #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "Since Linux 3.12, if an NFSv4 client loses contact with the server, any I/O " "to the file by a process which \"thinks\" it holds a lock will fail until " "that process closes and reopens the file. A kernel parameter, I, can be set to 1 to obtain the pre-3.12 behavior, " "whereby the client will attempt to recover lost locks when contact is " "reestablished with the server. Because of the attendant risk of data " "corruption, this parameter defaults to 0 (disabled)." msgstr "" "منذ لينكس 3.12، إذا فقد عميل NFSv4 الاتصال بالخادم، فإن أي عملية إدخال/إخراج " "للملف بواسطة عملية \"تعتقد\" أنها تملك قفلاً ستفشل حتى تقوم تلك العملية " "بإغلاق الملف وإعادة فتحه. يمكن ضبط معامل للنواة، I، " "على 1 للحصول على سلوك ما قبل 3.12، حيث يحاول العميل استعادة الأقفال المفقودة " "عند إعادة الاتصال بالخادم. وبسبب خطر فساد البيانات المصاحب لذلك، فإن هذا " "المعامل يكون 0 (معطل) بشكل مبدئي." #. type: SH #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "BUGS" msgstr "العلل" #. type: SS #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "F_SETFL" msgstr "F_SETFL" #. FIXME . According to POSIX.1-2001, O_SYNC should also be modifiable #. via fcntl(2), but currently Linux does not permit this #. See http://bugzilla.kernel.org/show_bug.cgi?id=5994 #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "It is not possible to use B to change the state of the B " "and B flags. Attempts to change the state of these flags are " "silently ignored." msgstr "" "من غير الممكن استخدام B لتغيير حالة العلامتين B و " "B. وتُتجاهل محاولات تغيير حالة هاتين العلامتين بصمت." #. type: SS #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "F_GETOWN" msgstr "F_GETOWN" #. glibc source: sysdeps/unix/sysv/linux/i386/sysdep.h #. mtk, Dec 04: some limited testing on alpha and ia64 seems to #. indicate that ANY negative PGID value will cause F_GETOWN #. to misinterpret the return as an error. Some other architectures #. seem to have the same range check as i386. #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "A limitation of the Linux system call conventions on some architectures " "(notably i386) means that if a (negative) process group ID to be returned " "by B falls in the range -1 to -4095, then the return value is " "wrongly interpreted by glibc as an error in the system call; that is, the " "return value of B() will be -1, and I will contain the " "(positive) process group ID. The Linux-specific B operation " "avoids this problem. Since glibc 2.11, glibc makes the kernel B " "problem invisible by implementing B using B." msgstr "" "يعني وجود قيد في اتفاقيات استدعاء نظام لينكس في بعض المعماريات (لا سيما " "i386) أنه إذا وقع معرف مجموعة عمليات (سالب) مطلوب إرجاعه بواسطة B " "في النطاق من -1 إلى -4095، فإن glibc يفسر قيمة الإرجاع خطأً على أنها خطأ في " "استدعاء النظام؛ أي أن قيمة إرجاع B() ستكون -1، وسوف يحتوي I " "على معرف مجموعة العمليات (الموجب). تتجنب عملية B الخاصة بلينكس " "هذه المشكلة. منذ glibc 2.11، جعل glibc مشكلة B في النواة غير مرئية " "من خلال تنفيذ B باستخدام B." #. type: SS #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "F_SETOWN" msgstr "F_SETOWN" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "In Linux 2.4 and earlier, there is bug that can occur when an unprivileged " "process uses B to specify the owner of a socket file descriptor as " "a process (group) other than the caller. In this case, B() can " "return -1 with I set to B, even when the owner process (group) " "is one that the caller has permission to send signals to. Despite this " "error return, the file descriptor owner is set, and signals will be sent to " "the owner." msgstr "" "في لينكس 2.4 وما قبله، توجد علة يمكن أن تحدث عندما تستخدم عملية غير مميزة " "B لتحديد مالك واصف ملف مقبس كعملية (أو مجموعة عمليات) غير " "المستدعِي. في هذه الحالة، يمكن أن يرجع B() القيمة -1 مع ضبط I " "على B، حتى عندما تكون العملية المالك (أو المجموعة) هي عملية يملك " "المستدعِي إذناً بإرسال إشارات إليها. وبالرغم من إرجاع هذا الخطأ، يُضبط مالك " "واصف الملف، وتُرسل الإشارات إلى المالك." #. type: SS #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "Deadlock detection" msgstr "كشف الانغلاق التام (Deadlock)" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "The deadlock-detection algorithm employed by the kernel when dealing with " "B requests can yield both false negatives (failures to detect " "deadlocks, leaving a set of deadlocked processes blocked indefinitely) and " "false positives (B errors when there is no deadlock). For example, " "the kernel limits the lock depth of its dependency search to 10 steps, " "meaning that circular deadlock chains that exceed that size will not be " "detected. In addition, the kernel may falsely indicate a deadlock when two " "or more processes created using the B(2) B flag place " "locks that appear (to the kernel) to conflict." msgstr "" "قد تعطي خوارزمية كشف الانغلاق التام التي تستخدمها النواة عند التعامل مع " "طلبات B نتائج سلبية خاطئة (الفشل في كشف الانغلاقات، مما يترك " "مجموعة من العمليات المنغلقة محجوبة إلى الأبد) وإيجابية خاطئة (أخطاء " "B عند عدم وجود انغلاق). على سبيل المثال، تحد النواة من عمق البحث عن " "التبعية للقفل إلى 10 خطوات، مما يعني أن سلاسل الانغلاق الدائرية التي تتجاوز " "هذا الحجم لن تُكشف. بالإضافة إلى ذلك، قد تشير النواة خطأً إلى وجود انغلاق " "عندما تضع عمليتان أو أكثر (أُنشئت باستخدام العلامة B في " "B(2)) أقفالاً تبدو للنواة متعارضة." # #. http://marc.info/?l=linux-kernel&m=119013491707153&w=2 #. Reconfirmed by Jeff Layton #. From: Jeff Layton redhat.com> #. Subject: Re: Status of fcntl() mandatory locking #. Newsgroups: gmane.linux.file-systems #. Date: 2014-04-28 10:07:57 GMT #. http://thread.gmane.org/gmane.linux.file-systems/84481/focus=84518 #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "The Linux implementation of mandatory locking is subject to race conditions " "which render it unreliable: a B(2) call that overlaps with a lock " "may modify data after the mandatory lock is acquired; a B(2) call " "that overlaps with a lock may detect changes to data that were made only " "after a write lock was acquired. Similar races exist between mandatory " "locks and B(2). It is therefore inadvisable to rely on mandatory " "locking." msgstr "" "يخضع تنفيذ لينكس للقفل الإلزامي لظروف التسابق (race conditions) التي تجعله " "غير موثوق: فقد يعدل استدعاء B(2) يتداخل مع قفل البيانات بعد الاستحواذ " "على القفل الإلزامي؛ وقد يكتشف استدعاء B(2) يتداخل مع قفل تغييرات في " "البيانات أُجريت فقط بعد الاستحواذ على قفل كتابة. وتوجد تسابُقات مماثلة بين " "الأقفال الإلزامية و B(2). لذا يُنصح بعدم الاعتماد على القفل الإلزامي." #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "I, I, and I in the Linux " "kernel source directory I (on older kernels, " "these files are directly under the I directory, and " "I is called I)" msgstr "" "الملفات I و I و I في دليل " "مصدر نواة لينكس I (في النواة الأقدم، تكون هذه " "الملفات مباشرة تحت الدليل I، ويُسمى I " "باسم I)" #. type: TH #: fedora-44 fedora-rawhide #, no-wrap msgid "2024-07-23" msgstr "23 يوليو 2024" #. type: TH #: fedora-44 fedora-rawhide #, no-wrap msgid "Linux man-pages 6.13" msgstr "صفحات دليل لينكس 6.13" #. type: TH #: mageia-cauldron #, no-wrap msgid "Linux man-pages 6.17" msgstr "صفحات دليل لينكس 6.17" #. type: TH #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Linux man-pages (unreleased)" msgstr "صفحات دليل لينكس (لم تصدر بعد)"