# 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:31+0200\n" "PO-Revision-Date: 2026-05-18 17:42+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 "mprotect" msgstr "mprotect" #. type: TH #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "2026-02-11" msgstr "11 فبراير 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 "mprotect, pkey_mprotect - set protection on a region of memory" msgstr "mprotect, pkey_mprotect - ضبط الحماية على منطقة من الذاكرة" #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "LIBRARY" msgstr "المكتبة" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "Standard C library (I,\\ I<-lc>)" msgstr "مكتبة سي المعيارية (I،\\ I<-lc>)" #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "SYNOPSIS" msgstr "موجز" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B<#include Esys/mman.hE>\n" msgstr "B<#include Esys/mman.hE>\n" #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "" "Bsize_t size;\n" "B< void >IB<[>IB<], size_t >IB<, int >IB<);>\n" msgstr "" "Bsize_t size;\n" "B< void >IB<[>IB<], size_t >IB<, int >IB<);>\n" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "B<#define _GNU_SOURCE> /* See feature_test_macros(7) */\n" "B<#include Esys/mman.hE>\n" msgstr "" "B<#define _GNU_SOURCE> /* انظر feature_test_macros(7) */\n" "B<#include Esys/mman.hE>\n" #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "" "Bsize_t size;\n" "B< void >IB<[>IB<], size_t >IB<, int >IB<, int >IB<);>\n" msgstr "" "Bsize_t size;\n" "B< void >IB<[>IB<], size_t >IB<, int >IB<, int >IB<);>\n" #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "DESCRIPTION" msgstr "الوصف" #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "B() changes the access protections for the calling process's " "memory pages containing any part of the address range in the interval " "[I, I+I-1]. I must be aligned to a page boundary." msgstr "" "تغير B() حماية الوصول لصفحات ذاكرة العملية المستدعية التي تحتوي " "على أي جزء من نطاق العناوين في الفترة [I, I+I-1]. يجب أن " "يكون I محاذياً لحدود الصفحة." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "If the calling process tries to access memory in a manner that violates the " "protections, then the kernel generates a B signal for the process." msgstr "" "إذا حاولت العملية المستدعية الوصول إلى الذاكرة بطريقة تنتهك الحماية، فإن " "النواة تولد إشارة B للعملية." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "I is a combination of the following access flags: B or a " "bitwise OR of the other values in the following list:" msgstr "" "I هو مزيج من أعلام الوصول التالية: B أو عملية OR بتية للقيم " "الأخرى في القائمة التالية:" #. 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 memory cannot be accessed at all." 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 memory can be read." 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 memory can be modified." 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 memory can be executed." msgstr "يمكن تنفيذ الذاكرة." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B (since Linux 2.5.7)" msgstr "B (منذ Linux 2.5.7)" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The memory can be used for atomic operations. This flag was introduced as " "part of the B(2) implementation (in order to guarantee the ability " "to perform atomic operations required by commands such as B), " "but is not currently used in on any architecture." msgstr "" "يمكن استخدام الذاكرة للعمليات الذرية. تم تقديم هذا العلم كجزء من تنفيذ " "B(2) (لضمان القدرة على أداء العمليات الذرية المطلوبة بأوامر مثل " "B)، لكنه لا يُستخدم حالياً على أي بنية." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B (since Linux 2.6.26)" msgstr "B (منذ Linux 2.6.26)" #. commit aba46c5027cb59d98052231b36efcbbde9c77a1d #. commit ef3d3246a0d06be622867d21af25f997aeeb105f #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The memory should have strong access ordering. This feature is specific to " "the PowerPC architecture (version 2.06 of the architecture specification " "adds the SAO CPU feature, and it is available on POWER 7 or PowerPC A2, for " "example)." msgstr "" "يجب أن يكون للذاكرة ترتيب وصول قوي. هذه الميزة خاصة ببنية PowerPC (الإصدار " "2.06 من مواصفات البنية يضيف ميزة SAO CPU، وهي متاحة على POWER 7 أو PowerPC " "A2، على سبيل المثال)." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Additionally (since Linux 2.6.0), I can have one of the following " "flags set:" msgstr "" "بالإضافة (منذ Linux 2.6.0)، يمكن أن يحتوي I على أحد الأعلام التالية:" #. mm/mmap.c: #. vm_flags |= calc_vm_prot_bits(prot, pkey) | calc_vm_flag_bits(flags) | #. mm->def_flags | VM_MAYREAD | VM_MAYWRITE | VM_MAYEXEC; #. And calc_vm_flag_bits converts only GROWSDOWN/DENYWRITE/LOCKED. #. 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" #. #-#-#-#-# archlinux: mprotect.2.pot (PACKAGE VERSION) #-#-#-#-# #. The VMA is one that was marked with VM_GROWSUP by the kernel #. when the stack was created. Note that (unlike VM_GROWSDOWN), #. there is no mmap() flag (analogous to MAP_GROWSDOWN) for #. creating a VMA that is marked VM_GROWSUP. #. type: Plain text #. #-#-#-#-# debian-trixie: mprotect.2.pot (PACKAGE VERSION) #-#-#-#-# #. The VMA is one that was marked with VM_GROWSUP by the kernel #. when the stack was created. Note that (unlike VM_GROWSDOWN), #. there is no mmap() flag (analogous to MAP_GROWSDOWN) for #. creating a VMA that is marked VM_GROWSUP. #. type: Plain text #. #-#-#-#-# debian-unstable: mprotect.2.pot (PACKAGE VERSION) #-#-#-#-# #. The VMA is one that was marked with VM_GROWSUP by the kernel #. when the stack was created. Note that (unlike VM_GROWSDOWN), #. there is no mmap() flag (analogous to MAP_GROWSDOWN) for #. creating a VMA that is marked VM_GROWSUP. #. type: Plain text #. #-#-#-#-# fedora-44: mprotect.2.pot (PACKAGE VERSION) #-#-#-#-# #. The VMA is one that was marked with VM_GROWSUP by the kernel #. when the stack was created. Note that (unlike VM_GROWSDOWN), #. there is no mmap() flag (analogous to MAP_GROWSDOWN) for #. creating a VMA that is marked VM_GROWSUP. #. type: Plain text #. #-#-#-#-# fedora-rawhide: mprotect.2.pot (PACKAGE VERSION) #-#-#-#-# #. The VMA is one that was marked with VM_GROWSUP by the kernel #. when the stack was created. Note that (unlike VM_GROWSDOWN), #. there is no mmap() flag (analogous to MAP_GROWSDOWN) for #. creating a VMA that is marked VM_GROWSUP. #. type: Plain text #. #-#-#-#-# mageia-cauldron: mprotect.2.pot (PACKAGE VERSION) #-#-#-#-# #. The VMA is one that was marked with VM_GROWSUP by the kernel #. when the stack was created. Note that (unlike VM_GROWSDOWN), #. there is no mmap() flag (analogous to MAP_GROWSDOWN) for #. creating a VMA that is marked VM_GROWSUP. #. type: Plain text #. #-#-#-#-# opensuse-leap-16-1: mprotect.2.pot (PACKAGE VERSION) #-#-#-#-# #. The VMA is one that was marked with VM_GROWSUP by the kernel #. when the stack was created. Note that (unlike VM_GROWSDOWN), #. there is no mmap() flag (analogous to MAP_GROWSDOWN) for #. creating a VMA that is marked VM_GROWSUP. #. type: Plain text #. #-#-#-#-# opensuse-tumbleweed: mprotect.2.pot (PACKAGE VERSION) #-#-#-#-# #. The VMA is one that was marked with VM_GROWSUP by the kernel #. when the stack was created. Note that (unlike VM_GROWSDOWN), #. there is no mmap() flag (analogous to MAP_GROWSDOWN) for #. creating a VMA that is marked VM_GROWSUP. #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Apply the protection mode up to the end of a mapping that grows upwards. " "(Such mappings are created for the stack area on architectures\\[em]for " "example, HP-PARISC\\[em]that have an upwardly growing stack.)" msgstr "" "طبق نمط الحماية حتى نهاية تعيين ينمو لأعلى. (يتم إنشاء هذه التعيينات لمنطقة " "المكدس على البنى\\[em]على سبيل المثال، HP-PARISC\\[em]التي تحتوي على مكدس " "ينمو لأعلى.)" #. 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 "" "Apply the protection mode down to the beginning of a mapping that grows " "downward (which should be a stack segment or a segment mapped with the " "B flag set)." msgstr "" "طبق نمط الحماية نزولاً إلى بداية تعيين ينمو لأسفل (يجب أن يكون مقطع مكدس أو " "مقطع معين مع تعيين علم B)." #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Like B(), B() changes the protection on the pages " "specified by I and I. The I argument specifies the " "protection key (see B(7)) to assign to the memory. The protection " "key must be allocated with B(2) before it is passed to " "B(). For an example of the use of this system call, see " "B(7)." msgstr "" "مثل B()، تغير B() الحماية على الصفحات المحددة " "بواسطة I و I. تحدد الوسيطة I مفتاح الحماية (انظر " "B(7)) لتعيينه للذاكرة. يجب تخصيص مفتاح الحماية باستخدام " "B(2) قبل تمريره إلى B(). لمثال على استخدام هذه " "الاستدعاءات النظامية، انظر B(7)." #. 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-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "On success, B() and B() return zero. On error, " "these system calls return -1, and I is set to indicate the error." msgstr "" "عند النجاح، ترجع B() و B() صفراً. عند الخطأ، ترجع " "هذه الاستدعاءات النظامية -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 memory cannot be given the specified access. This can happen, for " "example, if you B(2) a file to which you have read-only access, then " "ask B() to mark it B." msgstr "" "لا يمكن إعطاء الذاكرة الوصول المحدد. يمكن أن يحدث هذا، على سبيل المثال، إذا " "قمت بـ B(2) لملف لديك وصول للقراءة فقط إليه، ثم طلبت من B() " "وضع علامة B عليه." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "I is not a valid pointer, or not a multiple of the system page size." msgstr "I ليس مؤشراً صالحاً، أو ليس مضاعفاً لحجم صفحة النظام." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "(B()) I has not been allocated with B(2)" msgstr "(B()) لم يتم تخصيص I باستخدام B(2)" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "Both B and B were specified in I." msgstr "تم تحديد كل من B و B في I." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "Invalid flags specified in I." msgstr "أعلام غير صالحة محددة في I." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "(PowerPC architecture) B was specified in I, but SAO " "hardware feature is not available." msgstr "" "(بنية PowerPC) تم تحديد B في I، لكن ميزة الأجهزة SAO غير " "متاحة." #. 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 "Internal kernel structures could not be allocated." msgstr "لا يمكن تخصيص هياكل النواة الداخلية." #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Addresses in the range [I, I+I-1] are invalid for the " "address space of the process, or specify one or more pages that are not " "mapped. (Before Linux 2.4.19, the error B was incorrectly produced " "for these cases.)" msgstr "" "العناوين في النطاق [I, I+I-1] غير صالحة لمساحة عنوان " "العملية، أو تحدد صفحة واحدة أو أكثر غير معينة. (قبل Linux 2.4.19، كان الخطأ " "B يُنتج بشكل غير صحيح لهذه الحالات.)" #. I.e., the number of VMAs would exceed the 64 kB maximum #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Changing the protection of a memory region would result in the total number " "of mappings with distinct attributes (e.g., read versus read/write " "protection) exceeding the allowed maximum. (For example, making the " "protection of a range B in the middle of a region currently " "protected as B would result in three mappings: two " "read/write mappings at each end and a read-only mapping in the middle.)" msgstr "" "تغيير حماية منطقة ذاكرة سيؤدي إلى تجاوز العدد الإجمالي للتعيينات ذات السمات " "المميزة (مثل الحماية للقراءة مقابل الحماية للقراءة/الكتابة) الحد الأقصى " "المسموح به. (على سبيل المثال، جعل حماية نطاق B في منتصف منطقة " "محمية حاليًا كـ B سيؤدي إلى ثلاثة تعيينات: تعيينان " "للقراءة/الكتابة في كل طرف وتعيين للقراءة فقط في المنتصف.)" #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "VERSIONS" msgstr "الإصدارات" #. #-#-#-#-# archlinux: mprotect.2.pot (PACKAGE VERSION) #-#-#-#-# #. SVr4 defines an additional error #. code EAGAIN. The SVr4 error conditions don't map neatly onto Linux's. #. type: Plain text #. #-#-#-#-# debian-trixie: mprotect.2.pot (PACKAGE VERSION) #-#-#-#-# #. SVr4 defines an additional error #. code EAGAIN. The SVr4 error conditions don't map neatly onto Linux's. #. type: Plain text #. #-#-#-#-# debian-unstable: mprotect.2.pot (PACKAGE VERSION) #-#-#-#-# #. SVr4 defines an additional error #. code EAGAIN. The SVr4 error conditions don't map neatly onto Linux's. #. type: Plain text #. #-#-#-#-# fedora-44: mprotect.2.pot (PACKAGE VERSION) #-#-#-#-# #. SVr4 defines an additional error #. code EAGAIN. The SVr4 error conditions don't map neatly onto Linux's. #. type: Plain text #. #-#-#-#-# fedora-rawhide: mprotect.2.pot (PACKAGE VERSION) #-#-#-#-# #. SVr4 defines an additional error #. code EAGAIN. The SVr4 error conditions don't map neatly onto Linux's. #. type: Plain text #. #-#-#-#-# mageia-cauldron: mprotect.2.pot (PACKAGE VERSION) #-#-#-#-# #. SVr4 defines an additional error #. code EAGAIN. The SVr4 error conditions don't map neatly onto Linux's. #. type: Plain text #. #-#-#-#-# opensuse-leap-16-1: mprotect.2.pot (PACKAGE VERSION) #-#-#-#-# #. SVr4 defines an additional error #. code EAGAIN. The SVr4 error conditions don't map neatly onto Linux's. #. type: Plain text #. #-#-#-#-# opensuse-tumbleweed: mprotect.2.pot (PACKAGE VERSION) #-#-#-#-# #. SVr4 defines an additional error #. code EAGAIN. The SVr4 error conditions don't map neatly onto Linux's. #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "POSIX says that the behavior of B() is unspecified if it is " "applied to a region of memory that was not obtained via B(2)." msgstr "" "ينص POSIX على أن سلوك B() غير محدد إذا تم تطبيقه على منطقة ذاكرة " "لم يتم الحصول عليها عبر B(2)." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "On Linux, it is always permissible to call B() on any address in " "a process's address space (except for the kernel vsyscall area). In " "particular, it can be used to change existing code mappings to be writable." msgstr "" "في لينكس، من الجائز دائمًا استدعاء B() على أي عنوان في مساحة عنوان " "العملية (باستثناء منطقة vsyscall للنواة). على وجه الخصوص، يمكن استخدامه " "لتغيير تعيينات الكود الحالية لتكون قابلة للكتابة." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Whether B has any effect different from B depends on " "processor architecture, kernel version, and process state. If " "B is set in the process's personality flags (see " "B(2)), specifying B will implicitly add B." msgstr "" "ما إذا كان B له أي تأثير مختلف عن B يعتمد على بنية " "المعالج، وإصدار النواة، وحالة العملية. إذا تم تعيين B في " "أعلام شخصية العملية (انظر B(2))، فإن تحديد B سيضيف " "ضمنيًا B." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "On some hardware architectures (e.g., i386), B implies " "B." msgstr "في بعض بنيات العتاد (مثل i386)، يستلزم B B." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "POSIX.1 says that an implementation may permit access other than that " "specified in I, but at a minimum can allow write access only if " "B has been set, and must not allow any access if B " "has been set." msgstr "" "ينص POSIX.1 على أن التنفيذ قد يسمح بالوصول بخلاف ما هو محدد في I، ولكن " "كحد أدنى يمكنه السماح بالوصول للكتابة فقط إذا تم تعيين B، ويجب " "ألا يسمح بأي وصول إذا تم تعيين B." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Applications should be careful when mixing use of B() and " "B(). On x86, when B() is used with I set to " "B a pkey may be allocated and set on the memory implicitly by the " "kernel, but only when the pkey was 0 previously." msgstr "" "يجب على التطبيقات توخي الحذر عند خلط استخدام B() و " "B(). في x86، عند استخدام B() مع تعيين I إلى " "B، قد يتم تخصيص مفتاح حماية (pkey) وتعيينه على الذاكرة ضمنيًا " "بواسطة النواة، ولكن فقط عندما كان المفتاح 0 سابقًا." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "On systems that do not support protection keys in hardware, " "B() may still be used, but I must be set to -1. When " "called this way, the operation of B() is equivalent to " "B()." msgstr "" "في الأنظمة التي لا تدعم مفاتيح الحماية في العتاد، لا يزال من الممكن استخدام " "B() ولكن يجب تعيين I إلى -1. عند الاستدعاء بهذه " "الطريقة، تكون عملية B() مكافئة لـ B()." #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "STANDARDS" msgstr "المعايير" #. 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-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "POSIX.1-2024." msgstr "POSIX.1-2024." #. 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 "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-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "SVr4, SUSv1, POSIX.1-1996." msgstr "SVr4, SUSv1, POSIX.1-1996." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "Linux 4.9, glibc 2.27." msgstr "لينكس 4.9، glibc 2.27." #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "NOTES" msgstr "ملاحظات" #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "EXAMPLES" msgstr "أمثلة" #. sigaction.2 refers to this example #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The program below demonstrates the use of B(). The program " "allocates four pages of memory, makes the third of these pages read-only, " "and then executes a loop that walks upward through the allocated region " "modifying bytes." msgstr "" "البرنامج أدناه يوضح استخدام B(). يخصص البرنامج أربع صفحات من " "الذاكرة، ويجعل الصفحة الثالثة منها للقراءة فقط، ثم ينفذ حلقة تمر تصاعديًا عبر " "المنطقة المخصصة لتعديل البايتات." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "An example of what we might see when running the program is the following:" msgstr "مثال لما قد نراه عند تشغيل البرنامج هو التالي:" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "$B< ./a.out>\n" "Start of region: 0x804c000\n" "Got SIGSEGV at address: 0x804e000\n" msgstr "" "$B< ./a.out>\n" "Start of region: 0x804c000\n" "Got SIGSEGV at address: 0x804e000\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 "" "#include Eerr.hE\n" "#include Emalloc.hE\n" "#include Esignal.hE\n" "#include Estdio.hE\n" "#include Estdlib.hE\n" "#include Esys/mman.hE\n" "#include Eunistd.hE\n" "\\&\n" "static char *buffer;\n" "\\&\n" "static void\n" "handler(int sig, siginfo_t *si, void *unused)\n" "{\n" " /* Note: calling printf() from a signal handler is not safe\n" " (and should not be done in production programs), since\n" " printf() is not async-signal-safe; see signal-safety(7).\n" " Nevertheless, we use printf() here as a simple way of\n" " showing that the handler was called. */\n" "\\&\n" " printf(\"Got SIGSEGV at address: %p\\[rs]n\", si-Esi_addr);\n" " exit(EXIT_FAILURE);\n" "}\n" "\\&\n" "int\n" "main(void)\n" "{\n" " int pagesize;\n" " struct sigaction sa;\n" "\\&\n" " sa.sa_flags = SA_SIGINFO;\n" " sigemptyset(&sa.sa_mask);\n" " sa.sa_sigaction = handler;\n" " if (sigaction(SIGSEGV, &sa, NULL) == -1)\n" " err(EXIT_FAILURE, \"sigaction\");\n" "\\&\n" " pagesize = sysconf(_SC_PAGE_SIZE);\n" " if (pagesize == -1)\n" " err(EXIT_FAILURE, \"sysconf\");\n" "\\&\n" " /* Allocate a buffer aligned on a page boundary;\n" " initial protection is PROT_READ | PROT_WRITE. */\n" "\\&\n" " buffer = memalign(pagesize, 4 * pagesize);\n" " if (buffer == NULL)\n" " err(EXIT_FAILURE, \"memalign\");\n" "\\&\n" " printf(\"Start of region: %p\\[rs]n\", buffer);\n" "\\&\n" " if (mprotect(buffer + pagesize * 2, pagesize,\n" " PROT_READ) == -1)\n" " err(EXIT_FAILURE, \"mprotect\");\n" "\\&\n" " for (char *p = buffer ; ; )\n" " *(p++) = \\[aq]a\\[aq];\n" "\\&\n" " printf(\"Loop completed\\[rs]n\"); /* Should never happen */\n" " exit(EXIT_SUCCESS);\n" "}\n" msgstr "" "#include Eerr.hE\n" "#include Emalloc.hE\n" "#include Esignal.hE\n" "#include Estdio.hE\n" "#include Estdlib.hE\n" "#include Esys/mman.hE\n" "#include Eunistd.hE\n" "\\&\n" "static char *buffer;\n" "\\&\n" "static void\n" "handler(int sig, siginfo_t *si, void *unused)\n" "{\n" " /* Note: calling printf() from a signal handler is not safe\n" " (and should not be done in production programs), since\n" " printf() is not async-signal-safe; see signal-safety(7).\n" " Nevertheless, we use printf() here as a simple way of\n" " showing that the handler was called. */\n" "\\&\n" " printf(\"Got SIGSEGV at address: %p\\[rs]n\", si-Esi_addr);\n" " exit(EXIT_FAILURE);\n" "}\n" "\\&\n" "int\n" "main(void)\n" "{\n" " int pagesize;\n" " struct sigaction sa;\n" "\\&\n" " sa.sa_flags = SA_SIGINFO;\n" " sigemptyset(&sa.sa_mask);\n" " sa.sa_sigaction = handler;\n" " if (sigaction(SIGSEGV, &sa, NULL) == -1)\n" " err(EXIT_FAILURE, \"sigaction\");\n" "\\&\n" " pagesize = sysconf(_SC_PAGE_SIZE);\n" " if (pagesize == -1)\n" " err(EXIT_FAILURE, \"sysconf\");\n" "\\&\n" " /* Allocate a buffer aligned on a page boundary;\n" " initial protection is PROT_READ | PROT_WRITE. */\n" "\\&\n" " buffer = memalign(pagesize, 4 * pagesize);\n" " if (buffer == NULL)\n" " err(EXIT_FAILURE, \"memalign\");\n" "\\&\n" " printf(\"Start of region: %p\\[rs]n\", buffer);\n" "\\&\n" " if (mprotect(buffer + pagesize * 2, pagesize,\n" " PROT_READ) == -1)\n" " err(EXIT_FAILURE, \"mprotect\");\n" "\\&\n" " for (char *p = buffer ; ; )\n" " *(p++) = \\[aq]a\\[aq];\n" "\\&\n" " printf(\"Loop completed\\[rs]n\"); /* Should never happen */\n" " exit(EXIT_SUCCESS);\n" "}\n" #. SRC END #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "SEE ALSO" msgstr "انظر أيضًا" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "B(2), B(3), B(7)" msgstr "B(2), B(3), B(7)" #. type: TH #: debian-trixie #, no-wrap msgid "2024-06-15" msgstr "15 يونيو 2024" #. type: TH #: debian-trixie #, no-wrap msgid "Linux man-pages 6.9.1" msgstr "صفحات دليل لينكس 6.9.1" #. type: Plain text #: debian-trixie msgid "Standard C library (I, I<-lc>)" msgstr "مكتبة سي المعيارية (I، I<-lc>)" #. type: Plain text #: debian-trixie #, no-wrap msgid "BIB<[.>IB<], size_t >IB<, int >IB<);>\n" msgstr "BIB<[.>IB<], size_t >IB<, int >IB<);>\n" #. type: Plain text #: debian-trixie #, no-wrap msgid "BIB<[.>IB<], size_t >IB<, int >IB<, int >IB<);>\n" msgstr "BIB<[.>IB<], size_t >IB<, int >IB<, int >IB<);>\n" #. type: Plain text #: debian-trixie msgid "" "B() changes the access protections for the calling process's " "memory pages containing any part of the address range in the interval " "[I,\\ I+I-1]. I must be aligned to a page boundary." msgstr "" "يغير B() حماية الوصول لصفحات الذاكرة الخاصة بالعملية المستدعية " "التي تحتوي على أي جزء من نطاق العناوين في الفترة [I,\\ " "I+I-1]. يجب أن يكون I محاذيًا لحدود الصفحة." #. type: Plain text #: debian-trixie msgid "" "Like B(), B() changes the protection on the pages " "specified by I and I. The I argument specifies the " "protection key (see B(7)) to assign to the memory. The protection " "key must be allocated with B(2) before it is passed to " "B(). For an example of the use of this system call, see " "B(7)." msgstr "" "مثل B()، يغير B() الحماية على الصفحات المحددة " "بواسطة I و I. تحدد الوسيطة I مفتاح الحماية (انظر " "B(7)) لتعيينه للذاكرة. يجب تخصيص مفتاح الحماية باستخدام " "B(2) قبل تمريره إلى B(). للحصول على مثال " "لاستخدام استدعاء النظام هذا، انظر B(7)." #. type: Plain text #: debian-trixie msgid "" "Addresses in the range [I, I+I-1] are invalid for the " "address space of the process, or specify one or more pages that are not " "mapped. (Before Linux 2.4.19, the error B was incorrectly produced " "for these cases.)" msgstr "" "العناوين في النطاق [I, I+I-1] غير صالحة لمساحة عنوان " "العملية، أو تحدد صفحة واحدة أو أكثر غير معينة. (قبل لينكس 2.4.19، كان الخطأ " "B يُنتج بشكل غير صحيح لهذه الحالات.)" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "POSIX.1-2008." msgstr "POSIX.1-2008." #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "POSIX.1-2001, SVr4." msgstr "POSIX.1-2001، SVr4." #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "" "#include Emalloc.hE\n" "#include Esignal.hE\n" "#include Estdio.hE\n" "#include Estdlib.hE\n" "#include Esys/mman.hE\n" "#include Eunistd.hE\n" "\\&\n" "#define handle_error(msg) \\[rs]\n" " do { perror(msg); exit(EXIT_FAILURE); } while (0)\n" "\\&\n" "static char *buffer;\n" "\\&\n" "static void\n" "handler(int sig, siginfo_t *si, void *unused)\n" "{\n" " /* Note: calling printf() from a signal handler is not safe\n" " (and should not be done in production programs), since\n" " printf() is not async-signal-safe; see signal-safety(7).\n" " Nevertheless, we use printf() here as a simple way of\n" " showing that the handler was called. */\n" "\\&\n" " printf(\"Got SIGSEGV at address: %p\\[rs]n\", si-Esi_addr);\n" " exit(EXIT_FAILURE);\n" "}\n" "\\&\n" "int\n" "main(void)\n" "{\n" " int pagesize;\n" " struct sigaction sa;\n" "\\&\n" " sa.sa_flags = SA_SIGINFO;\n" " sigemptyset(&sa.sa_mask);\n" " sa.sa_sigaction = handler;\n" " if (sigaction(SIGSEGV, &sa, NULL) == -1)\n" " handle_error(\"sigaction\");\n" "\\&\n" " pagesize = sysconf(_SC_PAGE_SIZE);\n" " if (pagesize == -1)\n" " handle_error(\"sysconf\");\n" "\\&\n" " /* Allocate a buffer aligned on a page boundary;\n" " initial protection is PROT_READ | PROT_WRITE. */\n" "\\&\n" " buffer = memalign(pagesize, 4 * pagesize);\n" " if (buffer == NULL)\n" " handle_error(\"memalign\");\n" "\\&\n" " printf(\"Start of region: %p\\[rs]n\", buffer);\n" "\\&\n" " if (mprotect(buffer + pagesize * 2, pagesize,\n" " PROT_READ) == -1)\n" " handle_error(\"mprotect\");\n" "\\&\n" " for (char *p = buffer ; ; )\n" " *(p++) = \\[aq]a\\[aq];\n" "\\&\n" " printf(\"Loop completed\\[rs]n\"); /* Should never happen */\n" " exit(EXIT_SUCCESS);\n" "}\n" msgstr "" "#include Emalloc.hE\n" "#include Esignal.hE\n" "#include Estdio.hE\n" "#include Estdlib.hE\n" "#include Esys/mman.hE\n" "#include Eunistd.hE\n" "\\&\n" "#define handle_error(msg) \\[rs]\n" " do { perror(msg); exit(EXIT_FAILURE); } while (0)\n" "\\&\n" "static char *buffer;\n" "\\&\n" "static void\n" "handler(int sig, siginfo_t *si, void *unused)\n" "{\n" " /* Note: calling printf() from a signal handler is not safe\n" " (and should not be done in production programs), since\n" " printf() is not async-signal-safe; see signal-safety(7).\n" " Nevertheless, we use printf() here as a simple way of\n" " showing that the handler was called. */\n" "\\&\n" " printf(\"Got SIGSEGV at address: %p\\[rs]n\", si-Esi_addr);\n" " exit(EXIT_FAILURE);\n" "}\n" "\\&\n" "int\n" "main(void)\n" "{\n" " int pagesize;\n" " struct sigaction sa;\n" "\\&\n" " sa.sa_flags = SA_SIGINFO;\n" " sigemptyset(&sa.sa_mask);\n" " sa.sa_sigaction = handler;\n" " if (sigaction(SIGSEGV, &sa, NULL) == -1)\n" " handle_error(\"sigaction\");\n" "\\&\n" " pagesize = sysconf(_SC_PAGE_SIZE);\n" " if (pagesize == -1)\n" " handle_error(\"sysconf\");\n" "\\&\n" " /* Allocate a buffer aligned on a page boundary;\n" " initial protection is PROT_READ | PROT_WRITE. */\n" "\\&\n" " buffer = memalign(pagesize, 4 * pagesize);\n" " if (buffer == NULL)\n" " handle_error(\"memalign\");\n" "\\&\n" " printf(\"Start of region: %p\\[rs]n\", buffer);\n" "\\&\n" " if (mprotect(buffer + pagesize * 2, pagesize,\n" " PROT_READ) == -1)\n" " handle_error(\"mprotect\");\n" "\\&\n" " for (char *p = buffer ; ; )\n" " *(p++) = \\[aq]a\\[aq];\n" "\\&\n" " printf(\"Loop completed\\[rs]n\"); /* Should never happen */\n" " exit(EXIT_SUCCESS);\n" "}\n" #. type: TH #: fedora-44 fedora-rawhide #, no-wrap msgid "2024-11-17" msgstr "17 نوفمبر 2024" #. type: TH #: fedora-44 fedora-rawhide #, no-wrap msgid "Linux man-pages 6.13" msgstr "صفحات دليل لينكس 6.13" #. type: Plain text #: fedora-44 fedora-rawhide #, no-wrap msgid "BIB<[.>IB<], size_t >IB<, int >IB<);>\n" msgstr "BIB<[.>IB<], size_t >IB<, int >IB<);>\n" #. type: Plain text #: fedora-44 fedora-rawhide #, no-wrap msgid "BIB<[.>IB<], size_t >IB<, int >IB<, int >IB<);>\n" msgstr "BIB<[.>IB<], size_t >IB<, int >IB<, int >IB<);>\n" #. type: Plain text #: fedora-44 fedora-rawhide msgid "" "B() changes the access protections for the calling process's " "memory pages containing any part of the address range in the interval " "[I,\\ I+I-1]. I must be aligned to a page boundary." msgstr "" "تغير B() حماية الوصول لصفحات ذاكرة العملية المستدعية التي تحتوي " "على أي جزء من نطاق العناوين في الفترة [I,\\ I+I-1]. يجب أن " "يكون I محاذياً لحدود الصفحة." #. 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 "صفحات دليل لينكس (لم تصدر بعد)"