| 1 |
# Arabic translation of manpages |
| 2 |
# This file is distributed under the same license as the manpages-l10n package. |
| 3 |
# Copyright © of this file: |
| 4 |
# زايد السعيدي <[email protected]>, 2026. |
| 5 |
msgid "" |
| 6 |
msgstr "" |
| 7 |
"Project-Id-Version: manpages-l10n 4.30.2\n" |
| 8 |
"POT-Creation-Date: 2026-06-05 06:31+0200\n" |
| 9 |
"PO-Revision-Date: 2026-05-18 17:42+0400\n" |
| 10 |
"Last-Translator: Zayed Al-Saidi <[email protected]>\n" |
| 11 |
"Language-Team: Arabic <[email protected]>\n" |
| 12 |
"Language: ar\n" |
| 13 |
"MIME-Version: 1.0\n" |
| 14 |
"Content-Type: text/plain; charset=UTF-8\n" |
| 15 |
"Content-Transfer-Encoding: 8bit\n" |
| 16 |
"Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 " |
| 17 |
"&& n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n" |
| 18 |
"X-Generator: Lokalize 23.08.5\n" |
| 19 |
|
| 20 |
#. type: TH |
| 21 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 22 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 23 |
#, no-wrap |
| 24 |
msgid "mprotect" |
| 25 |
msgstr "mprotect" |
| 26 |
|
| 27 |
#. type: TH |
| 28 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 29 |
#: opensuse-tumbleweed |
| 30 |
#, no-wrap |
| 31 |
msgid "2026-02-11" |
| 32 |
msgstr "11 فبراير 2026" |
| 33 |
|
| 34 |
#. type: TH |
| 35 |
#: archlinux debian-unstable |
| 36 |
#, no-wrap |
| 37 |
msgid "Linux man-pages 6.18" |
| 38 |
msgstr "صفحات دليل لينكس 6.18" |
| 39 |
|
| 40 |
#. type: SH |
| 41 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 42 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 43 |
#, no-wrap |
| 44 |
msgid "NAME" |
| 45 |
msgstr "الاسم" |
| 46 |
|
| 47 |
#. type: Plain text |
| 48 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 49 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 50 |
msgid "mprotect, pkey_mprotect - set protection on a region of memory" |
| 51 |
msgstr "mprotect, pkey_mprotect - ضبط الحماية على منطقة من الذاكرة" |
| 52 |
|
| 53 |
#. type: SH |
| 54 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 55 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 56 |
#, no-wrap |
| 57 |
msgid "LIBRARY" |
| 58 |
msgstr "المكتبة" |
| 59 |
|
| 60 |
#. type: Plain text |
| 61 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 62 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 63 |
msgid "Standard C library (I<libc>,\\ I<-lc>)" |
| 64 |
msgstr "مكتبة سي المعيارية (I<libc>،\\ I<-lc>)" |
| 65 |
|
| 66 |
#. type: SH |
| 67 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 68 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 69 |
#, no-wrap |
| 70 |
msgid "SYNOPSIS" |
| 71 |
msgstr "موجز" |
| 72 |
|
| 73 |
#. type: Plain text |
| 74 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 75 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 76 |
#, no-wrap |
| 77 |
msgid "B<#include E<lt>sys/mman.hE<gt>>\n" |
| 78 |
msgstr "B<#include E<lt>sys/mman.hE<gt>>\n" |
| 79 |
|
| 80 |
#. type: Plain text |
| 81 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 82 |
#: opensuse-tumbleweed |
| 83 |
#, no-wrap |
| 84 |
msgid "" |
| 85 |
"B<int mprotect(>size_t size;\n" |
| 86 |
"B< void >I<addr>B<[>I<size>B<], size_t >I<size>B<, int >I<prot>B<);>\n" |
| 87 |
msgstr "" |
| 88 |
"B<int mprotect(>size_t size;\n" |
| 89 |
"B< void >I<addr>B<[>I<size>B<], size_t >I<size>B<, int >I<prot>B<);>\n" |
| 90 |
|
| 91 |
#. type: Plain text |
| 92 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 93 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 94 |
#, no-wrap |
| 95 |
msgid "" |
| 96 |
"B<#define _GNU_SOURCE> /* See feature_test_macros(7) */\n" |
| 97 |
"B<#include E<lt>sys/mman.hE<gt>>\n" |
| 98 |
msgstr "" |
| 99 |
"B<#define _GNU_SOURCE> /* انظر feature_test_macros(7) */\n" |
| 100 |
"B<#include E<lt>sys/mman.hE<gt>>\n" |
| 101 |
|
| 102 |
#. type: Plain text |
| 103 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 104 |
#: opensuse-tumbleweed |
| 105 |
#, no-wrap |
| 106 |
msgid "" |
| 107 |
"B<int pkey_mprotect(>size_t size;\n" |
| 108 |
"B< void >I<addr>B<[>I<size>B<], size_t >I<size>B<, int >I<prot>B<, int >I<pkey>B<);>\n" |
| 109 |
msgstr "" |
| 110 |
"B<int pkey_mprotect(>size_t size;\n" |
| 111 |
"B< void >I<addr>B<[>I<size>B<], size_t >I<size>B<, int >I<prot>B<, int >I<pkey>B<);>\n" |
| 112 |
|
| 113 |
#. type: SH |
| 114 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 115 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 116 |
#, no-wrap |
| 117 |
msgid "DESCRIPTION" |
| 118 |
msgstr "الوصف" |
| 119 |
|
| 120 |
#. type: Plain text |
| 121 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 122 |
#: opensuse-tumbleweed |
| 123 |
msgid "" |
| 124 |
"B<mprotect>() changes the access protections for the calling process's " |
| 125 |
"memory pages containing any part of the address range in the interval " |
| 126 |
"[I<addr>, I<addr>+I<size>-1]. I<addr> must be aligned to a page boundary." |
| 127 |
msgstr "" |
| 128 |
"تغير B<mprotect>() حماية الوصول لصفحات ذاكرة العملية المستدعية التي تحتوي " |
| 129 |
"على أي جزء من نطاق العناوين في الفترة [I<addr>, I<addr>+I<size>-1]. يجب أن " |
| 130 |
"يكون I<addr> محاذياً لحدود الصفحة." |
| 131 |
|
| 132 |
#. type: Plain text |
| 133 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 134 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 135 |
msgid "" |
| 136 |
"If the calling process tries to access memory in a manner that violates the " |
| 137 |
"protections, then the kernel generates a B<SIGSEGV> signal for the process." |
| 138 |
msgstr "" |
| 139 |
"إذا حاولت العملية المستدعية الوصول إلى الذاكرة بطريقة تنتهك الحماية، فإن " |
| 140 |
"النواة تولد إشارة B<SIGSEGV> للعملية." |
| 141 |
|
| 142 |
#. type: Plain text |
| 143 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 144 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 145 |
msgid "" |
| 146 |
"I<prot> is a combination of the following access flags: B<PROT_NONE> or a " |
| 147 |
"bitwise OR of the other values in the following list:" |
| 148 |
msgstr "" |
| 149 |
"I<prot> هو مزيج من أعلام الوصول التالية: B<PROT_NONE> أو عملية OR بتية للقيم " |
| 150 |
"الأخرى في القائمة التالية:" |
| 151 |
|
| 152 |
#. type: TP |
| 153 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 154 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 155 |
#, no-wrap |
| 156 |
msgid "B<PROT_NONE>" |
| 157 |
msgstr "B<PROT_NONE>" |
| 158 |
|
| 159 |
#. type: Plain text |
| 160 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 161 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 162 |
msgid "The memory cannot be accessed at all." |
| 163 |
msgstr "لا يمكن الوصول إلى الذاكرة على الإطلاق." |
| 164 |
|
| 165 |
#. type: TP |
| 166 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 167 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 168 |
#, no-wrap |
| 169 |
msgid "B<PROT_READ>" |
| 170 |
msgstr "B<PROT_READ>" |
| 171 |
|
| 172 |
#. type: Plain text |
| 173 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 174 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 175 |
msgid "The memory can be read." |
| 176 |
msgstr "يمكن قراءة الذاكرة." |
| 177 |
|
| 178 |
#. type: TP |
| 179 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 180 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 181 |
#, no-wrap |
| 182 |
msgid "B<PROT_WRITE>" |
| 183 |
msgstr "B<PROT_WRITE>" |
| 184 |
|
| 185 |
#. type: Plain text |
| 186 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 187 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 188 |
msgid "The memory can be modified." |
| 189 |
msgstr "يمكن تعديل الذاكرة." |
| 190 |
|
| 191 |
#. type: TP |
| 192 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 193 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 194 |
#, no-wrap |
| 195 |
msgid "B<PROT_EXEC>" |
| 196 |
msgstr "B<PROT_EXEC>" |
| 197 |
|
| 198 |
#. type: Plain text |
| 199 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 200 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 201 |
msgid "The memory can be executed." |
| 202 |
msgstr "يمكن تنفيذ الذاكرة." |
| 203 |
|
| 204 |
#. type: TP |
| 205 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 206 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 207 |
#, no-wrap |
| 208 |
msgid "B<PROT_SEM> (since Linux 2.5.7)" |
| 209 |
msgstr "B<PROT_SEM> (منذ Linux 2.5.7)" |
| 210 |
|
| 211 |
#. type: Plain text |
| 212 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 213 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 214 |
msgid "" |
| 215 |
"The memory can be used for atomic operations. This flag was introduced as " |
| 216 |
"part of the B<futex>(2) implementation (in order to guarantee the ability " |
| 217 |
"to perform atomic operations required by commands such as B<FUTEX_WAIT>), " |
| 218 |
"but is not currently used in on any architecture." |
| 219 |
msgstr "" |
| 220 |
"يمكن استخدام الذاكرة للعمليات الذرية. تم تقديم هذا العلم كجزء من تنفيذ " |
| 221 |
"B<futex>(2) (لضمان القدرة على أداء العمليات الذرية المطلوبة بأوامر مثل " |
| 222 |
"B<FUTEX_WAIT>)، لكنه لا يُستخدم حالياً على أي بنية." |
| 223 |
|
| 224 |
#. type: TP |
| 225 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 226 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 227 |
#, no-wrap |
| 228 |
msgid "B<PROT_SAO> (since Linux 2.6.26)" |
| 229 |
msgstr "B<PROT_SAO> (منذ Linux 2.6.26)" |
| 230 |
|
| 231 |
#. commit aba46c5027cb59d98052231b36efcbbde9c77a1d |
| 232 |
#. commit ef3d3246a0d06be622867d21af25f997aeeb105f |
| 233 |
#. type: Plain text |
| 234 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 235 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 236 |
msgid "" |
| 237 |
"The memory should have strong access ordering. This feature is specific to " |
| 238 |
"the PowerPC architecture (version 2.06 of the architecture specification " |
| 239 |
"adds the SAO CPU feature, and it is available on POWER 7 or PowerPC A2, for " |
| 240 |
"example)." |
| 241 |
msgstr "" |
| 242 |
"يجب أن يكون للذاكرة ترتيب وصول قوي. هذه الميزة خاصة ببنية PowerPC (الإصدار " |
| 243 |
"2.06 من مواصفات البنية يضيف ميزة SAO CPU، وهي متاحة على POWER 7 أو PowerPC " |
| 244 |
"A2، على سبيل المثال)." |
| 245 |
|
| 246 |
#. type: Plain text |
| 247 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 248 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 249 |
msgid "" |
| 250 |
"Additionally (since Linux 2.6.0), I<prot> can have one of the following " |
| 251 |
"flags set:" |
| 252 |
msgstr "" |
| 253 |
"بالإضافة (منذ Linux 2.6.0)، يمكن أن يحتوي I<prot> على أحد الأعلام التالية:" |
| 254 |
|
| 255 |
#. mm/mmap.c: |
| 256 |
#. vm_flags |= calc_vm_prot_bits(prot, pkey) | calc_vm_flag_bits(flags) | |
| 257 |
#. mm->def_flags | VM_MAYREAD | VM_MAYWRITE | VM_MAYEXEC; |
| 258 |
#. And calc_vm_flag_bits converts only GROWSDOWN/DENYWRITE/LOCKED. |
| 259 |
#. type: TP |
| 260 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 261 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 262 |
#, no-wrap |
| 263 |
msgid "B<PROT_GROWSUP>" |
| 264 |
msgstr "B<PROT_GROWSUP>" |
| 265 |
|
| 266 |
#. #-#-#-#-# archlinux: mprotect.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 267 |
#. The VMA is one that was marked with VM_GROWSUP by the kernel |
| 268 |
#. when the stack was created. Note that (unlike VM_GROWSDOWN), |
| 269 |
#. there is no mmap() flag (analogous to MAP_GROWSDOWN) for |
| 270 |
#. creating a VMA that is marked VM_GROWSUP. |
| 271 |
#. type: Plain text |
| 272 |
#. #-#-#-#-# debian-trixie: mprotect.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 273 |
#. The VMA is one that was marked with VM_GROWSUP by the kernel |
| 274 |
#. when the stack was created. Note that (unlike VM_GROWSDOWN), |
| 275 |
#. there is no mmap() flag (analogous to MAP_GROWSDOWN) for |
| 276 |
#. creating a VMA that is marked VM_GROWSUP. |
| 277 |
#. type: Plain text |
| 278 |
#. #-#-#-#-# debian-unstable: mprotect.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 279 |
#. The VMA is one that was marked with VM_GROWSUP by the kernel |
| 280 |
#. when the stack was created. Note that (unlike VM_GROWSDOWN), |
| 281 |
#. there is no mmap() flag (analogous to MAP_GROWSDOWN) for |
| 282 |
#. creating a VMA that is marked VM_GROWSUP. |
| 283 |
#. type: Plain text |
| 284 |
#. #-#-#-#-# fedora-44: mprotect.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 285 |
#. The VMA is one that was marked with VM_GROWSUP by the kernel |
| 286 |
#. when the stack was created. Note that (unlike VM_GROWSDOWN), |
| 287 |
#. there is no mmap() flag (analogous to MAP_GROWSDOWN) for |
| 288 |
#. creating a VMA that is marked VM_GROWSUP. |
| 289 |
#. type: Plain text |
| 290 |
#. #-#-#-#-# fedora-rawhide: mprotect.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 291 |
#. The VMA is one that was marked with VM_GROWSUP by the kernel |
| 292 |
#. when the stack was created. Note that (unlike VM_GROWSDOWN), |
| 293 |
#. there is no mmap() flag (analogous to MAP_GROWSDOWN) for |
| 294 |
#. creating a VMA that is marked VM_GROWSUP. |
| 295 |
#. type: Plain text |
| 296 |
#. #-#-#-#-# mageia-cauldron: mprotect.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 297 |
#. The VMA is one that was marked with VM_GROWSUP by the kernel |
| 298 |
#. when the stack was created. Note that (unlike VM_GROWSDOWN), |
| 299 |
#. there is no mmap() flag (analogous to MAP_GROWSDOWN) for |
| 300 |
#. creating a VMA that is marked VM_GROWSUP. |
| 301 |
#. type: Plain text |
| 302 |
#. #-#-#-#-# opensuse-leap-16-1: mprotect.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 303 |
#. The VMA is one that was marked with VM_GROWSUP by the kernel |
| 304 |
#. when the stack was created. Note that (unlike VM_GROWSDOWN), |
| 305 |
#. there is no mmap() flag (analogous to MAP_GROWSDOWN) for |
| 306 |
#. creating a VMA that is marked VM_GROWSUP. |
| 307 |
#. type: Plain text |
| 308 |
#. #-#-#-#-# opensuse-tumbleweed: mprotect.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 309 |
#. The VMA is one that was marked with VM_GROWSUP by the kernel |
| 310 |
#. when the stack was created. Note that (unlike VM_GROWSDOWN), |
| 311 |
#. there is no mmap() flag (analogous to MAP_GROWSDOWN) for |
| 312 |
#. creating a VMA that is marked VM_GROWSUP. |
| 313 |
#. type: Plain text |
| 314 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 315 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 316 |
msgid "" |
| 317 |
"Apply the protection mode up to the end of a mapping that grows upwards. " |
| 318 |
"(Such mappings are created for the stack area on architectures\\[em]for " |
| 319 |
"example, HP-PARISC\\[em]that have an upwardly growing stack.)" |
| 320 |
msgstr "" |
| 321 |
"طبق نمط الحماية حتى نهاية تعيين ينمو لأعلى. (يتم إنشاء هذه التعيينات لمنطقة " |
| 322 |
"المكدس على البنى\\[em]على سبيل المثال، HP-PARISC\\[em]التي تحتوي على مكدس " |
| 323 |
"ينمو لأعلى.)" |
| 324 |
|
| 325 |
#. type: TP |
| 326 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 327 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 328 |
#, no-wrap |
| 329 |
msgid "B<PROT_GROWSDOWN>" |
| 330 |
msgstr "B<PROT_GROWSDOWN>" |
| 331 |
|
| 332 |
#. type: Plain text |
| 333 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 334 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 335 |
msgid "" |
| 336 |
"Apply the protection mode down to the beginning of a mapping that grows " |
| 337 |
"downward (which should be a stack segment or a segment mapped with the " |
| 338 |
"B<MAP_GROWSDOWN> flag set)." |
| 339 |
msgstr "" |
| 340 |
"طبق نمط الحماية نزولاً إلى بداية تعيين ينمو لأسفل (يجب أن يكون مقطع مكدس أو " |
| 341 |
"مقطع معين مع تعيين علم B<MAP_GROWSDOWN>)." |
| 342 |
|
| 343 |
#. type: Plain text |
| 344 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 345 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 346 |
msgid "" |
| 347 |
"Like B<mprotect>(), B<pkey_mprotect>() changes the protection on the pages " |
| 348 |
"specified by I<addr> and I<size>. The I<pkey> argument specifies the " |
| 349 |
"protection key (see B<pkeys>(7)) to assign to the memory. The protection " |
| 350 |
"key must be allocated with B<pkey_alloc>(2) before it is passed to " |
| 351 |
"B<pkey_mprotect>(). For an example of the use of this system call, see " |
| 352 |
"B<pkeys>(7)." |
| 353 |
msgstr "" |
| 354 |
"مثل B<mprotect>()، تغير B<pkey_mprotect>() الحماية على الصفحات المحددة " |
| 355 |
"بواسطة I<addr> و I<size>. تحدد الوسيطة I<pkey> مفتاح الحماية (انظر " |
| 356 |
"B<pkeys>(7)) لتعيينه للذاكرة. يجب تخصيص مفتاح الحماية باستخدام " |
| 357 |
"B<pkey_alloc>(2) قبل تمريره إلى B<pkey_mprotect>(). لمثال على استخدام هذه " |
| 358 |
"الاستدعاءات النظامية، انظر B<pkeys>(7)." |
| 359 |
|
| 360 |
#. type: SH |
| 361 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 362 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 363 |
#, no-wrap |
| 364 |
msgid "RETURN VALUE" |
| 365 |
msgstr "قيمة الإرجاع" |
| 366 |
|
| 367 |
#. type: Plain text |
| 368 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 369 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 370 |
msgid "" |
| 371 |
"On success, B<mprotect>() and B<pkey_mprotect>() return zero. On error, " |
| 372 |
"these system calls return -1, and I<errno> is set to indicate the error." |
| 373 |
msgstr "" |
| 374 |
"عند النجاح، ترجع B<mprotect>() و B<pkey_mprotect>() صفراً. عند الخطأ، ترجع " |
| 375 |
"هذه الاستدعاءات النظامية -1، ويتم تعيين I<errno> للإشارة إلى الخطأ." |
| 376 |
|
| 377 |
#. type: SH |
| 378 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 379 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 380 |
#, no-wrap |
| 381 |
msgid "ERRORS" |
| 382 |
msgstr "الأخطاء" |
| 383 |
|
| 384 |
#. type: TP |
| 385 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 386 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 387 |
#, no-wrap |
| 388 |
msgid "B<EACCES>" |
| 389 |
msgstr "B<EACCES>" |
| 390 |
|
| 391 |
#. type: Plain text |
| 392 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 393 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 394 |
msgid "" |
| 395 |
"The memory cannot be given the specified access. This can happen, for " |
| 396 |
"example, if you B<mmap>(2) a file to which you have read-only access, then " |
| 397 |
"ask B<mprotect>() to mark it B<PROT_WRITE>." |
| 398 |
msgstr "" |
| 399 |
"لا يمكن إعطاء الذاكرة الوصول المحدد. يمكن أن يحدث هذا، على سبيل المثال، إذا " |
| 400 |
"قمت بـ B<mmap>(2) لملف لديك وصول للقراءة فقط إليه، ثم طلبت من B<mprotect>() " |
| 401 |
"وضع علامة B<PROT_WRITE> عليه." |
| 402 |
|
| 403 |
#. type: TP |
| 404 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 405 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 406 |
#, no-wrap |
| 407 |
msgid "B<EINVAL>" |
| 408 |
msgstr "B<EINVAL>" |
| 409 |
|
| 410 |
#. type: Plain text |
| 411 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 412 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 413 |
msgid "" |
| 414 |
"I<addr> is not a valid pointer, or not a multiple of the system page size." |
| 415 |
msgstr "I<addr> ليس مؤشراً صالحاً، أو ليس مضاعفاً لحجم صفحة النظام." |
| 416 |
|
| 417 |
#. type: Plain text |
| 418 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 419 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 420 |
msgid "" |
| 421 |
"(B<pkey_mprotect>()) I<pkey> has not been allocated with B<pkey_alloc>(2)" |
| 422 |
msgstr "(B<pkey_mprotect>()) لم يتم تخصيص I<pkey> باستخدام B<pkey_alloc>(2)" |
| 423 |
|
| 424 |
#. type: Plain text |
| 425 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 426 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 427 |
msgid "Both B<PROT_GROWSUP> and B<PROT_GROWSDOWN> were specified in I<prot>." |
| 428 |
msgstr "تم تحديد كل من B<PROT_GROWSUP> و B<PROT_GROWSDOWN> في I<prot>." |
| 429 |
|
| 430 |
#. type: Plain text |
| 431 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 432 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 433 |
msgid "Invalid flags specified in I<prot>." |
| 434 |
msgstr "أعلام غير صالحة محددة في I<prot>." |
| 435 |
|
| 436 |
#. type: Plain text |
| 437 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 438 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 439 |
msgid "" |
| 440 |
"(PowerPC architecture) B<PROT_SAO> was specified in I<prot>, but SAO " |
| 441 |
"hardware feature is not available." |
| 442 |
msgstr "" |
| 443 |
"(بنية PowerPC) تم تحديد B<PROT_SAO> في I<prot>، لكن ميزة الأجهزة SAO غير " |
| 444 |
"متاحة." |
| 445 |
|
| 446 |
#. type: TP |
| 447 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 448 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 449 |
#, no-wrap |
| 450 |
msgid "B<ENOMEM>" |
| 451 |
msgstr "B<ENOMEM>" |
| 452 |
|
| 453 |
#. type: Plain text |
| 454 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 455 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 456 |
msgid "Internal kernel structures could not be allocated." |
| 457 |
msgstr "لا يمكن تخصيص هياكل النواة الداخلية." |
| 458 |
|
| 459 |
#. type: Plain text |
| 460 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 461 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 462 |
msgid "" |
| 463 |
"Addresses in the range [I<addr>, I<addr>+I<size>-1] are invalid for the " |
| 464 |
"address space of the process, or specify one or more pages that are not " |
| 465 |
"mapped. (Before Linux 2.4.19, the error B<EFAULT> was incorrectly produced " |
| 466 |
"for these cases.)" |
| 467 |
msgstr "" |
| 468 |
"العناوين في النطاق [I<addr>, I<addr>+I<size>-1] غير صالحة لمساحة عنوان " |
| 469 |
"العملية، أو تحدد صفحة واحدة أو أكثر غير معينة. (قبل Linux 2.4.19، كان الخطأ " |
| 470 |
"B<EFAULT> يُنتج بشكل غير صحيح لهذه الحالات.)" |
| 471 |
|
| 472 |
#. I.e., the number of VMAs would exceed the 64 kB maximum |
| 473 |
#. type: Plain text |
| 474 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 475 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 476 |
msgid "" |
| 477 |
"Changing the protection of a memory region would result in the total number " |
| 478 |
"of mappings with distinct attributes (e.g., read versus read/write " |
| 479 |
"protection) exceeding the allowed maximum. (For example, making the " |
| 480 |
"protection of a range B<PROT_READ> in the middle of a region currently " |
| 481 |
"protected as B<PROT_READ|PROT_WRITE> would result in three mappings: two " |
| 482 |
"read/write mappings at each end and a read-only mapping in the middle.)" |
| 483 |
msgstr "" |
| 484 |
"تغيير حماية منطقة ذاكرة سيؤدي إلى تجاوز العدد الإجمالي للتعيينات ذات السمات " |
| 485 |
"المميزة (مثل الحماية للقراءة مقابل الحماية للقراءة/الكتابة) الحد الأقصى " |
| 486 |
"المسموح به. (على سبيل المثال، جعل حماية نطاق B<PROT_READ> في منتصف منطقة " |
| 487 |
"محمية حاليًا كـ B<PROT_READ|PROT_WRITE> سيؤدي إلى ثلاثة تعيينات: تعيينان " |
| 488 |
"للقراءة/الكتابة في كل طرف وتعيين للقراءة فقط في المنتصف.)" |
| 489 |
|
| 490 |
#. type: SH |
| 491 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 492 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 493 |
#, no-wrap |
| 494 |
msgid "VERSIONS" |
| 495 |
msgstr "الإصدارات" |
| 496 |
|
| 497 |
#. #-#-#-#-# archlinux: mprotect.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 498 |
#. SVr4 defines an additional error |
| 499 |
#. code EAGAIN. The SVr4 error conditions don't map neatly onto Linux's. |
| 500 |
#. type: Plain text |
| 501 |
#. #-#-#-#-# debian-trixie: mprotect.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 502 |
#. SVr4 defines an additional error |
| 503 |
#. code EAGAIN. The SVr4 error conditions don't map neatly onto Linux's. |
| 504 |
#. type: Plain text |
| 505 |
#. #-#-#-#-# debian-unstable: mprotect.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 506 |
#. SVr4 defines an additional error |
| 507 |
#. code EAGAIN. The SVr4 error conditions don't map neatly onto Linux's. |
| 508 |
#. type: Plain text |
| 509 |
#. #-#-#-#-# fedora-44: mprotect.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 510 |
#. SVr4 defines an additional error |
| 511 |
#. code EAGAIN. The SVr4 error conditions don't map neatly onto Linux's. |
| 512 |
#. type: Plain text |
| 513 |
#. #-#-#-#-# fedora-rawhide: mprotect.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 514 |
#. SVr4 defines an additional error |
| 515 |
#. code EAGAIN. The SVr4 error conditions don't map neatly onto Linux's. |
| 516 |
#. type: Plain text |
| 517 |
#. #-#-#-#-# mageia-cauldron: mprotect.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 518 |
#. SVr4 defines an additional error |
| 519 |
#. code EAGAIN. The SVr4 error conditions don't map neatly onto Linux's. |
| 520 |
#. type: Plain text |
| 521 |
#. #-#-#-#-# opensuse-leap-16-1: mprotect.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 522 |
#. SVr4 defines an additional error |
| 523 |
#. code EAGAIN. The SVr4 error conditions don't map neatly onto Linux's. |
| 524 |
#. type: Plain text |
| 525 |
#. #-#-#-#-# opensuse-tumbleweed: mprotect.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 526 |
#. SVr4 defines an additional error |
| 527 |
#. code EAGAIN. The SVr4 error conditions don't map neatly onto Linux's. |
| 528 |
#. type: Plain text |
| 529 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 530 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 531 |
msgid "" |
| 532 |
"POSIX says that the behavior of B<mprotect>() is unspecified if it is " |
| 533 |
"applied to a region of memory that was not obtained via B<mmap>(2)." |
| 534 |
msgstr "" |
| 535 |
"ينص POSIX على أن سلوك B<mprotect>() غير محدد إذا تم تطبيقه على منطقة ذاكرة " |
| 536 |
"لم يتم الحصول عليها عبر B<mmap>(2)." |
| 537 |
|
| 538 |
#. type: Plain text |
| 539 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 540 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 541 |
msgid "" |
| 542 |
"On Linux, it is always permissible to call B<mprotect>() on any address in " |
| 543 |
"a process's address space (except for the kernel vsyscall area). In " |
| 544 |
"particular, it can be used to change existing code mappings to be writable." |
| 545 |
msgstr "" |
| 546 |
"في لينكس، من الجائز دائمًا استدعاء B<mprotect>() على أي عنوان في مساحة عنوان " |
| 547 |
"العملية (باستثناء منطقة vsyscall للنواة). على وجه الخصوص، يمكن استخدامه " |
| 548 |
"لتغيير تعيينات الكود الحالية لتكون قابلة للكتابة." |
| 549 |
|
| 550 |
#. type: Plain text |
| 551 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 552 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 553 |
msgid "" |
| 554 |
"Whether B<PROT_EXEC> has any effect different from B<PROT_READ> depends on " |
| 555 |
"processor architecture, kernel version, and process state. If " |
| 556 |
"B<READ_IMPLIES_EXEC> is set in the process's personality flags (see " |
| 557 |
"B<personality>(2)), specifying B<PROT_READ> will implicitly add B<PROT_EXEC>." |
| 558 |
msgstr "" |
| 559 |
"ما إذا كان B<PROT_EXEC> له أي تأثير مختلف عن B<PROT_READ> يعتمد على بنية " |
| 560 |
"المعالج، وإصدار النواة، وحالة العملية. إذا تم تعيين B<READ_IMPLIES_EXEC> في " |
| 561 |
"أعلام شخصية العملية (انظر B<personality>(2))، فإن تحديد B<PROT_READ> سيضيف " |
| 562 |
"ضمنيًا B<PROT_EXEC>." |
| 563 |
|
| 564 |
#. type: Plain text |
| 565 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 566 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 567 |
msgid "" |
| 568 |
"On some hardware architectures (e.g., i386), B<PROT_WRITE> implies " |
| 569 |
"B<PROT_READ>." |
| 570 |
msgstr "في بعض بنيات العتاد (مثل i386)، يستلزم B<PROT_WRITE> B<PROT_READ>." |
| 571 |
|
| 572 |
#. type: Plain text |
| 573 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 574 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 575 |
msgid "" |
| 576 |
"POSIX.1 says that an implementation may permit access other than that " |
| 577 |
"specified in I<prot>, but at a minimum can allow write access only if " |
| 578 |
"B<PROT_WRITE> has been set, and must not allow any access if B<PROT_NONE> " |
| 579 |
"has been set." |
| 580 |
msgstr "" |
| 581 |
"ينص POSIX.1 على أن التنفيذ قد يسمح بالوصول بخلاف ما هو محدد في I<prot>، ولكن " |
| 582 |
"كحد أدنى يمكنه السماح بالوصول للكتابة فقط إذا تم تعيين B<PROT_WRITE>، ويجب " |
| 583 |
"ألا يسمح بأي وصول إذا تم تعيين B<PROT_NONE>." |
| 584 |
|
| 585 |
#. type: Plain text |
| 586 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 587 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 588 |
msgid "" |
| 589 |
"Applications should be careful when mixing use of B<mprotect>() and " |
| 590 |
"B<pkey_mprotect>(). On x86, when B<mprotect>() is used with I<prot> set to " |
| 591 |
"B<PROT_EXEC> a pkey may be allocated and set on the memory implicitly by the " |
| 592 |
"kernel, but only when the pkey was 0 previously." |
| 593 |
msgstr "" |
| 594 |
"يجب على التطبيقات توخي الحذر عند خلط استخدام B<mprotect>() و " |
| 595 |
"B<pkey_mprotect>(). في x86، عند استخدام B<mprotect>() مع تعيين I<prot> إلى " |
| 596 |
"B<PROT_EXEC>، قد يتم تخصيص مفتاح حماية (pkey) وتعيينه على الذاكرة ضمنيًا " |
| 597 |
"بواسطة النواة، ولكن فقط عندما كان المفتاح 0 سابقًا." |
| 598 |
|
| 599 |
#. type: Plain text |
| 600 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 601 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 602 |
msgid "" |
| 603 |
"On systems that do not support protection keys in hardware, " |
| 604 |
"B<pkey_mprotect>() may still be used, but I<pkey> must be set to -1. When " |
| 605 |
"called this way, the operation of B<pkey_mprotect>() is equivalent to " |
| 606 |
"B<mprotect>()." |
| 607 |
msgstr "" |
| 608 |
"في الأنظمة التي لا تدعم مفاتيح الحماية في العتاد، لا يزال من الممكن استخدام " |
| 609 |
"B<pkey_mprotect>() ولكن يجب تعيين I<pkey> إلى -1. عند الاستدعاء بهذه " |
| 610 |
"الطريقة، تكون عملية B<pkey_mprotect>() مكافئة لـ B<mprotect>()." |
| 611 |
|
| 612 |
#. type: SH |
| 613 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 614 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 615 |
#, no-wrap |
| 616 |
msgid "STANDARDS" |
| 617 |
msgstr "المعايير" |
| 618 |
|
| 619 |
#. type: TP |
| 620 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 621 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 622 |
#, no-wrap |
| 623 |
msgid "B<mprotect>()" |
| 624 |
msgstr "B<mprotect>()" |
| 625 |
|
| 626 |
#. type: Plain text |
| 627 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 628 |
#: opensuse-tumbleweed |
| 629 |
msgid "POSIX.1-2024." |
| 630 |
msgstr "POSIX.1-2024." |
| 631 |
|
| 632 |
#. type: TP |
| 633 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 634 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 635 |
#, no-wrap |
| 636 |
msgid "B<pkey_mprotect>()" |
| 637 |
msgstr "B<pkey_mprotect>()" |
| 638 |
|
| 639 |
#. type: Plain text |
| 640 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 641 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 642 |
msgid "Linux." |
| 643 |
msgstr "لينكس." |
| 644 |
|
| 645 |
#. type: SH |
| 646 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 647 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 648 |
#, no-wrap |
| 649 |
msgid "HISTORY" |
| 650 |
msgstr "التاريخ" |
| 651 |
|
| 652 |
#. type: Plain text |
| 653 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 654 |
#: opensuse-tumbleweed |
| 655 |
msgid "SVr4, SUSv1, POSIX.1-1996." |
| 656 |
msgstr "SVr4, SUSv1, POSIX.1-1996." |
| 657 |
|
| 658 |
#. type: Plain text |
| 659 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 660 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 661 |
msgid "Linux 4.9, glibc 2.27." |
| 662 |
msgstr "لينكس 4.9، glibc 2.27." |
| 663 |
|
| 664 |
#. type: SH |
| 665 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 666 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 667 |
#, no-wrap |
| 668 |
msgid "NOTES" |
| 669 |
msgstr "ملاحظات" |
| 670 |
|
| 671 |
#. type: SH |
| 672 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 673 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 674 |
#, no-wrap |
| 675 |
msgid "EXAMPLES" |
| 676 |
msgstr "أمثلة" |
| 677 |
|
| 678 |
#. sigaction.2 refers to this example |
| 679 |
#. type: Plain text |
| 680 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 681 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 682 |
msgid "" |
| 683 |
"The program below demonstrates the use of B<mprotect>(). The program " |
| 684 |
"allocates four pages of memory, makes the third of these pages read-only, " |
| 685 |
"and then executes a loop that walks upward through the allocated region " |
| 686 |
"modifying bytes." |
| 687 |
msgstr "" |
| 688 |
"البرنامج أدناه يوضح استخدام B<mprotect>(). يخصص البرنامج أربع صفحات من " |
| 689 |
"الذاكرة، ويجعل الصفحة الثالثة منها للقراءة فقط، ثم ينفذ حلقة تمر تصاعديًا عبر " |
| 690 |
"المنطقة المخصصة لتعديل البايتات." |
| 691 |
|
| 692 |
#. type: Plain text |
| 693 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 694 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 695 |
msgid "" |
| 696 |
"An example of what we might see when running the program is the following:" |
| 697 |
msgstr "مثال لما قد نراه عند تشغيل البرنامج هو التالي:" |
| 698 |
|
| 699 |
#. type: Plain text |
| 700 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 701 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 702 |
#, no-wrap |
| 703 |
msgid "" |
| 704 |
"$B< ./a.out>\n" |
| 705 |
"Start of region: 0x804c000\n" |
| 706 |
"Got SIGSEGV at address: 0x804e000\n" |
| 707 |
msgstr "" |
| 708 |
"$B< ./a.out>\n" |
| 709 |
"Start of region: 0x804c000\n" |
| 710 |
"Got SIGSEGV at address: 0x804e000\n" |
| 711 |
|
| 712 |
#. type: SS |
| 713 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 714 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 715 |
#, no-wrap |
| 716 |
msgid "Program source" |
| 717 |
msgstr "مصدر البرنامج" |
| 718 |
|
| 719 |
#. type: Plain text |
| 720 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 721 |
#: opensuse-tumbleweed |
| 722 |
#, no-wrap |
| 723 |
msgid "" |
| 724 |
"#include E<lt>err.hE<gt>\n" |
| 725 |
"#include E<lt>malloc.hE<gt>\n" |
| 726 |
"#include E<lt>signal.hE<gt>\n" |
| 727 |
"#include E<lt>stdio.hE<gt>\n" |
| 728 |
"#include E<lt>stdlib.hE<gt>\n" |
| 729 |
"#include E<lt>sys/mman.hE<gt>\n" |
| 730 |
"#include E<lt>unistd.hE<gt>\n" |
| 731 |
"\\&\n" |
| 732 |
"static char *buffer;\n" |
| 733 |
"\\&\n" |
| 734 |
"static void\n" |
| 735 |
"handler(int sig, siginfo_t *si, void *unused)\n" |
| 736 |
"{\n" |
| 737 |
" /* Note: calling printf() from a signal handler is not safe\n" |
| 738 |
" (and should not be done in production programs), since\n" |
| 739 |
" printf() is not async-signal-safe; see signal-safety(7).\n" |
| 740 |
" Nevertheless, we use printf() here as a simple way of\n" |
| 741 |
" showing that the handler was called. */\n" |
| 742 |
"\\&\n" |
| 743 |
" printf(\"Got SIGSEGV at address: %p\\[rs]n\", si-E<gt>si_addr);\n" |
| 744 |
" exit(EXIT_FAILURE);\n" |
| 745 |
"}\n" |
| 746 |
"\\&\n" |
| 747 |
"int\n" |
| 748 |
"main(void)\n" |
| 749 |
"{\n" |
| 750 |
" int pagesize;\n" |
| 751 |
" struct sigaction sa;\n" |
| 752 |
"\\&\n" |
| 753 |
" sa.sa_flags = SA_SIGINFO;\n" |
| 754 |
" sigemptyset(&sa.sa_mask);\n" |
| 755 |
" sa.sa_sigaction = handler;\n" |
| 756 |
" if (sigaction(SIGSEGV, &sa, NULL) == -1)\n" |
| 757 |
" err(EXIT_FAILURE, \"sigaction\");\n" |
| 758 |
"\\&\n" |
| 759 |
" pagesize = sysconf(_SC_PAGE_SIZE);\n" |
| 760 |
" if (pagesize == -1)\n" |
| 761 |
" err(EXIT_FAILURE, \"sysconf\");\n" |
| 762 |
"\\&\n" |
| 763 |
" /* Allocate a buffer aligned on a page boundary;\n" |
| 764 |
" initial protection is PROT_READ | PROT_WRITE. */\n" |
| 765 |
"\\&\n" |
| 766 |
" buffer = memalign(pagesize, 4 * pagesize);\n" |
| 767 |
" if (buffer == NULL)\n" |
| 768 |
" err(EXIT_FAILURE, \"memalign\");\n" |
| 769 |
"\\&\n" |
| 770 |
" printf(\"Start of region: %p\\[rs]n\", buffer);\n" |
| 771 |
"\\&\n" |
| 772 |
" if (mprotect(buffer + pagesize * 2, pagesize,\n" |
| 773 |
" PROT_READ) == -1)\n" |
| 774 |
" err(EXIT_FAILURE, \"mprotect\");\n" |
| 775 |
"\\&\n" |
| 776 |
" for (char *p = buffer ; ; )\n" |
| 777 |
" *(p++) = \\[aq]a\\[aq];\n" |
| 778 |
"\\&\n" |
| 779 |
" printf(\"Loop completed\\[rs]n\"); /* Should never happen */\n" |
| 780 |
" exit(EXIT_SUCCESS);\n" |
| 781 |
"}\n" |
| 782 |
msgstr "" |
| 783 |
"#include E<lt>err.hE<gt>\n" |
| 784 |
"#include E<lt>malloc.hE<gt>\n" |
| 785 |
"#include E<lt>signal.hE<gt>\n" |
| 786 |
"#include E<lt>stdio.hE<gt>\n" |
| 787 |
"#include E<lt>stdlib.hE<gt>\n" |
| 788 |
"#include E<lt>sys/mman.hE<gt>\n" |
| 789 |
"#include E<lt>unistd.hE<gt>\n" |
| 790 |
"\\&\n" |
| 791 |
"static char *buffer;\n" |
| 792 |
"\\&\n" |
| 793 |
"static void\n" |
| 794 |
"handler(int sig, siginfo_t *si, void *unused)\n" |
| 795 |
"{\n" |
| 796 |
" /* Note: calling printf() from a signal handler is not safe\n" |
| 797 |
" (and should not be done in production programs), since\n" |
| 798 |
" printf() is not async-signal-safe; see signal-safety(7).\n" |
| 799 |
" Nevertheless, we use printf() here as a simple way of\n" |
| 800 |
" showing that the handler was called. */\n" |
| 801 |
"\\&\n" |
| 802 |
" printf(\"Got SIGSEGV at address: %p\\[rs]n\", si-E<gt>si_addr);\n" |
| 803 |
" exit(EXIT_FAILURE);\n" |
| 804 |
"}\n" |
| 805 |
"\\&\n" |
| 806 |
"int\n" |
| 807 |
"main(void)\n" |
| 808 |
"{\n" |
| 809 |
" int pagesize;\n" |
| 810 |
" struct sigaction sa;\n" |
| 811 |
"\\&\n" |
| 812 |
" sa.sa_flags = SA_SIGINFO;\n" |
| 813 |
" sigemptyset(&sa.sa_mask);\n" |
| 814 |
" sa.sa_sigaction = handler;\n" |
| 815 |
" if (sigaction(SIGSEGV, &sa, NULL) == -1)\n" |
| 816 |
" err(EXIT_FAILURE, \"sigaction\");\n" |
| 817 |
"\\&\n" |
| 818 |
" pagesize = sysconf(_SC_PAGE_SIZE);\n" |
| 819 |
" if (pagesize == -1)\n" |
| 820 |
" err(EXIT_FAILURE, \"sysconf\");\n" |
| 821 |
"\\&\n" |
| 822 |
" /* Allocate a buffer aligned on a page boundary;\n" |
| 823 |
" initial protection is PROT_READ | PROT_WRITE. */\n" |
| 824 |
"\\&\n" |
| 825 |
" buffer = memalign(pagesize, 4 * pagesize);\n" |
| 826 |
" if (buffer == NULL)\n" |
| 827 |
" err(EXIT_FAILURE, \"memalign\");\n" |
| 828 |
"\\&\n" |
| 829 |
" printf(\"Start of region: %p\\[rs]n\", buffer);\n" |
| 830 |
"\\&\n" |
| 831 |
" if (mprotect(buffer + pagesize * 2, pagesize,\n" |
| 832 |
" PROT_READ) == -1)\n" |
| 833 |
" err(EXIT_FAILURE, \"mprotect\");\n" |
| 834 |
"\\&\n" |
| 835 |
" for (char *p = buffer ; ; )\n" |
| 836 |
" *(p++) = \\[aq]a\\[aq];\n" |
| 837 |
"\\&\n" |
| 838 |
" printf(\"Loop completed\\[rs]n\"); /* Should never happen */\n" |
| 839 |
" exit(EXIT_SUCCESS);\n" |
| 840 |
"}\n" |
| 841 |
|
| 842 |
#. SRC END |
| 843 |
#. type: SH |
| 844 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 845 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 846 |
#, no-wrap |
| 847 |
msgid "SEE ALSO" |
| 848 |
msgstr "انظر أيضًا" |
| 849 |
|
| 850 |
#. type: Plain text |
| 851 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 852 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 853 |
msgid "B<mmap>(2), B<sysconf>(3), B<pkeys>(7)" |
| 854 |
msgstr "B<mmap>(2), B<sysconf>(3), B<pkeys>(7)" |
| 855 |
|
| 856 |
#. type: TH |
| 857 |
#: debian-trixie |
| 858 |
#, no-wrap |
| 859 |
msgid "2024-06-15" |
| 860 |
msgstr "15 يونيو 2024" |
| 861 |
|
| 862 |
#. type: TH |
| 863 |
#: debian-trixie |
| 864 |
#, no-wrap |
| 865 |
msgid "Linux man-pages 6.9.1" |
| 866 |
msgstr "صفحات دليل لينكس 6.9.1" |
| 867 |
|
| 868 |
#. type: Plain text |
| 869 |
#: debian-trixie |
| 870 |
msgid "Standard C library (I<libc>, I<-lc>)" |
| 871 |
msgstr "مكتبة سي المعيارية (I<libc>، I<-lc>)" |
| 872 |
|
| 873 |
#. type: Plain text |
| 874 |
#: debian-trixie |
| 875 |
#, no-wrap |
| 876 |
msgid "B<int mprotect(void >I<addr>B<[.>I<len>B<], size_t >I<len>B<, int >I<prot>B<);>\n" |
| 877 |
msgstr "B<int mprotect(void >I<addr>B<[.>I<len>B<], size_t >I<len>B<, int >I<prot>B<);>\n" |
| 878 |
|
| 879 |
#. type: Plain text |
| 880 |
#: debian-trixie |
| 881 |
#, no-wrap |
| 882 |
msgid "B<int pkey_mprotect(void >I<addr>B<[.>I<len>B<], size_t >I<len>B<, int >I<prot>B<, int >I<pkey>B<);>\n" |
| 883 |
msgstr "B<int pkey_mprotect(void >I<addr>B<[.>I<len>B<], size_t >I<len>B<, int >I<prot>B<, int >I<pkey>B<);>\n" |
| 884 |
|
| 885 |
#. type: Plain text |
| 886 |
#: debian-trixie |
| 887 |
msgid "" |
| 888 |
"B<mprotect>() changes the access protections for the calling process's " |
| 889 |
"memory pages containing any part of the address range in the interval " |
| 890 |
"[I<addr>,\\ I<addr>+I<len>-1]. I<addr> must be aligned to a page boundary." |
| 891 |
msgstr "" |
| 892 |
"يغير B<mprotect>() حماية الوصول لصفحات الذاكرة الخاصة بالعملية المستدعية " |
| 893 |
"التي تحتوي على أي جزء من نطاق العناوين في الفترة [I<addr>,\\ " |
| 894 |
"I<addr>+I<len>-1]. يجب أن يكون I<addr> محاذيًا لحدود الصفحة." |
| 895 |
|
| 896 |
#. type: Plain text |
| 897 |
#: debian-trixie |
| 898 |
msgid "" |
| 899 |
"Like B<mprotect>(), B<pkey_mprotect>() changes the protection on the pages " |
| 900 |
"specified by I<addr> and I<len>. The I<pkey> argument specifies the " |
| 901 |
"protection key (see B<pkeys>(7)) to assign to the memory. The protection " |
| 902 |
"key must be allocated with B<pkey_alloc>(2) before it is passed to " |
| 903 |
"B<pkey_mprotect>(). For an example of the use of this system call, see " |
| 904 |
"B<pkeys>(7)." |
| 905 |
msgstr "" |
| 906 |
"مثل B<mprotect>()، يغير B<pkey_mprotect>() الحماية على الصفحات المحددة " |
| 907 |
"بواسطة I<addr> و I<len>. تحدد الوسيطة I<pkey> مفتاح الحماية (انظر " |
| 908 |
"B<pkeys>(7)) لتعيينه للذاكرة. يجب تخصيص مفتاح الحماية باستخدام " |
| 909 |
"B<pkey_alloc>(2) قبل تمريره إلى B<pkey_mprotect>(). للحصول على مثال " |
| 910 |
"لاستخدام استدعاء النظام هذا، انظر B<pkeys>(7)." |
| 911 |
|
| 912 |
#. type: Plain text |
| 913 |
#: debian-trixie |
| 914 |
msgid "" |
| 915 |
"Addresses in the range [I<addr>, I<addr>+I<len>-1] are invalid for the " |
| 916 |
"address space of the process, or specify one or more pages that are not " |
| 917 |
"mapped. (Before Linux 2.4.19, the error B<EFAULT> was incorrectly produced " |
| 918 |
"for these cases.)" |
| 919 |
msgstr "" |
| 920 |
"العناوين في النطاق [I<addr>, I<addr>+I<len>-1] غير صالحة لمساحة عنوان " |
| 921 |
"العملية، أو تحدد صفحة واحدة أو أكثر غير معينة. (قبل لينكس 2.4.19، كان الخطأ " |
| 922 |
"B<EFAULT> يُنتج بشكل غير صحيح لهذه الحالات.)" |
| 923 |
|
| 924 |
#. type: Plain text |
| 925 |
#: debian-trixie fedora-44 fedora-rawhide |
| 926 |
msgid "POSIX.1-2008." |
| 927 |
msgstr "POSIX.1-2008." |
| 928 |
|
| 929 |
#. type: Plain text |
| 930 |
#: debian-trixie fedora-44 fedora-rawhide |
| 931 |
msgid "POSIX.1-2001, SVr4." |
| 932 |
msgstr "POSIX.1-2001، SVr4." |
| 933 |
|
| 934 |
#. type: Plain text |
| 935 |
#: debian-trixie fedora-44 fedora-rawhide |
| 936 |
#, no-wrap |
| 937 |
msgid "" |
| 938 |
"#include E<lt>malloc.hE<gt>\n" |
| 939 |
"#include E<lt>signal.hE<gt>\n" |
| 940 |
"#include E<lt>stdio.hE<gt>\n" |
| 941 |
"#include E<lt>stdlib.hE<gt>\n" |
| 942 |
"#include E<lt>sys/mman.hE<gt>\n" |
| 943 |
"#include E<lt>unistd.hE<gt>\n" |
| 944 |
"\\&\n" |
| 945 |
"#define handle_error(msg) \\[rs]\n" |
| 946 |
" do { perror(msg); exit(EXIT_FAILURE); } while (0)\n" |
| 947 |
"\\&\n" |
| 948 |
"static char *buffer;\n" |
| 949 |
"\\&\n" |
| 950 |
"static void\n" |
| 951 |
"handler(int sig, siginfo_t *si, void *unused)\n" |
| 952 |
"{\n" |
| 953 |
" /* Note: calling printf() from a signal handler is not safe\n" |
| 954 |
" (and should not be done in production programs), since\n" |
| 955 |
" printf() is not async-signal-safe; see signal-safety(7).\n" |
| 956 |
" Nevertheless, we use printf() here as a simple way of\n" |
| 957 |
" showing that the handler was called. */\n" |
| 958 |
"\\&\n" |
| 959 |
" printf(\"Got SIGSEGV at address: %p\\[rs]n\", si-E<gt>si_addr);\n" |
| 960 |
" exit(EXIT_FAILURE);\n" |
| 961 |
"}\n" |
| 962 |
"\\&\n" |
| 963 |
"int\n" |
| 964 |
"main(void)\n" |
| 965 |
"{\n" |
| 966 |
" int pagesize;\n" |
| 967 |
" struct sigaction sa;\n" |
| 968 |
"\\&\n" |
| 969 |
" sa.sa_flags = SA_SIGINFO;\n" |
| 970 |
" sigemptyset(&sa.sa_mask);\n" |
| 971 |
" sa.sa_sigaction = handler;\n" |
| 972 |
" if (sigaction(SIGSEGV, &sa, NULL) == -1)\n" |
| 973 |
" handle_error(\"sigaction\");\n" |
| 974 |
"\\&\n" |
| 975 |
" pagesize = sysconf(_SC_PAGE_SIZE);\n" |
| 976 |
" if (pagesize == -1)\n" |
| 977 |
" handle_error(\"sysconf\");\n" |
| 978 |
"\\&\n" |
| 979 |
" /* Allocate a buffer aligned on a page boundary;\n" |
| 980 |
" initial protection is PROT_READ | PROT_WRITE. */\n" |
| 981 |
"\\&\n" |
| 982 |
" buffer = memalign(pagesize, 4 * pagesize);\n" |
| 983 |
" if (buffer == NULL)\n" |
| 984 |
" handle_error(\"memalign\");\n" |
| 985 |
"\\&\n" |
| 986 |
" printf(\"Start of region: %p\\[rs]n\", buffer);\n" |
| 987 |
"\\&\n" |
| 988 |
" if (mprotect(buffer + pagesize * 2, pagesize,\n" |
| 989 |
" PROT_READ) == -1)\n" |
| 990 |
" handle_error(\"mprotect\");\n" |
| 991 |
"\\&\n" |
| 992 |
" for (char *p = buffer ; ; )\n" |
| 993 |
" *(p++) = \\[aq]a\\[aq];\n" |
| 994 |
"\\&\n" |
| 995 |
" printf(\"Loop completed\\[rs]n\"); /* Should never happen */\n" |
| 996 |
" exit(EXIT_SUCCESS);\n" |
| 997 |
"}\n" |
| 998 |
msgstr "" |
| 999 |
"#include E<lt>malloc.hE<gt>\n" |
| 1000 |
"#include E<lt>signal.hE<gt>\n" |
| 1001 |
"#include E<lt>stdio.hE<gt>\n" |
| 1002 |
"#include E<lt>stdlib.hE<gt>\n" |
| 1003 |
"#include E<lt>sys/mman.hE<gt>\n" |
| 1004 |
"#include E<lt>unistd.hE<gt>\n" |
| 1005 |
"\\&\n" |
| 1006 |
"#define handle_error(msg) \\[rs]\n" |
| 1007 |
" do { perror(msg); exit(EXIT_FAILURE); } while (0)\n" |
| 1008 |
"\\&\n" |
| 1009 |
"static char *buffer;\n" |
| 1010 |
"\\&\n" |
| 1011 |
"static void\n" |
| 1012 |
"handler(int sig, siginfo_t *si, void *unused)\n" |
| 1013 |
"{\n" |
| 1014 |
" /* Note: calling printf() from a signal handler is not safe\n" |
| 1015 |
" (and should not be done in production programs), since\n" |
| 1016 |
" printf() is not async-signal-safe; see signal-safety(7).\n" |
| 1017 |
" Nevertheless, we use printf() here as a simple way of\n" |
| 1018 |
" showing that the handler was called. */\n" |
| 1019 |
"\\&\n" |
| 1020 |
" printf(\"Got SIGSEGV at address: %p\\[rs]n\", si-E<gt>si_addr);\n" |
| 1021 |
" exit(EXIT_FAILURE);\n" |
| 1022 |
"}\n" |
| 1023 |
"\\&\n" |
| 1024 |
"int\n" |
| 1025 |
"main(void)\n" |
| 1026 |
"{\n" |
| 1027 |
" int pagesize;\n" |
| 1028 |
" struct sigaction sa;\n" |
| 1029 |
"\\&\n" |
| 1030 |
" sa.sa_flags = SA_SIGINFO;\n" |
| 1031 |
" sigemptyset(&sa.sa_mask);\n" |
| 1032 |
" sa.sa_sigaction = handler;\n" |
| 1033 |
" if (sigaction(SIGSEGV, &sa, NULL) == -1)\n" |
| 1034 |
" handle_error(\"sigaction\");\n" |
| 1035 |
"\\&\n" |
| 1036 |
" pagesize = sysconf(_SC_PAGE_SIZE);\n" |
| 1037 |
" if (pagesize == -1)\n" |
| 1038 |
" handle_error(\"sysconf\");\n" |
| 1039 |
"\\&\n" |
| 1040 |
" /* Allocate a buffer aligned on a page boundary;\n" |
| 1041 |
" initial protection is PROT_READ | PROT_WRITE. */\n" |
| 1042 |
"\\&\n" |
| 1043 |
" buffer = memalign(pagesize, 4 * pagesize);\n" |
| 1044 |
" if (buffer == NULL)\n" |
| 1045 |
" handle_error(\"memalign\");\n" |
| 1046 |
"\\&\n" |
| 1047 |
" printf(\"Start of region: %p\\[rs]n\", buffer);\n" |
| 1048 |
"\\&\n" |
| 1049 |
" if (mprotect(buffer + pagesize * 2, pagesize,\n" |
| 1050 |
" PROT_READ) == -1)\n" |
| 1051 |
" handle_error(\"mprotect\");\n" |
| 1052 |
"\\&\n" |
| 1053 |
" for (char *p = buffer ; ; )\n" |
| 1054 |
" *(p++) = \\[aq]a\\[aq];\n" |
| 1055 |
"\\&\n" |
| 1056 |
" printf(\"Loop completed\\[rs]n\"); /* Should never happen */\n" |
| 1057 |
" exit(EXIT_SUCCESS);\n" |
| 1058 |
"}\n" |
| 1059 |
|
| 1060 |
#. type: TH |
| 1061 |
#: fedora-44 fedora-rawhide |
| 1062 |
#, no-wrap |
| 1063 |
msgid "2024-11-17" |
| 1064 |
msgstr "17 نوفمبر 2024" |
| 1065 |
|
| 1066 |
#. type: TH |
| 1067 |
#: fedora-44 fedora-rawhide |
| 1068 |
#, no-wrap |
| 1069 |
msgid "Linux man-pages 6.13" |
| 1070 |
msgstr "صفحات دليل لينكس 6.13" |
| 1071 |
|
| 1072 |
#. type: Plain text |
| 1073 |
#: fedora-44 fedora-rawhide |
| 1074 |
#, no-wrap |
| 1075 |
msgid "B<int mprotect(void >I<addr>B<[.>I<size>B<], size_t >I<size>B<, int >I<prot>B<);>\n" |
| 1076 |
msgstr "B<int mprotect(void >I<addr>B<[.>I<size>B<], size_t >I<size>B<, int >I<prot>B<);>\n" |
| 1077 |
|
| 1078 |
#. type: Plain text |
| 1079 |
#: fedora-44 fedora-rawhide |
| 1080 |
#, no-wrap |
| 1081 |
msgid "B<int pkey_mprotect(void >I<addr>B<[.>I<size>B<], size_t >I<size>B<, int >I<prot>B<, int >I<pkey>B<);>\n" |
| 1082 |
msgstr "B<int pkey_mprotect(void >I<addr>B<[.>I<size>B<], size_t >I<size>B<, int >I<prot>B<, int >I<pkey>B<);>\n" |
| 1083 |
|
| 1084 |
#. type: Plain text |
| 1085 |
#: fedora-44 fedora-rawhide |
| 1086 |
msgid "" |
| 1087 |
"B<mprotect>() changes the access protections for the calling process's " |
| 1088 |
"memory pages containing any part of the address range in the interval " |
| 1089 |
"[I<addr>,\\ I<addr>+I<size>-1]. I<addr> must be aligned to a page boundary." |
| 1090 |
msgstr "" |
| 1091 |
"تغير B<mprotect>() حماية الوصول لصفحات ذاكرة العملية المستدعية التي تحتوي " |
| 1092 |
"على أي جزء من نطاق العناوين في الفترة [I<addr>,\\ I<addr>+I<size>-1]. يجب أن " |
| 1093 |
"يكون I<addr> محاذياً لحدود الصفحة." |
| 1094 |
|
| 1095 |
#. type: TH |
| 1096 |
#: mageia-cauldron |
| 1097 |
#, no-wrap |
| 1098 |
msgid "Linux man-pages 6.17" |
| 1099 |
msgstr "صفحات دليل لينكس 6.17" |
| 1100 |
|
| 1101 |
#. type: TH |
| 1102 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 1103 |
#, no-wrap |
| 1104 |
msgid "Linux man-pages (unreleased)" |
| 1105 |
msgstr "صفحات دليل لينكس (لم تصدر بعد)" |