# Arabic translation of manpages # This file is distributed under the same license as the manpages-l10n package. # Copyright © of this file: # زايد السعيدي , 2026. msgid "" msgstr "" "Project-Id-Version: manpages-l10n 4.30.2\n" "POT-Creation-Date: 2026-06-05 06:29+0200\n" "PO-Revision-Date: 2026-06-05 23:58+0400\n" "Last-Translator: Zayed Al-Saidi \n" "Language-Team: Arabic \n" "Language: ar\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 &&" " n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n" "X-Generator: Lokalize 23.08.5\n" #. type: TH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "keyctl" msgstr "keyctl" #. 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 "keyctl - manipulate the kernel's key management facility" msgstr "keyctl - التلاعب بمرفق إدارة المفاتيح في النواة" #. 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-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "B<#include Elinux/keyctl.hE> /* Definition of B constants */\n" "B<#include Esys/syscall.hE> /* Definition of B constants */\n" "B<#include Eunistd.hE>\n" msgstr "" "B<#include Elinux/keyctl.hE> /* تعريف ثوابت B */\n" "B<#include Esys/syscall.hE> /* تعريف ثوابت B */\n" "B<#include Eunistd.hE>\n" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "BIB<, ...);>\n" msgstr "BIB<, ...);>\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() allows user-space programs to perform key manipulation." msgstr "تسمح B() لبرامج فضاء المستخدم بإجراء تلاعب بالمفاتيح." #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The operation performed by B() is determined by the value of the " "I argument. Each of these operations is wrapped by the I " "library (provided by the I package) into individual functions (see " "B(3)) to permit the compiler to check types." msgstr "" "تُحدد العملية التي تجريها B() بواسطة قيمة المعامل I. تُغلف كل " "عملية من هذه العمليات بواسطة مكتبة I (التي توفرها حزمة " "I) في دوال منفردة (انظر B(3)) للسماح للمصرف بالتحقق من " "الأنواع." #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "The permitted values for I are:" msgstr "القيم المسموح بها لـ I هي:" #. type: TP #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B(2const)" msgstr "B(2const)" #. type: TQ #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B(2const)" msgstr "B(2const)" #. type: TQ #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B(2const)" msgstr "B(2const)" #. type: TQ #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B(2const)" msgstr "B(2const)" #. type: TQ #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B(2const)" msgstr "B(2const)" #. type: TQ #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B(2const)" msgstr "B(2const)" #. type: TQ #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B(2const)" msgstr "B(2const)" #. type: TQ #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B(2const)" msgstr "B(2const)" #. type: TQ #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B(2const)" msgstr "B(2const)" #. type: TQ #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B(2const)" msgstr "B(2const)" #. type: TQ #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B(2const)" msgstr "B(2const)" #. type: TQ #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B(2const)" msgstr "B(2const)" #. type: TQ #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B(2const)" msgstr "B(2const)" #. type: TQ #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B(2const)" msgstr "B(2const)" #. type: TQ #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B(2const)" msgstr "B(2const)" #. type: TQ #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B(2const)" msgstr "B(2const)" #. type: TQ #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B(2const)" msgstr "B(2const)" #. type: TQ #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B(2const)" msgstr "B(2const)" #. type: TQ #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B(2const)" msgstr "B(2const)" #. type: TQ #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B(2const)" msgstr "B(2const)" #. type: TQ #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B(2const)" msgstr "B(2const)" #. type: TQ #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B(2const)" msgstr "B(2const)" #. type: TQ #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B(2const)" msgstr "B(2const)" #. type: TQ #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B(2const)" msgstr "B(2const)" #. type: TQ #: archlinux debian-unstable fedora-44 fedora-rawhide 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 fedora-44 fedora-rawhide 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" msgstr "B" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "The requested operation wasn't permitted." 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 key quota for the caller's user would be exceeded by creating a key or " "linking it to the keyring." 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 "" "size of the string (including the terminating null byte) specified in " "I (the key type) or I (the key description) exceeded the limit " "(32 bytes and 4096 bytes respectively)." msgstr "" "حجم السلسلة (بما في ذلك بايت الإنهاء الصفري) المحدد في I (نوع المفتاح) " "أو I (وصف المفتاح) تجاوز الحد (32 بايت و 4096 بايت على التوالي)." #. 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 "An expired key was found or specified." 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 "A rejected key was found or specified." 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 "A revoked key was found or specified." 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 "No matching key was found or an invalid key was specified." 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 "" "One of kernel memory allocation routines failed during the execution of the " "syscall." 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 "" "A key of keyring type was expected but the ID of a key with a different type " "was provided." msgstr "تُوقع مفتاح من نوع حلقة مفاتيح ولكن قُدم معرف مفتاح بنوع مختلف." #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "VERSIONS" msgstr "الإصدارات" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "A wrapper is provided in the I library. (The accompanying " "package provides the Ikeyutils.hE> header file.) However, rather " "than using this system call directly, you probably want to use the various " "library functions mentioned in the descriptions of individual operations " "above." msgstr "" "يُوفّر غلاف في مكتبة I. (تُوفّر الحزمة المرفقة ملف الترويسة " "Ikeyutils.hE>). ومع ذلك، بدلاً من استخدام استدعاء النظام هذا " "مباشرةً، ربما تود استخدام دوال المكتبة المتنوعة المذكورة في أوصاف العمليات " "الفردية أعلاه." #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "STANDARDS" msgstr "المعايير" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "Linux." msgstr "لينكس." #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "HISTORY" msgstr "التاريخ" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "Linux 2.6.10." msgstr "لينكس 2.6.10." #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "EXAMPLES" msgstr "أمثلة" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The program below provide subset of the functionality of the B(8) program provided by the I package. For informational " "purposes, the program records various information in a log file." msgstr "" "يوفر البرنامج أدناه مجموعة فرعية من وظائف برنامج B(8) الذي " "توفره حزمة I. لأغراض إعلامية، يسجل البرنامج معلومات متنوعة في ملف " "سجل." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "As described in B(2), the B(8) program is invoked " "with command-line arguments that describe a key that is to be instantiated. " "The example program fetches and logs these arguments. The program assumes " "authority to instantiate the requested key, and then instantiates that key." msgstr "" "كما هو موضح في B(2)، يُستدعى برنامج B(8) بمعاملات " "سطر الأوامر التي تصف مفتاحاً سيُنشأ. يجلب برنامج المثال هذه المعاملات" " ويسجلها. " "يفترض البرنامج سلطة إنشاء المفتاح المطلوب، ثم ينشئ ذلك المفتاح." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The following shell session demonstrates the use of this program. In the " "session, we compile the program and then use it to temporarily replace the " "standard B(8) program. (Note that temporarily disabling the " "standard B(8) program may not be safe on some systems.) While " "our example program is installed, we use the example program shown in " "B(2) to request a key." msgstr "" "توضح جلسة الصدفة التالية استخدام هذا البرنامج. في الجلسة، نصرف البرنامج ثم " "نستخدمه لاستبدال برنامج B(8) المعياري مؤقتاً. (لاحظ أن تعطيل " "برنامج B(8) المعياري مؤقتاً قد لا يكون آمناً في بعض الأنظمة). " "بينما يكون برنامج المثال الخاص بنا مثبتاً، نستخدم برنامج المثال الموضح في " "B(2) لطلب مفتاح." #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "" "$B< cc -o key_instantiate key_instantiate.c -lkeyutils>;\n" "$B< sudo mv /sbin/request-key /sbin/request-key.backup>;\n" "$B< sudo cp key_instantiate /sbin/request-key>;\n" "$B< ./t_request_key user mykey somepayloaddata>;\n" "Key ID is 20d035bf\n" "$B< sudo mv /sbin/request-key.backup /sbin/request-key>;\n" msgstr "" "$B< cc -o key_instantiate key_instantiate.c -lkeyutils>;\n" "$B< sudo mv /sbin/request-key /sbin/request-key.backup>;\n" "$B< sudo cp key_instantiate /sbin/request-key>;\n" "$B< ./t_request_key user mykey somepayloaddata>;\n" "Key ID is 20d035bf\n" "$B< sudo mv /sbin/request-key.backup /sbin/request-key>;\n" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Looking at the log file created by this program, we can see the command-line " "arguments supplied to our example program:" msgstr "" "بالنظر إلى ملف السجل الذي أنشأه هذا البرنامج، يمكننا رؤية معاملات سطر " "الأوامر المقدمة لبرنامج المثال الخاص بنا:" #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "" "$B< cat /tmp/key_instantiate.log>;\n" "Time: Mon Nov 7 13:06:47 2016\n" "\\&\n" "Command line arguments:\n" " argv[0]: /sbin/request-key\n" " operation: create\n" " key_to_instantiate: 20d035bf\n" " UID: 1000\n" " GID: 1000\n" " thread_keyring: 0\n" " process_keyring: 0\n" " session_keyring: 256e6a6\n" "\\&\n" "Key description: user;1000;1000;3f010000;mykey\n" "Auth key payload: somepayloaddata\n" "Destination keyring: 256e6a6\n" "Auth key description: .request_key_auth;1000;1000;0b010000;20d035bf\n" msgstr "" "$B< cat /tmp/key_instantiate.log>;\n" "Time: Mon Nov 7 13:06:47 2016\n" "\\&\n" "Command line arguments:\n" " argv[0]: /sbin/request-key\n" " operation: create\n" " key_to_instantiate: 20d035bf\n" " UID: 1000\n" " GID: 1000\n" " thread_keyring: 0\n" " process_keyring: 0\n" " session_keyring: 256e6a6\n" "\\&\n" "Key description: user;1000;1000;3f010000;mykey\n" "Auth key payload: somepayloaddata\n" "Destination keyring: 256e6a6\n" "Auth key description: .request_key_auth;1000;1000;0b010000;20d035bf\n" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The last few lines of the above output show that the example program was " "able to fetch:" msgstr "" "تظهر الأسطر القليلة الأخيرة من المخرجات أعلاه أن برنامج المثال كان قادراً على " "جلب:" #. type: IP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "\\[bu]" msgstr "\\[bu]" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "the description of the key to be instantiated, which included the name of " "the key (I);" msgstr "وصف المفتاح المُراد إنشاؤه، والذي يتضمن اسم المفتاح (I)؛" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "the payload of the authorization key, which consisted of the data " "(I) passed to B(2);" msgstr "" "حمولة مفتاح الاستيثاق، والتي تتكون من البيانات (I) الممرة " "إلى B(2)؛" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "the destination keyring that was specified in the call to B(2); " "and" msgstr "حلقة مفاتيح الوجهة التي حُددت في استدعاء B(2)؛ و" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "the description of the authorization key, where we can see that the name of " "the authorization key matches the ID of the key that is to be instantiated " "(I<20d035bf>)." msgstr "" "وصف مفتاح الاستيثاق، حيث يمكننا رؤية أن اسم مفتاح الاستيثاق يطابق معرف " "المفتاح المُراد إنشاؤه (I<20d035bf>)." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The example program in B(2) specified the destination keyring " "as B. By examining the contents of I, " "we can see that this was translated to the ID of the destination keyring " "(I<0256e6a6>) shown in the log output above; we can also see the newly " "created key with the name I and ID I<20d035bf>." msgstr "" "حدد برنامج المثال في B(2) حلقة مفاتيح الوجهة بـ " "B. بفحص محتويات I، يمكننا رؤية أن هذا " "قد تُرجم إلى معرف حلقة مفاتيح الوجهة (I<0256e6a6>) الموضح في مخرجات السجل " "أعلاه؛ يمكننا أيضًا رؤية المفتاح المُنشأ حديثاً باسم I والمعرف " "I<20d035bf>." #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "" "$B< cat /proc/keys | egrep \\[aq]mykey|256e6a6\\[aq]>;\n" "0256e6a6 I--Q--- 194 perm 3f030000 1000 1000 keyring _ses: 3\n" "20d035bf I--Q--- 1 perm 3f010000 1000 1000 user mykey: 16\n" msgstr "" "$B< cat /proc/keys | egrep \\[aq]mykey|256e6a6\\[aq]>;\n" "0256e6a6 I--Q--- 194 perm 3f030000 1000 1000 keyring _ses: 3\n" "20d035bf I--Q--- 1 perm 3f010000 1000 1000 user mykey: 16\n" #. type: SS #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Program source" msgstr "مصدر البرنامج" #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "" "/* key_instantiate.c */\n" "\\&\n" "#include Eerrno.hE\n" "#include Ekeyutils.hE\n" "#include Estdint.hE\n" "#include Estdio.hE\n" "#include Estdlib.hE\n" "#include Estring.hE\n" "#include Esys/types.hE\n" "#include Etime.hE\n" "\\&\n" "#ifndef KEY_SPEC_REQUESTOR_KEYRING\n" "#define KEY_SPEC_REQUESTOR_KEYRING (-8)\n" "#endif\n" "\\&\n" "int\n" "main(int argc, char *argv[])\n" "{\n" " int akp_size; /* Size of auth_key_payload */\n" " int auth_key;\n" " char dbuf[256];\n" " char auth_key_payload[256];\n" " char *operation;\n" " FILE *fp;\n" " gid_t gid;\n" " uid_t uid;\n" " time_t t;\n" " key_serial_t key_to_instantiate, dest_keyring;\n" " key_serial_t thread_keyring, process_keyring, session_keyring;\n" "\\&\n" " if (argc != 8) {\n" " fprintf(stderr, \"Usage: %s op key uid gid thread_keyring \"\n" " \"process_keyring session_keyring\\[rs]n\"," " argv[0]);\n" " exit(EXIT_FAILURE);\n" " }\n" "\\&\n" " fp = fopen(\"/tmp/key_instantiate.log\", \"w\");\n" " if (fp == NULL)\n" " exit(EXIT_FAILURE);\n" "\\&\n" " setbuf(fp, NULL);\n" "\\&\n" " t = time(NULL);\n" " fprintf(fp, \"Time: %s\\[rs]n\", ctime(&t));\n" "\\&\n" " /*\n" " * The kernel passes a fixed set of arguments to the program\n" " * that it execs; fetch them.\n" " */\n" " operation = argv[1];\n" " key_to_instantiate = atoi(argv[2]);\n" " uid = atoi(argv[3]);\n" " gid = atoi(argv[4]);\n" " thread_keyring = atoi(argv[5]);\n" " process_keyring = atoi(argv[6]);\n" " session_keyring = atoi(argv[7]);\n" "\\&\n" " fprintf(fp, \"Command line arguments:\\[rs]n\");\n" " fprintf(fp, \" argv[0]: %s\\[rs]n\", argv[0]);\n" " fprintf(fp, \" operation: %s\\[rs]n\", operation);\n" " fprintf(fp, \" key_to_instantiate: %jx\\[rs]n\",\n" " (uintmax_t) key_to_instantiate);\n" " fprintf(fp, \" UID: %jd\\[rs]n\", (intmax_t) uid);\n" " fprintf(fp, \" GID: %jd\\[rs]n\", (intmax_t) gid);\n" " fprintf(fp, \" thread_keyring: %jx\\[rs]n\",\n" " (uintmax_t) thread_keyring);\n" " fprintf(fp, \" process_keyring: %jx\\[rs]n\",\n" " (uintmax_t) process_keyring);\n" " fprintf(fp, \" session_keyring: %jx\\[rs]n\",\n" " (uintmax_t) session_keyring);\n" " fprintf(fp, \"\\[rs]n\");\n" "\\&\n" " /*\n" " * Assume the authority to instantiate the key named in argv[2].\n" " */\n" " if (keyctl(KEYCTL_ASSUME_AUTHORITY, key_to_instantiate) == -1) {\n" " fprintf(fp, \"KEYCTL_ASSUME_AUTHORITY failed: %s\\[rs]n\",\n" " strerror(errno));\n" " exit(EXIT_FAILURE);\n" " }\n" "\\&\n" " /*\n" " * Fetch the description of the key that is to be instantiated.\n" " */\n" " if (keyctl(KEYCTL_DESCRIBE, key_to_instantiate,\n" " dbuf, sizeof(dbuf)) == -1) {\n" " fprintf(fp, \"KEYCTL_DESCRIBE failed: %s\\[rs]n\", strerror(errno));\n" " exit(EXIT_FAILURE);\n" " }\n" "\\&\n" " fprintf(fp, \"Key description: %s\\[rs]n\", dbuf);\n" "\\&\n" " /*\n" " * Fetch the payload of the authorization key, which is\n" " * actually the callout data given to request_key().\n" " */\n" " akp_size = keyctl(KEYCTL_READ, KEY_SPEC_REQKEY_AUTH_KEY,\n" " auth_key_payload, sizeof(auth_key_payload));\n" " if (akp_size == -1) {\n" " fprintf(fp, \"KEYCTL_READ failed: %s\\[rs]n\", strerror(errno));\n" " exit(EXIT_FAILURE);\n" " }\n" "\\&\n" " auth_key_payload[akp_size] = \\[aq]\\[rs]0\\[aq];\n" " fprintf(fp, \"Auth key payload: %s\\[rs]n\", auth_key_payload);\n" "\\&\n" " /*\n" " * For interest, get the ID of the authorization key and\n" " * display it.\n" " */\n" " auth_key = keyctl(KEYCTL_GET_KEYRING_ID,\n" " KEY_SPEC_REQKEY_AUTH_KEY);\n" " if (auth_key == -1) {\n" " fprintf(fp, \"KEYCTL_GET_KEYRING_ID failed: %s\\[rs]n\",\n" " strerror(errno));\n" " exit(EXIT_FAILURE);\n" " }\n" "\\&\n" " fprintf(fp, \"Auth key ID: %jx\\[rs]n\", (uintmax_t) auth_key);\n" "\\&\n" " /*\n" " * Fetch key ID for the request_key(2) destination keyring.\n" " */\n" " dest_keyring = keyctl(KEYCTL_GET_KEYRING_ID,\n" " KEY_SPEC_REQUESTOR_KEYRING);\n" " if (dest_keyring == -1) {\n" " fprintf(fp, \"KEYCTL_GET_KEYRING_ID failed: %s\\[rs]n\",\n" " strerror(errno));\n" " exit(EXIT_FAILURE);\n" " }\n" "\\&\n" " fprintf(fp, \"Destination keyring: %jx\\[rs]n\", (uintmax_t)" " dest_keyring);\n" "\\&\n" " /*\n" " * Fetch the description of the authorization key. This\n" " * allows us to see the key type, UID, GID, permissions,\n" " * and description (name) of the key. Among other things,\n" " * we will see that the name of the key is a hexadecimal\n" " * string representing the ID of the key to be instantiated.\n" " */\n" " if (keyctl(KEYCTL_DESCRIBE, KEY_SPEC_REQKEY_AUTH_KEY,\n" " dbuf, sizeof(dbuf)) == -1)\n" " {\n" " fprintf(fp, \"KEYCTL_DESCRIBE failed: %s\\[rs]n\", strerror(errno));\n" " exit(EXIT_FAILURE);\n" " }\n" "\\&\n" " fprintf(fp, \"Auth key description: %s\\[rs]n\", dbuf);\n" "\\&\n" " /*\n" " * Instantiate the key using the callout data that was supplied\n" " * in the payload of the authorization key.\n" " */\n" " if (keyctl(KEYCTL_INSTANTIATE, key_to_instantiate,\n" " auth_key_payload, akp_size + 1, dest_keyring) == -1)\n" " {\n" " fprintf(fp, \"KEYCTL_INSTANTIATE failed: %s\\[rs]n\",\n" " strerror(errno));\n" " exit(EXIT_FAILURE);\n" " }\n" "\\&\n" " exit(EXIT_SUCCESS);\n" "}\n" msgstr "" "/* key_instantiate.c */\n" "\\&\n" "#include Eerrno.hE\n" "#include Ekeyutils.hE\n" "#include Estdint.hE\n" "#include Estdio.hE\n" "#include Estdlib.hE\n" "#include Estring.hE\n" "#include Esys/types.hE\n" "#include Etime.hE\n" "\\&\n" "#ifndef KEY_SPEC_REQUESTOR_KEYRING\n" "#define KEY_SPEC_REQUESTOR_KEYRING (-8)\n" "#endif\n" "\\&\n" "int\n" "main(int argc, char *argv[])\n" "{\n" " int akp_size; /* حجم حمولة مفتاح الاستيثاق */\n" " int auth_key;\n" " char dbuf[256];\n" " char auth_key_payload[256];\n" " char *operation;\n" " FILE *fp;\n" " gid_t gid;\n" " uid_t uid;\n" " time_t t;\n" " key_serial_t key_to_instantiate, dest_keyring;\n" " key_serial_t thread_keyring, process_keyring, session_keyring;\n" "\\&\n" " if (argc != 8) {\n" " fprintf(stderr, \"الاستخدام: %s op key uid gid thread_keyring \"\n" " \"process_keyring session_keyring\\[rs]n\"," " argv[0]);\n" " exit(EXIT_FAILURE);\n" " }\n" "\\&\n" " fp = fopen(\"/tmp/key_instantiate.log\", \"w\");\n" " if (fp == NULL)\n" " exit(EXIT_FAILURE);\n" "\\&\n" " setbuf(fp, NULL);\n" "\\&\n" " t = time(NULL);\n" " fprintf(fp, \"الوقت: %s\\[rs]n\", ctime(&t));\n" "\\&\n" " /*\n" " * تُمرّر النواة مجموعة ثابتة من المعاملات إلى البرنامج\n" " * الذي تنفذه؛ اجلبها.\n" " */\n" " operation = argv[1];\n" " key_to_instantiate = atoi(argv[2]);\n" " uid = atoi(argv[3]);\n" " gid = atoi(argv[4]);\n" " thread_keyring = atoi(argv[5]);\n" " process_keyring = atoi(argv[6]);\n" " session_keyring = argv[7];\n" "\\&\n" " fprintf(fp, \"معاملات سطر الأوامر:\\[rs]n\");\n" " fprintf(fp, \" argv[0]: %s\\[rs]n\", argv[0]);\n" " fprintf(fp, \" العملية: %s\\[rs]n\", operation);\n" " fprintf(fp, \" المفتاح المُراد إنشاؤه: %jx\\[rs]n\",\n" " (uintmax_t) key_to_instantiate);\n" " fprintf(fp, \" UID: %jd\\[rs]n\", (intmax_t) uid);\n" " fprintf(fp, \" GID: %jd\\[rs]n\", (intmax_t) gid);\n" " fprintf(fp, \" حلقة مفاتيح الخيط: %jx\\[rs]n\",\n" " (uintmax_t) thread_keyring);\n" " fprintf(fp, \" حلقة مفاتيح العملية: %jx\\[rs]n\",\n" " (uintmax_t) process_keyring);\n" " fprintf(fp, \" حلقة مفاتيح الجلسة: %jx\\[rs]n\",\n" " (uintmax_t) session_keyring);\n" " fprintf(fp, \"\\[rs]n\");\n" "\\&\n" " /*\n" " * افتراض سلطة إنشاء المفتاح المسمى في argv[2].\n" " */\n" " if (keyctl(KEYCTL_ASSUME_AUTHORITY, key_to_instantiate) == -1) {\n" " fprintf(fp, \"فشل KEYCTL_ASSUME_AUTHORITY: %s\\[rs]n\",\n" " strerror(errno));\n" " exit(EXIT_FAILURE);\n" " }\n" "\\&\n" " /*\n" " * جلب وصف المفتاح المُراد إنشاؤه.\n" " */\n" " if (keyctl(KEYCTL_DESCRIBE, key_to_instantiate,\n" " dbuf, sizeof(dbuf)) == -1) {\n" " fprintf(fp, \"فشل KEYCTL_DESCRIBE: %s\\[rs]n\", strerror(errno));\n" " exit(EXIT_FAILURE);\n" " }\n" "\\&\n" " fprintf(fp, \"وصف المفتاح: %s\\[rs]n\", dbuf);\n" "\\&\n" " /*\n" " * جلب حمولة مفتاح الاستيثاق، وهي في الواقع\n" " * بيانات النداء المقدمة إلى request_key().\n" " */\n" " akp_size = keyctl(KEYCTL_READ, KEY_SPEC_REQKEY_AUTH_KEY,\n" " auth_key_payload, sizeof(auth_key_payload));\n" " if (akp_size == -1) {\n" " fprintf(fp, \"فشل KEYCTL_READ: %s\\[rs]n\", strerror(errno));\n" " exit(EXIT_FAILURE);\n" " }\n" "\\&\n" " auth_key_payload[akp_size] = \\[aq]\\[rs]0\\[aq];\n" " fprintf(fp, \"حمولة مفتاح الاستيثاق: %s\\[rs]n\", auth_key_payload);\n" "\\&\n" " /*\n" " * من باب الفضول، جلب معرف مفتاح الاستيثاق\n" " * وعرضه.\n" " */\n" " auth_key = keyctl(KEYCTL_GET_KEYRING_ID,\n" " KEY_SPEC_REQKEY_AUTH_KEY);\n" " if (auth_key == -1) {\n" " fprintf(fp, \"فشل KEYCTL_GET_KEYRING_ID: %s\\[rs]n\",\n" " strerror(errno));\n" " exit(EXIT_FAILURE);\n" " }\n" "\\&\n" " fprintf(fp, \"معرف مفتاح الاستيثاق: %jx\\[rs]n\", (uintmax_t)" " auth_key);\n" "\\&\n" " /*\n" " * جلب معرف المفتاح لحلقة مفاتيح وجهة request_key(2).\n" " */\n" " dest_keyring = keyctl(KEYCTL_GET_KEYRING_ID,\n" " KEY_SPEC_REQUESTOR_KEYRING);\n" " if (dest_keyring == -1) {\n" " fprintf(fp, \"فشل KEYCTL_GET_KEYRING_ID: %s\\[rs]n\",\n" " strerror(errno));\n" " exit(EXIT_FAILURE);\n" " }\n" "\\&\n" " fprintf(fp, \"حلقة مفاتيح الوجهة: %jx\\[rs]n\", (uintmax_t)" " dest_keyring);\n" "\\&\n" " /*\n" " * جلب وصف مفتاح الاستيثاق. يسمح لنا هذا\n" " * برؤية نوع المفتاح، ومعرف المستخدم، ومعرف المجموعة، والأذونات،\n" " * ووصف (اسم) المفتاح. من بين أشياء أخرى،\n" " * سنرى أن اسم المفتاح هو سلسلة ست عشرية\n" " * تمثل معرف المفتاح المُراد إنشاؤه.\n" " */\n" " if (keyctl(KEYCTL_DESCRIBE, KEY_SPEC_REQKEY_AUTH_KEY,\n" " dbuf, sizeof(dbuf)) == -1)\n" " {\n" " fprintf(fp, \"فشل KEYCTL_DESCRIBE: %s\\[rs]n\", strerror(errno));\n" " exit(EXIT_FAILURE);\n" " }\n" "\\&\n" " fprintf(fp, \"وصف مفتاح الاستيثاق: %s\\[rs]n\", dbuf);\n" "\\&\n" " /*\n" " * إنشاء المفتاح باستخدام بيانات النداء التي قدمت\n" " * في حمولة مفتاح الاستيثاق.\n" " */\n" " if (keyctl(KEYCTL_INSTANTIATE, key_to_instantiate,\n" " auth_key_payload, akp_size + 1, dest_keyring) == -1)\n" " {\n" " fprintf(fp, \"فشل KEYCTL_INSTANTIATE: %s\\[rs]n\",\n" " strerror(errno));\n" " exit(EXIT_FAILURE);\n" " }\n" "\\&\n" " exit(EXIT_SUCCESS);\n" "}\n" #. SRC END #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "SEE ALSO" msgstr "انظر أيضًا" #. .BR find_key_by_type_and_name (3) #. There is a man page, but this function seems not to exist #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "B(1), B(2), B(2), B(3), " "B(3), B(3), " "B(7), B(7), B(7), B(7), " "B(7), B(7), B(7), " "B(7), B(7), B(7), B(7), B(8)" msgstr "" "B(1), B(2), B(2), B(3), " "B(3), B(3), " "B(7), B(7), B(7), B(7), " "B(7), B(7), B(7), " "B(7), B(7), B(7), B(7), B(8)" #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "The kernel source files under I." msgstr "ملفات مصدر النواة تحت I." #. type: TH #: debian-trixie #, no-wrap msgid "2024-06-15" msgstr "15 يونيو 2024" #. type: TH #: debian-trixie #, no-wrap msgid "Linux man-pages 6.9.1" msgstr "صفحات دليل لينكس 6.9.1" #. type: Plain text #: debian-trixie msgid "Standard C library (I, I<-lc>)" msgstr "مكتبة سي المعيارية (I، I<-lc>)" #. type: Plain text #: debian-trixie msgid "" "Alternatively, Linux Key Management Utilities (I, I<-" "lkeyutils>); see VERSIONS." msgstr "" "بدلاً من ذلك، أدوات إدارة مفاتيح لينكس (I، I<-lkeyutils>)؛ انظر " "VERSIONS." #. type: Plain text #: debian-trixie #, no-wrap msgid "" "B<#include Elinux/keyctl.hE> /* Definition of B constants" " */\n" "B<#include Esys/syscall.hE> /* Definition of B constants" " */\n" "B<#include Eunistd.hE>\n" msgstr "" "B<#include Elinux/keyctl.hE> /* تعريف ثوابت B */\n" "B<#include Esys/syscall.hE> /* تعريف ثوابت B */\n" "B<#include Eunistd.hE>\n" #. type: Plain text #: debian-trixie #, no-wrap msgid "" "BIB<, unsigned long >IB<,>\n" "B< unsigned long >IB<, unsigned long >IB<,>\n" "B< unsigned long >IB<);>\n" msgstr "" "BIB<, unsigned long >IB<,>\n" "B< unsigned long >IB<, unsigned long >IB<,>\n" "B< unsigned long >IB<);>\n" #. type: Plain text #: debian-trixie msgid "" "I: glibc provides no wrapper for B(), necessitating the use of " "B(2)." msgstr "" "I<ملاحظة>: لا توفر glibc غلافاً لـ B()، مما يستلزم استخدام " "B(2)." #. type: Plain text #: debian-trixie msgid "" "The operation performed by B() is determined by the value of the " "I argument. Each of these operations is wrapped by the " "I library (provided by the I package) into individual " "functions (noted below) to permit the compiler to check types." msgstr "" "تُحدد العملية التي تجريها B() بواسطة قيمة المعامل I. تُغلف " "كل عملية من هذه العمليات بواسطة مكتبة I (التي توفرها حزمة " "I) في دوال منفردة (مذكورة أدناه) للسماح للمصرف بالتحقق من الأنواع." #. type: Plain text #: debian-trixie msgid "The permitted values for I are:" msgstr "القيم المسموح بها لـ I هي:" #. type: TP #: debian-trixie #, no-wrap msgid "B (since Linux 2.6.10)" msgstr "B (منذ لينكس 2.6.10)" #. type: Plain text #: debian-trixie msgid "Map a special key ID to a real key ID for this process." msgstr "ربط معرف مفتاح خاص بمعرف مفتاح حقيقي لهذه العملية." #. type: Plain text #: debian-trixie msgid "" "This operation looks up the special key whose ID is provided in I " "(cast to I). If the special key is found, the ID of the " "corresponding real key is returned as the function result. The following " "values may be specified in I:" msgstr "" "تبحث هذه العملية عن المفتاح الخاص الذي يُوفّر معرفه في I (مُحوّل إلى " "I). إذا عُثر على المفتاح الخاص، يُعاد معرف المفتاح الحقيقي " "المقابل كـ نتيجة للدالة. القيم التالية يمكن تحديدها في I:" #. type: TP #: debian-trixie #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: debian-trixie msgid "" "This specifies the calling thread's thread-specific keyring. See B(7)." msgstr "" "يحدد هذا حلقة مفاتيح خاصة بخيط التنفيذ للمستدعِي. انظر B(7)." #. type: TP #: debian-trixie #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: debian-trixie msgid "" "This specifies the caller's process-specific keyring. See B(7)." msgstr "" "يحدد هذا حلقة مفاتيح خاصة بالعملية للمستدعِي. انظر B(7)." #. type: TP #: debian-trixie #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: debian-trixie msgid "" "This specifies the caller's session-specific keyring. See B(7)." msgstr "" "يحدد هذا حلقة مفاتيح خاصة بالجلسة للمستدعِي. انظر B(7)." #. type: TP #: debian-trixie #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: debian-trixie msgid "" "This specifies the caller's UID-specific keyring. See B(7)." msgstr "" "يحدد هذا حلقة مفاتيح خاصة بمعرف المستخدم (UID) للمستدعِي. انظر B(7)." #. type: TP #: debian-trixie #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: debian-trixie msgid "" "This specifies the caller's UID-session keyring. See B(7)." msgstr "" "يحدد هذا حلقة مفاتيح جلسة معرف المستخدم للمستدعِي. انظر B(7)." #. type: TP #: debian-trixie #, no-wrap msgid "B (since Linux 2.6.16)" msgstr "B (منذ لينكس 2.6.16)" #. commit b5f545c880a2a47947ba2118b2509644ab7a2969 #. type: Plain text #: debian-trixie msgid "" "This specifies the authorization key created by B(2) and " "passed to the process it spawns to generate a key. This key is available " "only in a B(8)-style program that was passed an authorization " "key by the kernel and ceases to be available once the requested key has been " "instantiated; see B(2)." msgstr "" "يحدد هذا مفتاح الترخيص المنشأ بواسطة B(2) والممرر إلى العملية " "التي أطلقها لتوليد مفتاح. يتوفر هذا المفتاح فقط في برنامج بنمط B(8) مُرّر إليه مفتاح ترخيص بواسطة النواة، ويتوقف عن التوفر بمجرد تجسيد " "المفتاح المطلوب؛ انظر B(2)." #. type: TP #: debian-trixie #, no-wrap msgid "B (since Linux 2.6.29)" msgstr "B (منذ لينكس 2.6.29)" #. commit 8bbf4976b59fc9fc2861e79cab7beb3f6d647640 #. type: Plain text #: debian-trixie msgid "" "This specifies the key ID for the B(2) destination keyring. " "This keyring is available only in a B(8)-style program that was " "passed an authorization key by the kernel and ceases to be available once " "the requested key has been instantiated; see B(2)." msgstr "" "يحدد هذا معرف المفتاح لحلقة مفاتيح وجهة B(2). تتوفر حلقة " "المفاتيح هذه فقط في برنامج بنمط B(8) مُرّر إليه مفتاح ترخيص " "بواسطة النواة، وتتوقف عن التوفر بمجرد تجسيد المفتاح المطلوب؛ انظر " "B(2)." #. The keyctl_get_keyring_ID.3 page says that a new key #. "will be created *if it is appropriate to do so**. What is the #. determiner for appropriate? #. David Howells: Some special keys such as KEY_SPEC_REQKEY_AUTH_KEY #. wouldn't get created but user/user-session/session keyring would #. be created. #. type: Plain text #: debian-trixie msgid "" "The behavior if the key specified in I does not exist depends on the " "value of I (cast to I). If I contains a nonzero value, " "then\\[em]if it is appropriate to do so (e.g., when looking up the user, " "user-session, or session key)\\[em]a new key is created and its real key ID " "returned as the function result. Otherwise, the operation fails with the " "error B." msgstr "" "يعتمد السلوك إذا كان المفتاح المحدد في I غير موجود على قيمة I " "(المُحوّلة إلى I). إذا احتوت I على قيمة غير صفرية،" " فحينئذٍ\\[em]إذا " "كان ذلك مناسباً (مثلاً، عند البحث عن مفتاح المستخدم، أو جلسة المستخدم، أو " "الجلسة)\\[em]يُنشأ مفتاح جديد ويُعاد معرفه الحقيقي نتيجةً للدالة. خلاف ذلك، " "تفشل العملية مع الخطأ B." #. type: Plain text #: debian-trixie msgid "" "If a valid key ID is specified in I, and the key exists, then this " "operation simply returns the key ID. If the key does not exist, the call " "fails with error B." msgstr "" "إذا حُدد معرف مفتاح صالح في I، وكان المفتاح موجوداً، فإن هذه العملية " "تعيد ببساطة معرف المفتاح. وإذا لم يكن المفتاح موجوداً، يفشل الاستدعاء مع " "الخطأ B." #. type: Plain text #: debian-trixie msgid "" "The caller must have I permission on a keyring in order for it to be " "found." msgstr "" "يجب أن يملك المستدعِي إذن I (بحث) على حلقة المفاتيح لكي يُعثر عليها." #. type: Plain text #: debian-trixie msgid "The arguments I and I are ignored." msgstr "تُتجاهل المعاملات I و I." #. type: Plain text #: debian-trixie msgid "" "This operation is exposed by I via the function " "B(3)." msgstr "" "تُوفّر هذه العملية بواسطة I عبر الدالة " "B(3)." #. type: TP #: debian-trixie #, no-wrap msgid "B (since Linux 2.6.10)" msgstr "B (منذ لينكس 2.6.10)" #. This may be useful in conjunction with some sort of #. session management framework that is employed by the application. #. type: Plain text #: debian-trixie msgid "" "Replace the session keyring this process subscribes to with a new session " "keyring." msgstr "" "استبدال حلقة مفاتيح الجلسة التي تشترك فيها هذه العملية بحلقة مفاتيح جلسة " "جديدة." #. type: Plain text #: debian-trixie msgid "" "If I is NULL, an anonymous keyring with the description \"_ses\" is " "created and the process is subscribed to that keyring as its session " "keyring, displacing the previous session keyring." msgstr "" "إذا كانت I هي NULL، تُنشأ حلقة مفاتيح مجهولة بالوصف \"_ses\" وتُشترك " "العملية في حلقة المفاتيح تلك بصفتها حلقة مفاتيح الجلسة الخاصة بها، لتحل محل " "حلقة مفاتيح الجلسة السابقة." #. type: Plain text #: debian-trixie msgid "" "Otherwise, I (cast to I) is treated as the description " "(name) of a keyring, and the behavior is as follows:" msgstr "" "خلاف ذلك، تُعامل I (المُحوّلة إلى I) على أنها وصف (اسم) حلقة " "مفاتيح، ويكون السلوك كما يلي:" #. type: Plain text #: debian-trixie msgid "" "If a keyring with a matching description exists, the process will attempt to " "subscribe to that keyring as its session keyring if possible; if that is not " "possible, an error is returned. In order to subscribe to the keyring, the " "caller must have I permission on the keyring." msgstr "" "إذا وجدت حلقة مفاتيح بوصف مطابق، فستحاول العملية الاشتراك في تلك الحلقة " "بصفتها حلقة مفاتيح الجلسة الخاصة بها إن أمكن؛ وإذا لم يكن ذلك ممكناً، يُعاد " "خطأ. لكي يشترك المستدعِي في حلقة المفاتيح، يجب أن يملك إذن I (بحث) " "عليها." #. type: Plain text #: debian-trixie msgid "" "If a keyring with a matching description does not exist, then a new keyring " "with the specified description is created, and the process is subscribed to " "that keyring as its session keyring." msgstr "" "إذا لم توجد حلقة مفاتيح بوصف مطابق، تُنشأ حلقة مفاتيح جديدة بالوصف المحدد، " "وتُشترك العملية في تلك الحلقة بصفتها حلقة مفاتيح الجلسة الخاصة بها." #. type: Plain text #: debian-trixie msgid "The arguments I, I, and I are ignored." msgstr "تُتجاهل المعاملات I و I و I." #. type: Plain text #: debian-trixie msgid "" "This operation is exposed by I via the function " "B(3)." msgstr "" "تُوفّر هذه العملية بواسطة I عبر الدالة " "B(3)." #. type: TP #: debian-trixie #, no-wrap msgid "B (since Linux 2.6.10)" msgstr "B (منذ لينكس 2.6.10)" #. type: Plain text #: debian-trixie msgid "Update a key's data payload." msgstr "تحديث حمولة بيانات المفتاح." #. type: Plain text #: debian-trixie msgid "" "The I argument (cast to I) specifies the ID of the key " "to be updated. The I argument (cast to I) points to the " "new payload and I (cast to I) contains the new payload size " "in bytes." msgstr "" "يحدد المعامل I (المُحوّل إلى I) معرف المفتاح المراد " "تحديثه. يشير المعامل I (المُحوّل إلى I) إلى الحمولة الجديدة " "ويحتوي I (المُحوّل إلى I) على حجم الحمولة الجديد بالبايت." #. type: Plain text #: debian-trixie msgid "" "The caller must have I permission on the key specified and the key " "type must support updating." msgstr "" "يجب أن يملك المستدعِي إذن I (كتابة) على المفتاح المحدد، ويجب أن يدعم " "نوع المفتاح التحديث." #. type: Plain text #: debian-trixie msgid "" "A negatively instantiated key (see the description of B) can " "be positively instantiated with this operation." msgstr "" "يمكن تجسيد مفتاح مُجسّد سلبياً (انظر وصف B) إيجابياً بهذه" " العملية." #. type: Plain text #: debian-trixie msgid "The I argument is ignored." msgstr "يُتجاهل المعامل I." #. type: Plain text #: debian-trixie msgid "" "This operation is exposed by I via the function " "B(3)." msgstr "" "تُوفّر هذه العملية بواسطة I عبر الدالة B(3)." #. type: TP #: debian-trixie #, no-wrap msgid "B (since Linux 2.6.10)" msgstr "B (منذ لينكس 2.6.10)" #. type: Plain text #: debian-trixie msgid "" "Revoke the key with the ID provided in I (cast to I). " "The key is scheduled for garbage collection; it will no longer be findable, " "and will be unavailable for further operations. Further attempts to use the " "key will fail with the error B." msgstr "" "إبطال المفتاح ذي المعرف المقدم في I (المُحوّل إلى I). " "يُجدول المفتاح لجمع المهملات؛ ولن يعود بالإمكان العثور عليه، وسيكون غير متاح " "لمزيد من العمليات. ستفشل أي محاولات أخرى لاستخدام المفتاح مع الخطأ " "B." #. Keys with the KEY_FLAG_KEEP bit set cause an EPERM #. error for KEYCTL_REVOKE. Does this need to be documented? #. David Howells: No significance for user space. #. type: Plain text #: debian-trixie msgid "The caller must have I or I permission on the key." msgstr "" "يجب أن يملك المستدعِي إذن I (كتابة) أو I (ضبط السمات) على " "المفتاح." #. type: Plain text #: debian-trixie msgid "" "This operation is exposed by I via the function " "B(3)." msgstr "" "تُوفّر هذه العملية بواسطة I عبر الدالة B(3)." #. type: TP #: debian-trixie #, no-wrap msgid "B (since Linux 2.6.10)" msgstr "B (منذ لينكس 2.6.10)" #. type: Plain text #: debian-trixie msgid "Change the ownership (user and group ID) of a key." msgstr "تغيير ملكية (معرف المستخدم والمجموعة) مفتاح ما." #. type: Plain text #: debian-trixie msgid "" "The I argument (cast to I) contains the key ID. The " "I argument (cast to I) contains the new user ID (or -1 in case " "the user ID shouldn't be changed). The I argument (cast to I) " "contains the new group ID (or -1 in case the group ID shouldn't be changed)." msgstr "" "يحتوي المعامل I (المُحوّل إلى I) على معرف المفتاح. يحتوي " "المعامل I (المُحوّل إلى I) على معرف المستخدم الجديد (أو -1 إذا " "كان لا ينبغي تغيير معرف المستخدم). يحتوي المعامل I (المُحوّل إلى " "I) على معرف المجموعة الجديد (أو -1 إذا كان لا ينبغي تغيير معرف " "المجموعة)." #. type: Plain text #: debian-trixie msgid "The key must grant the caller I permission." msgstr "يجب أن يمنح المفتاح إذن I للمستدعِي." #. type: Plain text #: debian-trixie msgid "" "For the UID to be changed, or for the GID to be changed to a group the " "caller is not a member of, the caller must have the B " "capability (see B(7))." msgstr "" "لتغيير معرف المستخدم (UID)، أو لتغيير معرف المجموعة (GID) إلى مجموعة ليس " "المستدعِي عضواً فيها، يجب أن يملك المستدعِي قدرة B (انظر " "B(7))." #. type: Plain text #: debian-trixie msgid "" "If the UID is to be changed, the new user must have sufficient quota to " "accept the key. The quota deduction will be removed from the old user to " "the new user should the UID be changed." msgstr "" "إذا كان سيُغيّر معرف المستخدم (UID)، فيجب أن يملك المستخدم الجديد حصة كافية " "لقبول المفتاح. وسيُنقل خصم الحصة من المستخدم القديم إلى المستخدم الجديد في " "حال تغيير معرف المستخدم." #. type: Plain text #: debian-trixie msgid "" "This operation is exposed by I via the function " "B(3)." msgstr "" "تُوفّر هذه العملية بواسطة I عبر الدالة B(3)." #. type: TP #: debian-trixie #, no-wrap msgid "B (since Linux 2.6.10)" msgstr "B (منذ لينكس 2.6.10)" #. type: Plain text #: debian-trixie msgid "" "Change the permissions of the key with the ID provided in the I " "argument (cast to I) to the permissions provided in the " "I argument (cast to I)." msgstr "" "تغيير أذونات المفتاح ذي المعرف المقدم في المعامل I (المُحوّل إلى " "I) إلى الأذونات المقدمة في المعامل I (المُحوّل إلى " "I)." #. type: Plain text #: debian-trixie msgid "" "If the caller doesn't have the B capability, it can change " "permissions only for the keys it owns. (More precisely: the caller's " "filesystem UID must match the UID of the key.)" msgstr "" "إذا لم يملك المستدعِي قدرة B، فلا يمكنه تغيير الأذونات إلا " "للمفاتيح التي يملكها. (بشكل أدق: يجب أن يطابق معرف المستخدم (UID) لنظام " "ملفات المستدعِي معرف المستخدم الخاص بالمفتاح)." #. FIXME Above, is it really intended that a privileged process can't #. override the lack of the 'setattr' permission? #. type: Plain text #: debian-trixie msgid "" "The key must grant I permission to the caller I of the " "caller's capabilities." msgstr "" "يجب أن يمنح المفتاح إذن I للمستدعِي I<بغض النظر> عن قدرات المستدعِي." #. type: Plain text #: debian-trixie msgid "" "The permissions in I specify masks of available operations for each of " "the following user categories:" msgstr "" "تحدد الأذونات في I أقنعة للعمليات المتاحة لكل فئة من فئات المستخدمين " "التالية:" #. type: TP #: debian-trixie #, no-wrap msgid "I (since Linux 2.6.14)" msgstr "I<الحائز> (منذ لينكس 2.6.14)" #. commit 664cceb0093b755739e56572b836a99104ee8a75 #. type: Plain text #: debian-trixie msgid "" "This is the permission granted to a process that possesses the key (has it " "attached searchably to one of the process's keyrings); see B(7)." msgstr "" "هذا هو الإذن الممنوح لعملية تحوز المفتاح (أي أنه متصل بشكل قابل للبحث بواحدة " "من حلقات مفاتيح العملية)؛ انظر B(7)." #. type: TP #: debian-trixie #, no-wrap msgid "I" msgstr "I" #. type: Plain text #: debian-trixie msgid "" "This is the permission granted to a process whose filesystem UID matches the " "UID of the key." msgstr "" "هذا هو الإذن الممنوح لعملية يطابق معرف المستخدم (UID) الخاص بنظام ملفاتها " "معرف المستخدم الخاص بالمفتاح." #. type: TP #: debian-trixie #, no-wrap msgid "I" msgstr "I" #. type: Plain text #: debian-trixie msgid "" "This is the permission granted to a process whose filesystem GID or any of " "its supplementary GIDs matches the GID of the key." msgstr "" "هذا هو الإذن الممنوح لعملية يطابق معرف المجموعة (GID) الخاص بنظام ملفاتها أو " "أي من معرفات مجموعاتها الإضافية معرف المجموعة الخاص بالمفتاح." #. type: TP #: debian-trixie #, no-wrap msgid "I" msgstr "I" #. type: Plain text #: debian-trixie msgid "" "This is the permission granted to other processes that do not match the " "I and I categories." msgstr "" "هذا هو الإذن الممنوح للعمليات الأخرى التي لا تندرج تحت فئتي I و " "I." #. type: Plain text #: debian-trixie msgid "" "The I, I, and I categories are exclusive: if a process " "matches the I category, it will not receive permissions granted in the " "I category; if a process matches the I or I category, " "then it will not receive permissions granted in the I category." msgstr "" "فئات I و I و I هي فئات استبعادية: إذا كانت العملية تطابق " "فئة I، فلن تحصل على الأذونات الممنوحة في فئة I؛ وإذا كانت " "العملية تطابق فئة I أو I، فلن تحصل على الأذونات الممنوحة في فئة " "I." #. type: Plain text #: debian-trixie msgid "" "The I category grants permissions that are cumulative with the " "grants from the I, I, or I category." msgstr "" "تمنح فئة I (الحائز) أذونات تراكمية مع الأذونات الممنوحة من فئات " "I أو I أو I." #. type: Plain text #: debian-trixie msgid "" "Each permission mask is eight bits in size, with only six bits currently " "used. The available permissions are:" msgstr "" "كل قناع إذن حجمه ثمانية بتات، وتُستخدم منها ستة بتات فقط حالياً. الأذونات " "المتاحة هي:" #. type: TP #: debian-trixie #, no-wrap msgid "I" msgstr "I" #. type: Plain text #: debian-trixie msgid "This permission allows reading attributes of a key." msgstr "يسمح هذا الإذن بقراءة سمات المفتاح." #. type: Plain text #: debian-trixie msgid "This permission is required for the B operation." msgstr "هذا الإذن مطلوب لعملية B." #. type: Plain text #: debian-trixie msgid "" "The permission bits for each category are B, B, " "B, and B." msgstr "" "بتات الإذن لكل فئة هي B و B و B و " "B." #. type: TP #: debian-trixie #, no-wrap msgid "I" msgstr "I" #. type: Plain text #: debian-trixie msgid "This permission allows reading a key's payload." msgstr "يسمح هذا الإذن بقراءة حمولة المفتاح." #. type: Plain text #: debian-trixie msgid "This permission is required for the B operation." msgstr "هذا الإذن مطلوب لعملية B." #. type: Plain text #: debian-trixie msgid "" "The permission bits for each category are B, B, " "B, and B." msgstr "" "بتات الإذن لكل فئة هي B و B و B و " "B." #. type: TP #: debian-trixie #, no-wrap msgid "I" msgstr "I" #. type: Plain text #: debian-trixie msgid "" "This permission allows update or instantiation of a key's payload. For a " "keyring, it allows keys to be linked and unlinked from the keyring," msgstr "" "يسمح هذا الإذن بتحديث أو تجسيد حمولة المفتاح. بالنسبة لحلقة المفاتيح، فإنه " "يسمح بربط المفاتيح بها أو فصلها عنها." #. type: Plain text #: debian-trixie msgid "" "This permission is required for the B, B, " "B, B, and B operations." msgstr "" "هذا الإذن مطلوب لعمليات B و B و " "B و B و B." #. type: Plain text #: debian-trixie msgid "" "The permission bits for each category are B, " "B, B, and B." msgstr "" "بتات الإذن لكل فئة هي B و B و B " "و B." #. type: TP #: debian-trixie #, no-wrap msgid "I" msgstr "I" #. type: Plain text #: debian-trixie msgid "" "This permission allows keyrings to be searched and keys to be found. " "Searches can recurse only into nested keyrings that have I " "permission set." msgstr "" "يسمح هذا الإذن بالبحث في حلقات المفاتيح والعثور على المفاتيح. لا يمكن للبحث " "أن يتوغل تكرارياً إلا في حلقات المفاتيح المتداخلة التي ضُبط فيها إذن I " "(بحث)." #. type: Plain text #: debian-trixie msgid "" "This permission is required for the B, " "B, B, and B " "operations." msgstr "" "هذا الإذن مطلوب لعمليات B و " "B و B و B." #. type: Plain text #: debian-trixie msgid "" "The permission bits for each category are B, " "B, B, and B." msgstr "" "بتات الإذن لكل فئة هي B و B و " "B و B." #. type: TP #: debian-trixie #, no-wrap msgid "I" msgstr "I" #. type: Plain text #: debian-trixie msgid "This permission allows a key or keyring to be linked to." msgstr "يسمح هذا الإذن بربط مفتاح أو حلقة مفاتيح." #. type: Plain text #: debian-trixie msgid "" "This permission is required for the B and " "B operations." msgstr "هذا الإذن مطلوب لعمليتي B و B." #. type: Plain text #: debian-trixie msgid "" "The permission bits for each category are B, B, " "B, and B." msgstr "" "بتات الإذن لكل فئة هي B و B و B و " "B." #. type: TP #: debian-trixie #, no-wrap msgid "I (since Linux 2.6.15)." msgstr "I (منذ لينكس 2.6.15)." #. type: Plain text #: debian-trixie msgid "" "This permission allows a key's UID, GID, and permissions mask to be changed." msgstr "" "يسمح هذا الإذن بتغيير معرف المستخدم (UID)، ومعرف المجموعة (GID)، وقناع " "الأذونات الخاص بالمفتاح." #. type: Plain text #: debian-trixie msgid "" "This permission is required for the B, B, and " "B operations." msgstr "" "هذا الإذن مطلوب لعمليات B و B و " "B." #. type: Plain text #: debian-trixie msgid "" "The permission bits for each category are B, " "B, B, and B." msgstr "" "بتات الإذن لكل فئة هي B و B و " "B و B." #. type: Plain text #: debian-trixie msgid "" "As a convenience, the following macros are defined as masks for all of the " "permission bits in each of the user categories: B, " "B, B, and B." msgstr "" "من باب التيسير، عُرّفت وحدات الماكرو التالية كأقنعة لجميع بتات الأذونات في كل " "فئة من فئات المستخدمين: B و B و B و " "B." #. type: Plain text #: debian-trixie msgid "The I and I arguments are ignored." msgstr "تُتجاهل المعاملات I و I." #. type: Plain text #: debian-trixie msgid "" "This operation is exposed by I via the function " "B(3)." msgstr "" "تُوفّر هذه العملية بواسطة I عبر الدالة B(3)." #. type: TP #: debian-trixie #, no-wrap msgid "B (since Linux 2.6.10)" msgstr "B (منذ لينكس 2.6.10)" #. type: Plain text #: debian-trixie msgid "Obtain a string describing the attributes of a specified key." msgstr "الحصول على سلسلة نصية تصف سمات مفتاح محدد." #. type: Plain text #: debian-trixie #| msgid "" #| "The ID of the key to be described is specified in I (cast to " #| "I). The descriptive string is returned in the buffer " #| "pointed to by I (cast to I); I (cast to I) " #| "specifies the size of that buffer in bytes." msgid "" "The ID of the key to be described is specified in I (cast to " "I). The descriptive string is returned in the buffer pointed " "to by I (cast to I); I (cast to I) specifies " "the size of that buffer in bytes." msgstr "" "يُحدد معرف المفتاح المراد وصفه في I (المُحوّل إلى I)." " وتُعاد " "سلسلة الوصف في الذاكرة الوسيطة التي يشير إليها I (المُحوّل إلى " "I )؛ ويحدد I (المُحوّل إلى I) حجم تلك الذاكرة الوسيطة " "بالبايت." #. type: Plain text #: debian-trixie msgid "The key must grant the caller I permission." msgstr "يجب أن يمنح المفتاح إذن I (عرض) للمستدعِي." #. type: Plain text #: debian-trixie msgid "" "The returned string is null-terminated and contains the following " "information about the key:" msgstr "" "السلسلة المعادة تنتهي بترميز صفري (null-terminated) وتحتوي على المعلومات " "التالية حول المفتاح:" #. type: Plain text #: debian-trixie msgid "I;I;I;I;I" msgstr "I;I;I;I;I" #. type: Plain text #: debian-trixie msgid "" "In the above, I and I are strings, I and I are " "decimal strings, and I is a hexadecimal permissions mask. The " "descriptive string is written with the following format:" msgstr "" "فيما سبق، I (النوع) و I (الوصف) هما سلسلتان نصيتان، و " "I و I هما سلسلتان عشريتان، و I هو قناع أذونات سداسي عشري. " "وتُكتب سلسلة الوصف بالتنسيق التالي:" #. type: Plain text #: debian-trixie #, no-wrap msgid "%s;%d;%d;%08x;%s\n" msgstr "%s;%d;%d;%08x;%s\n" #. FIXME But, the kernel does not enforce the requirement #. that the key description contains no semicolons! #. So, user space has no guarantee here?? #. Either something more needs to be said here, #. or a kernel fix is required. #. type: Plain text #: debian-trixie msgid "" "B B In particular, the I field will not " "contain semicolons; it should be parsed by working backwards from the end of " "the string to find the last semicolon. This allows future semicolon-" "delimited fields to be inserted in the descriptive string in the future." msgstr "" "B<ملاحظة: النية هي أن تكون سلسلة الوصف قابلة للتوسعة> B<في إصدارات النواة " "المستقبلية.> وبوجه خاص، لن يحتوي حقل I (الوصف) على فواصل " "منقوطة؛ ويجب تحليله بالعمل عكسياً من نهاية السلسلة للعثور على آخر فاصلة " "منقوطة. يسمح هذا بإدراج حقول مستقبلية مفصولة بفواصل منقوطة في سلسلة الوصف " "مستقبلاً." #. Function commentary says it copies up to buflen bytes, but see the #. (buffer && buflen >= ret) condition in keyctl_describe_key() in #. security/keyctl.c #. type: Plain text #: debian-trixie msgid "" "Writing to the buffer is attempted only when I is non-NULL and the " "specified buffer size is large enough to accept the descriptive string " "(including the terminating null byte). In order to determine whether the " "buffer size was too small, check to see if the return value of the operation " "is greater than I." msgstr "" "تجري محاولة الكتابة في الذاكرة الوسيطة فقط عندما لا تكون I هي NULL " "ويكون حجم الذاكرة الوسيطة المحدد كبيراً بما يكفي لاستيعاب سلسلة الوصف (بما في " "ذلك البايت الصفري الختامي). ولتحديد ما إذا كان حجم الذاكرة الوسيطة صغيراً " "جداً، تحقق مما إذا كانت قيمة الإعادة للعملية أكبر من I." #. type: Plain text #: debian-trixie msgid "" "This operation is exposed by I via the function " "B(3)." msgstr "" "تُوفّر هذه العملية بواسطة I عبر الدالة B(3)." #. type: TP #: debian-trixie #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: debian-trixie msgid "Clear the contents of (i.e., unlink all keys from) a keyring." msgstr "مسح محتويات حلقة مفاتيح (أي فصل جميع المفاتيح عنها)." #. or the error ENOTDIR results #. According to Documentation/security/keys.txt: #. This function can also be used to clear special kernel keyrings if they #. are appropriately marked if the user has CAP_SYS_ADMIN capability. The #. DNS resolver cache keyring is an example of this. #. type: Plain text #: debian-trixie msgid "" "The ID of the key (which must be of keyring type) is provided in I " "(cast to I)." msgstr "" "يُوفّر معرف المفتاح (الذي يجب أن يكون من نوع حلقة مفاتيح) في I (مُحوّل" " إلى " "I)." #. type: Plain text #: debian-trixie msgid "The caller must have I permission on the keyring." msgstr "يجب أن يمتلك I<المستدعِي> إذن I<كتابة> على حلقة المفاتيح." #. type: Plain text #: debian-trixie msgid "" "This operation is exposed by I via the function " "B(3)." msgstr "" "تُعرّض هذه العملية بواسطة I عبر الدالة B(3)." #. type: TP #: debian-trixie #, no-wrap msgid "B (since Linux 2.6.10)" msgstr "B (منذ لينكس 2.6.10)" #. type: Plain text #: debian-trixie msgid "Create a link from a keyring to a key." msgstr "إنشاء رابط من حلقة مفاتيح إلى مفتاح." #. type: Plain text #: debian-trixie msgid "" "The key to be linked is specified in I (cast to I); the " "keyring is specified in I (cast to I)." msgstr "" "يُحدّد المفتاح المراد ربطه في I (مُحوّل إلى I)؛ وتُحدّد" " حلقة " "المفاتيح في I (مُحوّل إلى I)." #. type: Plain text #: debian-trixie msgid "" "If a key with the same type and description is already linked in the " "keyring, then that key is displaced from the keyring." msgstr "" "إذا كان هناك مفتاح بنفس النوع والوصف مربوطًا بالفعل في حلقة المفاتيح، فإن هذا " "المفتاح يُزاح من حلقة المفاتيح." #. type: Plain text #: debian-trixie msgid "" "Before creating the link, the kernel checks the nesting of the keyrings and " "returns appropriate errors if the link would produce a cycle or if the " "nesting of keyrings would be too deep (The limit on the nesting of keyrings " "is determined by the kernel constant B, defined " "with the value 6, and is necessary to prevent overflows on the kernel stack " "when recursively searching keyrings)." msgstr "" "قبل إنشاء الرابط، تفحص I<النواة> تداخل حلقات المفاتيح وتُعيد الأخطاء المناسبة " "إذا كان الرابط سينتج دورة أو إذا كان تداخل حلقات المفاتيح عميقًا جدًا (يُحدّد" " حد " "تداخل حلقات المفاتيح بواسطة ثابت I<النواة> B، " "المُعرّف بالقيمة 6، وهو ضروري لمنع طفح مكدس I<النواة> عند البحث التكراري في " "حلقات المفاتيح)." #. type: Plain text #: debian-trixie msgid "" "The caller must have I permission on the key being added and I " "permission on the keyring." msgstr "" "يجب أن يمتلك I<المستدعِي> إذن I<ربط> على المفتاح المضاف وإذن I<كتابة> على " "حلقة المفاتيح." #. type: Plain text #: debian-trixie msgid "" "This operation is exposed by I via the function " "B(3)." msgstr "تُعرّض هذه العملية بواسطة I عبر الدالة B(3)." #. type: TP #: debian-trixie #, no-wrap msgid "B (since Linux 2.6.10)" msgstr "B (منذ لينكس 2.6.10)" #. type: Plain text #: debian-trixie msgid "Unlink a key from a keyring." msgstr "فصل مفتاح عن حلقة مفاتيح." #. type: Plain text #: debian-trixie msgid "" "The ID of the key to be unlinked is specified in I (cast to " "I); the ID of the keyring from which it is to be unlinked is " "specified in I (cast to I)." msgstr "" "يُحدّد معرف المفتاح المراد فصله في I (مُحوّل إلى I)؛" " ويُحدّد " "معرف حلقة المفاتيح المراد الفصل منها في I (مُحوّل إلى I)." #. type: Plain text #: debian-trixie msgid "If the key is not currently linked into the keyring, an error results." msgstr "إذا لم يكن المفتاح مربوطًا حاليًا في حلقة المفاتيح، فسينتج خطأ." #. type: Plain text #: debian-trixie msgid "" "The caller must have I permission on the keyring from which the key " "is being removed." msgstr "" "يجب أن يمتلك I<المستدعِي> إذن I<كتابة> على حلقة المفاتيح التي يُزال المفتاح " "منها." #. type: Plain text #: debian-trixie msgid "" "If the last link to a key is removed, then that key will be scheduled for " "destruction." msgstr "إذا أُزيل الرابط الأخير لمفتاح، فسيُجدول هذا المفتاح للتدمير." #. type: Plain text #: debian-trixie msgid "" "This operation is exposed by I via the function " "B(3)." msgstr "" "تُعرّض هذه العملية بواسطة I عبر الدالة B(3)." #. type: TP #: debian-trixie #, no-wrap msgid "B (since Linux 2.6.10)" msgstr "B (منذ لينكس 2.6.10)" #. type: Plain text #: debian-trixie msgid "" "Search for a key in a keyring tree, returning its ID and optionally linking " "it to a specified keyring." msgstr "" "البحث عن مفتاح في شجرة حلقة مفاتيح، وإرجاع معرفه وربطه اختياريًا بحلقة مفاتيح " "محددة." #. type: Plain text #: debian-trixie msgid "" "The tree to be searched is specified by passing the ID of the head keyring " "in I (cast to I). The search is performed breadth-first " "and recursively." msgstr "" "تُحدّد الشجرة المراد البحث فيها بتمرير معرف حلقة المفاتيح الـ I<رئيسة> في " "I (مُحوّل إلى I). يُجرى البحث بالاتساع أولاً وتكراريًا." #. type: Plain text #: debian-trixie #| msgid "" #| "The I and I arguments specify the key to be searched for: " #| "I (cast as I) contains the key type (a null-terminated " #| "character string up to 32 bytes in size, including the terminating null " #| "byte), and I (cast as I) contains the description of the " #| "key (a null-terminated character string up to 4096 bytes in size, " #| "including the terminating null byte)." msgid "" "The I and I arguments specify the key to be searched for: " "I (cast as I) contains the key type (a null-terminated " "character string up to 32 bytes in size, including the terminating null " "byte), and I (cast as I) contains the description of the " "key (a null-terminated character string up to 4096 bytes in size, including " "the terminating null byte)." msgstr "" "تُحدّد وسائط I و I المفتاح المراد البحث عنه: I (مُحوّل كـ " "I) يحتوي على نوع المفتاح (سلسلة محارف تنتهي بـ null يصل حجمها إلى " "32 بايت، بما في ذلك بايت الإنهاء null)، و I (مُحوّل كـ I) " "يحتوي على وصف المفتاح (سلسلة محارف تنتهي بـ null يصل حجمها إلى 4096 بايت، " "بما في ذلك بايت الإنهاء null)." #. type: Plain text #: debian-trixie msgid "" "The source keyring must grant I permission to the caller. When " "performing the recursive search, only keyrings that grant the caller " "I permission will be searched. Only keys with for which the caller " "has I permission can be found." msgstr "" "يجب أن تمنح حلقة مفاتيح المصدر إذن I<بحث> لـ I<المستدعِي>. عند إجراء البحث " "التكراري، ستُفحص فقط حلقات المفاتيح التي تمنح I<المستدعِي> إذن I<بحث>. يمكن " "فقط العثور على المفاتيح التي يمتلك I<المستدعِي> إذن I<بحث> عليها." #. type: Plain text #: debian-trixie msgid "If the key is found, its ID is returned as the function result." msgstr "إذا وُجد المفتاح، يُرجع معرفه كنتيجة للدالة." #. type: Plain text #: debian-trixie msgid "" "If the key is found and I (cast to I) is nonzero, then, " "subject to the same constraints and rules as B, the key is " "linked into the keyring whose ID is specified in I. If the " "destination keyring specified in I already contains a link to a key " "that has the same type and description, then that link will be displaced by " "a link to the key found by this operation." msgstr "" "إذا وُجد المفتاح وكان I (مُحوّل إلى I) غير صفري، فبناءً" " على " "نفس القيود والقواعد مثل B، يُربط المفتاح في حلقة المفاتيح التي " "حُدّد معرفها في I. إذا كانت حلقة مفاتيح الوجهة المحددة في I تحتوي " "بالفعل على رابط لمفتاح له نفس النوع والوصف، فسيُزاح ذلك الرابط برابط للمفتاح " "الذي عثرت عليه هذه العملية." #. type: Plain text #: debian-trixie msgid "" "Instead of valid existing keyring IDs, the source (I) and destination " "(I) keyrings can be one of the special keyring IDs listed under " "B." msgstr "" "بدلاً من معرفات حلقات المفاتيح الموجودة الصالحة، يمكن أن تكون حلقات مفاتيح " "المصدر (I) والوجهة (I) واحدة من معرفات حلقات المفاتيح الخاصة " "المدرجة تحت B." #. type: Plain text #: debian-trixie msgid "" "This operation is exposed by I via the function " "B(3)." msgstr "" "تُعرّض هذه العملية بواسطة I عبر الدالة B(3)." #. type: TP #: debian-trixie #, no-wrap msgid "B (since Linux 2.6.10)" msgstr "B (منذ لينكس 2.6.10)" #. type: Plain text #: debian-trixie msgid "Read the payload data of a key." msgstr "قراءة بيانات الحمولة لمفتاح." #. including KEY_SPEC_REQKEY_AUTH_KEY #. type: Plain text #: debian-trixie msgid "" "The ID of the key whose payload is to be read is specified in I (cast " "to I). This can be the ID of an existing key, or any of the " "special key IDs listed for B." msgstr "" "يُحدّد معرف المفتاح المراد قراءة حمولته في I (مُحوّل إلى I). " "يمكن أن يكون هذا معرف مفتاح موجود، أو أيًا من معرفات المفاتيح الخاصة المدرجة " "لـ B." #. type: Plain text #: debian-trixie msgid "" "The payload is placed in the buffer pointed by I (cast to I); the size of that buffer must be specified in I (cast to " "I)." msgstr "" "توضع الحمولة في المخزن المؤقت الذي يشير إليه I (مُحوّل إلى I)؛ " "ويجب تحديد حجم ذلك المخزن المؤقت في I (مُحوّل إلى I)." #. type: Plain text #: debian-trixie msgid "" "The returned data will be processed for presentation according to the key " "type. For example, a keyring will return an array of I " "entries representing the IDs of all the keys that are linked to it. The " "I key type will return its data as is. If a key type does not " "implement this function, the operation fails with the error B." msgstr "" "ستُعالج البيانات المُرجعة للعرض وفقًا لنوع المفتاح. على سبيل المثال، ستُعيد" " حلقة " "المفاتيح مصفوفة من مدخلات I تمثل معرفات جميع المفاتيح المربوطة " "بها. سيُعيد نوع مفتاح I بياناته كما هي. إذا كان نوع المفتاح لا ينفذ هذه " "الدالة، فستفشل العملية بالخطأ B." #. type: Plain text #: debian-trixie msgid "" "If I is not NULL, as much of the payload data as will fit is copied " "into the buffer. On a successful return, the return value is always the " "total size of the payload data. To determine whether the buffer was of " "sufficient size, check to see that the return value is less than or equal to " "the value supplied in I." msgstr "" "إذا لم يكن I فارغًا (NULL)، فسيُنسخ من بيانات الحمولة قدر ما يتسع في " "المخزن المؤقت. عند الإرجاع الناجح، تكون القيمة المرجعة دائمًا هي الحجم " "الإجمالي لبيانات الحمولة. لتحديد ما إذا كان المخزن المؤقت ذا حجم كافٍ، تحقق " "مما إذا كانت القيمة المرجعة أقل من أو تساوي القيمة المزودة في I." #. type: Plain text #: debian-trixie msgid "" "The key must either grant the caller I permission, or grant the caller " "I permission when searched for from the process keyrings (i.e., the " "key is possessed)." msgstr "" "يجب أن يمنح المفتاح I<المستدعِي> إذن I<قراءة>، أو يمنحه إذن I<بحث> عند البحث " "عنه من حلقات مفاتيح العملية (أي أن المفتاح ممتلك)." #. type: Plain text #: debian-trixie msgid "" "This operation is exposed by I via the function " "B(3)." msgstr "تُعرّض هذه العملية بواسطة I عبر الدالة B(3)." #. type: TP #: debian-trixie #, no-wrap msgid "B (since Linux 2.6.10)" msgstr "B (منذ لينكس 2.6.10)" #. type: Plain text #: debian-trixie msgid "" "(Positively) instantiate an uninstantiated key with a specified payload." msgstr "تجسيد (إيجابي) لمفتاح غير مُجسّد بحمولة محددة." #. type: Plain text #: debian-trixie msgid "" "The ID of the key to be instantiated is provided in I (cast to " "I)." msgstr "" "يُوفّر معرف المفتاح المراد تجسيده في I (مُحوّل إلى I)." #. type: Plain text #: debian-trixie msgid "" "The key payload is specified in the buffer pointed to by I (cast to " "I); the size of that buffer is specified in I (cast to " "I)." msgstr "" "تُحدّد حمولة المفتاح في المخزن المؤقت الذي يشير إليه I (مُحوّل إلى " "I)؛ ويُحدّد حجم ذلك المخزن المؤقت في I (مُحوّل إلى I)." #. type: Plain text #: debian-trixie msgid "" "The payload may be a null pointer and the buffer size may be 0 if this is " "supported by the key type (e.g., it is a keyring)." msgstr "" "قد تكون الحمولة مؤشرًا فارغًا (null) وقد يكون حجم المخزن المؤقت 0 إذا كان ذلك " "مدعومًا من نوع المفتاح (على سبيل المثال، إذا كان حلقة مفاتيح)." #. type: Plain text #: debian-trixie msgid "" "The operation may be fail if the payload data is in the wrong format or is " "otherwise invalid." msgstr "" "قد تفشل العملية إذا كانت بيانات الحمولة بتنسيق خاطئ أو غير صالحة لسبب آخر." #. type: Plain text #: debian-trixie msgid "" "If I (cast to I) is nonzero, then, subject to the same " "constraints and rules as B, the instantiated key is linked into " "the keyring whose ID specified in I." msgstr "" "إذا كان I (مُحوّل إلى I) غير صفري، فبناءً على نفس القيود " "والقواعد مثل B، يُربط المفتاح المُجسّد في حلقة المفاتيح التي" " حُدّد " "معرفها في I." #. type: Plain text #: debian-trixie msgid "" "The caller must have the appropriate authorization key, and once the " "uninstantiated key has been instantiated, the authorization key is revoked. " "In other words, this operation is available only from a B(8)-" "style program. See B(2) for an explanation of uninstantiated " "keys and key instantiation." msgstr "" "يجب أن يمتلك I<المستدعِي> مفتاح الاستيثاق المناسب، وبمجرد تجسيد المفتاح غير " "المُجسّد، يُلغى مفتاح الاستيثاق. بعبارة أخرى، تتوفر هذه العملية فقط من برنامج " "بنمط B(8). انظر B(2) لشرح حول المفاتيح غير" " المُجسّدة " "وتجسيد المفاتيح." #. type: Plain text #: debian-trixie msgid "" "This operation is exposed by I via the function " "B(3)." msgstr "" "تُعرّض هذه العملية بواسطة I عبر الدالة B(3)." #. type: TP #: debian-trixie #, no-wrap msgid "B (since Linux 2.6.10)" msgstr "B (منذ لينكس 2.6.10)" #. type: Plain text #: debian-trixie msgid "Negatively instantiate an uninstantiated key." msgstr "تجسيد سلبي لمفتاح غير مُجسّد." #. type: Plain text #: debian-trixie msgid "This operation is equivalent to the call:" msgstr "هذه العملية مكافئة للاستدعاء:" #. type: Plain text #: debian-trixie #, no-wrap msgid "keyctl(KEYCTL_REJECT, arg2, arg3, ENOKEY, arg4);\n" msgstr "keyctl(KEYCTL_REJECT, arg2, arg3, ENOKEY, arg4);\n" #. type: Plain text #: debian-trixie msgid "" "This operation is exposed by I via the function " "B(3)." msgstr "" "تُعرّض هذه العملية بواسطة I عبر الدالة B(3)." #. type: TP #: debian-trixie #, no-wrap msgid "B (since Linux 2.6.13)" msgstr "B (منذ لينكس 2.6.13)" #. I.e., calls to the kernel's internal request_key() interface, #. which is distinct from the request_key(2) system call (which #. ultimately employs the kernel-internal interface). #. type: Plain text #: debian-trixie msgid "" "Set the default keyring to which implicitly requested keys will be linked " "for this thread, and return the previous setting. Implicit key requests are " "those made by internal kernel components, such as can occur when, for " "example, opening files on an AFS or NFS filesystem. Setting the default " "keyring also has an effect when requesting a key from user space; see " "B(2) for details." msgstr "" "ضبط حلقة المفاتيح الـ I<مبدئية> التي ستُربط بها المفاتيح المطلوبة ضمنيًا لهذا " "الخيط، وإرجاع الإعداد السابق. طلبات المفاتيح الضمنية هي تلك التي تُجريها " "مكونات I<النواة> الداخلية، مثلما يحدث عند فتح ملفات على نظام ملفات AFS أو " "NFS مثلاً. يؤثر ضبط حلقة المفاتيح الـ I<مبدئية> أيضًا عند طلب مفتاح من مساحة " "المستخدم؛ انظر B(2) للتفاصيل." #. type: Plain text #: debian-trixie msgid "" "The I argument (cast to I) should contain one of the following " "values, to specify the new default keyring:" msgstr "" "يجب أن تحتوي وسيطة I (مُحوّلة إلى I) على واحدة من القيم التالية، " "لتحديد حلقة المفاتيح الـ I<مبدئية> الجديدة:" #. type: TP #: debian-trixie #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: debian-trixie msgid "" "Don't change the default keyring. This can be used to discover the current " "default keyring (without changing it)." msgstr "" "عدم تغيير حلقة المفاتيح الـ I<مبدئية>. يمكن استخدام هذا لاكتشاف حلقة " "المفاتيح الـ I<مبدئية> الحالية (دون تغييرها)." #. type: TP #: debian-trixie #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: debian-trixie msgid "" "This selects the default behaviour, which is to use the thread-specific " "keyring if there is one, otherwise the process-specific keyring if there is " "one, otherwise the session keyring if there is one, otherwise the UID-" "specific session keyring, otherwise the user-specific keyring." msgstr "" "يختار هذا السلوك الـ I<مبدئي>، وهو استخدام حلقة المفاتيح الخاصة بالخيط إذا " "وجدت، وإلا فحلقة المفاتيح الخاصة بالعملية إذا وجدت، وإلا فحلقة مفاتيح الجلسة " "إذا وجدت، وإلا فحلقة مفاتيح الجلسة الخاصة بـ UID، وإلا فحلقة المفاتيح الخاصة " "بالمستخدم." #. type: TP #: debian-trixie #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: debian-trixie msgid "" "Use the thread-specific keyring (B(7)) as the new default " "keyring." msgstr "" "استخدام حلقة المفاتيح الخاصة بالخيط (B(7)) كحلقة مفاتيح " "I<مبدئية> جديدة." #. type: TP #: debian-trixie #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: debian-trixie msgid "" "Use the process-specific keyring (B(7)) as the new default " "keyring." msgstr "" "استخدام حلقة المفاتيح الخاصة بالعملية (B(7)) كحلقة مفاتيح " "I<مبدئية> جديدة." #. type: TP #: debian-trixie #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: debian-trixie msgid "" "Use the session-specific keyring (B(7)) as the new default " "keyring." msgstr "" "استخدام حلقة مفاتيح الجلسة (B(7)) كحلقة مفاتيح I<مبدئية> " "جديدة." #. type: TP #: debian-trixie #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: debian-trixie msgid "" "Use the UID-specific keyring (B(7)) as the new default " "keyring." msgstr "" "استخدام حلقة المفاتيح الخاصة بـ UID (B(7)) كحلقة مفاتيح " "I<مبدئية> جديدة." #. type: TP #: debian-trixie #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: debian-trixie msgid "" "Use the UID-specific session keyring (B(7)) as the " "new default keyring." msgstr "" "استخدام حلقة مفاتيح الجلسة الخاصة بـ UID (B(7)) كحلقة " "مفاتيح I<مبدئية> جديدة." #. type: TP #: debian-trixie #, no-wrap msgid "B (since Linux 2.6.29)" msgstr "B (منذ لينكس 2.6.29)" # # #. 8bbf4976b59fc9fc2861e79cab7beb3f6d647640 #. FIXME The preceding explanation needs to be expanded. #. Is the following correct: #. The requestor keyring is the dest_keyring that #. was supplied to a call to request_key(2)? #. David Howells said: to be checked #. type: Plain text #: debian-trixie msgid "Use the requestor keyring." msgstr "استخدام حلقة مفاتيح طالب الطلب." #. (including the still-unsupported KEY_REQKEY_DEFL_GROUP_KEYRING) #. type: Plain text #: debian-trixie msgid "All other values are invalid." msgstr "جميع القيم الأخرى غير صالحة." #. type: Plain text #: debian-trixie msgid "" "The setting controlled by this operation is inherited by the child of " "B(2) and preserved across B(2)." msgstr "" "يَرث ابن B(2) الإعداد الذي تتحكم فيه هذه العملية ويُحافظ عليه عبر " "B(2)." #. type: Plain text #: debian-trixie msgid "" "This operation is exposed by I via the function " "B(3)." msgstr "" "تُعرّض هذه العملية بواسطة I عبر الدالة " "B(3)." #. type: TP #: debian-trixie #, no-wrap msgid "B (since Linux 2.6.16)" msgstr "B (منذ لينكس 2.6.16)" #. type: Plain text #: debian-trixie msgid "Set a timeout on a key." msgstr "ضبط مهلة زمنية لمفتاح." #. type: Plain text #: debian-trixie msgid "" "The ID of the key is specified in I (cast to I). The " "timeout value, in seconds from the current time, is specified in I " "(cast to I). The timeout is measured against the realtime " "clock." msgstr "" "يُحدّد معرف المفتاح في I (مُحوّل إلى I). تُحدّد قيمة" " المهلة، " "بالثواني من الوقت الحالي، في I (مُحوّل إلى I). تُقاس" " المهلة " "مقابل ساعة الوقت الحقيقي." #. type: Plain text #: debian-trixie msgid "" "Specifying the timeout value as 0 clears any existing timeout on the key." msgstr "تحديد قيمة المهلة بـ 0 يمسح أي مهلة موجودة على المفتاح." #. type: Plain text #: debian-trixie msgid "" "The I file displays the remaining time until each key will " "expire. (This is the only method of discovering the timeout on a key.)" msgstr "" "يعرض ملف I الوقت المتبقي حتى انتهاء صلاحية كل مفتاح. (هذه هي " "الطريقة الوحيدة لاكتشاف المهلة على المفتاح)." #. type: Plain text #: debian-trixie msgid "" "The caller must either have the I permission on the key or hold an " "instantiation authorization token for the key (see B(2))." msgstr "" "يجب أن يمتلك I<المستدعِي> إما إذن I على المفتاح أو يحمل رمز استيثاق " "تجسيد للمفتاح (انظر B(2))." #. type: Plain text #: debian-trixie msgid "" "The key and any links to the key will be automatically garbage collected " "after the timeout expires. Subsequent attempts to access the key will then " "fail with the error B." msgstr "" "سيُجمع المفتاح وأي روابط للمفتاح آليًا (garbage collected) بعد انتهاء المهلة. " "ستفشل المحاولات اللاحقة للوصول إلى المفتاح بالخطأ B." #. type: Plain text #: debian-trixie msgid "" "This operation cannot be used to set timeouts on revoked, expired, or " "negatively instantiated keys." msgstr "" "لا يمكن استخدام هذه العملية لضبط المهل على المفاتيح الملغاة، أو منتهية " "الصلاحية، أو المُجسّدة سلبيًا." #. type: Plain text #: debian-trixie msgid "" "This operation is exposed by I via the function " "B(3)." msgstr "" "تُعرّض هذه العملية بواسطة I عبر الدالة B(3)." #. type: TP #: debian-trixie #, no-wrap msgid "B (since Linux 2.6.16)" msgstr "B (منذ لينكس 2.6.16)" #. type: Plain text #: debian-trixie msgid "" "Assume (or divest) the authority for the calling thread to instantiate a key." msgstr "تولي (أو تجريد) سلطة تجسيد مفتاح لخيط الاستدعاء." #. type: Plain text #: debian-trixie msgid "" "The I argument (cast to I) specifies either a nonzero " "key ID to assume authority, or the value 0 to divest authority." msgstr "" "تُحدّد وسيطة I (مُحوّلة إلى I) إما معرف مفتاح غير صفري" " لتولي " "السلطة، أو القيمة 0 لتجريد السلطة." #. type: Plain text #: debian-trixie msgid "" "If I is nonzero, then it specifies the ID of an uninstantiated key for " "which authority is to be assumed. That key can then be instantiated using " "one of B, B, B, " "or B. Once the key has been instantiated, the thread is " "automatically divested of authority to instantiate the key." msgstr "" "إذا كان I غير صفري، فإنه يحدد معرف مفتاح غير مُجسّد يُراد تولي سلطته. " "يمكن بعد ذلك تجسيد ذلك المفتاح باستخدام أحد B، أو " "B، أو B، أو B. بمجرد " "تجسيد المفتاح، يُجرّد الخيط آليًا من سلطة تجسيد المفتاح." #. type: Plain text #: debian-trixie msgid "" "Authority over a key can be assumed only if the calling thread has present " "in its keyrings the authorization key that is associated with the specified " "key. (In other words, the B operation is available " "only from a B(8)-style program; see B(2) for an " "explanation of how this operation is used.) The caller must have I " "permission on the authorization key." msgstr "" "لا يمكن تولي السلطة على مفتاح إلا إذا كان خيط الاستدعاء يمتلك في حلقات " "مفاتيحه مفتاح الاستيثاق المرتبط بالمفتاح المحدد. (بعبارة أخرى، تتوفر عملية " "B فقط من برنامج بنمط B(8)؛ انظر " "B(2) لشرح كيفية استخدام هذه العملية). يجب أن يمتلك I<المستدعِي> " "إذن I<بحث> على مفتاح الاستيثاق." #. type: Plain text #: debian-trixie msgid "" "If the specified key has a matching authorization key, then the ID of that " "key is returned. The authorization key can be read (B) to " "obtain the callout information passed to B(2)." msgstr "" "إذا كان للمفتاح المحدد مفتاح استيثاق مطابق، فيُرجع معرف ذلك المفتاح. يمكن " "قراءة مفتاح الاستيثاق (B) للحصول على معلومات الاتصال الممررة " "إلى B(2)." #. type: Plain text #: debian-trixie msgid "" "If the ID given in I is 0, then the currently assumed authority is " "cleared (divested), and the value 0 is returned." msgstr "" "إذا كان المعرف المعطى في I هو 0، فتُمسح (تُجرّد) السلطة المتولاة" " حاليًا، " "وتُرجع القيمة 0." #. type: Plain text #: debian-trixie msgid "" "The B mechanism allows a program such as B(8) to assume the necessary authority to instantiate a new " "uninstantiated key that was created as a consequence of a call to " "B(2). For further information, see B(2) and the " "kernel source file I." msgstr "" "تسمح آلية B لبرنامج مثل B(8) بتولي " "السلطة اللازمة لتجسيد مفتاح جديد غير مُجسّد أُنشئ نتيجة لاستدعاء " "B(2). لمزيد من المعلومات، انظر B(2) وملف مصدر " "I<النواة> I." #. type: Plain text #: debian-trixie msgid "" "This operation is exposed by I via the function " "B(3)." msgstr "" "تُعرّض هذه العملية بواسطة I عبر الدالة " "B(3)." #. type: TP #: debian-trixie #, no-wrap msgid "B (since Linux 2.6.26)" msgstr "B (منذ لينكس 2.6.26)" #. commit 70a5bb72b55e82fbfbf1e22cae6975fac58a1e2d #. type: Plain text #: debian-trixie msgid "" "Get the LSM (Linux Security Module) security label of the specified key." msgstr "الحصول على لصيقة أمان LSM (وحدة أمان لينكس) للمفتاح المحدد." #. type: Plain text #: debian-trixie msgid "" "The ID of the key whose security label is to be fetched is specified in " "I (cast to I). The security label (terminated by a null " "byte) will be placed in the buffer pointed to by I argument (cast to " "I); the size of the buffer must be provided in I (cast to " "I)." msgstr "" "يُحدّد معرف المفتاح المراد جلب لصيقة أمانه في I (مُحوّل إلى " "I). توضع لصيقة الأمان (التي تنتهي ببايت null) في المخزن المؤقت " "الذي تشير إليه وسيطة I (مُحوّلة إلى I)؛ ويجب تقديم حجم المخزن " "المؤقت في I (مُحوّل إلى I)." #. type: Plain text #: debian-trixie msgid "" "If I is specified as NULL or the buffer size specified in I is " "too small, the full size of the security label string (including the " "terminating null byte) is returned as the function result, and nothing is " "copied to the buffer." msgstr "" "إذا حُدّد I كـ NULL أو كان حجم المخزن المؤقت المحدد في I صغيرًا " "جدًا، فيُرجع الحجم الكامل لسلسلة لصيقة الأمان (بما في ذلك بايت الإنهاء null) " "كـ نتيجة للدالة، ولا يُنسخ أي شيء إلى المخزن المؤقت." #. type: Plain text #: debian-trixie msgid "The caller must have I permission on the specified key." msgstr "يجب أن يمتلك I<المستدعِي> إذن I<عرض> على المفتاح المحدد." #. type: Plain text #: debian-trixie msgid "" "The returned security label string will be rendered in a form appropriate to " "the LSM in force. For example, with SELinux, it may look like:" msgstr "" "ستُعرض سلسلة لصيقة الأمان المُرجعة بصيغة مناسبة لـ LSM المعمول به. على سبيل " "المثال، مع SELinux، قد تبدو كالتالي:" #. type: Plain text #: debian-trixie #, no-wrap msgid "unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023\n" msgstr "unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023\n" #. type: Plain text #: debian-trixie msgid "" "If no LSM is currently in force, then an empty string is placed in the " "buffer." msgstr "" "إذا لم يكن هناك LSM معمول به حاليًا، فتوضع سلسلة فارغة في المخزن المؤقت." #. type: Plain text #: debian-trixie msgid "" "This operation is exposed by I via the functions " "B(3) and B(3)." msgstr "" "تُعرّض هذه العملية بواسطة I عبر الدالتين " "B(3) و B(3)." #. type: TP #: debian-trixie #, no-wrap msgid "B (since Linux 2.6.32)" msgstr "B (منذ لينكس 2.6.32)" #. commit ee18d64c1f632043a02e6f5ba5e045bb26a5465f #. What is the use case for KEYCTL_SESSION_TO_PARENT? #. David Howells: the Process Authentication Groups people requested this, #. but then didn't use it; maybe there are no users. #. type: Plain text #: debian-trixie msgid "" "Replace the session keyring to which the I of the calling process " "subscribes with the session keyring of the calling process." msgstr "" "استبدال حلقة مفاتيح الجلسة التي يشترك فيها I<والد> عملية الاستدعاء بحلقة " "مفاتيح الجلسة لعملية الاستدعاء." #. type: Plain text #: debian-trixie msgid "" "The keyring will be replaced in the parent process at the point where the " "parent next transitions from kernel space to user space." msgstr "" "ستُستبدل حلقة المفاتيح في العملية الأب عند النقطة التي تنتقل فيها العملية " "الأب المرة القادمة من مساحة النواة إلى مساحة المستخدم." #. type: Plain text #: debian-trixie msgid "" "The keyring must exist and must grant the caller I permission. The " "parent process must be single-threaded and have the same effective ownership " "as this process and must not be set-user-ID or set-group-ID. The UID of the " "parent process's existing session keyring (f it has one), as well as the UID " "of the caller's session keyring much match the caller's effective UID." msgstr "" "يجب أن تكون حلقة المفاتيح موجودة ويجب أن تمنح المستدعِي I إذن الربط. " "يجب أن تكون العملية الأب أحادية الخيوط ولها نفس الملكية الفعلية لهذه " "العملية، ويجب ألا تكون مضبوطة بمعرف مستخدم (set-user-ID) أو معرف مجموعة (set-" "group-ID). ويجب أن يتطابق معرف المستخدم (UID) لحلقة مفاتيح الجلسة الحالية " "للعملية الأب (إن وُجدت)، وكذلك معرف المستخدم لحلقة مفاتيح جلسة المستدعِي مع " "معرف المستخدم الفعلي للمستدعِي." #. type: Plain text #: debian-trixie msgid "" "The fact that it is the parent process that is affected by this operation " "allows a program such as the shell to start a child process that uses this " "operation to change the shell's session keyring. (This is what the " "B(1) B command does.)" msgstr "" "حقيقة أن العملية الأب هي التي تتأثر بهذه العملية تسمح لبرنامج مثل الصدفة " "ببدء عملية ابن تستخدم هذه العملية لتغيير حلقة مفاتيح جلسة الصدفة. (هذا هو ما " "يفعله أمر B في B(1).)" #. type: Plain text #: debian-trixie msgid "The arguments I, I, I, and I are ignored." msgstr "تُتجاهل المعاملات I و I و I و I." #. type: Plain text #: debian-trixie msgid "" "This operation is exposed by I via the function " "B(3)." msgstr "" "تُوفر هذه العملية عبر I من خلال الدالة " "B(3)." #. type: TP #: debian-trixie #, no-wrap msgid "B (since Linux 2.6.39)" msgstr "B (منذ لينكس 2.6.39)" #. commit fdd1b94581782a2ddf9124414e5b7a5f48ce2f9c #. type: Plain text #: debian-trixie msgid "" "Mark a key as negatively instantiated and set an expiration timer on the " "key. This operation provides a superset of the functionality of the earlier " "B operation." msgstr "" "وسم مفتاح بأنه مُنشأ سلبًا وضبط مؤقت انتهاء صلاحية للمفتاح. توفر هذه العملية " "مجموعة موسعة من وظائف عملية B السابقة." #. type: Plain text #: debian-trixie msgid "" "The ID of the key that is to be negatively instantiated is specified in " "I (cast to I). The I (cast to I) " "argument specifies the lifetime of the key, in seconds. The I " "argument (cast to I) specifies the error to be returned when " "a search hits this key; typically, this is one of B, " "B, or B." msgstr "" "يُحدد معرف المفتاح المراد إنشاؤه سلبًا في I (بتحويله إلى " "I). ويحدد المعامل I (بتحويله إلى I) عمر " "المفتاح بالثواني. ويحدد المعامل I (بتحويله إلى I) الخطأ " "الذي سيُرجع عندما يصادف البحث هذا المفتاح؛ وعادة ما يكون أحد الأخطاء " "B أو B أو B." #. type: Plain text #: debian-trixie msgid "" "If I (cast to I) is nonzero, then, subject to the same " "constraints and rules as B, the negatively instantiated key is " "linked into the keyring whose ID is specified in I." msgstr "" "إذا كانت قيمة I (بتحويلها إلى I) غير صفرية، فوفقًا لنفس " "القيود والقواعد الخاصة بـ B، يُربط المفتاح المنشأ سلبًا في حلقة " "المفاتيح التي حُدد معرفها في I." #. type: Plain text #: debian-trixie msgid "" "The caller must have the appropriate authorization key. In other words, " "this operation is available only from a B(8)-style program. " "See B(2)." msgstr "" "يجب أن يمتلك المستدعِي مفتاح الاستيثاق المناسب. بعبارة أخرى، تتوفر هذه " "العملية فقط من برنامج بأسلوب B(8). انظر B(2)." #. type: Plain text #: debian-trixie msgid "" "This operation is exposed by I via the function " "B(3)." msgstr "" "تُوفر هذه العملية عبر I من خلال الدالة B(3)." #. type: TP #: debian-trixie #, no-wrap msgid "B (since Linux 2.6.39)" msgstr "B (منذ لينكس 2.6.39)" #. commit ee009e4a0d4555ed522a631bae9896399674f063 #. type: Plain text #: debian-trixie msgid "" "Instantiate an uninstantiated key with a payload specified via a vector of " "buffers." msgstr "إنشاء مفتاح غير مُنشأ بحمولة محددة عبر متجه من المخازن المؤقتة." #. type: Plain text #: debian-trixie msgid "" "This operation is the same as B, but the payload data is " "specified as an array of I structures (see B(3type))." msgstr "" "هذه العملية هي نفسها B، ولكن تُحدد بيانات الحمولة كمصفوفة " "من هياكل I (انظر B(3type))." #. type: Plain text #: debian-trixie #| msgid "" #| "The pointer to the payload vector is specified in I (cast as " #| "I). The number of items in the vector is " #| "specified in I (cast as I)." msgid "" "The pointer to the payload vector is specified in I (cast as I). The number of items in the vector is specified in " "I (cast as I)." msgstr "" "يُحدد المؤشر إلى متجه الحمولة في I (بتحويله إلى I). ويُحدد عدد العناصر في المتجه في I (بتحويله إلى I)." #. type: Plain text #: debian-trixie msgid "" "The I (key ID) and I (keyring ID) are interpreted as for " "B." msgstr "" "يُفسر I (معرف المفتاح) و I (معرف حلقة المفاتيح) كما في " "B." #. type: Plain text #: debian-trixie msgid "" "This operation is exposed by I via the function " "B(3)." msgstr "" "تُوفر هذه العملية عبر I من خلال الدالة " "B(3)." #. type: TP #: debian-trixie #, no-wrap msgid "B (since Linux 3.5)" msgstr "B (منذ لينكس 3.5)" #. commit fd75815f727f157a05f4c96b5294a4617c0557da #. type: Plain text #: debian-trixie msgid "Mark a key as invalid." msgstr "وسم مفتاح بأنه غير صالح." #. type: Plain text #: debian-trixie msgid "" "The ID of the key to be invalidated is specified in I (cast to " "I)." msgstr "" "يُحدد معرف المفتاح المراد إبطاله في I (بتحويله إلى I)." #. CAP_SYS_ADMIN is permitted to invalidate certain special keys #. type: Plain text #: debian-trixie msgid "" "To invalidate a key, the caller must have I permission on the key." msgstr "لإبطال مفتاح، يجب أن يمتلك المستدعِي إذن البحث I على المفتاح." #. type: Plain text #: debian-trixie msgid "" "This operation marks the key as invalid and schedules immediate garbage " "collection. The garbage collector removes the invalidated key from all " "keyrings and deletes the key when its reference count reaches zero. After " "this operation, the key will be ignored by all searches, even if it is not " "yet deleted." msgstr "" "تسم هذه العملية المفتاح بأنه غير صالح وتجدول الجمع الفوري للمهملات. يزيل " "جامع المهملات المفتاح المبطل من جميع حلقات المفاتيح ويحذفه عندما يصل عداد " "مرجعه إلى صفر. بعد هذه العملية، سيُتجاهل المفتاح في جميع عمليات البحث، حتى لو " "لم يُحذف بعد." #. type: Plain text #: debian-trixie msgid "" "Keys that are marked invalid become invisible to normal key operations " "immediately, though they are still visible in I (marked with an " "'i' flag) until they are actually removed." msgstr "" "تصبح المفاتيح الموسومة بأنها غير صالحة غير مرئية لعمليات المفاتيح العادية " "فورًا، على الرغم من أنها تظل مرئية في I (موسومة بالعلامة 'i') حتى " "تُزال فعليًا." #. type: Plain text #: debian-trixie msgid "" "This operation is exposed by I via the function " "B(3)." msgstr "" "تُوفر هذه العملية عبر I من خلال الدالة B(3)." #. type: TP #: debian-trixie #, no-wrap msgid "B (since Linux 3.13)" msgstr "B (منذ لينكس 3.13)" #. commit f36f8c75ae2e7d4da34f4c908cebdb4aa42c977e #. type: Plain text #: debian-trixie msgid "" "Get the persistent keyring (B(7)) for a specified user " "and link it to a specified keyring." msgstr "" "الحصول على حلقة المفاتيح المستمرة (B(7)) لمستخدم محدد " "وربطها بحلقة مفاتيح محددة." #. type: Plain text #: debian-trixie msgid "" "The user ID is specified in I (cast to I). If the value -1 is " "specified, the caller's real user ID is used. The ID of the destination " "keyring is specified in I (cast to I)." msgstr "" "يُحدد معرف المستخدم في I (بتحويله إلى I). إذا حُددت القيمة -1، " "سيُستخدم معرف المستخدم الحقيقي للمستدعِي. ويُحدد معرف حلقة المفاتيح الوجهة في " "I (بتحويله إلى I)." #. type: Plain text #: debian-trixie msgid "" "The caller must have the B capability in its user namespace in " "order to fetch the persistent keyring for a user ID that does not match " "either the real or effective user ID of the caller." msgstr "" "يجب أن يمتلك المستدعِي قدرة B في مساحة اسم المستخدم الخاصة به من " "أجل جلب حلقة المفاتيح المستمرة لمعرف مستخدم لا يتطابق مع معرف المستخدم " "الحقيقي أو الفعلي للمستدعِي." #. type: Plain text #: debian-trixie msgid "" "If the call is successful, a link to the persistent keyring is added to the " "keyring whose ID was specified in I." msgstr "" "إذا كان الاستدعاء ناجحًا، يُضاف رابط لحلقة المفاتيح المستمرة إلى حلقة" " المفاتيح " "التي حُدد معرفها في I." #. type: Plain text #: debian-trixie msgid "" "The persistent keyring will be created by the kernel if it does not yet " "exist." msgstr "ستُنشئ النواة حلقة المفاتيح المستمرة إذا لم تكن موجودة بعد." #. type: Plain text #: debian-trixie msgid "" "Each time the B operation is performed, the " "persistent keyring will have its expiration timeout reset to the value in:" msgstr "" "في كل مرة تُجرى فيها عملية B، ستُصفر مهلة انتهاء" " صلاحية " "حلقة المفاتيح المستمرة إلى القيمة الموجودة في:" #. type: Plain text #: debian-trixie #, no-wrap msgid "/proc/sys/kernel/keys/persistent_keyring_expiry\n" msgstr "/proc/sys/kernel/keys/persistent_keyring_expiry\n" #. type: Plain text #: debian-trixie msgid "" "Should the timeout be reached, the persistent keyring will be removed and " "everything it pins can then be garbage collected." msgstr "" "في حال الوصول إلى المهلة، ستُزال حلقة المفاتيح المستمرة ويمكن حينها جمع كل ما " "ثبّتته كمهملات." #. type: Plain text #: debian-trixie msgid "Persistent keyrings were added in Linux 3.13." msgstr "أضيفت حلقات المفاتيح المستمرة في لينكس 3.13." #. type: Plain text #: debian-trixie msgid "" "This operation is exposed by I via the function " "B(3)." msgstr "" "تُوفر هذه العملية عبر I من خلال الدالة " "B(3)." #. type: TP #: debian-trixie #, no-wrap msgid "B (since Linux 4.7)" msgstr "B (منذ لينكس 4.7)" #. commit ddbb41148724367394d0880c516bfaeed127b52e #. type: Plain text #: debian-trixie msgid "" "Compute a Diffie-Hellman shared secret or public key, optionally applying " "key derivation function (KDF) to the result." msgstr "" "حساب سر مشترك أو مفتاح عام بطريقة ديفي-هيلمان (Diffie-Hellman)، مع إمكانية " "تطبيق دالة اشتقاق مفاتيح (KDF) على النتيجة اختياريا." #. type: Plain text #: debian-trixie msgid "" "The I argument is a pointer to a set of parameters containing serial " "numbers for three I<\\[dq]user\\[dq]> keys used in the Diffie-Hellman " "calculation, packaged in a structure of the following form:" msgstr "" "المعامل I هو مؤشر إلى مجموعة من المعلمات تحتوي على الأرقام التسلسلية " "لثلاثة مفاتيح \"مستخدم\" تُستخدم في حساب ديفي-هيلمان، ومُعبأة في هيكل بالصيغة " "التالية:" #. type: Plain text #: debian-trixie #, no-wrap msgid "" "struct keyctl_dh_params {\n" " int32_t private; /* The local private key */\n" " int32_t prime; /* The prime, known to both parties */\n" " int32_t base; /* The base integer: either a shared\n" " generator or the remote public key */\n" "};\n" msgstr "" "struct keyctl_dh_params {\n" " int32_t private; /* المفتاح الخاص المحلي */\n" " int32_t prime; /* العدد الأولي، المعروف لكلا الطرفين */\n" " int32_t base; /* العدد الأساسي: إما المولد المشترك\n" " أو المفتاح العام للطرف الآخر */\n" "};\n" #. type: Plain text #: debian-trixie msgid "" "Each of the three keys specified in this structure must grant the caller " "I permission. The payloads of these keys are used to calculate the " "Diffie-Hellman result as:" msgstr "" "يجب أن يمنح كل مفتاح من المفاتيح الثلاثة المحددة في هذا الهيكل إذن القراءة " "I للمستدعِي. تُستخدم حمولات هذه المفاتيح لحساب نتيجة ديفي-هيلمان" " كالتالي:" #. type: Plain text #: debian-trixie #, no-wrap msgid "base \\[ha] private mod prime\n" msgstr "base \\[ha] private mod prime\n" #. type: Plain text #: debian-trixie msgid "" "If the base is the shared generator, the result is the local public key. If " "the base is the remote public key, the result is the shared secret." msgstr "" "إذا كان الأساس هو المولد المشترك، فالنتيجة هي المفتاح العام المحلي. وإذا كان " "الأساس هو المفتاح العام للطرف الآخر، فالنتيجة هي السر المشترك." #. type: Plain text #: debian-trixie #| msgid "" #| "The I argument (cast to I) points to a buffer where the " #| "result of the calculation is placed. The size of that buffer is " #| "specified in I (cast to I)." msgid "" "The I argument (cast to I) points to a buffer where the " "result of the calculation is placed. The size of that buffer is specified " "in I (cast to I)." msgstr "" "يشير المعامل I (بتحويله إلى I) إلى مخزن مؤقت حيث توضع نتيجة " "الحساب. ويُحدد حجم ذلك المخزن في I (بتحويله إلى I)." #. type: Plain text #: debian-trixie msgid "" "The buffer must be large enough to accommodate the output data, otherwise an " "error is returned. If I is specified zero, in which case the buffer " "is not used and the operation returns the minimum required buffer size (i." "e., the length of the prime)." msgstr "" "يجب أن يكون المخزن المؤقت كبيرًا بما يكفي لاستيعاب بيانات المخرجات، وإلا " "سيُرجع خطأ. إذا حُدد I بصفر، فلا يُستخدم المخزن المؤقت وتُرجع العملية" " أقل " "حجم مخزن مطلوب (أي طول العدد الأولي)." #. type: Plain text #: debian-trixie msgid "" "Diffie-Hellman computations can be performed in user space, but require a " "multiple-precision integer (MPI) library. Moving the implementation into " "the kernel gives access to the kernel MPI implementation, and allows access " "to secure or acceleration hardware." msgstr "" "يمكن إجراء حسابات ديفي-هيلمان في مساحة المستخدم، ولكنها تتطلب مكتبة أعداد " "صحيحة متعددة الدقة (MPI). يوفر نقل التنفيذ إلى النواة وصولاً إلى تنفيذ MPI " "الخاص بالنواة، ويسمح بالوصول إلى أجهزة آمنة أو مسرعة." #. commit f1c316a3ab9d24df6022682422fe897492f2c0c8 #. type: Plain text #: debian-trixie msgid "" "Adding support for DH computation to the B() system call was " "considered a good fit due to the DH algorithm's use for deriving shared " "keys; it also allows the type of the key to determine which DH " "implementation (software or hardware) is appropriate." msgstr "" "اعتبرت إضافة دعم حساب DH إلى استدعاء النظام B() مناسبة بسبب استخدام " "خوارزمية DH لاشتقاق المفاتيح المشتركة؛ كما أنها تسمح لنوع المفتاح بتحديد " "تنفيذ DH المناسب (سواء كان برمجياً أو مادياً)." #. type: Plain text #: debian-trixie msgid "" "If the I argument is B, then the DH result itself is returned. " "Otherwise (since Linux 4.12), it is a pointer to a structure which specifies " "parameters of the KDF operation to be applied:" msgstr "" "إذا كان المعامل I هو B، فستُرجع نتيجة DH نفسها. وإلا (منذ لينكس " "4.12)، فإنه يكون مؤشراً إلى هيكل يحدد معلمات عملية KDF المراد تطبيقها:" #. type: Plain text #: debian-trixie #, no-wrap msgid "" "struct keyctl_kdf_params {\n" " char *hashname; /* Hash algorithm name */\n" " char *otherinfo; /* SP800-56A OtherInfo */\n" " __u32 otherinfolen; /* Length of otherinfo data */\n" " __u32 __spare[8]; /* Reserved */\n" "};\n" msgstr "" "struct keyctl_kdf_params {\n" " char *hashname; /* اسم خوارزمية التلبيد */\n" " char *otherinfo; /* معلومات أخرى SP800-56A */\n" " __u32 otherinfolen; /* طول بيانات otherinfo */\n" " __u32 __spare[8]; /* محجوز */\n" "};\n" #. type: Plain text #: debian-trixie msgid "" "The I field is a null-terminated string which specifies a hash " "name (available in the kernel's crypto API; the list of the hashes available " "is rather tricky to observe; please refer to the E<.UR https://www.kernel." "org\\:/doc\\:/html\\:/latest\\:/crypto\\:/architecture.html> \"Kernel Crypto " "API Architecture\" E<.UE> documentation for the information regarding how " "hash names are constructed and your kernel's source and configuration " "regarding what ciphers and templates with type B are " "available) to be applied to DH result in KDF operation." msgstr "" "حقل I هو سلسلة منتهية بصفر تحدد اسم التلبيد (المتوفر في واجهة " "برمجة تطبيقات التعمية للنواة؛ من الصعب ملاحظة قائمة التلبيدات المتوفرة؛ يرجى " "الرجوع إلى وثائق E<.UR https://www.kernel.org\\:/doc\\:/html\\:/latest\\:/" "crypto\\:/architecture.html> \"هيكلية واجهة برمجة تطبيقات التعمية للنواة\" " "E<.UE> للحصول على معلومات حول كيفية بناء أسماء التلبيد ومصدر النواة والضبط " "الخاص بك فيما يتعلق بالشيفرات والقوالب المتوفرة من نوع " "B) ليُطبق على نتيجة DH في عملية KDF." #. type: Plain text #: debian-trixie msgid "" "The I field is an I data as described in SP800-56A " "section 5.8.1.2 and is algorithm-specific. This data is concatenated with " "the result of DH operation and is provided as an input to the KDF " "operation. Its size is provided in the I field and is limited " "by B constant that defined in I to a value of 64." msgstr "" "حقل I هو بيانات I كما هو موضح في SP800-56A القسم " "5.8.1.2 وهو خاص بالخوارزمية. تُدمج هذه البيانات مع نتيجة عملية DH وتُقدم" " كمدخل " "لعملية KDF. ويُحدد حجمها في حقل I وهو محدود بالثابت " "B المعرف في I بقيمة 64." #. commit 4f9dabfaf8df971f8a3b6aa324f8f817be38d538 #. type: Plain text #: debian-trixie msgid "" "The B<__spare> field is currently unused. It was ignored until Linux 4.13 " "(but still should be user-addressable since it is copied to the kernel), and " "should contain zeros since Linux 4.13." msgstr "" "حقل B<__spare> غير مستخدم حالياً. كان يُتجاهل حتى لينكس 4.13 (ولكن يجب أن يظل " "قابلاً للعنونة من قبل المستخدم لأنه يُنسخ إلى النواة)، ويجب أن يحتوي على" " أصفار " "منذ لينكس 4.13." #. type: Plain text #: debian-trixie msgid "" "The KDF implementation complies with SP800-56A as well as with SP800-108 " "(the counter KDF)." msgstr "يتوافق تنفيذ KDF مع SP800-56A وكذلك مع SP800-108 (KDF العداد)." #. keyutils commit 742c9d7b94051d3b21f9f61a73ed6b5f3544cb82 #. keyutils commit d68a981e5db41d059ac782071c35d1e8f3aaf61c #. type: Plain text #: debian-trixie msgid "" "This operation is exposed by I (from I 1.5.10 " "onwards) via the functions B(3) and " "B(3)." msgstr "" "تُوفر هذه العملية عبر I (من الإصدار 1.5.10 وما بعده) من خلال " "الدوال B(3) و B(3)." #. type: TP #: debian-trixie #, no-wrap msgid "B (since Linux 4.12)" msgstr "B (منذ لينكس 4.12)" #. commit 6563c91fd645556c7801748f15bc727c77fcd311 #. commit 7228b66aaf723a623e578aa4db7d083bb39546c9 #. type: Plain text #: debian-trixie msgid "" "Apply a key-linking restriction to the keyring with the ID provided in " "I (cast to I). The caller must have I " "permission on the key. If I is NULL, any attempt to add a key to the " "keyring is blocked; otherwise it contains a pointer to a string with a key " "type name and I contains a pointer to string that describes the type-" "specific restriction. As of Linux 4.12, only the type \"asymmetric\" has " "restrictions defined:" msgstr "" "تطبيق قيد على ربط المفاتيح بحلقة المفاتيح ذات المعرف المقدم في I " "(بتحويله إلى I). يجب أن يمتلك المستدعِي إذن I على " "المفتاح. إذا كان I هو NULL، فستُحظر أي محاولة لإضافة مفتاح إلى حلقة " "المفاتيح؛ وإلا فإنه يحتوي على مؤشر لسلسلة بها اسم نوع المفتاح ويحتوي I " "على مؤشر لسلسلة تصف القيد الخاص بالنوع. بدءاً من لينكس 4.12، حُددت قيود لنوع " "\"asymmetric\" (غير المتماثل) فقط:" #. type: TP #: debian-trixie #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: debian-trixie msgid "" "Allows only keys that are signed by a key linked to the built-in keyring (\"." "builtin_trusted_keys\")." msgstr "" "يسمح فقط بالمفاتيح الموقعة بمفتاح مرتبط بحلقة المفاتيح المضمنة (\"." "builtin_trusted_keys\")." #. type: TP #: debian-trixie #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: debian-trixie msgid "" "Allows only keys that are signed by a key linked to the secondary keyring " "(\".secondary_trusted_keys\") or, by extension, a key in a built-in keyring, " "as the latter is linked to the former." msgstr "" "يسمح فقط بالمفاتيح الموقعة بمفتاح مرتبط بحلقة المفاتيح الثانوية (\"." "secondary_trusted_keys\") أو، بالتبعية، مفتاح في حلقة مفاتيح مضمنة، بما أن " "الأخيرة مرتبطة بالأولى." #. type: TP #: debian-trixie #, no-wrap msgid "BI" msgstr "BI" #. type: TQ #: debian-trixie #, no-wrap msgid "BIB<:chain>" msgstr "BIB<:chain>" #. type: Plain text #: debian-trixie msgid "" "If I specifies the ID of a key of type \"asymmetric\", then only keys " "that are signed by this key are allowed." msgstr "" "إذا حدد I معرف مفتاح من نوع \"asymmetric\"، فسيُسمح فقط بالمفاتيح " "الموقعة بهذا المفتاح." #. type: Plain text #: debian-trixie msgid "" "If I specifies the ID of a keyring, then only keys that are signed by a " "key linked to this keyring are allowed." msgstr "" "إذا حدد I معرف حلقة مفاتيح، فسيُسمح فقط بالمفاتيح الموقعة بمفتاح مرتبط " "بحلقة المفاتيح هذه." #. type: Plain text #: debian-trixie msgid "" "If \":chain\" is specified, keys that are signed by a keys linked to the " "destination keyring (that is, the keyring with the ID specified in the " "I argument) are also allowed." msgstr "" "إذا حُدد \":chain\"، فسيُسمح أيضًا بالمفاتيح الموقعة بمفاتيح مرتبطة بحلقة " "المفاتيح الوجهة (أي حلقة المفاتيح ذات المعرف المحدد في المعامل I)." #. type: Plain text #: debian-trixie msgid "" "Note that a restriction can be configured only once for the specified " "keyring; once a restriction is set, it can't be overridden." msgstr "" "لاحظ أنه يمكن ضبط قيد مرة واحدة فقط لحلقة المفاتيح المحددة؛ وبمجرد ضبط " "القيد، لا يمكن تجاوزه." #. FIXME Document KEYCTL_RESTRICT_KEYRING, added in Linux 4.12 #. commit 6563c91fd645556c7801748f15bc727c77fcd311 #. Author: Mat Martineau #. See Documentation/security/keys.txt #. type: Plain text #: debian-trixie msgid "The argument I is ignored." msgstr "يُتجاهل المعامل I." #. type: Plain text #: debian-trixie msgid "For a successful call, the return value depends on the operation:" msgstr "في حالة الاستدعاء الناجح، تعتمد قيمة الإرجاع على العملية:" #. type: TP #: debian-trixie #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: debian-trixie msgid "The ID of the requested keyring." msgstr "معرف حلقة المفاتيح المطلوبة." #. type: TP #: debian-trixie #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: debian-trixie msgid "The ID of the joined session keyring." msgstr "معرف حلقة مفاتيح الجلسة التي انُضم إليها." #. type: TP #: debian-trixie #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: debian-trixie msgid "" "The size of the description (including the terminating null byte), " "irrespective of the provided buffer size." msgstr "" "حجم الوصف (بما في ذلك البايت الصفري المنتهي)، بغض النظر عن حجم المخزن المؤقت " "المقدم." #. type: TP #: debian-trixie #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: debian-trixie msgid "The ID of the key that was found." msgstr "معرف المفتاح الذي عُثر عليه." #. type: TP #: debian-trixie #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: debian-trixie msgid "" "The amount of data that is available in the key, irrespective of the " "provided buffer size." msgstr "" "كمية البيانات المتوفرة في المفتاح، بغض النظر عن حجم المخزن المؤقت المقدم." #. type: TP #: debian-trixie #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: debian-trixie msgid "" "The ID of the previous default keyring to which implicitly requested keys " "were linked (one of B)." msgstr "" "معرف حلقة المفاتيح المبدئية السابقة التي كانت المفاتيح المطلوبة ضمنيًا تُرتبط " "بها (أحد B)." #. type: TP #: debian-trixie #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: debian-trixie msgid "" "Either 0, if the ID given was 0, or the ID of the authorization key matching " "the specified key, if a nonzero key ID was provided." msgstr "" "إما 0، إذا كان المعرف المعطى 0، أو معرف مفتاح الاستيثاق المطابق للمفتاح " "المحدد، إذا قُدم معرف مفتاح غير صفري." #. type: TP #: debian-trixie #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: debian-trixie msgid "" "The size of the LSM security label string (including the terminating null " "byte), irrespective of the provided buffer size." msgstr "" "حجم سلسلة لصيقة أمان LSM (بما في ذلك البايت الصفري المنتهي)، بغض النظر عن " "حجم المخزن المؤقت المقدم." #. type: TP #: debian-trixie #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: debian-trixie msgid "The ID of the persistent keyring." msgstr "معرف حلقة المفاتيح المستمرة." #. type: TP #: debian-trixie #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: debian-trixie msgid "" "The number of bytes copied to the buffer, or, if I is 0, the required " "buffer size." msgstr "" "عدد البايتات المنسوخة إلى المخزن المؤقت، أو، إذا كان I هو 0، حجم " "المخزن المؤقت المطلوب." #. type: TP #: debian-trixie #, no-wrap msgid "All other operations" msgstr "جميع العمليات الأخرى" #. type: Plain text #: debian-trixie msgid "Zero." msgstr "صفر." #. type: TP #: debian-trixie #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: debian-trixie msgid "" "I was B and there was an error during crypto " "module initialization." msgstr "" "كانت I هي B وحدث خطأ أثناء تهيئة وحدة التعمية." #. type: TP #: debian-trixie #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: debian-trixie msgid "" "I was B and the requested link would result in a " "cycle." msgstr "" "كانت I هي B والربط المطلوب سيؤدي إلى حلقة مفرغة " "(cycle)." #. type: Plain text #: debian-trixie msgid "" "I was B and the requested keyring " "restriction would result in a cycle." msgstr "" "كانت I هي B وقيد حلقة المفاتيح المطلوب " "سيؤدي إلى حلقة مفرغة." #. type: TP #: debian-trixie #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: debian-trixie msgid "" "I was B and keyring provided in I " "argument already has a restriction set." msgstr "" "كانت I هي B وحلقة المفاتيح المقدمة في " "المعامل I لها قيد مضبوط بالفعل." #. type: TP #: debian-trixie #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: debian-trixie msgid "" "I was B and one of the following has failed:" msgstr "كانت I هي B وفشل أحد الإجراءات التالية:" #. type: Plain text #: debian-trixie msgid "" "copying of the I, provided in the I argument, " "from user space;" msgstr "" "نسخ I، المقدم في المعامل I، من مساحة المستخدم؛" #. type: Plain text #: debian-trixie msgid "" "copying of the I, provided in the non-NULL I " "argument, from user space (in case kernel supports performing KDF operation " "on DH operation result);" msgstr "" "نسخ I، المقدم في المعامل I غير الصفري، من " "مساحة المستخدم (في حال كانت النواة تدعم إجراء عملية KDF على نتيجة عملية DH)؛" #. type: Plain text #: debian-trixie msgid "" "copying of data pointed by the I field of the I from user space;" msgstr "" "نسخ البيانات التي يشير إليها حقل I في I " "من فضاء المستخدم؛" #. type: Plain text #: debian-trixie msgid "" "copying of data pointed by the I field of the I from user space if the I field was nonzero;" msgstr "" "نسخ البيانات التي يشير إليها حقل I في I " "من فضاء المستخدم إذا كان حقل I غير صفري؛" #. type: Plain text #: debian-trixie msgid "copying of the result to user space." msgstr "نسخ النتيجة إلى فضاء المستخدم." #. type: Plain text #: debian-trixie msgid "" "I was B and an invalid permission bit was " "specified in I." msgstr "" "كانت الـ I هي B وحُدِّدت بتة صلاحية غير صالحة في " "I." #. type: Plain text #: debian-trixie msgid "" "I was B and the size of the description in I " "(including the terminating null byte) exceeded 4096 bytes." msgstr "" "كانت الـ I هي B وتجاوز حجم الوصف في I (بما " "في ذلك بايت الإنهاء الفارغ) 4096 بايت." #. type: TP #: debian-trixie #, no-wrap msgid "B (before Linux 4.12)" msgstr "B (قبل لينكس 4.12)" #. type: Plain text #: debian-trixie msgid "I was B, argument I was non-NULL." msgstr "" "كانت الـ I هي B، وكان المعامل I غير فارغ " "(non-NULL)." #. type: Plain text #: debian-trixie msgid "" "I was B And the digest size of the hashing " "algorithm supplied is zero." msgstr "" "كانت الـ I هي B وحجم الخلاصة لخوارزمية التجزئة " "المقدمة صفر." #. type: Plain text #: debian-trixie msgid "" "I was B and the buffer size provided is not " "enough to hold the result. Provide 0 as a buffer size in order to obtain " "the minimum buffer size." msgstr "" "كانت الـ I هي B وحجم المخزن المؤقت المقدم غير " "كافٍ لاستيعاب النتيجة. قدم 0 كحجم للمخزن المؤقت للحصول على الحد الأدنى لحجم " "المخزن المؤقت." #. type: Plain text #: debian-trixie msgid "" "I was B and the hash name provided in the " "I field of the I pointed by I " "argument is too big (the limit is implementation-specific and varies between " "kernel versions, but it is deemed big enough for all valid algorithm names)." msgstr "" "كانت الـ I هي B واسم التجزئة المقدم في حقل " "I لـ I الذي يشير إليه المعامل I " "كبير جداً (هذا الحد يعتمد على التنفيذ ويختلف بين إصدارات النواة، ولكنه يُعد " "كافياً لجميع أسماء الخوارزميات الصالحة)." #. commit 4f9dabfaf8df971f8a3b6aa324f8f817be38d538 #. type: Plain text #: debian-trixie msgid "" "I was B and the I<__spare> field of the " "I provided in the I argument contains " "nonzero values." msgstr "" "كانت الـ I هي B ويحتوي حقل I<__spare> في " "I المقدم في المعامل I على قيم غير صفرية." #. type: TP #: debian-trixie #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: debian-trixie msgid "" "I was B and the requested link would cause the " "maximum nesting depth for keyrings to be exceeded." msgstr "" "كانت الـ I هي B وسيؤدي الرابط المطلوب إلى تجاوز أقصى " "عمق تعشيش لحلقات المفاتيح." #. type: TP #: debian-trixie #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: debian-trixie msgid "" "I was B and the buffer length exceeds " "B (which is 1024 currently) or the " "I field of the I passed in I " "exceeds B (which is 64 currently)." msgstr "" "كانت الـ I هي B وطول المخزن المؤقت يتجاوز " "B (وهو 1024 حالياً) أو يتجاوز حقل I " "في I الممرر في I القيمة " "B (وهي 64 حالياً)." #. type: TP #: debian-trixie #, no-wrap msgid "B (before Linux 3.13)" msgstr "B (قبل لينكس 3.13)" #. commit b2a4df200d570b2c33a57e1ebfa5896e4bc81b69 #. type: Plain text #: debian-trixie msgid "" "I was B and the keyring is full. (Before Linux " "3.13, the available space for storing keyring links was limited to a single " "page of memory; since Linux 3.13, there is no fixed limit.)" msgstr "" "كانت الـ I هي B وحلقة المفاتيح ممتلئة. (قبل لينكس " "3.13، كانت المساحة المتاحة لتخزين روابط حلقات المفاتيح محدودة بصفحة ذاكرة " "واحدة؛ ومنذ لينكس 3.13، لا يوجد حد ثابت)." #. type: TP #: debian-trixie #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: debian-trixie msgid "" "I was B and the key to be unlinked isn't linked to " "the keyring." msgstr "" "كانت الـ I هي B والمفتاح المراد فصله غير مرتبط " "بحلقة المفاتيح." #. type: Plain text #: debian-trixie msgid "" "I was B and the hashing algorithm specified in " "the I field of the I pointed by I " "argument hasn't been found." msgstr "" "كانت الـ I هي B ولم يُعثر على خوارزمية التجزئة " "المحددة في حقل I لـ I الذي يشير إليه " "المعامل I." #. type: Plain text #: debian-trixie msgid "" "I was B and the type provided in I " "argument doesn't support setting key linking restrictions." msgstr "" "كانت الـ I هي B والنوع المقدم في المعامل " "I لا يدعم ضبط قيود ربط المفاتيح." #. type: Plain text #: debian-trixie msgid "" "The value B was specified in I, the key " "specified in I did not exist, and I was zero (meaning don't " "create the key if it didn't exist)." msgstr "" "حُدِّدت القيمة B في I، والمفتاح المحدد في " "I غير موجود، وكان I صفراً (بمعنى عدم إنشاء المفتاح إذا لم يكن " "موجوداً)." #. type: TP #: debian-trixie #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: debian-trixie msgid "" "I was B and the key type does not support reading (e." "g., the type is I<\\[dq]login\\[dq]>)." msgstr "" "كانت الـ I هي B ونوع المفتاح لا يدعم القراءة (على " "سبيل المثال، النوع هو I<\\[dq]login\\[dq]>)." #. type: Plain text #: debian-trixie msgid "" "I was B and the key type does not support updating." msgstr "" "كانت الـ I هي B ونوع المفتاح لا يدعم التحديث." #. type: Plain text #: debian-trixie msgid "" "I was B, the type provided in I " "argument was \"asymmetric\", and the key specified in the restriction " "specification provided in I has type other than \"asymmetric\" or " "\"keyring\"." msgstr "" "كانت الـ I هي B، والنوع المقدم في " "المعامل I هو \"asymmetric\"، والمفتاح المحدد في مواصفات القيد المقدمة " "في I له نوع آخر غير \"asymmetric\" أو \"keyring\"." #. type: TP #: debian-trixie #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: debian-trixie msgid "" "I was B, I specified a UID other " "than the calling thread's real or effective UID, and the caller did not have " "the B capability." msgstr "" "كانت الـ I هي B، وحدد I معرف مستخدم " "(UID) يختلف عن معرف المستخدم الحقيقي أو الفعلي للخيط المستدعِي، ولم يمتلك " "المستدعِي قدرة B." #. type: Plain text #: debian-trixie msgid "" "I was B and either: all of the UIDs " "(GIDs) of the parent process do not match the effective UID (GID) of the " "calling process; the UID of the parent's existing session keyring or the UID " "of the caller's session keyring did not match the effective UID of the " "caller; the parent process is not single-thread; or the parent process is " "B(1) or a kernel thread." msgstr "" "كانت الـ I هي B وإما: أن جميع معرفات " "المستخدم (أو المجموعات) للعملية الأب لا تطابق معرف المستخدم (أو المجموعة) " "الفعلي للعملية المستدعِية؛ أو أن معرف المستخدم لحلقة مفاتيح الجلسة الحالية " "للأب أو معرف المستخدم لحلقة مفاتيح الجلسة للمستدعِي لم يطابق معرف المستخدم " "الفعلي للمستدعِي؛ أو أن العملية الأب ليست وحيدة الخيط؛ أو أن العملية الأب هي " "B(1) أو خيط نواة." #. type: TP #: debian-trixie #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: debian-trixie msgid "" "I was B and the initialization of crypto " "modules has timed out." msgstr "" "كانت الـ I هي B وانتهت مهلة تهيئة وحدات " "التعمية." #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "" "$ B\n" "$ B\n" "$ B\n" "$ B<./t_request_key user mykey somepayloaddata>\n" "Key ID is 20d035bf\n" "$ B\n" msgstr "" "$ B\n" "$ B\n" "$ B\n" "$ B<./t_request_key user mykey somepayloaddata>\n" "Key ID is 20d035bf\n" "$ B\n" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "" "$ B\n" "Time: Mon Nov 7 13:06:47 2016\n" "\\&\n" "Command line arguments:\n" " argv[0]: /sbin/request-key\n" " operation: create\n" " key_to_instantiate: 20d035bf\n" " UID: 1000\n" " GID: 1000\n" " thread_keyring: 0\n" " process_keyring: 0\n" " session_keyring: 256e6a6\n" "\\&\n" "Key description: user;1000;1000;3f010000;mykey\n" "Auth key payload: somepayloaddata\n" "Destination keyring: 256e6a6\n" "Auth key description: .request_key_auth;1000;1000;0b010000;20d035bf\n" msgstr "" "$ B\n" "Time: Mon Nov 7 13:06:47 2016\n" "\\&\n" "Command line arguments:\n" " argv[0]: /sbin/request-key\n" " operation: create\n" " key_to_instantiate: 20d035bf\n" " UID: 1000\n" " GID: 1000\n" " thread_keyring: 0\n" " process_keyring: 0\n" " session_keyring: 256e6a6\n" "\\&\n" "Key description: user;1000;1000;3f010000;mykey\n" "Auth key payload: somepayloaddata\n" "Destination keyring: 256e6a6\n" "Auth key description: .request_key_auth;1000;1000;0b010000;20d035bf\n" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "" "$ B\n" "0256e6a6 I--Q--- 194 perm 3f030000 1000 1000 keyring _ses: 3\n" "20d035bf I--Q--- 1 perm 3f010000 1000 1000 user mykey: 16\n" msgstr "" "$ B\n" "0256e6a6 I--Q--- 194 perm 3f030000 1000 1000 keyring _ses: 3\n" "20d035bf I--Q--- 1 perm 3f010000 1000 1000 user mykey: 16\n" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "" "/* key_instantiate.c */\n" "\\&\n" "#include Eerrno.hE\n" "#include Ekeyutils.hE\n" "#include Estdint.hE\n" "#include Estdio.hE\n" "#include Estdlib.hE\n" "#include Estring.hE\n" "#include Esys/types.hE\n" "#include Etime.hE\n" "\\&\n" "#ifndef KEY_SPEC_REQUESTOR_KEYRING\n" "#define KEY_SPEC_REQUESTOR_KEYRING (-8)\n" "#endif\n" "\\&\n" "int\n" "main(int argc, char *argv[])\n" "{\n" " int akp_size; /* Size of auth_key_payload */\n" " int auth_key;\n" " char dbuf[256];\n" " char auth_key_payload[256];\n" " char *operation;\n" " FILE *fp;\n" " gid_t gid;\n" " uid_t uid;\n" " time_t t;\n" " key_serial_t key_to_instantiate, dest_keyring;\n" " key_serial_t thread_keyring, process_keyring, session_keyring;\n" "\\&\n" " if (argc != 8) {\n" " fprintf(stderr, \"Usage: %s op key uid gid thread_keyring \"\n" " \"process_keyring session_keyring\\[rs]n\"," " argv[0]);\n" " exit(EXIT_FAILURE);\n" " }\n" "\\&\n" " fp = fopen(\"/tmp/key_instantiate.log\", \"w\");\n" " if (fp == NULL)\n" " exit(EXIT_FAILURE);\n" "\\&\n" " setbuf(fp, NULL);\n" "\\&\n" " t = time(NULL);\n" " fprintf(fp, \"Time: %s\\[rs]n\", ctime(&t));\n" "\\&\n" " /*\n" " * The kernel passes a fixed set of arguments to the program\n" " * that it execs; fetch them.\n" " */\n" " operation = argv[1];\n" " key_to_instantiate = atoi(argv[2]);\n" " uid = atoi(argv[3]);\n" " gid = atoi(argv[4]);\n" " thread_keyring = atoi(argv[5]);\n" " process_keyring = atoi(argv[6]);\n" " session_keyring = atoi(argv[7]);\n" "\\&\n" " fprintf(fp, \"Command line arguments:\\[rs]n\");\n" " fprintf(fp, \" argv[0]: %s\\[rs]n\", argv[0]);\n" " fprintf(fp, \" operation: %s\\[rs]n\", operation);\n" " fprintf(fp, \" key_to_instantiate: %jx\\[rs]n\",\n" " (uintmax_t) key_to_instantiate);\n" " fprintf(fp, \" UID: %jd\\[rs]n\", (intmax_t) uid);\n" " fprintf(fp, \" GID: %jd\\[rs]n\", (intmax_t) gid);\n" " fprintf(fp, \" thread_keyring: %jx\\[rs]n\",\n" " (uintmax_t) thread_keyring);\n" " fprintf(fp, \" process_keyring: %jx\\[rs]n\",\n" " (uintmax_t) process_keyring);\n" " fprintf(fp, \" session_keyring: %jx\\[rs]n\",\n" " (uintmax_t) session_keyring);\n" " fprintf(fp, \"\\[rs]n\");\n" "\\&\n" " /*\n" " * Assume the authority to instantiate the key named in argv[2].\n" " */\n" " if (keyctl(KEYCTL_ASSUME_AUTHORITY, key_to_instantiate) == -1) {\n" " fprintf(fp, \"KEYCTL_ASSUME_AUTHORITY failed: %s\\[rs]n\",\n" " strerror(errno));\n" " exit(EXIT_FAILURE);\n" " }\n" "\\&\n" " /*\n" " * Fetch the description of the key that is to be instantiated.\n" " */\n" " if (keyctl(KEYCTL_DESCRIBE, key_to_instantiate,\n" " dbuf, sizeof(dbuf)) == -1) {\n" " fprintf(fp, \"KEYCTL_DESCRIBE failed: %s\\[rs]n\", strerror(errno));\n" " exit(EXIT_FAILURE);\n" " }\n" "\\&\n" " fprintf(fp, \"Key description: %s\\[rs]n\", dbuf);\n" "\\&\n" " /*\n" " * Fetch the payload of the authorization key, which is\n" " * actually the callout data given to request_key().\n" " */\n" " akp_size = keyctl(KEYCTL_READ, KEY_SPEC_REQKEY_AUTH_KEY,\n" " auth_key_payload, sizeof(auth_key_payload));\n" " if (akp_size == -1) {\n" " fprintf(fp, \"KEYCTL_READ failed: %s\\[rs]n\", strerror(errno));\n" " exit(EXIT_FAILURE);\n" " }\n" "\\&\n" " auth_key_payload[akp_size] = \\[aq]\\[rs]0\\[aq];\n" " fprintf(fp, \"Auth key payload: %s\\[rs]n\", auth_key_payload);\n" "\\&\n" " /*\n" " * For interest, get the ID of the authorization key and\n" " * display it.\n" " */\n" " auth_key = keyctl(KEYCTL_GET_KEYRING_ID,\n" " KEY_SPEC_REQKEY_AUTH_KEY);\n" " if (auth_key == -1) {\n" " fprintf(fp, \"KEYCTL_GET_KEYRING_ID failed: %s\\[rs]n\",\n" " strerror(errno));\n" " exit(EXIT_FAILURE);\n" " }\n" "\\&\n" " fprintf(fp, \"Auth key ID: %jx\\[rs]n\", (uintmax_t) auth_key);\n" "\\&\n" " /*\n" " * Fetch key ID for the request_key(2) destination keyring.\n" " */\n" " dest_keyring = keyctl(KEYCTL_GET_KEYRING_ID,\n" " KEY_SPEC_REQUESTOR_KEYRING);\n" " if (dest_keyring == -1) {\n" " fprintf(fp, \"KEYCTL_GET_KEYRING_ID failed: %s\\[rs]n\",\n" " strerror(errno));\n" " exit(EXIT_FAILURE);\n" " }\n" "\\&\n" " fprintf(fp, \"Destination keyring: %jx\\[rs]n\", (uintmax_t)" " dest_keyring);\n" "\\&\n" " /*\n" " * Fetch the description of the authorization key. This\n" " * allows us to see the key type, UID, GID, permissions,\n" " * and description (name) of the key. Among other things,\n" " * we will see that the name of the key is a hexadecimal\n" " * string representing the ID of the key to be instantiated.\n" " */\n" " if (keyctl(KEYCTL_DESCRIBE, KEY_SPEC_REQKEY_AUTH_KEY,\n" " dbuf, sizeof(dbuf)) == -1)\n" " {\n" " fprintf(fp, \"KEYCTL_DESCRIBE failed: %s\\[rs]n\", strerror(errno));\n" " exit(EXIT_FAILURE);\n" " }\n" "\\&\n" " fprintf(fp, \"Auth key description: %s\\[rs]n\", dbuf);\n" "\\&\n" " /*\n" " * Instantiate the key using the callout data that was supplied\n" " * in the payload of the authorization key.\n" " */\n" " if (keyctl(KEYCTL_INSTANTIATE, key_to_instantiate,\n" " auth_key_payload, akp_size + 1, dest_keyring) == -1)\n" " {\n" " fprintf(fp, \"KEYCTL_INSTANTIATE failed: %s\\[rs]n\",\n" " strerror(errno));\n" " exit(EXIT_FAILURE);\n" " }\n" "\\&\n" " exit(EXIT_SUCCESS);\n" "}\n" msgstr "" "/* key_instantiate.c */\n" "\\&\n" "#include Eerrno.hE\n" "#include Ekeyutils.hE\n" "#include Estdint.hE\n" "#include Estdio.hE\n" "#include Estdlib.hE\n" "#include Estring.hE\n" "#include Esys/types.hE\n" "#include Etime.hE\n" "\\&\n" "#ifndef KEY_SPEC_REQUESTOR_KEYRING\n" "#define KEY_SPEC_REQUESTOR_KEYRING (-8)\n" "#endif\n" "\\&\n" "int\n" "main(int argc, char *argv[])\n" "{\n" " int akp_size; /* حجم auth_key_payload */\n" " int auth_key;\n" " char dbuf[256];\n" " char auth_key_payload[256];\n" " char *operation;\n" " FILE *fp;\n" " gid_t gid;\n" " uid_t uid;\n" " time_t t;\n" " key_serial_t key_to_instantiate, dest_keyring;\n" " key_serial_t thread_keyring, process_keyring, session_keyring;\n" "\\&\n" " if (argc != 8) {\n" " fprintf(stderr, \"Usage: %s op key uid gid thread_keyring \"\n" " \"process_keyring session_keyring\\[rs]n\"," " argv[0]);\n" " exit(EXIT_FAILURE);\n" " }\n" "\\&\n" " fp = fopen(\"/tmp/key_instantiate.log\", \"w\");\n" " if (fp == NULL)\n" " exit(EXIT_FAILURE);\n" "\\&\n" " setbuf(fp, NULL);\n" "\\&\n" " t = time(NULL);\n" " fprintf(fp, \"Time: %s\\[rs]n\", ctime(&t));\n" "\\&\n" " /*\n" " * تمرر النواة مجموعة ثابتة من المعاملات للبرنامج\n" " * الذي تنفذه؛ لذا جلبهم.\n" " */\n" " operation = argv[1];\n" " key_to_instantiate = atoi(argv[2]);\n" " uid = atoi(argv[3]);\n" " gid = atoi(argv[4]);\n" " thread_keyring = atoi(argv[5]);\n" " process_keyring = atoi(argv[6]);\n" " session_keyring = atoi(argv[7]);\n" "\\&\n" " fprintf(fp, \"Command line arguments:\\[rs]n\");\n" " fprintf(fp, \" argv[0]: %s\\[rs]n\", argv[0]);\n" " fprintf(fp, \" operation: %s\\[rs]n\", operation);\n" " fprintf(fp, \" key_to_instantiate: %jx\\[rs]n\",\n" " (uintmax_t) key_to_instantiate);\n" " fprintf(fp, \" UID: %jd\\[rs]n\", (intmax_t) uid);\n" " fprintf(fp, \" GID: %jd\\[rs]n\", (intmax_t) gid);\n" " fprintf(fp, \" thread_keyring: %jx\\[rs]n\",\n" " (uintmax_t) thread_keyring);\n" " fprintf(fp, \" process_keyring: %jx\\[rs]n\",\n" " (uintmax_t) process_keyring);\n" " fprintf(fp, \" session_keyring: %jx\\[rs]n\",\n" " (uintmax_t) session_keyring);\n" " fprintf(fp, \"\\[rs]n\");\n" "\\&\n" " /*\n" " * افتراض السلطة لتمثيل المفتاح المسمى في argv[2].\n" " */\n" " if (keyctl(KEYCTL_ASSUME_AUTHORITY, key_to_instantiate) == -1) {\n" " fprintf(fp, \"KEYCTL_ASSUME_AUTHORITY failed: %s\\[rs]n\",\n" " strerror(errno));\n" " exit(EXIT_FAILURE);\n" " }\n" "\\&\n" " /*\n" " * جلب وصف المفتاح المراد تمثيله.\n" " */\n" " if (keyctl(KEYCTL_DESCRIBE, key_to_instantiate,\n" " dbuf, sizeof(dbuf)) == -1) {\n" " fprintf(fp, \"KEYCTL_DESCRIBE failed: %s\\[rs]n\", strerror(errno));\n" " exit(EXIT_FAILURE);\n" " }\n" "\\&\n" " fprintf(fp, \"Key description: %s\\[rs]n\", dbuf);\n" "\\&\n" " /*\n" " * جلب حمولة مفتاح الاستيثاق، والتي هي\n" " * في الواقع بيانات الاستدعاء المعطاة لـ request_key().\n" " */\n" " akp_size = keyctl(KEYCTL_READ, KEY_SPEC_REQKEY_AUTH_KEY,\n" " auth_key_payload, sizeof(auth_key_payload));\n" " if (akp_size == -1) {\n" " fprintf(fp, \"KEYCTL_READ failed: %s\\[rs]n\", strerror(errno));\n" " exit(EXIT_FAILURE);\n" " }\n" "\\&\n" " auth_key_payload[akp_size] = \\[aq]\\[rs]0\\[aq];\n" " fprintf(fp, \"Auth key payload: %s\\[rs]n\", auth_key_payload);\n" "\\&\n" " /*\n" " * للاهتمام، الحصول على معرف مفتاح الاستيثاق و\n" " * عرضه.\n" " */\n" " auth_key = keyctl(KEYCTL_GET_KEYRING_ID,\n" " KEY_SPEC_REQKEY_AUTH_KEY);\n" " if (auth_key == -1) {\n" " fprintf(fp, \"KEYCTL_GET_KEYRING_ID failed: %s\\[rs]n\",\n" " strerror(errno));\n" " exit(EXIT_FAILURE);\n" " }\n" "\\&\n" " fprintf(fp, \"Auth key ID: %jx\\[rs]n\", (uintmax_t) auth_key);\n" "\\&\n" " /*\n" " * جلب معرف المفتاح لحلقة مفاتيح الوجهة لـ request_key(2).\n" " */\n" " dest_keyring = keyctl(KEYCTL_GET_KEYRING_ID,\n" " KEY_SPEC_REQUESTOR_KEYRING);\n" " if (dest_keyring == -1) {\n" " fprintf(fp, \"KEYCTL_GET_KEYRING_ID failed: %s\\[rs]n\",\n" " strerror(errno));\n" " exit(EXIT_FAILURE);\n" " }\n" "\\&\n" " fprintf(fp, \"Destination keyring: %jx\\[rs]n\", (uintmax_t)" " dest_keyring);\n" "\\&\n" " /*\n" " * جلب وصف مفتاح الاستيثاق. هذا\n" " * يسمح لنا برؤية نوع المفتاح، ومعرف المستخدم (UID)، ومعرف المجموعة" " (GID)،\n" " * والصلاحيات، ووصف (اسم) المفتاح. من بين أمور أخرى،\n" " * سنرى أن اسم المفتاح هو سلسلة ست عشرية\n" " * تمثل معرف المفتاح المراد تمثيله.\n" " */\n" " if (keyctl(KEYCTL_DESCRIBE, KEY_SPEC_REQKEY_AUTH_KEY,\n" " dbuf, sizeof(dbuf)) == -1)\n" " {\n" " fprintf(fp, \"KEYCTL_DESCRIBE failed: %s\\[rs]n\", strerror(errno));\n" " exit(EXIT_FAILURE);\n" " }\n" "\\&\n" " fprintf(fp, \"Auth key description: %s\\[rs]n\", dbuf);\n" "\\&\n" " /*\n" " * تمثيل المفتاح باستخدام بيانات الاستدعاء التي قُدِّمت\n" " * في حمولة مفتاح الاستيثاق.\n" " */\n" " if (keyctl(KEYCTL_INSTANTIATE, key_to_instantiate,\n" " auth_key_payload, akp_size + 1, dest_keyring) == -1)\n" " {\n" " fprintf(fp, \"KEYCTL_INSTANTIATE failed: %s\\[rs]n\",\n" " strerror(errno));\n" " exit(EXIT_FAILURE);\n" " }\n" "\\&\n" " exit(EXIT_SUCCESS);\n" "}\n" #. .BR find_key_by_type_and_name (3) #. There is a man page, but this function seems not to exist #. type: Plain text #: debian-trixie msgid "" "B(1), B(2), B(2), B(3), " "B(3), B(3), B(3), " "B(3), B(3), B(3), " "B(3), B(3), " "B(3), B(3), " "B(3), B(3), " "B(3), B(3), " "B(3), B(3), B(3), " "B(3), B(3), B(3), " "B(3), B(3), B(3), " "B(3), B(3), " "B(3), B(3), B(3), " "B(3), B(3), " "B(7), B(7), B(7), B(7), " "B(7), B(7), B(7), " "B(7), B(7), B(7), B(7), B(8)" msgstr "" "B(1), B(2), B(2), B(3), " "B(3), B(3), B(3), " "B(3), B(3), B(3), " "B(3), B(3), " "B(3), B(3), " "B(3), B(3), " "B(3), B(3), " "B(3), B(3), B(3), " "B(3), B(3), B(3), " "B(3), B(3), B(3), " "B(3), B(3), " "B(3), B(3), B(3), " "B(3), B(3), " "B(7), B(7), B(7), B(7), " "B(7), B(7), B(7), " "B(7), B(7), B(7), B(7), B(8)" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "The kernel source files under I (or, before " "Linux 4.13, in the file I)." msgstr "" "ملفات مصدر النواة تحت I (أو، قبل لينكس 4.13، " "في الملف I)." #. type: TH #: fedora-44 fedora-rawhide #, no-wrap msgid "2024-08-21" msgstr "21 أغسطس 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 "صفحات دليل لينكس (لم تصدر بعد)"