| 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\n" |
| 8 |
"POT-Creation-Date: 2026-06-05 06:31+0200\n" |
| 9 |
"PO-Revision-Date: 2026-05-20 21:08+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 "mmap" |
| 25 |
msgstr "mmap" |
| 26 |
|
| 27 |
#. type: TH |
| 28 |
#: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed |
| 29 |
#, no-wrap |
| 30 |
msgid "2026-03-19" |
| 31 |
msgstr "19 مارس 2026" |
| 32 |
|
| 33 |
#. type: TH |
| 34 |
#: archlinux debian-unstable |
| 35 |
#, no-wrap |
| 36 |
msgid "Linux man-pages 6.18" |
| 37 |
msgstr "صفحات دليل لينكس 6.18" |
| 38 |
|
| 39 |
#. type: SH |
| 40 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 41 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 42 |
#, no-wrap |
| 43 |
msgid "NAME" |
| 44 |
msgstr "الاسم" |
| 45 |
|
| 46 |
#. type: Plain text |
| 47 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 48 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 49 |
msgid "mmap, munmap - map or unmap files or devices into memory" |
| 50 |
msgstr "mmap، munmap - يخطط أو يفصل الملفات أو الأجهزة في الذاكرة" |
| 51 |
|
| 52 |
#. type: SH |
| 53 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 54 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 55 |
#, no-wrap |
| 56 |
msgid "LIBRARY" |
| 57 |
msgstr "المكتبة" |
| 58 |
|
| 59 |
#. type: Plain text |
| 60 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 61 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 62 |
msgid "Standard C library (I<libc>,\\ I<-lc>)" |
| 63 |
msgstr "مكتبة سي المعيارية (I<libc>،\\ I<-lc>)" |
| 64 |
|
| 65 |
#. type: SH |
| 66 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 67 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 68 |
#, no-wrap |
| 69 |
msgid "SYNOPSIS" |
| 70 |
msgstr "موجز" |
| 71 |
|
| 72 |
#. type: Plain text |
| 73 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 74 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 75 |
#, no-wrap |
| 76 |
msgid "B<#include E<lt>sys/mman.hE<gt>>\n" |
| 77 |
msgstr "B<#include E<lt>sys/mman.hE<gt>>\n" |
| 78 |
|
| 79 |
#. type: Plain text |
| 80 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 81 |
#: opensuse-tumbleweed |
| 82 |
#, no-wrap |
| 83 |
msgid "" |
| 84 |
"B<void *mmap(>size_t length;\n" |
| 85 |
"B< void >I<addr>B<[>I<length>B<], size_t >I<length>B<, int >I<prot>B<, int >I<flags>B<,>\n" |
| 86 |
"B< int >I<fd>B<, off_t >I<offset>B<);>\n" |
| 87 |
"B<int munmap(>size_t length;\n" |
| 88 |
"B< void >I<addr>B<[>I<length>B<], size_t >I<length>B<);>\n" |
| 89 |
msgstr "" |
| 90 |
"B<void *mmap(>size_t length;\n" |
| 91 |
"B< void >I<addr>B<[>I<length>B<], size_t >I<length>B<, int >I<prot>B<, int >I<flags>B<,>\n" |
| 92 |
"B< int >I<fd>B<, off_t >I<offset>B<);>\n" |
| 93 |
"B<int munmap(>size_t length;\n" |
| 94 |
"B< void >I<addr>B<[>I<length>B<], size_t >I<length>B<);>\n" |
| 95 |
|
| 96 |
#. type: Plain text |
| 97 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 98 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 99 |
msgid "See VERSIONS for information on feature test macro requirements." |
| 100 |
msgstr "انظر VERSIONS للحصول على معلومات حول متطلبات ماكرو اختبار الميزات." |
| 101 |
|
| 102 |
#. type: SH |
| 103 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 104 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 105 |
#, no-wrap |
| 106 |
msgid "DESCRIPTION" |
| 107 |
msgstr "الوصف" |
| 108 |
|
| 109 |
#. type: Plain text |
| 110 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 111 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 112 |
msgid "" |
| 113 |
"B<mmap>() creates a new mapping in the virtual address space of the calling " |
| 114 |
"process. The starting address for the new mapping is specified in I<addr>. " |
| 115 |
"The I<length> argument specifies the length of the mapping (which must be " |
| 116 |
"greater than 0)." |
| 117 |
msgstr "" |
| 118 |
"تُنشئ B<mmap>() تخطيطًا جديدًا في مساحة العناوين الافتراضية للعملية المستدعِية. " |
| 119 |
"يُحدد العنوان الابتدائي للتخطيط الجديد في I<addr>. يُحدد المعامل I<length> طول " |
| 120 |
"التخطيط (الذي يجب أن يكون أكبر من 0)." |
| 121 |
|
| 122 |
#. Before Linux 2.6.24, the address was rounded up to the next page |
| 123 |
#. boundary; since Linux 2.6.24, it is rounded down! |
| 124 |
#. type: Plain text |
| 125 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 126 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 127 |
msgid "" |
| 128 |
"If I<addr> is NULL, then the kernel chooses the (page-aligned) address at " |
| 129 |
"which to create the mapping; this is the most portable method of creating a " |
| 130 |
"new mapping. If I<addr> is not NULL, then the kernel takes it as a hint " |
| 131 |
"about where to place the mapping; on Linux, the kernel will pick a nearby " |
| 132 |
"page boundary (but always above or equal to the value specified by I</proc/" |
| 133 |
"sys/vm/mmap_min_addr>) and attempt to create the mapping there. If another " |
| 134 |
"mapping already exists there, the kernel picks a new address that may or may " |
| 135 |
"not depend on the hint. The address of the new mapping is returned as the " |
| 136 |
"result of the call." |
| 137 |
msgstr "" |
| 138 |
"إذا كان I<addr> هو NULL، فإن النواة تختار العنوان (المحاذي للصفحة) الذي " |
| 139 |
"ستُنشئ التخطيط عنده؛ وهذه هي الطريقة الأكثر قابلية للنقل لإنشاء تخطيط جديد. " |
| 140 |
"أما إذا لم يكن I<addr> هو NULL، فإن النواة تعتبره تلميحًا حول مكان وضع " |
| 141 |
"التخطيط؛ وفي لينكس، ستختار النواة حدود صفحة قريبة (ولكن دائمًا أعلى من أو " |
| 142 |
"تساوي القيمة المحددة في I</proc/sys/vm/mmap_min_addr>) وتحاول إنشاء التخطيط " |
| 143 |
"هناك. وإذا وجد تخطيط آخر هناك بالفعل، تختار النواة عنوانًا جديدًا قد يعتمد أو " |
| 144 |
"لا يعتمد على التلميح. ويُعاد عنوان التخطيط الجديد كناتج للاستدعاء." |
| 145 |
|
| 146 |
#. type: Plain text |
| 147 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 148 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 149 |
msgid "" |
| 150 |
"The contents of a file mapping (as opposed to an anonymous mapping; see " |
| 151 |
"B<MAP_ANONYMOUS> below), are initialized using I<length> bytes starting at " |
| 152 |
"offset I<offset> in the file (or other object) referred to by the file " |
| 153 |
"descriptor I<fd>. I<offset> must be a multiple of the page size as returned " |
| 154 |
"by I<sysconf(_SC_PAGE_SIZE)>." |
| 155 |
msgstr "" |
| 156 |
"تُهيأ محتويات تخطيط الملف (على عكس التخطيط المجهول؛ انظر B<MAP_ANONYMOUS> " |
| 157 |
"أدناه)، باستخدام بايتات بطول I<length> بدءًا من الإزاحة I<offset> في الملف " |
| 158 |
"(أو أي كائن آخر) المشار إليه بواسطة واصف الملف I<fd>. يجب أن تكون I<offset> " |
| 159 |
"مضاعفًا لحجم الصفحة كما يعيده I<sysconf(_SC_PAGE_SIZE)>." |
| 160 |
|
| 161 |
#. type: Plain text |
| 162 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 163 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 164 |
msgid "" |
| 165 |
"After the B<mmap>() call has returned, the file descriptor, I<fd>, can be " |
| 166 |
"closed immediately without invalidating the mapping." |
| 167 |
msgstr "" |
| 168 |
"بعد عودة استدعاء B<mmap>()، يمكن إغلاق واصف الملف، I<fd>، فورًا دون إبطال " |
| 169 |
"التخطيط." |
| 170 |
|
| 171 |
#. type: Plain text |
| 172 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 173 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 174 |
msgid "" |
| 175 |
"The I<prot> argument describes the desired memory protection of the mapping " |
| 176 |
"(and must not conflict with the open mode of the file). It is either " |
| 177 |
"B<PROT_NONE> or the bitwise OR of one or more of the following flags:" |
| 178 |
msgstr "" |
| 179 |
"يصف المعامل I<prot> حماية الذاكرة المطلوبة للتخطيط (ويجب ألا يتعارض مع وضع " |
| 180 |
"فتح الملف). وهو إما B<PROT_NONE> أو ناتج عملية OR الثنائية لعلامة أو أكثر من " |
| 181 |
"العلامات التالية:" |
| 182 |
|
| 183 |
#. type: TP |
| 184 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 185 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 186 |
#, no-wrap |
| 187 |
msgid "B<PROT_EXEC>" |
| 188 |
msgstr "B<PROT_EXEC>" |
| 189 |
|
| 190 |
#. type: Plain text |
| 191 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 192 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 193 |
msgid "Pages may be executed." |
| 194 |
msgstr "يمكن تنفيذ الصفحات." |
| 195 |
|
| 196 |
#. type: TP |
| 197 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 198 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 199 |
#, no-wrap |
| 200 |
msgid "B<PROT_READ>" |
| 201 |
msgstr "B<PROT_READ>" |
| 202 |
|
| 203 |
#. type: Plain text |
| 204 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 205 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 206 |
msgid "Pages may be read." |
| 207 |
msgstr "يمكن قراءة الصفحات." |
| 208 |
|
| 209 |
#. type: TP |
| 210 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 211 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 212 |
#, no-wrap |
| 213 |
msgid "B<PROT_WRITE>" |
| 214 |
msgstr "B<PROT_WRITE>" |
| 215 |
|
| 216 |
#. type: Plain text |
| 217 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 218 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 219 |
msgid "Pages may be written." |
| 220 |
msgstr "يمكن الكتابة في الصفحات." |
| 221 |
|
| 222 |
#. type: TP |
| 223 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 224 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 225 |
#, no-wrap |
| 226 |
msgid "B<PROT_NONE>" |
| 227 |
msgstr "B<PROT_NONE>" |
| 228 |
|
| 229 |
#. type: Plain text |
| 230 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 231 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 232 |
msgid "Pages may not be accessed." |
| 233 |
msgstr "لا يمكن الوصول إلى الصفحات." |
| 234 |
|
| 235 |
#. type: SS |
| 236 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 237 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 238 |
#, no-wrap |
| 239 |
msgid "The flags argument" |
| 240 |
msgstr "معامل العلامات (flags)" |
| 241 |
|
| 242 |
#. type: Plain text |
| 243 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 244 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 245 |
msgid "" |
| 246 |
"The I<flags> argument determines whether updates to the mapping are visible " |
| 247 |
"to other processes mapping the same region, and whether updates are carried " |
| 248 |
"through to the underlying file. This behavior is determined by including " |
| 249 |
"exactly one of the following values in I<flags>:" |
| 250 |
msgstr "" |
| 251 |
"يحدد المعامل I<flags> ما إذا كانت التحديثات على التخطيط مرئية للعمليات " |
| 252 |
"الأخرى التي تخطط نفس المنطقة، وما إذا كانت التحديثات تُنقل إلى الملف الأساسي. " |
| 253 |
"ويُحدد هذا السلوك بتضمين قيمة واحدة فقط من القيم التالية في I<flags>:" |
| 254 |
|
| 255 |
#. type: TP |
| 256 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 257 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 258 |
#, no-wrap |
| 259 |
msgid "B<MAP_SHARED>" |
| 260 |
msgstr "B<MAP_SHARED>" |
| 261 |
|
| 262 |
#. type: Plain text |
| 263 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 264 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 265 |
msgid "" |
| 266 |
"Share this mapping. Updates to the mapping are visible to other processes " |
| 267 |
"mapping the same region, and (in the case of file-backed mappings) are " |
| 268 |
"carried through to the underlying file. (To precisely control when updates " |
| 269 |
"are carried through to the underlying file requires the use of B<msync>(2).)" |
| 270 |
msgstr "" |
| 271 |
"مشاركة هذا التخطيط. تكون التحديثات على التخطيط مرئية للعمليات الأخرى التي " |
| 272 |
"تخطط نفس المنطقة، و(في حالة التخطيطات المدعومة بملفات) تُنقل إلى الملف " |
| 273 |
"الأساسي. (يتطلب التحكم الدقيق في وقت نقل التحديثات إلى الملف الأساسي استخدام " |
| 274 |
"B<msync>(2))." |
| 275 |
|
| 276 |
#. type: TP |
| 277 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 278 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 279 |
#, no-wrap |
| 280 |
msgid "B<MAP_SHARED_VALIDATE> (since Linux 4.15)" |
| 281 |
msgstr "B<MAP_SHARED_VALIDATE> (منذ لينكس 4.15)" |
| 282 |
|
| 283 |
#. type: Plain text |
| 284 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 285 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 286 |
msgid "" |
| 287 |
"This flag provides the same behavior as B<MAP_SHARED> except that " |
| 288 |
"B<MAP_SHARED> mappings ignore unknown flags in I<flags>. By contrast, when " |
| 289 |
"creating a mapping using B<MAP_SHARED_VALIDATE>, the kernel verifies all " |
| 290 |
"passed flags are known and fails the mapping with the error B<EOPNOTSUPP> " |
| 291 |
"for unknown flags. This mapping type is also required to be able to use " |
| 292 |
"some mapping flags (e.g., B<MAP_SYNC>)." |
| 293 |
msgstr "" |
| 294 |
"توفر هذه العلامة نفس سلوك B<MAP_SHARED> باستثناء أن تخطيطات B<MAP_SHARED> " |
| 295 |
"تتجاهل العلامات غير المعروفة في I<flags>. وبالمقابل، عند إنشاء تخطيط " |
| 296 |
"باستخدام B<MAP_SHARED_VALIDATE>، تتحقق النواة من أن جميع العلامات الممرة " |
| 297 |
"معروفة وتُفشل التخطيط بالخطأ B<EOPNOTSUPP> للعلامات غير المعروفة. كما أن هذا " |
| 298 |
"النوع من التخطيط مطلوب للتمكن من استخدام بعض علامات التخطيط (مثل " |
| 299 |
"B<MAP_SYNC>)." |
| 300 |
|
| 301 |
#. type: TP |
| 302 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 303 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 304 |
#, no-wrap |
| 305 |
msgid "B<MAP_PRIVATE>" |
| 306 |
msgstr "B<MAP_PRIVATE>" |
| 307 |
|
| 308 |
#. type: Plain text |
| 309 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 310 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 311 |
msgid "" |
| 312 |
"Create a private copy-on-write mapping. Updates to the mapping are not " |
| 313 |
"visible to other processes mapping the same file, and are not carried " |
| 314 |
"through to the underlying file. It is unspecified whether changes made to " |
| 315 |
"the file after the B<mmap>() call are visible in the mapped region." |
| 316 |
msgstr "" |
| 317 |
"إنشاء تخطيط خاص بنظام النسخ عند الكتابة (copy-on-write). لا تكون التحديثات " |
| 318 |
"على التخطيط مرئية للعمليات الأخرى التي تخطط نفس الملف، ولا تُنقل إلى الملف " |
| 319 |
"الأساسي. وغير محدد ما إذا كانت التغييرات التي أُجريت على الملف بعد استدعاء " |
| 320 |
"B<mmap>() ستكون مرئية في المنطقة المخططة." |
| 321 |
|
| 322 |
#. type: Plain text |
| 323 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 324 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 325 |
msgid "" |
| 326 |
"Both B<MAP_SHARED> and B<MAP_PRIVATE> are described in POSIX.1-2001 and " |
| 327 |
"POSIX.1-2008. B<MAP_SHARED_VALIDATE> is a Linux extension." |
| 328 |
msgstr "" |
| 329 |
"كلا العلامتين B<MAP_SHARED> و B<MAP_PRIVATE> موصوفتان في POSIX.1-2001 و " |
| 330 |
"POSIX.1-2008. أما B<MAP_SHARED_VALIDATE> فهي امتداد للينكس." |
| 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 |
"In addition, zero or more of the following values can be ORed in I<flags>:" |
| 337 |
msgstr "" |
| 338 |
"بالإضافة إلى ذلك، يمكن إجراء عملية OR لصفر أو أكثر من القيم التالية في " |
| 339 |
"I<flags>:" |
| 340 |
|
| 341 |
#. type: TP |
| 342 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 343 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 344 |
#, no-wrap |
| 345 |
msgid "B<MAP_32BIT> (since Linux 2.4.20, 2.6)" |
| 346 |
msgstr "B<MAP_32BIT> (منذ لينكس 2.4.20، 2.6)" |
| 347 |
|
| 348 |
#. See http://lwn.net/Articles/294642 "Tangled up in threads", 19 Aug 08 |
| 349 |
#. type: Plain text |
| 350 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 351 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 352 |
msgid "" |
| 353 |
"Put the mapping into the first 2 Gigabytes of the process address space. " |
| 354 |
"This flag is supported only on x86-64, for 64-bit programs. It was added to " |
| 355 |
"allow thread stacks to be allocated somewhere in the first 2\\ GB of memory, " |
| 356 |
"so as to improve context-switch performance on some early 64-bit " |
| 357 |
"processors. Modern x86-64 processors no longer have this performance " |
| 358 |
"problem, so use of this flag is not required on those systems. The " |
| 359 |
"B<MAP_32BIT> flag is ignored when B<MAP_FIXED> is set." |
| 360 |
msgstr "" |
| 361 |
"وضع التخطيط في أول 2 جيجابايت من مساحة عناوين العملية. تدعم هذه العلامة فقط " |
| 362 |
"على معمارية x86-64، للبرامج ذات 64 بت. أُضيفت للسماح بتخصيص كدسات الخيوط في " |
| 363 |
"مكان ما ضمن أول 2 جيجابايت من الذاكرة، لتحسين أداء تبديل السياق في بعض " |
| 364 |
"معالجات 64 بت المبكرة. لم تعد معالجات x86-64 الحديثة تعاني من مشكلة الأداء " |
| 365 |
"هذه، لذا لا يشترط استخدام هذه العلامة في تلك الأنظمة. تُتجاهل العلامة " |
| 366 |
"B<MAP_32BIT> عند ضبط B<MAP_FIXED>." |
| 367 |
|
| 368 |
#. type: TP |
| 369 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 370 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 371 |
#, no-wrap |
| 372 |
msgid "B<MAP_ANON>" |
| 373 |
msgstr "B<MAP_ANON>" |
| 374 |
|
| 375 |
#. type: Plain text |
| 376 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 377 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 378 |
msgid "" |
| 379 |
"Synonym for B<MAP_ANONYMOUS>; provided for compatibility with other " |
| 380 |
"implementations." |
| 381 |
msgstr "مرادف لـ B<MAP_ANONYMOUS>؛ توفر للتوافق مع التنفيذات الأخرى." |
| 382 |
|
| 383 |
#. type: TP |
| 384 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 385 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 386 |
#, no-wrap |
| 387 |
msgid "B<MAP_ANONYMOUS>" |
| 388 |
msgstr "B<MAP_ANONYMOUS>" |
| 389 |
|
| 390 |
#. See the pgoff overflow check in do_mmap(). |
| 391 |
#. See the offset check in sys_mmap in arch/x86/kernel/sys_x86_64.c. |
| 392 |
#. type: Plain text |
| 393 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 394 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 395 |
msgid "" |
| 396 |
"The mapping is not backed by any file; its contents are initialized to " |
| 397 |
"zero. The I<fd> argument is ignored; however, some implementations require " |
| 398 |
"I<fd> to be -1 if B<MAP_ANONYMOUS> (or B<MAP_ANON>) is specified, and " |
| 399 |
"portable applications should ensure this. The I<offset> argument should be " |
| 400 |
"zero. Support for B<MAP_ANONYMOUS> in conjunction with B<MAP_SHARED> was " |
| 401 |
"added in Linux 2.4." |
| 402 |
msgstr "" |
| 403 |
"التخطيط غير مدعوم بأي ملف؛ وتُهيأ محتوياته إلى الصفر. يُتجاهل المعامل I<fd>؛ " |
| 404 |
"ومع ذلك، تتطلب بعض التنفيذات أن يكون I<fd> مساويًا لـ -1 إذا حُددت " |
| 405 |
"B<MAP_ANONYMOUS> (أو B<MAP_ANON>)، ويجب أن تضمن التطبيقات القابلة للنقل ذلك. " |
| 406 |
"يجب أن يكون المعامل I<offset> صفرًا. أُضيفت دعم B<MAP_ANONYMOUS> مع " |
| 407 |
"B<MAP_SHARED> في لينكس 2.4." |
| 408 |
|
| 409 |
#. type: TP |
| 410 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 411 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 412 |
#, no-wrap |
| 413 |
msgid "B<MAP_DENYWRITE>" |
| 414 |
msgstr "B<MAP_DENYWRITE>" |
| 415 |
|
| 416 |
#. Introduced in 1.1.36, removed in 1.3.24. |
| 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 |
"This flag is ignored. (Long ago\\[em]Linux 2.0 and earlier\\[em]it signaled " |
| 422 |
"that attempts to write to the underlying file should fail with B<ETXTBSY>. " |
| 423 |
"But this was a source of denial-of-service attacks.)" |
| 424 |
msgstr "" |
| 425 |
"تُتجاهل هذه العلامة. (منذ زمن بعيد -لينكس 2.0 وما قبله- كانت تشير إلى أن " |
| 426 |
"محاولات الكتابة إلى الملف الأساسي يجب أن تفشل بالخطأ B<ETXTBSY>. ولكن هذا " |
| 427 |
"كان مصدرًا لهجمات حجب الخدمة)." |
| 428 |
|
| 429 |
#. type: TP |
| 430 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 431 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 432 |
#, no-wrap |
| 433 |
msgid "B<MAP_EXECUTABLE>" |
| 434 |
msgstr "B<MAP_EXECUTABLE>" |
| 435 |
|
| 436 |
#. #-#-#-#-# archlinux: mmap.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 437 |
#. Introduced in 1.1.38, removed in 1.3.24. Flag tested in proc_follow_link. |
| 438 |
#. (Long ago, it signaled that the underlying file is an executable. |
| 439 |
#. However, that information was not really used anywhere.) |
| 440 |
#. Linus talked about DOS related to MAP_EXECUTABLE, but he was thinking of |
| 441 |
#. MAP_DENYWRITE? |
| 442 |
#. type: Plain text |
| 443 |
#. #-#-#-#-# debian-trixie: mmap.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 444 |
#. Introduced in 1.1.38, removed in 1.3.24. Flag tested in proc_follow_link. |
| 445 |
#. (Long ago, it signaled that the underlying file is an executable. |
| 446 |
#. However, that information was not really used anywhere.) |
| 447 |
#. Linus talked about DOS related to MAP_EXECUTABLE, but he was thinking of |
| 448 |
#. MAP_DENYWRITE? |
| 449 |
#. type: Plain text |
| 450 |
#. #-#-#-#-# debian-unstable: mmap.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 451 |
#. Introduced in 1.1.38, removed in 1.3.24. Flag tested in proc_follow_link. |
| 452 |
#. (Long ago, it signaled that the underlying file is an executable. |
| 453 |
#. However, that information was not really used anywhere.) |
| 454 |
#. Linus talked about DOS related to MAP_EXECUTABLE, but he was thinking of |
| 455 |
#. MAP_DENYWRITE? |
| 456 |
#. type: Plain text |
| 457 |
#. #-#-#-#-# fedora-44: mmap.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 458 |
#. Introduced in 1.1.38, removed in 1.3.24. Flag tested in proc_follow_link. |
| 459 |
#. (Long ago, it signaled that the underlying file is an executable. |
| 460 |
#. However, that information was not really used anywhere.) |
| 461 |
#. Linus talked about DOS related to MAP_EXECUTABLE, but he was thinking of |
| 462 |
#. MAP_DENYWRITE? |
| 463 |
#. type: Plain text |
| 464 |
#. #-#-#-#-# fedora-rawhide: mmap.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 465 |
#. Introduced in 1.1.38, removed in 1.3.24. Flag tested in proc_follow_link. |
| 466 |
#. (Long ago, it signaled that the underlying file is an executable. |
| 467 |
#. However, that information was not really used anywhere.) |
| 468 |
#. Linus talked about DOS related to MAP_EXECUTABLE, but he was thinking of |
| 469 |
#. MAP_DENYWRITE? |
| 470 |
#. type: Plain text |
| 471 |
#. #-#-#-#-# mageia-cauldron: mmap.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 472 |
#. Introduced in 1.1.38, removed in 1.3.24. Flag tested in proc_follow_link. |
| 473 |
#. (Long ago, it signaled that the underlying file is an executable. |
| 474 |
#. However, that information was not really used anywhere.) |
| 475 |
#. Linus talked about DOS related to MAP_EXECUTABLE, but he was thinking of |
| 476 |
#. MAP_DENYWRITE? |
| 477 |
#. type: Plain text |
| 478 |
#. #-#-#-#-# opensuse-leap-16-1: mmap.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 479 |
#. Introduced in 1.1.38, removed in 1.3.24. Flag tested in proc_follow_link. |
| 480 |
#. (Long ago, it signaled that the underlying file is an executable. |
| 481 |
#. However, that information was not really used anywhere.) |
| 482 |
#. Linus talked about DOS related to MAP_EXECUTABLE, but he was thinking of |
| 483 |
#. MAP_DENYWRITE? |
| 484 |
#. type: Plain text |
| 485 |
#. #-#-#-#-# opensuse-tumbleweed: mmap.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 486 |
#. Introduced in 1.1.38, removed in 1.3.24. Flag tested in proc_follow_link. |
| 487 |
#. (Long ago, it signaled that the underlying file is an executable. |
| 488 |
#. However, that information was not really used anywhere.) |
| 489 |
#. Linus talked about DOS related to MAP_EXECUTABLE, but he was thinking of |
| 490 |
#. MAP_DENYWRITE? |
| 491 |
#. type: Plain text |
| 492 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 493 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 494 |
msgid "This flag is ignored." |
| 495 |
msgstr "تُتجاهل هذه العلامة." |
| 496 |
|
| 497 |
#. type: TP |
| 498 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 499 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 500 |
#, no-wrap |
| 501 |
msgid "B<MAP_FILE>" |
| 502 |
msgstr "B<MAP_FILE>" |
| 503 |
|
| 504 |
#. On some systems, this was required as the opposite of |
| 505 |
#. MAP_ANONYMOUS -- mtk, 1 May 2007 |
| 506 |
#. type: Plain text |
| 507 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 508 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 509 |
msgid "Compatibility flag. Ignored." |
| 510 |
msgstr "علامة توافقية. تُتجاهل." |
| 511 |
|
| 512 |
#. type: TP |
| 513 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 514 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 515 |
#, no-wrap |
| 516 |
msgid "B<MAP_FIXED>" |
| 517 |
msgstr "B<MAP_FIXED>" |
| 518 |
|
| 519 |
#. type: Plain text |
| 520 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 521 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 522 |
msgid "" |
| 523 |
"Don't interpret I<addr> as a hint: place the mapping at exactly that " |
| 524 |
"address. I<addr> must be suitably aligned: for most architectures a " |
| 525 |
"multiple of the page size is sufficient; however, some architectures may " |
| 526 |
"impose additional restrictions. If the memory region specified by I<addr> " |
| 527 |
"and I<length> overlaps pages of any existing mapping(s), then the overlapped " |
| 528 |
"part of the existing mapping(s) will be discarded. If the specified address " |
| 529 |
"cannot be used, B<mmap>() will fail." |
| 530 |
msgstr "" |
| 531 |
"لا تفسر I<addr> كتلميح: ضع التخطيط عند هذا العنوان تمامًا. يجب محاذاة I<addr> " |
| 532 |
"بشكل مناسب: في معظم المعماريات يكفي أن يكون مضاعفًا لحجم الصفحة؛ ومع ذلك، قد " |
| 533 |
"تفرض بعض المعماريات قيودًا إضافية. إذا كانت منطقة الذاكرة المحددة بواسطة " |
| 534 |
"I<addr> و I<length> تتداخل مع صفحات أي تخطيط (أو تخطيطات) موجودة، فسيُهمل " |
| 535 |
"الجزء المتداخل من التخطيط (التخطيطات) الموجودة. إذا تعذر استخدام العنوان " |
| 536 |
"المحدد، فستفشل B<mmap>()." |
| 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 |
"Software that aspires to be portable should use the B<MAP_FIXED> flag with " |
| 543 |
"care, keeping in mind that the exact layout of a process's memory mappings " |
| 544 |
"is allowed to change significantly between Linux versions, C library " |
| 545 |
"versions, and operating system releases. I<Carefully read the discussion of " |
| 546 |
"this flag in NOTES!>" |
| 547 |
msgstr "" |
| 548 |
"يجب على البرمجيات التي تطمح لأن تكون قابلة للنقل استخدام العلامة " |
| 549 |
"B<MAP_FIXED> بحذر، مع الأخذ في الاعتبار أنه يُسمح بتغيير المخطط الدقيق " |
| 550 |
"لتخطيطات ذاكرة العملية بشكل كبير بين إصدارات لينكس، وإصدارات مكتبة سي، " |
| 551 |
"وإصدارات أنظمة التشغيل. I<اقرأ بعناية مناقشة هذه العلامة في قسم الملاحظات " |
| 552 |
"(NOTES)!>" |
| 553 |
|
| 554 |
#. type: TP |
| 555 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 556 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 557 |
#, no-wrap |
| 558 |
msgid "B<MAP_FIXED_NOREPLACE> (since Linux 4.17)" |
| 559 |
msgstr "B<MAP_FIXED_NOREPLACE> (منذ لينكس 4.17)" |
| 560 |
|
| 561 |
#. commit a4ff8e8620d3f4f50ac4b41e8067b7d395056843 |
| 562 |
#. type: Plain text |
| 563 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 564 |
#: opensuse-tumbleweed |
| 565 |
msgid "" |
| 566 |
"This flag provides behavior that is similar to B<MAP_FIXED> with respect to " |
| 567 |
"the I<addr> enforcement, but differs in that B<MAP_FIXED_NOREPLACE> never " |
| 568 |
"clobbers a preexisting mapped range. If the requested range would collide " |
| 569 |
"with an existing mapping, then this call fails with the error B<EEXIST.> " |
| 570 |
"This flag can therefore be used as a way to atomically (with respect to " |
| 571 |
"other threads) attempt to map an address range: one thread will succeed; " |
| 572 |
"all others will report failure." |
| 573 |
msgstr "" |
| 574 |
"توفر هذه العلامة سلوكًا مشابهًا لـ B<MAP_FIXED> فيما يتعلق بفرض العنوان " |
| 575 |
"I<addr>، ولكنها تختلف في أن B<MAP_FIXED_NOREPLACE> لا تمسح أبدًا أي نطاق مخطط " |
| 576 |
"مسبقًا. إذا اصطدم النطاق المطلوب مع تخطيط موجود، فإن هذا الاستدعاء يفشل " |
| 577 |
"بالخطأ B<EEXIST>. لذا يمكن استخدام هذه العلامة كوسيلة لمحاولة تخطيط نطاق " |
| 578 |
"عناوين بشكل ذري (فيما يتعلق بالخيوط الأخرى): سينجح خيط واحد؛ وستبلغ جميع " |
| 579 |
"الخيوط الأخرى عن الفشل." |
| 580 |
|
| 581 |
#. type: Plain text |
| 582 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 583 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 584 |
msgid "" |
| 585 |
"Note that older kernels which do not recognize the B<MAP_FIXED_NOREPLACE> " |
| 586 |
"flag will typically (upon detecting a collision with a preexisting mapping) " |
| 587 |
"fall back to a \\[lq]non-B<MAP_FIXED>\\[rq] type of behavior: they will " |
| 588 |
"return an address that is different from the requested address. Therefore, " |
| 589 |
"backward-compatible software should check the returned address against the " |
| 590 |
"requested address." |
| 591 |
msgstr "" |
| 592 |
"لاحظ أن النوى القديمة التي لا تتعرف على العلامة B<MAP_FIXED_NOREPLACE> " |
| 593 |
"ستتراجع عادةً (عند اكتشاف تصادم مع تخطيط موجود مسبقًا) إلى سلوك من نوع \"غير " |
| 594 |
"B<MAP_FIXED>\": حيث ستعيد عنوانًا يختلف عن العنوان المطلوب. لذا، يجب على " |
| 595 |
"البرمجيات المتوافقة مع الإصدارات السابقة التحقق من العنوان المعاد ومقارنته " |
| 596 |
"بالعنوان المطلوب." |
| 597 |
|
| 598 |
#. type: TP |
| 599 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 600 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 601 |
#, no-wrap |
| 602 |
msgid "B<MAP_GROWSDOWN>" |
| 603 |
msgstr "B<MAP_GROWSDOWN>" |
| 604 |
|
| 605 |
#. type: Plain text |
| 606 |
#: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed |
| 607 |
msgid "" |
| 608 |
"This flag is used for stacks. It indicates to the kernel virtual memory " |
| 609 |
"system that the mapping should extend downward in memory. Touching an " |
| 610 |
"address in the \"guard\" page below the mapping will cause the mapping to " |
| 611 |
"grow by a page. This growth can be repeated until the mapping grows to " |
| 612 |
"within a page of the high end of the next lower mapping, at which point " |
| 613 |
"touching the \"guard\" page will result in a B<SIGSEGV> signal." |
| 614 |
msgstr "" |
| 615 |
"يُستخدم هذا العلامة في المكدسات. وهي تشير إلى نظام الذاكرة الافتراضية في " |
| 616 |
"النواة بأن التعيين يجب أن يمتد لأسفل في الذاكرة. وسيؤدي الوصول إلى عنوان في " |
| 617 |
"صفحة ”الحماية“ الموجودة أسفل التعيين إلى توسيع التعيين بمقدار صفحة واحدة. " |
| 618 |
"ويمكن تكرار هذا التوسيع حتى يصل التعيين إلى مسافة صفحة واحدة من الطرف الأعلى " |
| 619 |
"للتعيين الأدنى التالي، وعند هذه النقطة سيؤدي الوصول إلى صفحة ”الحماية“ إلى " |
| 620 |
"إصدار إشارة B<SIGSEGV>." |
| 621 |
|
| 622 |
#. type: TP |
| 623 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 624 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 625 |
#, no-wrap |
| 626 |
msgid "B<MAP_HUGETLB> (since Linux 2.6.32)" |
| 627 |
msgstr "B<MAP_HUGETLB> (منذ لينكس 2.6.32)" |
| 628 |
|
| 629 |
#. type: Plain text |
| 630 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 631 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 632 |
msgid "" |
| 633 |
"Allocate the mapping using \"huge\" pages. See the Linux kernel source file " |
| 634 |
"I<Documentation/admin-guide/mm/hugetlbpage.rst> for further information, as " |
| 635 |
"well as NOTES, below." |
| 636 |
msgstr "" |
| 637 |
"تخصيص التخطيط باستخدام الصفحات \"الضخمة\". انظر ملف مصدر نواة لينكس " |
| 638 |
"I<Documentation/admin-guide/mm/hugetlbpage.rst> لمزيد من المعلومات، بالإضافة " |
| 639 |
"إلى قسم الملاحظات (NOTES) أدناه." |
| 640 |
|
| 641 |
#. type: TP |
| 642 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 643 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 644 |
#, no-wrap |
| 645 |
msgid "B<MAP_HUGE_2MB>" |
| 646 |
msgstr "B<MAP_HUGE_2MB>" |
| 647 |
|
| 648 |
#. type: TQ |
| 649 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 650 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 651 |
#, no-wrap |
| 652 |
msgid "B<MAP_HUGE_1GB> (since Linux 3.8)" |
| 653 |
msgstr "B<MAP_HUGE_1GB> (منذ لينكس 3.8)" |
| 654 |
|
| 655 |
#. See https://lwn.net/Articles/533499/ |
| 656 |
#. type: Plain text |
| 657 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 658 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 659 |
msgid "" |
| 660 |
"Used in conjunction with B<MAP_HUGETLB> to select alternative hugetlb page " |
| 661 |
"sizes (respectively, 2\\ MB and 1\\ GB) on systems that support multiple " |
| 662 |
"hugetlb page sizes." |
| 663 |
msgstr "" |
| 664 |
"تُستخدم مع B<MAP_HUGETLB> لاختيار أحجام بديلة لصفحات hugetlb (على التوالي، 2 " |
| 665 |
"ميجابايت و 1 جيجابايت) في الأنظمة التي تدعم أحجامًا متعددة لصفحات hugetlb." |
| 666 |
|
| 667 |
#. type: Plain text |
| 668 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 669 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 670 |
msgid "" |
| 671 |
"More generally, the desired huge page size can be configured by encoding the " |
| 672 |
"base-2 logarithm of the desired page size in the six bits at the offset " |
| 673 |
"B<MAP_HUGE_SHIFT>. (A value of zero in this bit field provides the default " |
| 674 |
"huge page size; the default huge page size can be discovered via the " |
| 675 |
"I<Hugepagesize> field exposed by I</proc/meminfo>.) Thus, the above two " |
| 676 |
"constants are defined as:" |
| 677 |
msgstr "" |
| 678 |
"بشكل عام، يمكن ضبط حجم الصفحة الضخمة المطلوب بترميز اللوغاريتم للأساس 2 لحجم " |
| 679 |
"الصفحة المطلوب في البتات الستة عند الإزاحة B<MAP_HUGE_SHIFT>. (قيمة الصفر في " |
| 680 |
"حقل البتات هذا توفر حجم الصفحة الضخمة المبدئي؛ يمكن اكتشاف حجم الصفحة الضخمة " |
| 681 |
"المبدئي عبر حقل I<Hugepagesize> المعروض في I</proc/meminfo>). وبذلك، يُعرف " |
| 682 |
"الثابتان المذكوران أعلاه كالتالي:" |
| 683 |
|
| 684 |
#. type: Plain text |
| 685 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 686 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 687 |
#, no-wrap |
| 688 |
msgid "" |
| 689 |
"#define MAP_HUGE_2MB (21 E<lt>E<lt> MAP_HUGE_SHIFT)\n" |
| 690 |
"#define MAP_HUGE_1GB (30 E<lt>E<lt> MAP_HUGE_SHIFT)\n" |
| 691 |
msgstr "" |
| 692 |
"#define MAP_HUGE_2MB (21 E<lt>E<lt> MAP_HUGE_SHIFT)\n" |
| 693 |
"#define MAP_HUGE_1GB (30 E<lt>E<lt> MAP_HUGE_SHIFT)\n" |
| 694 |
|
| 695 |
#. type: Plain text |
| 696 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 697 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 698 |
msgid "" |
| 699 |
"The range of huge page sizes that are supported by the system can be " |
| 700 |
"discovered by listing the subdirectories in I</sys/kernel/mm/hugepages>." |
| 701 |
msgstr "" |
| 702 |
"يمكن اكتشاف نطاق أحجام الصفحات الضخمة التي يدعمها النظام بسرد الأدلة الفرعية " |
| 703 |
"في I</sys/kernel/mm/hugepages>." |
| 704 |
|
| 705 |
#. type: TP |
| 706 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 707 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 708 |
#, no-wrap |
| 709 |
msgid "B<MAP_LOCKED> (since Linux 2.5.37)" |
| 710 |
msgstr "B<MAP_LOCKED> (منذ لينكس 2.5.37)" |
| 711 |
|
| 712 |
#. If set, the mapped pages will not be swapped out. |
| 713 |
#. type: Plain text |
| 714 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 715 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 716 |
msgid "" |
| 717 |
"Mark the mapped region to be locked in the same way as B<mlock>(2). This " |
| 718 |
"implementation will try to populate (prefault) the whole range but the " |
| 719 |
"B<mmap>() call doesn't fail with B<ENOMEM> if this fails. Therefore major " |
| 720 |
"faults might happen later on. So the semantic is not as strong as " |
| 721 |
"B<mlock>(2). One should use B<mmap>() plus B<mlock>(2) when major faults " |
| 722 |
"are not acceptable after the initialization of the mapping. The " |
| 723 |
"B<MAP_LOCKED> flag is ignored in older kernels." |
| 724 |
msgstr "" |
| 725 |
"تعليم المنطقة المخططة لتُقفل بنفس طريقة B<mlock>(2). سيحاول هذا التنفيذ ملء " |
| 726 |
"النطاق بالكامل مسبقًا ولكن لا يفشل استدعاء B<mmap>() بالخطأ B<ENOMEM> إذا فشل " |
| 727 |
"ذلك. لذا قد تحدث أخطاء جسيمة (major faults) لاحقًا. وبذلك فإن الدلالة ليست " |
| 728 |
"بقوة B<mlock>(2). يجب استخدام B<mmap>() بالإضافة لـ B<mlock>(2) عندما لا " |
| 729 |
"تكون الأخطاء الجسيمة مقبولة بعد تهيئة التخطيط. تُتجاهل العلامة B<MAP_LOCKED> " |
| 730 |
"في النوى القديمة." |
| 731 |
|
| 732 |
#. type: TP |
| 733 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 734 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 735 |
#, no-wrap |
| 736 |
msgid "B<MAP_NONBLOCK> (since Linux 2.5.46)" |
| 737 |
msgstr "B<MAP_NONBLOCK> (منذ لينكس 2.5.46)" |
| 738 |
|
| 739 |
#. commit 54cb8821de07f2ffcd28c380ce9b93d5784b40d7 |
| 740 |
#. type: Plain text |
| 741 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 742 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 743 |
msgid "" |
| 744 |
"This flag is meaningful only in conjunction with B<MAP_POPULATE>. Don't " |
| 745 |
"perform read-ahead: create page tables entries only for pages that are " |
| 746 |
"already present in RAM. Since Linux 2.6.23, this flag causes " |
| 747 |
"B<MAP_POPULATE> to do nothing. One day, the combination of B<MAP_POPULATE> " |
| 748 |
"and B<MAP_NONBLOCK> may be reimplemented." |
| 749 |
msgstr "" |
| 750 |
"هذه العلامة ذات معنى فقط عند استخدامها مع B<MAP_POPULATE>. لا تقم بالقراءة " |
| 751 |
"المسبقة: أنشئ مدخلات جداول الصفحات فقط للصفحات الموجودة بالفعل في RAM. منذ " |
| 752 |
"لينكس 2.6.23، تجعل هذه العلامة B<MAP_POPULATE> لا تفعل شيئًا. قد يُعاد تنفيذ " |
| 753 |
"الجمع بين B<MAP_POPULATE> و B<MAP_NONBLOCK> يومًا ما." |
| 754 |
|
| 755 |
#. type: TP |
| 756 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 757 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 758 |
#, no-wrap |
| 759 |
msgid "B<MAP_NORESERVE>" |
| 760 |
msgstr "B<MAP_NORESERVE>" |
| 761 |
|
| 762 |
#. type: Plain text |
| 763 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 764 |
#: opensuse-tumbleweed |
| 765 |
msgid "" |
| 766 |
"Do not reserve swap space for this mapping. When swap space is reserved, " |
| 767 |
"one has the guarantee that it is possible to modify the mapping. When swap " |
| 768 |
"space is not reserved one might get B<SIGSEGV> upon a write if no physical " |
| 769 |
"memory is available. See also the discussion of the file I</proc/sys/vm/" |
| 770 |
"overcommit_memory> in B<proc_sys_vm>(5). Before Linux 2.6, this flag had " |
| 771 |
"effect only for private writable mappings." |
| 772 |
msgstr "" |
| 773 |
"عدم حجز مساحة تبديل (swap) لهذا التخطيط. عند حجز مساحة التبديل، يكون هناك " |
| 774 |
"ضمان بإمكانية تعديل التخطيط. وعندما لا تُحجز مساحة التبديل، قد تحصل على إشارة " |
| 775 |
"B<SIGSEGV> عند الكتابة إذا لم تتوفر ذاكرة فيزيائية. انظر أيضًا مناقشة الملف " |
| 776 |
"I</proc/sys/vm/overcommit_memory> في B<proc_sys_vm>(5). قبل لينكس 2.6، كان " |
| 777 |
"لهذه العلامة تأثير فقط على التخطيطات الخاصة القابلة للكتابة." |
| 778 |
|
| 779 |
#. type: TP |
| 780 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 781 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 782 |
#, no-wrap |
| 783 |
msgid "B<MAP_POPULATE> (since Linux 2.5.46)" |
| 784 |
msgstr "B<MAP_POPULATE> (منذ لينكس 2.5.46)" |
| 785 |
|
| 786 |
#. type: Plain text |
| 787 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 788 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 789 |
msgid "" |
| 790 |
"Populate (prefault) page tables for a mapping. For a file mapping, this " |
| 791 |
"causes read-ahead on the file. This will help to reduce blocking on page " |
| 792 |
"faults later. The B<mmap>() call doesn't fail if the mapping cannot be " |
| 793 |
"populated (for example, due to limitations on the number of mapped huge " |
| 794 |
"pages when using B<MAP_HUGETLB>). Support for B<MAP_POPULATE> in " |
| 795 |
"conjunction with private mappings was added in Linux 2.6.23." |
| 796 |
msgstr "" |
| 797 |
"ملء (خطأ مسبق) جداول الصفحات للتخطيط. بالنسبة لتخطيط الملفات، يؤدي هذا " |
| 798 |
"للقراءة المسبقة للملف. سيساعد هذا في تقليل الحجب بسبب أخطاء الصفحات لاحقًا. " |
| 799 |
"لا يفشل استدعاء B<mmap>() إذا تعذر ملء التخطيط (على سبيل المثال، بسبب قيود " |
| 800 |
"على عدد الصفحات الضخمة المخططة عند استخدام B<MAP_HUGETLB>). أُضيفت دعم " |
| 801 |
"B<MAP_POPULATE> مع التخطيطات الخاصة في لينكس 2.6.23." |
| 802 |
|
| 803 |
#. type: TP |
| 804 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 805 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 806 |
#, no-wrap |
| 807 |
msgid "B<MAP_STACK> (since Linux 2.6.27)" |
| 808 |
msgstr "B<MAP_STACK> (منذ لينكس 2.6.27)" |
| 809 |
|
| 810 |
#. type: Plain text |
| 811 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 812 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 813 |
msgid "" |
| 814 |
"Allocate the mapping at an address suitable for a process or thread stack." |
| 815 |
msgstr "تخصيص التخطيط عند عنوان مناسب لكدسة عملية أو خيط." |
| 816 |
|
| 817 |
#. See http://lwn.net/Articles/294642 "Tangled up in threads", 19 Aug 08 |
| 818 |
#. commit cd98a04a59e2f94fa64d5bf1e26498d27427d5e7 |
| 819 |
#. http://thread.gmane.org/gmane.linux.kernel/720412 |
| 820 |
#. "pthread_create() slow for many threads; also time to revisit 64b |
| 821 |
#. context switch optimization?" |
| 822 |
#. type: Plain text |
| 823 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 824 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 825 |
msgid "" |
| 826 |
"This flag is currently a no-op on Linux. However, by employing this flag, " |
| 827 |
"applications can ensure that they transparently obtain support if the flag " |
| 828 |
"is implemented in the future. Thus, it is used in the glibc threading " |
| 829 |
"implementation to allow for the fact that some architectures may (later) " |
| 830 |
"require special treatment for stack allocations. A further reason to employ " |
| 831 |
"this flag is portability: B<MAP_STACK> exists (and has an effect) on some " |
| 832 |
"other systems (e.g., some of the BSDs)." |
| 833 |
msgstr "" |
| 834 |
"هذه العلامة حاليًا لا تفعل شيئًا في لينكس. ومع ذلك، باستخدام هذه العلامة، يمكن " |
| 835 |
"للتطبيقات ضمان حصولها بشكل شفاف على الدعم إذا نُفذت العلامة في المستقبل. " |
| 836 |
"وبذلك، تُستخدم في تنفيذ الخيوط في glibc لمراعاة حقيقة أن بعض المعماريات قد " |
| 837 |
"تتطلب (لاحقًا) معاملة خاصة لتخصيصات الكدسة. سبب آخر لاستخدام هذه العلامة هو " |
| 838 |
"قابلية النقل: فالعلامة B<MAP_STACK> موجودة (ولها تأثير) في بعض الأنظمة " |
| 839 |
"الأخرى (مثل بعض أنظمة BSD)." |
| 840 |
|
| 841 |
#. type: TP |
| 842 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 843 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 844 |
#, no-wrap |
| 845 |
msgid "B<MAP_SYNC> (since Linux 4.15)" |
| 846 |
msgstr "B<MAP_SYNC> (منذ لينكس 4.15)" |
| 847 |
|
| 848 |
#. type: Plain text |
| 849 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 850 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 851 |
msgid "" |
| 852 |
"This flag is available only with the B<MAP_SHARED_VALIDATE> mapping type; " |
| 853 |
"mappings of type B<MAP_SHARED> will silently ignore this flag. This flag is " |
| 854 |
"supported only for files supporting DAX (direct mapping of persistent " |
| 855 |
"memory). For other files, creating a mapping with this flag results in an " |
| 856 |
"B<EOPNOTSUPP> error." |
| 857 |
msgstr "" |
| 858 |
"تتوفر هذه العلامة فقط مع نوع التخطيط B<MAP_SHARED_VALIDATE>؛ وستتجاهل " |
| 859 |
"التخطيطات من نوع B<MAP_SHARED> هذه العلامة بصمت. تُدعم هذه العلامة فقط " |
| 860 |
"للملفات التي تدعم DAX (التخطيط المباشر للذاكرة المستديمة). أما للملفات " |
| 861 |
"الأخرى، فإن إنشاء تخطيط بهذه العلامة يؤدي لخطأ B<EOPNOTSUPP>." |
| 862 |
|
| 863 |
#. type: Plain text |
| 864 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 865 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 866 |
msgid "" |
| 867 |
"Shared file mappings with this flag provide the guarantee that while some " |
| 868 |
"memory is mapped writable in the address space of the process, it will be " |
| 869 |
"visible in the same file at the same offset even after the system crashes or " |
| 870 |
"is rebooted. In conjunction with the use of appropriate CPU instructions, " |
| 871 |
"this provides users of such mappings with a more efficient way of making " |
| 872 |
"data modifications persistent." |
| 873 |
msgstr "" |
| 874 |
"توفر تخطيطات الملفات المشتركة بهذه العلامة ضمانًا بأنه بينما تكون بعض الذاكرة " |
| 875 |
"مخططة كقابلة للكتابة في مساحة عناوين العملية، فإنها ستكون مرئية في نفس الملف " |
| 876 |
"عند نفس الإزاحة حتى بعد تعطل النظام أو إعادة تشغيله. وبالتزامن مع استخدام " |
| 877 |
"تعليمات CPU المناسبة، يوفر هذا لمستخدمي هذه التخطيطات طريقة أكثر كفاءة لجعل " |
| 878 |
"تعديلات البيانات مستديمة." |
| 879 |
|
| 880 |
#. type: TP |
| 881 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 882 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 883 |
#, no-wrap |
| 884 |
msgid "B<MAP_UNINITIALIZED> (since Linux 2.6.33)" |
| 885 |
msgstr "B<MAP_UNINITIALIZED> (منذ لينكس 2.6.33)" |
| 886 |
|
| 887 |
#. type: Plain text |
| 888 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 889 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 890 |
msgid "" |
| 891 |
"Don't clear anonymous pages. This flag is intended to improve performance " |
| 892 |
"on embedded devices. This flag is honored only if the kernel was configured " |
| 893 |
"with the B<CONFIG_MMAP_ALLOW_UNINITIALIZED> option. Because of the security " |
| 894 |
"implications, that option is normally enabled only on embedded devices (i." |
| 895 |
"e., devices where one has complete control of the contents of user memory)." |
| 896 |
msgstr "" |
| 897 |
"عدم مسح الصفحات المجهولة. تهدف هذه العلامة لتحسين الأداء في الأجهزة المدمجة. " |
| 898 |
"لا تُحترم هذه العلامة إلا إذا ضُبطت النواة بخيار " |
| 899 |
"B<CONFIG_MMAP_ALLOW_UNINITIALIZED>. وبسبب الآثار الأمنية، لا يُفعل هذا الخيار " |
| 900 |
"عادةً إلا في الأجهزة المدمجة (أي الأجهزة التي يمتلك فيها الشخص تحكمًا كاملاً في " |
| 901 |
"محتويات ذاكرة المستخدم)." |
| 902 |
|
| 903 |
#. FIXME . for later review when Issue 8 is one day released... |
| 904 |
#. POSIX may add MAP_ANON in the future |
| 905 |
#. http://austingroupbugs.net/tag_view_page.php?tag_id=8 |
| 906 |
#. http://austingroupbugs.net/view.php?id=850 |
| 907 |
#. type: Plain text |
| 908 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 909 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 910 |
msgid "" |
| 911 |
"Of the above flags, only B<MAP_FIXED> is specified in POSIX.1-2001 and " |
| 912 |
"POSIX.1-2008. However, most systems also support B<MAP_ANONYMOUS> (or its " |
| 913 |
"synonym B<MAP_ANON>)." |
| 914 |
msgstr "" |
| 915 |
"من بين العلامات المذكورة أعلاه، حُددت B<MAP_FIXED> فقط في POSIX.1-2001 و " |
| 916 |
"POSIX.1-2008. ومع ذلك، تدعم معظم الأنظمة أيضًا B<MAP_ANONYMOUS> (أو مرادفها " |
| 917 |
"B<MAP_ANON>)." |
| 918 |
|
| 919 |
#. type: SS |
| 920 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 921 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 922 |
#, no-wrap |
| 923 |
msgid "munmap()" |
| 924 |
msgstr "munmap()" |
| 925 |
|
| 926 |
#. type: Plain text |
| 927 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 928 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 929 |
msgid "" |
| 930 |
"The B<munmap>() system call deletes the mappings for the specified address " |
| 931 |
"range, and causes further references to addresses within the range to " |
| 932 |
"generate invalid memory references. The region is also automatically " |
| 933 |
"unmapped when the process is terminated. On the other hand, closing the " |
| 934 |
"file descriptor does not unmap the region." |
| 935 |
msgstr "" |
| 936 |
"يحذف استدعاء النظام B<munmap>() التخطيطات لنطاق العناوين المحدد، ويؤدي إلى " |
| 937 |
"أن تولد المراجع اللاحقة للعناوين داخل النطاق مراجع ذاكرة غير صالحة. كما يُفصل " |
| 938 |
"النطاق آليًا عند إنهاء العملية. ومن ناحية أخرى، فإن إغلاق واصف الملف لا يفصل " |
| 939 |
"النطاق." |
| 940 |
|
| 941 |
#. type: Plain text |
| 942 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 943 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 944 |
msgid "" |
| 945 |
"The address I<addr> must be a multiple of the page size (but I<length> need " |
| 946 |
"not be). All pages containing a part of the indicated range are unmapped, " |
| 947 |
"and subsequent references to these pages will generate B<SIGSEGV>. It is " |
| 948 |
"not an error if the indicated range does not contain any mapped pages." |
| 949 |
msgstr "" |
| 950 |
"يجب أن يكون العنوان I<addr> مضاعفًا لحجم الصفحة (ولكن I<length> لا يشترط " |
| 951 |
"ذلك). تُفصل جميع الصفحات التي تحتوي على جزء من النطاق المشار إليه، وستولد " |
| 952 |
"المراجع اللاحقة لهذه الصفحات إشارة B<SIGSEGV>. ولا يعتبر خطأً إذا لم يحتوي " |
| 953 |
"النطاق المشار إليه على أي صفحات مخططة." |
| 954 |
|
| 955 |
#. type: SH |
| 956 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 957 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 958 |
#, no-wrap |
| 959 |
msgid "RETURN VALUE" |
| 960 |
msgstr "قيمة الإرجاع" |
| 961 |
|
| 962 |
#. type: Plain text |
| 963 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 964 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 965 |
msgid "" |
| 966 |
"On success, B<mmap>() returns a pointer to the mapped area. On error, the " |
| 967 |
"value B<MAP_FAILED> (that is, I<(void\\ *)\\ -1>) is returned, and I<errno> " |
| 968 |
"is set to indicate the error." |
| 969 |
msgstr "" |
| 970 |
"عند النجاح، تعيد B<mmap>() مؤشرًا إلى المنطقة المخططة. وعند حدوث خطأ، تُعاد " |
| 971 |
"القيمة B<MAP_FAILED> (أي I<(void\\ *)\\ -1>)، وتُضبط I<errno> للإشارة إلى " |
| 972 |
"الخطأ." |
| 973 |
|
| 974 |
#. type: Plain text |
| 975 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 976 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 977 |
msgid "" |
| 978 |
"On success, B<munmap>() returns 0. On failure, it returns -1, and I<errno> " |
| 979 |
"is set to indicate the error (probably to B<EINVAL>)." |
| 980 |
msgstr "" |
| 981 |
"عند النجاح، تعيد الدالة B<munmap>() القيمة 0. وعند الفشل، تعيد -1، وتُضبط " |
| 982 |
"قيمة I<errno> لتبين الخطأ (غالبًا إلى B<EINVAL>)." |
| 983 |
|
| 984 |
#. type: SH |
| 985 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 986 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 987 |
#, no-wrap |
| 988 |
msgid "ERRORS" |
| 989 |
msgstr "الأخطاء" |
| 990 |
|
| 991 |
#. type: TP |
| 992 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 993 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 994 |
#, no-wrap |
| 995 |
msgid "B<EACCES>" |
| 996 |
msgstr "B<EACCES>" |
| 997 |
|
| 998 |
#. type: Plain text |
| 999 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1000 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1001 |
msgid "" |
| 1002 |
"A file descriptor refers to a non-regular file. Or a file mapping was " |
| 1003 |
"requested, but I<fd> is not open for reading. Or B<MAP_SHARED> was " |
| 1004 |
"requested and B<PROT_WRITE> is set, but I<fd> is not open in read/write " |
| 1005 |
"(B<O_RDWR>) mode. Or B<PROT_WRITE> is set, but the file is append-only." |
| 1006 |
msgstr "" |
| 1007 |
"واصف الملف يشير إلى ملف غير منتظم. أو طُلب تخطيط ملف، ولكن I<fd> ليس مفتوحًا " |
| 1008 |
"للقراءة. أو طُلب B<MAP_SHARED> وضُبطت B<PROT_WRITE>، ولكن I<fd> ليس مفتوحًا في " |
| 1009 |
"وضع القراءة/الكتابة (B<O_RDWR>). أو ضُبطت B<PROT_WRITE>، ولكن الملف مخصص " |
| 1010 |
"للإلحاق فقط." |
| 1011 |
|
| 1012 |
#. type: TP |
| 1013 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1014 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1015 |
#, no-wrap |
| 1016 |
msgid "B<EAGAIN>" |
| 1017 |
msgstr "B<EAGAIN>" |
| 1018 |
|
| 1019 |
#. type: Plain text |
| 1020 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1021 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1022 |
msgid "" |
| 1023 |
"The file has been locked, or too much memory has been locked (see " |
| 1024 |
"B<setrlimit>(2))." |
| 1025 |
msgstr "قُفل الملف، أو قُفلت مساحة كبيرة جدًا من الذاكرة (انظر B<setrlimit>(2))." |
| 1026 |
|
| 1027 |
#. type: TP |
| 1028 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1029 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1030 |
#, no-wrap |
| 1031 |
msgid "B<EBADF>" |
| 1032 |
msgstr "B<EBADF>" |
| 1033 |
|
| 1034 |
#. type: Plain text |
| 1035 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1036 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1037 |
msgid "" |
| 1038 |
"I<fd> is not a valid file descriptor (and B<MAP_ANONYMOUS> was not set)." |
| 1039 |
msgstr "I<fd> ليس واصف ملف صالحًا (ولم تُضبط B<MAP_ANONYMOUS>)." |
| 1040 |
|
| 1041 |
#. type: TP |
| 1042 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1043 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1044 |
#, no-wrap |
| 1045 |
msgid "B<EEXIST>" |
| 1046 |
msgstr "B<EEXIST>" |
| 1047 |
|
| 1048 |
#. type: Plain text |
| 1049 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1050 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1051 |
msgid "" |
| 1052 |
"B<MAP_FIXED_NOREPLACE> was specified in I<flags>, and the range covered by " |
| 1053 |
"I<addr> and I<length> clashes with an existing mapping." |
| 1054 |
msgstr "" |
| 1055 |
"حُددت الراية B<MAP_FIXED_NOREPLACE> في I<flags>، ويتعارض النطاق الذي يغطيه " |
| 1056 |
"I<addr> و I<length> مع تخطيط موجود." |
| 1057 |
|
| 1058 |
#. type: TP |
| 1059 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1060 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1061 |
#, no-wrap |
| 1062 |
msgid "B<EINVAL>" |
| 1063 |
msgstr "B<EINVAL>" |
| 1064 |
|
| 1065 |
#. type: Plain text |
| 1066 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1067 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1068 |
msgid "" |
| 1069 |
"We don't like I<addr>, I<length>, or I<offset> (e.g., they are too large, or " |
| 1070 |
"not aligned on a page boundary)." |
| 1071 |
msgstr "" |
| 1072 |
"قيم I<addr> أو I<length> أو I<offset> غير مقبولة (على سبيل المثال، هي كبيرة " |
| 1073 |
"جدًا، أو غير محاذية لحدود الصفحة)." |
| 1074 |
|
| 1075 |
#. type: Plain text |
| 1076 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1077 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1078 |
msgid "(since Linux 2.6.12) I<length> was 0." |
| 1079 |
msgstr "(منذ لينكس 2.6.12) كانت قيمة I<length> هي 0." |
| 1080 |
|
| 1081 |
#. type: Plain text |
| 1082 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1083 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1084 |
msgid "" |
| 1085 |
"I<flags> contained none of B<MAP_PRIVATE>, B<MAP_SHARED>, or " |
| 1086 |
"B<MAP_SHARED_VALIDATE>." |
| 1087 |
msgstr "" |
| 1088 |
"لم تتضمن I<flags> أيًا من B<MAP_PRIVATE> أو B<MAP_SHARED> أو " |
| 1089 |
"B<MAP_SHARED_VALIDATE>." |
| 1090 |
|
| 1091 |
#. type: TP |
| 1092 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1093 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1094 |
#, no-wrap |
| 1095 |
msgid "B<ENFILE>" |
| 1096 |
msgstr "B<ENFILE>" |
| 1097 |
|
| 1098 |
#. This is for shared anonymous segments |
| 1099 |
#. [2.6.7] shmem_zero_setup()-->shmem_file_setup()-->get_empty_filp() |
| 1100 |
#. .TP |
| 1101 |
#. .B ENOEXEC |
| 1102 |
#. A file could not be mapped for reading. |
| 1103 |
#. type: Plain text |
| 1104 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1105 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1106 |
msgid "" |
| 1107 |
"The system-wide limit on the total number of open files has been reached." |
| 1108 |
msgstr "وُصل إلى الحد الأقصى لإجمالي عدد الملفات المفتوحة على مستوى النظام." |
| 1109 |
|
| 1110 |
#. type: TP |
| 1111 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1112 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1113 |
#, no-wrap |
| 1114 |
msgid "B<ENODEV>" |
| 1115 |
msgstr "B<ENODEV>" |
| 1116 |
|
| 1117 |
#. type: Plain text |
| 1118 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1119 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1120 |
msgid "" |
| 1121 |
"The underlying filesystem of the specified file does not support memory " |
| 1122 |
"mapping." |
| 1123 |
msgstr "نظام ملفات الملف المحدد لا يدعم تخطيط الذاكرة." |
| 1124 |
|
| 1125 |
#. type: TP |
| 1126 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1127 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1128 |
#, no-wrap |
| 1129 |
msgid "B<ENOMEM>" |
| 1130 |
msgstr "B<ENOMEM>" |
| 1131 |
|
| 1132 |
#. type: Plain text |
| 1133 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1134 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1135 |
msgid "No memory is available." |
| 1136 |
msgstr "لا توجد ذاكرة متاحة." |
| 1137 |
|
| 1138 |
#. type: Plain text |
| 1139 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1140 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1141 |
msgid "" |
| 1142 |
"The process's maximum number of mappings would have been exceeded. This " |
| 1143 |
"error can also occur for B<munmap>(), when unmapping a region in the middle " |
| 1144 |
"of an existing mapping, since this results in two smaller mappings on either " |
| 1145 |
"side of the region being unmapped." |
| 1146 |
msgstr "" |
| 1147 |
"تجاوز العملية للعدد الأقصى من التخطيطات. يمكن أن يحدث هذا الخطأ أيضًا مع " |
| 1148 |
"B<munmap>() عند إلغاء تخطيط منطقة في منتصف تخطيط موجود، لأن هذا ينتج عنه " |
| 1149 |
"تخطيطان أصغر على جانبي المنطقة التي أُلغي تخطيطها." |
| 1150 |
|
| 1151 |
#. type: Plain text |
| 1152 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1153 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1154 |
msgid "" |
| 1155 |
"(since Linux 4.7) The process's B<RLIMIT_DATA> limit, described in " |
| 1156 |
"B<getrlimit>(2), would have been exceeded." |
| 1157 |
msgstr "" |
| 1158 |
"(منذ لينكس 4.7) سيتم تجاوز حد B<RLIMIT_DATA> للعملية، الموصوف في " |
| 1159 |
"B<getrlimit>(2)." |
| 1160 |
|
| 1161 |
#. type: Plain text |
| 1162 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1163 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1164 |
msgid "" |
| 1165 |
"We don't like I<addr>, because it exceeds the virtual address space of the " |
| 1166 |
"CPU." |
| 1167 |
msgstr "رُفض العنوان I<addr> لأنه يتجاوز فضاء العناوين الافتراضية للمعالج." |
| 1168 |
|
| 1169 |
#. type: TP |
| 1170 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1171 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1172 |
#, no-wrap |
| 1173 |
msgid "B<EOVERFLOW>" |
| 1174 |
msgstr "B<EOVERFLOW>" |
| 1175 |
|
| 1176 |
#. type: Plain text |
| 1177 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1178 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1179 |
msgid "" |
| 1180 |
"On 32-bit architecture together with the large file extension (i.e., using " |
| 1181 |
"64-bit I<off_t>): the number of pages used for I<length> plus number of " |
| 1182 |
"pages used for I<offset> would overflow I<unsigned long> (32 bits)." |
| 1183 |
msgstr "" |
| 1184 |
"في معمارية 32 بت مع امتداد الملفات الكبيرة (أي باستخدام I<off_t> ذي 64 بت): " |
| 1185 |
"عدد الصفحات المستخدمة لـ I<length> بالإضافة لعدد الصفحات المستخدمة لـ " |
| 1186 |
"I<offset> سيؤدي لفيض في I<unsigned long> (32 بت)." |
| 1187 |
|
| 1188 |
#. type: TP |
| 1189 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1190 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1191 |
#, no-wrap |
| 1192 |
msgid "B<EPERM>" |
| 1193 |
msgstr "B<EPERM>" |
| 1194 |
|
| 1195 |
#. (Since Linux 2.4.25 / Linux 2.6.0.) |
| 1196 |
#. type: Plain text |
| 1197 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1198 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1199 |
msgid "" |
| 1200 |
"The I<prot> argument asks for B<PROT_EXEC> but the mapped area belongs to a " |
| 1201 |
"file on a filesystem that was mounted no-exec." |
| 1202 |
msgstr "" |
| 1203 |
"تطلب المعطاة I<prot> الصلاحية B<PROT_EXEC> لكن المنطقة المخططة تنتمي إلى ملف " |
| 1204 |
"في نظام ملفات وُصل بخيار منع التنفيذ no-exec." |
| 1205 |
|
| 1206 |
#. type: Plain text |
| 1207 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1208 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1209 |
msgid "The operation was prevented by a file seal; see B<fcntl>(2)." |
| 1210 |
msgstr "مُنعت العملية بواسطة ختم ملف؛ انظر B<fcntl>(2)." |
| 1211 |
|
| 1212 |
#. type: Plain text |
| 1213 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 1214 |
#: opensuse-tumbleweed |
| 1215 |
msgid "" |
| 1216 |
"The B<MAP_HUGETLB> flag was specified, but the caller was not privileged " |
| 1217 |
"(did not have the B<CAP_IPC_LOCK> capability) and is not a member of the " |
| 1218 |
"I<hugetlb_shm_group> group; see the description of I</proc/sys/vm/" |
| 1219 |
"hugetlb_shm_group> in B<proc_sys_vm>(5)." |
| 1220 |
msgstr "" |
| 1221 |
"حُددت الراية B<MAP_HUGETLB>، لكن المستدعِي B<caller> ليس لديه امتيازات (لا " |
| 1222 |
"يملك القدرة B<CAP_IPC_LOCK>) وليس عضوًا في المجموعة I<hugetlb_shm_group>؛ " |
| 1223 |
"انظر وصف I</proc/sys/vm/hugetlb_shm_group> في B<proc_sys_vm>(5)." |
| 1224 |
|
| 1225 |
#. type: TP |
| 1226 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1227 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1228 |
#, no-wrap |
| 1229 |
msgid "B<ETXTBSY>" |
| 1230 |
msgstr "B<ETXTBSY>" |
| 1231 |
|
| 1232 |
#. type: Plain text |
| 1233 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1234 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1235 |
msgid "" |
| 1236 |
"B<MAP_DENYWRITE> was set but the object specified by I<fd> is open for " |
| 1237 |
"writing." |
| 1238 |
msgstr "ضُبطت B<MAP_DENYWRITE> ولكن الكائن المحدد بواسطة I<fd> مفتوح للكتابة." |
| 1239 |
|
| 1240 |
#. type: Plain text |
| 1241 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1242 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1243 |
msgid "Use of a mapped region can result in these signals:" |
| 1244 |
msgstr "يمكن أن يؤدي استخدام منطقة مخططة إلى هذه الإشارات:" |
| 1245 |
|
| 1246 |
#. type: TP |
| 1247 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1248 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1249 |
#, no-wrap |
| 1250 |
msgid "B<SIGSEGV>" |
| 1251 |
msgstr "B<SIGSEGV>" |
| 1252 |
|
| 1253 |
#. type: Plain text |
| 1254 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1255 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1256 |
msgid "Attempted write into a region mapped as read-only." |
| 1257 |
msgstr "محاولة الكتابة في منطقة خُططت للقراءة فقط." |
| 1258 |
|
| 1259 |
#. type: TP |
| 1260 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1261 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1262 |
#, no-wrap |
| 1263 |
msgid "B<SIGBUS>" |
| 1264 |
msgstr "B<SIGBUS>" |
| 1265 |
|
| 1266 |
#. type: Plain text |
| 1267 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1268 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1269 |
msgid "" |
| 1270 |
"Attempted access to a page of the buffer that lies beyond the end of the " |
| 1271 |
"mapped file. For an explanation of the treatment of the bytes in the page " |
| 1272 |
"that corresponds to the end of a mapped file that is not a multiple of the " |
| 1273 |
"page size, see NOTES." |
| 1274 |
msgstr "" |
| 1275 |
"محاولة الوصول إلى صفحة في المخزن المؤقت تقع خارج نهاية الملف المخطط. للاطلاع " |
| 1276 |
"على شرح لمعاملة البايتات في الصفحة التي تقابل نهاية ملف مخطط لا يمثل طوله " |
| 1277 |
"مضاعفًا لحجم الصفحة، انظر قسم ملاحظات NOTES." |
| 1278 |
|
| 1279 |
#. type: SH |
| 1280 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1281 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1282 |
#, no-wrap |
| 1283 |
msgid "ATTRIBUTES" |
| 1284 |
msgstr "السمات" |
| 1285 |
|
| 1286 |
#. type: Plain text |
| 1287 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1288 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1289 |
msgid "" |
| 1290 |
"For an explanation of the terms used in this section, see B<attributes>(7)." |
| 1291 |
msgstr "" |
| 1292 |
"للاطلاع على شرح للمصطلحات المستخدمة في هذا القسم، انظر B<attributes>(7)." |
| 1293 |
|
| 1294 |
#. type: tbl table |
| 1295 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1296 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1297 |
#, no-wrap |
| 1298 |
msgid "Interface" |
| 1299 |
msgstr "الواجهة" |
| 1300 |
|
| 1301 |
#. type: tbl table |
| 1302 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1303 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1304 |
#, no-wrap |
| 1305 |
msgid "Attribute" |
| 1306 |
msgstr "السمة" |
| 1307 |
|
| 1308 |
#. type: tbl table |
| 1309 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1310 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1311 |
#, no-wrap |
| 1312 |
msgid "Value" |
| 1313 |
msgstr "القيمة" |
| 1314 |
|
| 1315 |
#. type: tbl table |
| 1316 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1317 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1318 |
#, no-wrap |
| 1319 |
msgid ".na\n" |
| 1320 |
msgstr ".na\n" |
| 1321 |
|
| 1322 |
#. type: tbl table |
| 1323 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1324 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1325 |
#, no-wrap |
| 1326 |
msgid ".nh\n" |
| 1327 |
msgstr ".nh\n" |
| 1328 |
|
| 1329 |
#. type: tbl table |
| 1330 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1331 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1332 |
#, no-wrap |
| 1333 |
msgid "" |
| 1334 |
"B<mmap>(),\n" |
| 1335 |
"B<munmap>()" |
| 1336 |
msgstr "" |
| 1337 |
"B<mmap>(),\n" |
| 1338 |
"B<munmap>()" |
| 1339 |
|
| 1340 |
#. type: tbl table |
| 1341 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1342 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1343 |
#, no-wrap |
| 1344 |
msgid "Thread safety" |
| 1345 |
msgstr "سلامة الخيوط" |
| 1346 |
|
| 1347 |
#. type: tbl table |
| 1348 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1349 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1350 |
#, no-wrap |
| 1351 |
msgid "MT-Safe" |
| 1352 |
msgstr "MT-Safe" |
| 1353 |
|
| 1354 |
#. type: SH |
| 1355 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1356 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1357 |
#, no-wrap |
| 1358 |
msgid "VERSIONS" |
| 1359 |
msgstr "الإصدارات" |
| 1360 |
|
| 1361 |
#. type: Plain text |
| 1362 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1363 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1364 |
msgid "" |
| 1365 |
"On some hardware architectures (e.g., i386), B<PROT_WRITE> implies " |
| 1366 |
"B<PROT_READ>. It is architecture dependent whether B<PROT_READ> implies " |
| 1367 |
"B<PROT_EXEC> or not. Portable programs should always set B<PROT_EXEC> if " |
| 1368 |
"they intend to execute code in the new mapping." |
| 1369 |
msgstr "" |
| 1370 |
"في بعض معماريات العتاد (مثل i386)، تتضمن الصلاحية B<PROT_WRITE> ضمنيًا " |
| 1371 |
"B<PROT_READ>. ويعتمد الأمر على المعمارية فيما إذا كانت B<PROT_READ> تتضمن " |
| 1372 |
"B<PROT_EXEC> أم لا. يجب على البرامج المنقولة تعيين B<PROT_EXEC> دائمًا إذا " |
| 1373 |
"كانت تنوي تنفيذ كود في التخطيط الجديد." |
| 1374 |
|
| 1375 |
#. type: Plain text |
| 1376 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1377 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1378 |
msgid "" |
| 1379 |
"The portable way to create a mapping is to specify I<addr> as 0 (NULL), and " |
| 1380 |
"omit B<MAP_FIXED> from I<flags>. In this case, the system chooses the " |
| 1381 |
"address for the mapping; the address is chosen so as not to conflict with " |
| 1382 |
"any existing mapping, and will not be 0. If the B<MAP_FIXED> flag is " |
| 1383 |
"specified, and I<addr> is 0 (NULL), then the mapped address will be 0 (NULL)." |
| 1384 |
msgstr "" |
| 1385 |
"الطريقة المنقولة لإنشاء تخطيط هي تحديد I<addr> بقيمة 0 (NULL)، وحذف " |
| 1386 |
"B<MAP_FIXED> من I<flags>. في هذه الحالة، يختار النظام عنوان التخطيط؛ ويُختار " |
| 1387 |
"العنوان بحيث لا يتعارض مع أي تخطيط موجود، ولن يكون 0. إذا حُددت الراية " |
| 1388 |
"B<MAP_FIXED> وكان I<addr> هو 0 (NULL)، فسيكون العنوان المخطط 0 (NULL)." |
| 1389 |
|
| 1390 |
#. type: Plain text |
| 1391 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1392 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1393 |
msgid "" |
| 1394 |
"Certain I<flags> constants are defined only if suitable feature test macros " |
| 1395 |
"are defined (possibly by default): B<_DEFAULT_SOURCE> with glibc 2.19 or " |
| 1396 |
"later; or B<_BSD_SOURCE> or B<_SVID_SOURCE> in glibc 2.19 and earlier. " |
| 1397 |
"(Employing B<_GNU_SOURCE> also suffices, and requiring that macro " |
| 1398 |
"specifically would have been more logical, since these flags are all Linux-" |
| 1399 |
"specific.) The relevant flags are: B<MAP_32BIT>, B<MAP_ANONYMOUS> (and the " |
| 1400 |
"synonym B<MAP_ANON>), B<MAP_DENYWRITE>, B<MAP_EXECUTABLE>, B<MAP_FILE>, " |
| 1401 |
"B<MAP_GROWSDOWN>, B<MAP_HUGETLB>, B<MAP_LOCKED>, B<MAP_NONBLOCK>, " |
| 1402 |
"B<MAP_NORESERVE>, B<MAP_POPULATE>, and B<MAP_STACK>." |
| 1403 |
msgstr "" |
| 1404 |
"تُعرف ثوابت معينة في I<flags> فقط إذا عُرفت وحدات ماكرو لاختبار الميزات " |
| 1405 |
"المناسبة (ربما بشكل مبدئي آلي): B<_DEFAULT_SOURCE> مع glibc 2.19 أو أحدث؛ أو " |
| 1406 |
"B<_BSD_SOURCE> أو B<_SVID_SOURCE> في glibc 2.19 وما قبله. (استخدام " |
| 1407 |
"B<_GNU_SOURCE> يكفي أيضًا، وكان طلب هذا الماكرو تحديدًا أكثر منطقية، لأن هذه " |
| 1408 |
"الرايات كلها خاصة بلينكس). الرايات ذات الصلة هي: B<MAP_32BIT>، و " |
| 1409 |
"B<MAP_ANONYMOUS> (ومرادفها B<MAP_ANON>)، و B<MAP_DENYWRITE>، و " |
| 1410 |
"B<MAP_EXECUTABLE>، و B<MAP_FILE>، و B<MAP_GROWSDOWN>، و B<MAP_HUGETLB>، و " |
| 1411 |
"B<MAP_LOCKED>، و B<MAP_NONBLOCK>، و B<MAP_NORESERVE>، و B<MAP_POPULATE>، و " |
| 1412 |
"B<MAP_STACK>." |
| 1413 |
|
| 1414 |
#. type: SS |
| 1415 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1416 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1417 |
#, no-wrap |
| 1418 |
msgid "C library/kernel differences" |
| 1419 |
msgstr "الاختلافات بين مكتبة C والنواة" |
| 1420 |
|
| 1421 |
#. Since around glibc 2.1/2.2, depending on the platform. |
| 1422 |
#. type: Plain text |
| 1423 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1424 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1425 |
msgid "" |
| 1426 |
"This page describes the interface provided by the glibc B<mmap>() wrapper " |
| 1427 |
"function. Originally, this function invoked a system call of the same " |
| 1428 |
"name. Since Linux 2.4, that system call has been superseded by B<mmap2>(2), " |
| 1429 |
"and nowadays the glibc B<mmap>() wrapper function invokes B<mmap2>(2) with " |
| 1430 |
"a suitably adjusted value for I<offset>." |
| 1431 |
msgstr "" |
| 1432 |
"تصف هذه الصفحة الواجهة التي توفرها دالة الغلاف B<mmap>() في glibc. في الأصل، " |
| 1433 |
"كانت هذه الدالة تستدعي نداء نظام بنفس الاسم. ومنذ لينكس 2.4، حل نداء النظام " |
| 1434 |
"B<mmap2>(2) محل هذا النداء، وحاليًا تستدعي دالة غلاف B<mmap>() في glibc نداء " |
| 1435 |
"B<mmap2>(2) مع قيمة معدلة لـ I<offset>." |
| 1436 |
|
| 1437 |
#. type: SH |
| 1438 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1439 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1440 |
#, no-wrap |
| 1441 |
msgid "STANDARDS" |
| 1442 |
msgstr "المعايير" |
| 1443 |
|
| 1444 |
#. type: Plain text |
| 1445 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 1446 |
#: opensuse-tumbleweed |
| 1447 |
msgid "POSIX.1-2024." |
| 1448 |
msgstr "POSIX.1-2024." |
| 1449 |
|
| 1450 |
#. type: SH |
| 1451 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1452 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1453 |
#, no-wrap |
| 1454 |
msgid "HISTORY" |
| 1455 |
msgstr "التاريخ" |
| 1456 |
|
| 1457 |
#. SVr4 documents additional error codes ENXIO and ENODEV. |
| 1458 |
#. SUSv2 documents additional error codes EMFILE and EOVERFLOW. |
| 1459 |
#. type: Plain text |
| 1460 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 1461 |
#: opensuse-tumbleweed |
| 1462 |
msgid "SVr4, 4.4BSD, SUSv1, POSIX.1-1996." |
| 1463 |
msgstr "SVr4, 4.4BSD, SUSv1, POSIX.1-1996." |
| 1464 |
|
| 1465 |
#. POSIX.1-2001: It shall be defined to -1 or 0 or 200112L. |
| 1466 |
#. -1: unavailable, 0: ask using sysconf(). |
| 1467 |
#. glibc defines it to 1. |
| 1468 |
#. type: Plain text |
| 1469 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1470 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1471 |
msgid "" |
| 1472 |
"On POSIX systems on which B<mmap>(), B<msync>(2), and B<munmap>() are " |
| 1473 |
"available, B<_POSIX_MAPPED_FILES> is defined in I<E<lt>unistd.hE<gt>> to a " |
| 1474 |
"value greater than 0. (See also B<sysconf>(3).)" |
| 1475 |
msgstr "" |
| 1476 |
"في أنظمة POSIX التي تتوفر فيها B<mmap>() و B<msync>(2) و B<munmap>()، يُعرَّف " |
| 1477 |
"B<_POSIX_MAPPED_FILES> في I<E<lt>unistd.hE<gt>> بقيمة أكبر من 0. (انظر أيضًا " |
| 1478 |
"B<sysconf>(3))." |
| 1479 |
|
| 1480 |
#. type: SH |
| 1481 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1482 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1483 |
#, no-wrap |
| 1484 |
msgid "NOTES" |
| 1485 |
msgstr "ملاحظات" |
| 1486 |
|
| 1487 |
#. type: Plain text |
| 1488 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1489 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1490 |
msgid "" |
| 1491 |
"Memory mapped by B<mmap>() is preserved across B<fork>(2), with the same " |
| 1492 |
"attributes." |
| 1493 |
msgstr "تُحفظ الذاكرة المخططة بواسطة B<mmap>() عبر B<fork>(2)، بنفس السمات." |
| 1494 |
|
| 1495 |
#. type: Plain text |
| 1496 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1497 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1498 |
msgid "" |
| 1499 |
"A file is mapped in multiples of the page size. For a file that is not a " |
| 1500 |
"multiple of the page size, the remaining bytes in the partial page at the " |
| 1501 |
"end of the mapping are zeroed when mapped, and modifications to that region " |
| 1502 |
"are not written out to the file. The effect of changing the size of the " |
| 1503 |
"underlying file of a mapping on the pages that correspond to added or " |
| 1504 |
"removed regions of the file is unspecified." |
| 1505 |
msgstr "" |
| 1506 |
"يُخطط الملف بمضاعفات حجم الصفحة. بالنسبة للملف الذي لا يمثل طوله مضاعفًا لحجم " |
| 1507 |
"الصفحة، تُصفّر البايتات المتبقية في الصفحة الجزئية في نهاية التخطيط عند " |
| 1508 |
"التخطيط، ولا تُكتب التعديلات على تلك المنطقة في الملف. إن تأثير تغيير حجم " |
| 1509 |
"الملف الأساسي للتخطيط على الصفحات التي تقابل المناطق المضافة أو المزالة من " |
| 1510 |
"الملف غير محدد." |
| 1511 |
|
| 1512 |
#. type: Plain text |
| 1513 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1514 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1515 |
msgid "" |
| 1516 |
"An application can determine which pages of a mapping are currently resident " |
| 1517 |
"in the buffer/page cache using B<mincore>(2)." |
| 1518 |
msgstr "" |
| 1519 |
"يمكن للتطبيق تحديد الصفحات من التخطيط الموجودة حاليًا في خبيئة Cache الصفحة/" |
| 1520 |
"المخزن المؤقت باستخدام B<mincore>(2)." |
| 1521 |
|
| 1522 |
#. type: SS |
| 1523 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1524 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1525 |
#, no-wrap |
| 1526 |
msgid "Using MAP_FIXED safely" |
| 1527 |
msgstr "استخدام MAP_FIXED بأمان" |
| 1528 |
|
| 1529 |
#. type: Plain text |
| 1530 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1531 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1532 |
msgid "" |
| 1533 |
"The only safe use for B<MAP_FIXED> is where the address range specified by " |
| 1534 |
"I<addr> and I<length> was previously reserved using another mapping; " |
| 1535 |
"otherwise, the use of B<MAP_FIXED> is hazardous because it forcibly removes " |
| 1536 |
"preexisting mappings, making it easy for a multithreaded process to corrupt " |
| 1537 |
"its own address space." |
| 1538 |
msgstr "" |
| 1539 |
"الاستخدام الآمن الوحيد لـ B<MAP_FIXED> هو عندما يكون نطاق العناوين المحدد " |
| 1540 |
"بواسطة I<addr> و I<length> قد حُجز مسبقًا باستخدام تخطيط آخر؛ وبخلاف ذلك، فإن " |
| 1541 |
"استخدام B<MAP_FIXED> يعد خطرًا لأنه يزيل التخطيطات الموجودة مسبقًا قسرًا، مما " |
| 1542 |
"يسهل على العملية متعددة الخيوط إفساد فضاء عناوينها الخاص." |
| 1543 |
|
| 1544 |
#. type: Plain text |
| 1545 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 1546 |
#: opensuse-tumbleweed |
| 1547 |
msgid "" |
| 1548 |
"For example, suppose that thread A looks through I</proc/>pidI</maps> in " |
| 1549 |
"order to locate an unused address range that it can map using B<MAP_FIXED>, " |
| 1550 |
"while thread B simultaneously acquires part or all of that same address " |
| 1551 |
"range. When thread A subsequently employs B<mmap(MAP_FIXED)>, it will " |
| 1552 |
"effectively clobber the mapping that thread B created. In this scenario, " |
| 1553 |
"thread B need not create a mapping directly; simply making a library call " |
| 1554 |
"that, internally, uses B<dlopen>(3) to load some other shared library, will " |
| 1555 |
"suffice. The B<dlopen>(3) call will map the library into the process's " |
| 1556 |
"address space. Furthermore, almost any library call may be implemented in a " |
| 1557 |
"way that adds memory mappings to the address space, either with this " |
| 1558 |
"technique, or by simply allocating memory. Examples include B<brk>(2), " |
| 1559 |
"B<malloc>(3), B<pthread_create>(3), and the PAM libraries E<.UR http:\\://" |
| 1560 |
"www.linux-pam.org> E<.UE .>" |
| 1561 |
msgstr "" |
| 1562 |
"على سبيل المثال، افترض أن الخيط A يبحث في I</proc/>pidI</maps> لتحديد موقع " |
| 1563 |
"نطاق عناوين غير مستخدم يمكنه تخطيطه باستخدام B<MAP_FIXED>، بينما يحصل الخيط " |
| 1564 |
"B في الوقت نفسه على جزء من نفس نطاق العناوين هذا أو كله. عندما يستخدم الخيط " |
| 1565 |
"A لاحقًا B<mmap(MAP_FIXED)>، فإنه سيمحو فعليًا التخطيط الذي أنشأه الخيط B. في " |
| 1566 |
"هذا السيناريو، لا يحتاج الخيط B لإنشاء تخطيط مباشرة؛ إذ يكفي مجرد إجراء نداء " |
| 1567 |
"لمكتبة تستخدم داخليًا B<dlopen>(3) لتحميل مكتبة مشتركة أخرى. سيقوم نداء " |
| 1568 |
"B<dlopen>(3) بتخطيط المكتبة في فضاء عناوين العملية. علاوة على ذلك، يمكن " |
| 1569 |
"تنفيذ أي نداء مكتبة تقريبًا بطريقة تضيف تخطيطات ذاكرة إلى فضاء العناوين، إما " |
| 1570 |
"بهذه التقنية أو بمجرد تخصيص الذاكرة. تشمل الأمثلة B<brk>(2)، و B<malloc>(3)، " |
| 1571 |
"و B<pthread_create>(3)، ومكتبات PAM E<.UR http:\\://www.linux-pam.org> E<." |
| 1572 |
"UE .>" |
| 1573 |
|
| 1574 |
#. type: Plain text |
| 1575 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1576 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1577 |
msgid "" |
| 1578 |
"Since Linux 4.17, a multithreaded program can use the B<MAP_FIXED_NOREPLACE> " |
| 1579 |
"flag to avoid the hazard described above when attempting to create a mapping " |
| 1580 |
"at a fixed address that has not been reserved by a preexisting mapping." |
| 1581 |
msgstr "" |
| 1582 |
"منذ لينكس 4.17، يمكن لبرنامج متعدد الخيوط استخدام الراية " |
| 1583 |
"B<MAP_FIXED_NOREPLACE> لتجنب الخطر الموصوف أعلاه عند محاولة إنشاء تخطيط في " |
| 1584 |
"عنوان ثابت لم يُحجز بواسطة تخطيط موجود مسبقًا." |
| 1585 |
|
| 1586 |
#. type: SS |
| 1587 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1588 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1589 |
#, no-wrap |
| 1590 |
msgid "Timestamps changes for file-backed mappings" |
| 1591 |
msgstr "تغييرات الطوابع الزمنية للتخطيطات المدعومة بملفات" |
| 1592 |
|
| 1593 |
#. type: Plain text |
| 1594 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1595 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1596 |
msgid "" |
| 1597 |
"For file-backed mappings, the I<st_atime> field for the mapped file may be " |
| 1598 |
"updated at any time between the B<mmap>() and the corresponding unmapping; " |
| 1599 |
"the first reference to a mapped page will update the field if it has not " |
| 1600 |
"been already." |
| 1601 |
msgstr "" |
| 1602 |
"بالنسبة للتخطيطات المدعومة بملفات، قد يُحدث الحقل I<st_atime> للملف المخطط في " |
| 1603 |
"أي وقت بين B<mmap>() وإلغاء التخطيط المقابل؛ وسيقوم أول وصول لصفحة مخططة " |
| 1604 |
"بتحديث الحقل إذا لم يكن قد حُدث بالفعل." |
| 1605 |
|
| 1606 |
#. type: Plain text |
| 1607 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1608 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1609 |
msgid "" |
| 1610 |
"The I<st_ctime> and I<st_mtime> field for a file mapped with B<PROT_WRITE> " |
| 1611 |
"and B<MAP_SHARED> will be updated after a write to the mapped region, and " |
| 1612 |
"before a subsequent B<msync>(2) with the B<MS_SYNC> or B<MS_ASYNC> flag, if " |
| 1613 |
"one occurs." |
| 1614 |
msgstr "" |
| 1615 |
"سيُحدث الحقلان I<st_ctime> و I<st_mtime> لملف مخطط بـ B<PROT_WRITE> و " |
| 1616 |
"B<MAP_SHARED> بعد الكتابة إلى المنطقة المخططة، وقبل نداء B<msync>(2) لاحق " |
| 1617 |
"باستخدام الراية B<MS_SYNC> أو B<MS_ASYNC>، إن وجد." |
| 1618 |
|
| 1619 |
#. type: SS |
| 1620 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1621 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1622 |
#, no-wrap |
| 1623 |
msgid "Huge page (Huge TLB) mappings" |
| 1624 |
msgstr "تخطيطات الصفحات الضخمة (Huge TLB)" |
| 1625 |
|
| 1626 |
#. type: Plain text |
| 1627 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1628 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1629 |
msgid "" |
| 1630 |
"For mappings that employ huge pages, the requirements for the arguments of " |
| 1631 |
"B<mmap>() and B<munmap>() differ somewhat from the requirements for " |
| 1632 |
"mappings that use the native system page size." |
| 1633 |
msgstr "" |
| 1634 |
"بالنسبة للتخطيطات التي تستخدم صفحات ضخمة، تختلف متطلبات معطيات B<mmap>() و " |
| 1635 |
"B<munmap>() نوعًا ما عن متطلبات التخطيطات التي تستخدم حجم صفحة النظام الأصلي." |
| 1636 |
|
| 1637 |
#. type: Plain text |
| 1638 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1639 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1640 |
msgid "" |
| 1641 |
"For B<mmap>(), I<offset> must be a multiple of the underlying huge page " |
| 1642 |
"size. The system automatically aligns I<length> to be a multiple of the " |
| 1643 |
"underlying huge page size." |
| 1644 |
msgstr "" |
| 1645 |
"بالنسبة لـ B<mmap>()، يجب أن يكون I<offset> مضاعفًا لحجم الصفحة الضخمة " |
| 1646 |
"الأساسي. يضبط النظام آليًا I<length> ليكون مضاعفًا لحجم الصفحة الضخمة الأساسي." |
| 1647 |
|
| 1648 |
#. type: Plain text |
| 1649 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1650 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1651 |
msgid "" |
| 1652 |
"For B<munmap>(), I<addr>, and I<length> must both be a multiple of the " |
| 1653 |
"underlying huge page size." |
| 1654 |
msgstr "" |
| 1655 |
"بالنسبة لـ B<munmap>()، يجب أن يكون كل من I<addr> و I<length> مضاعفًا لحجم " |
| 1656 |
"الصفحة الضخمة الأساسي." |
| 1657 |
|
| 1658 |
#. type: SH |
| 1659 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 1660 |
#: opensuse-tumbleweed |
| 1661 |
#, no-wrap |
| 1662 |
msgid "CAVEATS" |
| 1663 |
msgstr "تحذيرات" |
| 1664 |
|
| 1665 |
#. type: Plain text |
| 1666 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 1667 |
#: opensuse-tumbleweed |
| 1668 |
msgid "" |
| 1669 |
"Unlike typical B<malloc>(3) implementations, B<mmap>() does not prevent " |
| 1670 |
"creating objects larger than B<PTRDIFF_MAX>. Objects that are larger than " |
| 1671 |
"B<PTRDIFF_MAX> only work in limited ways in C (in particular, pointer " |
| 1672 |
"subtraction results in undefined behavior if the result would be bigger than " |
| 1673 |
"B<PTRDIFF_MAX>). On top of that, GCC also assumes that no object is bigger " |
| 1674 |
"than B<PTRDIFF_MAX>. B<PTRDIFF_MAX> is usually half of the address space " |
| 1675 |
"size; so for 32-bit processes, it is usually B<0x7fffffff> (almost 2 GiB)." |
| 1676 |
msgstr "" |
| 1677 |
"على عكس تطبيقات B<malloc>(3) النموذجية، لا يمنع B<mmap>() إنشاء كائنات أكبر " |
| 1678 |
"من B<PTRDIFF_MAX>. الكائنات الأكبر من B<PTRDIFF_MAX> تعمل بطرق محدودة فقط في " |
| 1679 |
"لغة C (على وجه الخصوص، يؤدي طرح المؤشرات إلى سلوك غير محدد إذا كانت النتيجة " |
| 1680 |
"أكبر من B<PTRDIFF_MAX>). علاوة على ذلك، يفترض GCC أيضًا أنه لا يوجد كائن أكبر " |
| 1681 |
"من B<PTRDIFF_MAX>. عادة ما يكون B<PTRDIFF_MAX> نصف حجم فضاء العناوين؛ لذا " |
| 1682 |
"بالنسبة للعمليات ذات 32 بت، يكون عادةً B<0x7fffffff> (حوالي 2 جيجابايت)." |
| 1683 |
|
| 1684 |
#. type: SH |
| 1685 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1686 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1687 |
#, no-wrap |
| 1688 |
msgid "BUGS" |
| 1689 |
msgstr "العلل" |
| 1690 |
|
| 1691 |
#. type: Plain text |
| 1692 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1693 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1694 |
msgid "" |
| 1695 |
"On Linux, there are no guarantees like those suggested above under " |
| 1696 |
"B<MAP_NORESERVE>. By default, any process can be killed at any moment when " |
| 1697 |
"the system runs out of memory." |
| 1698 |
msgstr "" |
| 1699 |
"في لينكس، لا توجد ضمانات مثل تلك المقترحة أعلاه تحت B<MAP_NORESERVE>. " |
| 1700 |
"مبدئيًا، يمكن قتل أي عملية في أي لحظة عندما تنفد ذاكرة النظام." |
| 1701 |
|
| 1702 |
#. type: Plain text |
| 1703 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1704 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1705 |
msgid "" |
| 1706 |
"Before Linux 2.6.7, the B<MAP_POPULATE> flag has effect only if I<prot> is " |
| 1707 |
"specified as B<PROT_NONE>." |
| 1708 |
msgstr "" |
| 1709 |
"قبل لينكس 2.6.7، لم يكن للراية B<MAP_POPULATE> تأثير إلا إذا حُددت I<prot> " |
| 1710 |
"بأنها B<PROT_NONE>." |
| 1711 |
|
| 1712 |
#. type: Plain text |
| 1713 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1714 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1715 |
msgid "" |
| 1716 |
"SUSv3 specifies that B<mmap>() should fail if I<length> is 0. However, " |
| 1717 |
"before Linux 2.6.12, B<mmap>() succeeded in this case: no mapping was " |
| 1718 |
"created and the call returned I<addr>. Since Linux 2.6.12, B<mmap>() fails " |
| 1719 |
"with the error B<EINVAL> for this case." |
| 1720 |
msgstr "" |
| 1721 |
"يحدد SUSv3 أن B<mmap>() يجب أن يفشل إذا كانت I<length> هي 0. ومع ذلك، قبل " |
| 1722 |
"لينكس 2.6.12، كان B<mmap>() ينجح في هذه الحالة: لم يُنشأ أي تخطيط وأعاد " |
| 1723 |
"النداء القيمة I<addr>. ومنذ لينكس 2.6.12، يفشل B<mmap>() مع الخطأ B<EINVAL> " |
| 1724 |
"في هذه الحالة." |
| 1725 |
|
| 1726 |
#. type: Plain text |
| 1727 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1728 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1729 |
msgid "" |
| 1730 |
"POSIX specifies that the system shall always zero fill any partial page at " |
| 1731 |
"the end of the object and that system will never write any modification of " |
| 1732 |
"the object beyond its end. On Linux, when you write data to such partial " |
| 1733 |
"page after the end of the object, the data stays in the page cache even " |
| 1734 |
"after the file is closed and unmapped and even though the data is never " |
| 1735 |
"written to the file itself, subsequent mappings may see the modified " |
| 1736 |
"content. In some cases, this could be fixed by calling B<msync>(2) before " |
| 1737 |
"the unmap takes place; however, this doesn't work on B<tmpfs>(5) (for " |
| 1738 |
"example, when using the POSIX shared memory interface documented in " |
| 1739 |
"B<shm_overview>(7))." |
| 1740 |
msgstr "" |
| 1741 |
"يحدد POSIX أن النظام سيقوم دائمًا بملء أي صفحة جزئية في نهاية الكائن بالأصفار " |
| 1742 |
"وأن النظام لن يكتب أبدًا أي تعديل للكائن خارج نهايته. في لينكس، عند كتابة " |
| 1743 |
"بيانات إلى مثل هذه الصفحة الجزئية بعد نهاية الكائن، تظل البيانات في خبيئة " |
| 1744 |
"Cache الصفحة حتى بعد إغلاق الملف وإلغاء تخطيطه وبالرغم من أن البيانات لا " |
| 1745 |
"تُكتب أبدًا في الملف نفسه، إلا أن التخطيطات اللاحقة قد ترى المحتوى المعدل. في " |
| 1746 |
"بعض الحالات، يمكن إصلاح ذلك باستدعاء B<msync>(2) قبل إلغاء التخطيط؛ ومع ذلك، " |
| 1747 |
"لا يعمل هذا في B<tmpfs>(5) (على سبيل المثال، عند استخدام واجهة ذاكرة POSIX " |
| 1748 |
"المشتركة الموثقة في B<shm_overview>(7))." |
| 1749 |
|
| 1750 |
#. type: SH |
| 1751 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1752 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1753 |
#, no-wrap |
| 1754 |
msgid "EXAMPLES" |
| 1755 |
msgstr "أمثلة" |
| 1756 |
|
| 1757 |
#. FIXME . Add an example here that uses an anonymous shared region for |
| 1758 |
#. IPC between parent and child. |
| 1759 |
#. type: Plain text |
| 1760 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1761 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1762 |
msgid "" |
| 1763 |
"The following program prints part of the file specified in its first command-" |
| 1764 |
"line argument to standard output. The range of bytes to be printed is " |
| 1765 |
"specified via offset and length values in the second and third command-line " |
| 1766 |
"arguments. The program creates a memory mapping of the required pages of " |
| 1767 |
"the file and then uses B<write>(2) to output the desired bytes." |
| 1768 |
msgstr "" |
| 1769 |
"يطبع البرنامج التالي جزءًا من الملف المحدد في معامل سطر الأوامر الأول الخاص " |
| 1770 |
"به إلى المخرج المعياري. يُحدد نطاق البايتات المراد طباعتها عبر قيم الإزاحة " |
| 1771 |
"والطول في معاملي سطر الأوامر الثاني والثالث. يُنشئ البرنامج تخطيط ذاكرة " |
| 1772 |
"للصفحات المطلوبة من الملف ثم يستخدم B<write>(2) لإخراج البايتات المطلوبة." |
| 1773 |
|
| 1774 |
#. type: SS |
| 1775 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1776 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1777 |
#, no-wrap |
| 1778 |
msgid "Program source" |
| 1779 |
msgstr "مصدر البرنامج" |
| 1780 |
|
| 1781 |
#. type: Plain text |
| 1782 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 1783 |
#: opensuse-tumbleweed |
| 1784 |
#, no-wrap |
| 1785 |
msgid "" |
| 1786 |
"#include E<lt>err.hE<gt>\n" |
| 1787 |
"#include E<lt>fcntl.hE<gt>\n" |
| 1788 |
"#include E<lt>stdio.hE<gt>\n" |
| 1789 |
"#include E<lt>stdlib.hE<gt>\n" |
| 1790 |
"#include E<lt>sys/mman.hE<gt>\n" |
| 1791 |
"#include E<lt>sys/stat.hE<gt>\n" |
| 1792 |
"#include E<lt>sys/types.hE<gt>\n" |
| 1793 |
"#include E<lt>unistd.hE<gt>\n" |
| 1794 |
"\\&\n" |
| 1795 |
"int\n" |
| 1796 |
"main(int argc, char *argv[])\n" |
| 1797 |
"{\n" |
| 1798 |
" int fd;\n" |
| 1799 |
" char *addr;\n" |
| 1800 |
" off_t offset, pa_offset;\n" |
| 1801 |
" size_t length;\n" |
| 1802 |
" ssize_t s;\n" |
| 1803 |
" struct stat sb;\n" |
| 1804 |
"\\&\n" |
| 1805 |
" if (argc E<lt> 3 || argc E<gt> 4) {\n" |
| 1806 |
" fprintf(stderr, \"%s file offset [length]\\[rs]n\", argv[0]);\n" |
| 1807 |
" exit(EXIT_FAILURE);\n" |
| 1808 |
" }\n" |
| 1809 |
"\\&\n" |
| 1810 |
" fd = open(argv[1], O_RDONLY);\n" |
| 1811 |
" if (fd == -1)\n" |
| 1812 |
" err(EXIT_FAILURE, \"open\");\n" |
| 1813 |
"\\&\n" |
| 1814 |
" if (fstat(fd, &sb) == -1) /* To obtain file size */\n" |
| 1815 |
" err(EXIT_FAILURE, \"fstat\");\n" |
| 1816 |
"\\&\n" |
| 1817 |
" offset = atoi(argv[2]);\n" |
| 1818 |
" pa_offset = offset & \\[ti](sysconf(_SC_PAGE_SIZE) - 1);\n" |
| 1819 |
" /* offset for mmap() must be page aligned */\n" |
| 1820 |
"\\&\n" |
| 1821 |
" if (offset E<gt>= sb.st_size) {\n" |
| 1822 |
" fprintf(stderr, \"offset is past end of file\\[rs]n\");\n" |
| 1823 |
" exit(EXIT_FAILURE);\n" |
| 1824 |
" }\n" |
| 1825 |
"\\&\n" |
| 1826 |
" if (argc == 4) {\n" |
| 1827 |
" length = atoi(argv[3]);\n" |
| 1828 |
" if (offset + length E<gt> sb.st_size)\n" |
| 1829 |
" length = sb.st_size - offset;\n" |
| 1830 |
" /* Can\\[aq]t display bytes past end of file */\n" |
| 1831 |
"\\&\n" |
| 1832 |
" } else { /* No length arg ==E<gt> display to end of file */\n" |
| 1833 |
" length = sb.st_size - offset;\n" |
| 1834 |
" }\n" |
| 1835 |
"\\&\n" |
| 1836 |
" addr = mmap(NULL, length + offset - pa_offset, PROT_READ,\n" |
| 1837 |
" MAP_PRIVATE, fd, pa_offset);\n" |
| 1838 |
" if (addr == MAP_FAILED)\n" |
| 1839 |
" err(EXIT_FAILURE, \"mmap\");\n" |
| 1840 |
"\\&\n" |
| 1841 |
" s = write(STDOUT_FILENO, addr + offset - pa_offset, length);\n" |
| 1842 |
" if (s != length) {\n" |
| 1843 |
" if (s == -1)\n" |
| 1844 |
" err(EXIT_FAILURE, \"write\");\n" |
| 1845 |
"\\&\n" |
| 1846 |
" fprintf(stderr, \"partial write\");\n" |
| 1847 |
" exit(EXIT_FAILURE);\n" |
| 1848 |
" }\n" |
| 1849 |
"\\&\n" |
| 1850 |
" munmap(addr, length + offset - pa_offset);\n" |
| 1851 |
" close(fd);\n" |
| 1852 |
"\\&\n" |
| 1853 |
" exit(EXIT_SUCCESS);\n" |
| 1854 |
"}\n" |
| 1855 |
msgstr "" |
| 1856 |
"#include E<lt>err.hE<gt>\n" |
| 1857 |
"#include E<lt>fcntl.hE<gt>\n" |
| 1858 |
"#include E<lt>stdio.hE<gt>\n" |
| 1859 |
"#include E<lt>stdlib.hE<gt>\n" |
| 1860 |
"#include E<lt>sys/mman.hE<gt>\n" |
| 1861 |
"#include E<lt>sys/stat.hE<gt>\n" |
| 1862 |
"#include E<lt>sys/types.hE<gt>\n" |
| 1863 |
"#include E<lt>unistd.hE<gt>\n" |
| 1864 |
"\\&\n" |
| 1865 |
"int\n" |
| 1866 |
"main(int argc, char *argv[])\n" |
| 1867 |
"{\n" |
| 1868 |
" int fd;\n" |
| 1869 |
" char *addr;\n" |
| 1870 |
" off_t offset, pa_offset;\n" |
| 1871 |
" size_t length;\n" |
| 1872 |
" ssize_t s;\n" |
| 1873 |
" struct stat sb;\n" |
| 1874 |
"\\&\n" |
| 1875 |
" if (argc E<lt> 3 || argc E<gt> 4) {\n" |
| 1876 |
" fprintf(stderr, \"%s file offset [length]\\[rs]n\", argv[0]);\n" |
| 1877 |
" exit(EXIT_FAILURE);\n" |
| 1878 |
" }\n" |
| 1879 |
"\\&\n" |
| 1880 |
" fd = open(argv[1], O_RDONLY);\n" |
| 1881 |
" if (fd == -1)\n" |
| 1882 |
" err(EXIT_FAILURE, \"open\");\n" |
| 1883 |
"\\&\n" |
| 1884 |
" if (fstat(fd, &sb) == -1) /* To obtain file size */\n" |
| 1885 |
" err(EXIT_FAILURE, \"fstat\");\n" |
| 1886 |
"\\&\n" |
| 1887 |
" offset = atoi(argv[2]);\n" |
| 1888 |
" pa_offset = offset & \\[ti](sysconf(_SC_PAGE_SIZE) - 1);\n" |
| 1889 |
" /* offset for mmap() must be page aligned */\n" |
| 1890 |
"\\&\n" |
| 1891 |
" if (offset E<gt>= sb.st_size) {\n" |
| 1892 |
" fprintf(stderr, \"offset is past end of file\\[rs]n\");\n" |
| 1893 |
" exit(EXIT_FAILURE);\n" |
| 1894 |
" }\n" |
| 1895 |
"\\&\n" |
| 1896 |
" if (argc == 4) {\n" |
| 1897 |
" length = atoi(argv[3]);\n" |
| 1898 |
" if (offset + length E<gt> sb.st_size)\n" |
| 1899 |
" length = sb.st_size - offset;\n" |
| 1900 |
" /* Can\\[aq]t display bytes past end of file */\n" |
| 1901 |
"\\&\n" |
| 1902 |
" } else { /* No length arg ==E<gt> display to end of file */\n" |
| 1903 |
" length = sb.st_size - offset;\n" |
| 1904 |
" }\n" |
| 1905 |
"\\&\n" |
| 1906 |
" addr = mmap(NULL, length + offset - pa_offset, PROT_READ,\n" |
| 1907 |
" MAP_PRIVATE, fd, pa_offset);\n" |
| 1908 |
" if (addr == MAP_FAILED)\n" |
| 1909 |
" err(EXIT_FAILURE, \"mmap\");\n" |
| 1910 |
"\\&\n" |
| 1911 |
" s = write(STDOUT_FILENO, addr + offset - pa_offset, length);\n" |
| 1912 |
" if (s != length) {\n" |
| 1913 |
" if (s == -1)\n" |
| 1914 |
" err(EXIT_FAILURE, \"write\");\n" |
| 1915 |
"\\&\n" |
| 1916 |
" fprintf(stderr, \"partial write\");\n" |
| 1917 |
" exit(EXIT_FAILURE);\n" |
| 1918 |
" }\n" |
| 1919 |
"\\&\n" |
| 1920 |
" munmap(addr, length + offset - pa_offset);\n" |
| 1921 |
" close(fd);\n" |
| 1922 |
"\\&\n" |
| 1923 |
" exit(EXIT_SUCCESS);\n" |
| 1924 |
"}\n" |
| 1925 |
|
| 1926 |
#. SRC END |
| 1927 |
#. type: SH |
| 1928 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1929 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1930 |
#, no-wrap |
| 1931 |
msgid "SEE ALSO" |
| 1932 |
msgstr "انظر أيضًا" |
| 1933 |
|
| 1934 |
#. type: Plain text |
| 1935 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1936 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1937 |
msgid "" |
| 1938 |
"B<ftruncate>(2), B<getpagesize>(2), B<memfd_create>(2), B<mincore>(2), " |
| 1939 |
"B<mlock>(2), B<mmap2>(2), B<mprotect>(2), B<mremap>(2), B<msync>(2), " |
| 1940 |
"B<remap_file_pages>(2), B<setrlimit>(2), B<shmat>(2), B<userfaultfd>(2), " |
| 1941 |
"B<shm_open>(3), B<shm_overview>(7)" |
| 1942 |
msgstr "" |
| 1943 |
"B<ftruncate>(2), B<getpagesize>(2), B<memfd_create>(2), B<mincore>(2), " |
| 1944 |
"B<mlock>(2), B<mmap2>(2), B<mprotect>(2), B<mremap>(2), B<msync>(2), " |
| 1945 |
"B<remap_file_pages>(2), B<setrlimit>(2), B<shmat>(2), B<userfaultfd>(2), " |
| 1946 |
"B<shm_open>(3), B<shm_overview>(7)" |
| 1947 |
|
| 1948 |
#. type: Plain text |
| 1949 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1950 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1951 |
msgid "" |
| 1952 |
"The descriptions of the following files in B<proc>(5): I</proc/>pidI</maps>, " |
| 1953 |
"I</proc/>pidI</map_files>, and I</proc/>pidI</smaps>." |
| 1954 |
msgstr "" |
| 1955 |
"أوصاف الملفات التالية في B<proc>(5): I</proc/>pidI</maps>، و I</proc/>pidI</" |
| 1956 |
"map_files>، و I</proc/>pidI</smaps>." |
| 1957 |
|
| 1958 |
#. type: Plain text |
| 1959 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 1960 |
#: opensuse-tumbleweed |
| 1961 |
msgid "" |
| 1962 |
"B.O.\\& Gallmeister, POSIX.4, O'Reilly, pp.\\& 128\\[en]129 and 389\\[en]391." |
| 1963 |
msgstr "" |
| 1964 |
"ب. أ.\\& جالميستر، POSIX.4، دار أورايلي، ص.\\& 128\\[en]129 و 389\\[en]391." |
| 1965 |
|
| 1966 |
#. type: TH |
| 1967 |
#: debian-trixie |
| 1968 |
#, no-wrap |
| 1969 |
msgid "2024-06-15" |
| 1970 |
msgstr "15 يونيو 2024" |
| 1971 |
|
| 1972 |
#. type: TH |
| 1973 |
#: debian-trixie |
| 1974 |
#, no-wrap |
| 1975 |
msgid "Linux man-pages 6.9.1" |
| 1976 |
msgstr "صفحات دليل لينكس 6.9.1" |
| 1977 |
|
| 1978 |
#. type: Plain text |
| 1979 |
#: debian-trixie |
| 1980 |
msgid "Standard C library (I<libc>, I<-lc>)" |
| 1981 |
msgstr "مكتبة سي المعيارية (I<libc>، I<-lc>)" |
| 1982 |
|
| 1983 |
#. type: Plain text |
| 1984 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1985 |
#, no-wrap |
| 1986 |
msgid "" |
| 1987 |
"B<void *mmap(void >I<addr>B<[.>I<length>B<], size_t >I<length>B<, int >I<prot>B<, int >I<flags>B<,>\n" |
| 1988 |
"B< int >I<fd>B<, off_t >I<offset>B<);>\n" |
| 1989 |
"B<int munmap(void >I<addr>B<[.>I<length>B<], size_t >I<length>B<);>\n" |
| 1990 |
msgstr "" |
| 1991 |
"B<void *mmap(void >I<addr>B<[.>I<length>B<], size_t >I<length>B<, int >I<prot>B<, int >I<flags>B<,>\n" |
| 1992 |
"B< int >I<fd>B<, off_t >I<offset>B<);>\n" |
| 1993 |
"B<int munmap(void >I<addr>B<[.>I<length>B<], size_t >I<length>B<);>\n" |
| 1994 |
|
| 1995 |
#. type: Plain text |
| 1996 |
#: debian-trixie |
| 1997 |
msgid "See NOTES for information on feature test macro requirements." |
| 1998 |
msgstr "" |
| 1999 |
"انظر قسم ملاحظات NOTES للحصول على معلومات حول متطلبات وحدات ماكرو اختبار " |
| 2000 |
"الميزات." |
| 2001 |
|
| 2002 |
#. commit a4ff8e8620d3f4f50ac4b41e8067b7d395056843 |
| 2003 |
#. type: Plain text |
| 2004 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2005 |
msgid "" |
| 2006 |
"This flag provides behavior that is similar to B<MAP_FIXED> with respect to " |
| 2007 |
"the I<addr> enforcement, but differs in that B<MAP_FIXED_NOREPLACE> never " |
| 2008 |
"clobbers a preexisting mapped range. If the requested range would collide " |
| 2009 |
"with an existing mapping, then this call fails with the error B<EEXIST.> " |
| 2010 |
"This flag can therefore be used as a way to atomically (with respect to " |
| 2011 |
"other threads) attempt to map an address range: one thread will succeed; all " |
| 2012 |
"others will report failure." |
| 2013 |
msgstr "" |
| 2014 |
"توفر هذه الراية سلوكًا مشابهًا لـ B<MAP_FIXED> فيما يتعلق بفرض I<addr>، لكنها " |
| 2015 |
"تختلف في أن B<MAP_FIXED_NOREPLACE> لا تمحو أبدًا نطاقًا مخططًا موجودًا مسبقًا. " |
| 2016 |
"إذا تعارض النطاق المطلوب مع تخطيط موجود، يفشل هذا النداء مع الخطأ B<EEXIST." |
| 2017 |
">. وبالتالي يمكن استخدام هذه الراية كطريقة لمحاولة تخطيط نطاق عناوين بشكل " |
| 2018 |
"ذري (بالنسبة للخيوط الأخرى): سينجح خيط واحد؛ وستبلغ جميع الخيوط الأخرى عن " |
| 2019 |
"فشل." |
| 2020 |
|
| 2021 |
#. type: Plain text |
| 2022 |
#: debian-trixie fedora-44 fedora-rawhide mageia-cauldron |
| 2023 |
msgid "" |
| 2024 |
"This flag is used for stacks. It indicates to the kernel virtual memory " |
| 2025 |
"system that the mapping should extend downward in memory. The return " |
| 2026 |
"address is one page lower than the memory area that is actually created in " |
| 2027 |
"the process's virtual address space. Touching an address in the \"guard\" " |
| 2028 |
"page below the mapping will cause the mapping to grow by a page. This " |
| 2029 |
"growth can be repeated until the mapping grows to within a page of the high " |
| 2030 |
"end of the next lower mapping, at which point touching the \"guard\" page " |
| 2031 |
"will result in a B<SIGSEGV> signal." |
| 2032 |
msgstr "" |
| 2033 |
"تُستخدم هذه العلامة للكدسات. وهي تشير لنظام الذاكرة الافتراضية في النواة بأن " |
| 2034 |
"التخطيط يجب أن يمتد للأسفل في الذاكرة. العنوان المُعاد هو صفحة واحدة أقل من " |
| 2035 |
"منطقة الذاكرة التي أُنشئت فعليًا في مساحة العناوين الافتراضية للعملية. سيؤدي " |
| 2036 |
"الوصول لعنوان في صفحة \"الحماية\" أسفل التخطيط إلى نمو التخطيط بمقدار صفحة. " |
| 2037 |
"يمكن تكرار هذا النمو حتى ينمو التخطيط ليصل إلى مسافة صفحة واحدة من الطرف " |
| 2038 |
"العلوي للتخطيط الأدنى التالي، وعندها سيؤدي الوصول لصفحة \"الحماية\" إلى " |
| 2039 |
"إشارة B<SIGSEGV>." |
| 2040 |
|
| 2041 |
#. type: Plain text |
| 2042 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2043 |
msgid "" |
| 2044 |
"Do not reserve swap space for this mapping. When swap space is reserved, " |
| 2045 |
"one has the guarantee that it is possible to modify the mapping. When swap " |
| 2046 |
"space is not reserved one might get B<SIGSEGV> upon a write if no physical " |
| 2047 |
"memory is available. See also the discussion of the file I</proc/sys/vm/" |
| 2048 |
"overcommit_memory> in B<proc>(5). Before Linux 2.6, this flag had effect " |
| 2049 |
"only for private writable mappings." |
| 2050 |
msgstr "" |
| 2051 |
"لا تحجز مساحة تبديل swap space لهذا التخطيط. عند حجز مساحة تبديل، يكون هناك " |
| 2052 |
"ضمان بإمكانية تعديل التخطيط. وعند عدم حجز مساحة تبديل، قد تحصل على " |
| 2053 |
"B<SIGSEGV> عند الكتابة إذا لم تكن الذاكرة الفيزيائية متوفرة. انظر أيضًا " |
| 2054 |
"مناقشة الملف I</proc/sys/vm/overcommit_memory> في B<proc>(5). قبل لينكس 2.6، " |
| 2055 |
"لم يكن لهذه الراية تأثير إلا على التخطيطات الخاصة القابلة للكتابة." |
| 2056 |
|
| 2057 |
#. type: Plain text |
| 2058 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2059 |
msgid "" |
| 2060 |
"The B<MAP_HUGETLB> flag was specified, but the caller was not privileged " |
| 2061 |
"(did not have the B<CAP_IPC_LOCK> capability) and is not a member of the " |
| 2062 |
"I<sysctl_hugetlb_shm_group> group; see the description of I</proc/sys/vm/" |
| 2063 |
"sysctl_hugetlb_shm_group> in B<proc_sys>(5)." |
| 2064 |
msgstr "" |
| 2065 |
"حُددت الراية B<MAP_HUGETLB>، لكن المستدعِي B<caller> ليس لديه امتيازات (لا " |
| 2066 |
"يملك القدرة B<CAP_IPC_LOCK>) وليس عضوًا في المجموعة " |
| 2067 |
"I<sysctl_hugetlb_shm_group>؛ انظر وصف I</proc/sys/vm/" |
| 2068 |
"sysctl_hugetlb_shm_group> في B<proc_sys>(5)." |
| 2069 |
|
| 2070 |
#. type: Plain text |
| 2071 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2072 |
msgid "POSIX.1-2008." |
| 2073 |
msgstr "POSIX.1-2008." |
| 2074 |
|
| 2075 |
#. SVr4 documents additional error codes ENXIO and ENODEV. |
| 2076 |
#. SUSv2 documents additional error codes EMFILE and EOVERFLOW. |
| 2077 |
#. type: Plain text |
| 2078 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2079 |
msgid "POSIX.1-2001, SVr4, 4.4BSD." |
| 2080 |
msgstr "POSIX.1-2001, SVr4, 4.4BSD." |
| 2081 |
|
| 2082 |
#. type: Plain text |
| 2083 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2084 |
msgid "" |
| 2085 |
"For example, suppose that thread A looks through I</proc/>pidI</maps> in " |
| 2086 |
"order to locate an unused address range that it can map using B<MAP_FIXED>, " |
| 2087 |
"while thread B simultaneously acquires part or all of that same address " |
| 2088 |
"range. When thread A subsequently employs B<mmap(MAP_FIXED)>, it will " |
| 2089 |
"effectively clobber the mapping that thread B created. In this scenario, " |
| 2090 |
"thread B need not create a mapping directly; simply making a library call " |
| 2091 |
"that, internally, uses B<dlopen>(3) to load some other shared library, will " |
| 2092 |
"suffice. The B<dlopen>(3) call will map the library into the process's " |
| 2093 |
"address space. Furthermore, almost any library call may be implemented in a " |
| 2094 |
"way that adds memory mappings to the address space, either with this " |
| 2095 |
"technique, or by simply allocating memory. Examples include B<brk>(2), " |
| 2096 |
"B<malloc>(3), B<pthread_create>(3), and the PAM libraries E<.UR http://www." |
| 2097 |
"linux-pam.org> E<.UE .>" |
| 2098 |
msgstr "" |
| 2099 |
"على سبيل المثال، افترض أن الخيط A يبحث في I</proc/>pidI</maps> لتحديد موقع " |
| 2100 |
"نطاق عناوين غير مستخدم يمكنه تخطيطه باستخدام B<MAP_FIXED>، بينما يحصل الخيط " |
| 2101 |
"B في الوقت نفسه على جزء من نفس نطاق العناوين هذا أو كله. عندما يستخدم الخيط " |
| 2102 |
"A لاحقًا B<mmap(MAP_FIXED)>، فإنه سيمحو فعليًا التخطيط الذي أنشأه الخيط B. في " |
| 2103 |
"هذا السيناريو، لا يحتاج الخيط B لإنشاء تخطيط مباشرة؛ إذ يكفي مجرد إجراء نداء " |
| 2104 |
"لمكتبة تستخدم داخليًا B<dlopen>(3) لتحميل مكتبة مشتركة أخرى. سيقوم نداء " |
| 2105 |
"B<dlopen>(3) بتخطيط المكتبة في فضاء عناوين العملية. علاوة على ذلك، يمكن " |
| 2106 |
"تنفيذ أي نداء مكتبة تقريبًا بطريقة تضيف تخطيطات ذاكرة إلى فضاء العناوين، إما " |
| 2107 |
"بهذه التقنية أو بمجرد تخصيص الذاكرة. تشمل الأمثلة B<brk>(2)، و B<malloc>(3)، " |
| 2108 |
"و B<pthread_create>(3)، ومكتبات PAM E<.UR http://www.linux-pam.org> E<.UE .>" |
| 2109 |
|
| 2110 |
#. type: Plain text |
| 2111 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2112 |
#, no-wrap |
| 2113 |
msgid "" |
| 2114 |
"#include E<lt>fcntl.hE<gt>\n" |
| 2115 |
"#include E<lt>stdio.hE<gt>\n" |
| 2116 |
"#include E<lt>stdlib.hE<gt>\n" |
| 2117 |
"#include E<lt>sys/mman.hE<gt>\n" |
| 2118 |
"#include E<lt>sys/stat.hE<gt>\n" |
| 2119 |
"#include E<lt>sys/types.hE<gt>\n" |
| 2120 |
"#include E<lt>unistd.hE<gt>\n" |
| 2121 |
"\\&\n" |
| 2122 |
"#define handle_error(msg) \\[rs]\n" |
| 2123 |
" do { perror(msg); exit(EXIT_FAILURE); } while (0)\n" |
| 2124 |
"\\&\n" |
| 2125 |
"int\n" |
| 2126 |
"main(int argc, char *argv[])\n" |
| 2127 |
"{\n" |
| 2128 |
" int fd;\n" |
| 2129 |
" char *addr;\n" |
| 2130 |
" off_t offset, pa_offset;\n" |
| 2131 |
" size_t length;\n" |
| 2132 |
" ssize_t s;\n" |
| 2133 |
" struct stat sb;\n" |
| 2134 |
"\\&\n" |
| 2135 |
" if (argc E<lt> 3 || argc E<gt> 4) {\n" |
| 2136 |
" fprintf(stderr, \"%s file offset [length]\\[rs]n\", argv[0]);\n" |
| 2137 |
" exit(EXIT_FAILURE);\n" |
| 2138 |
" }\n" |
| 2139 |
"\\&\n" |
| 2140 |
" fd = open(argv[1], O_RDONLY);\n" |
| 2141 |
" if (fd == -1)\n" |
| 2142 |
" handle_error(\"open\");\n" |
| 2143 |
"\\&\n" |
| 2144 |
" if (fstat(fd, &sb) == -1) /* To obtain file size */\n" |
| 2145 |
" handle_error(\"fstat\");\n" |
| 2146 |
"\\&\n" |
| 2147 |
" offset = atoi(argv[2]);\n" |
| 2148 |
" pa_offset = offset & \\[ti](sysconf(_SC_PAGE_SIZE) - 1);\n" |
| 2149 |
" /* offset for mmap() must be page aligned */\n" |
| 2150 |
"\\&\n" |
| 2151 |
" if (offset E<gt>= sb.st_size) {\n" |
| 2152 |
" fprintf(stderr, \"offset is past end of file\\[rs]n\");\n" |
| 2153 |
" exit(EXIT_FAILURE);\n" |
| 2154 |
" }\n" |
| 2155 |
"\\&\n" |
| 2156 |
" if (argc == 4) {\n" |
| 2157 |
" length = atoi(argv[3]);\n" |
| 2158 |
" if (offset + length E<gt> sb.st_size)\n" |
| 2159 |
" length = sb.st_size - offset;\n" |
| 2160 |
" /* Can\\[aq]t display bytes past end of file */\n" |
| 2161 |
"\\&\n" |
| 2162 |
" } else { /* No length arg ==E<gt> display to end of file */\n" |
| 2163 |
" length = sb.st_size - offset;\n" |
| 2164 |
" }\n" |
| 2165 |
"\\&\n" |
| 2166 |
" addr = mmap(NULL, length + offset - pa_offset, PROT_READ,\n" |
| 2167 |
" MAP_PRIVATE, fd, pa_offset);\n" |
| 2168 |
" if (addr == MAP_FAILED)\n" |
| 2169 |
" handle_error(\"mmap\");\n" |
| 2170 |
"\\&\n" |
| 2171 |
" s = write(STDOUT_FILENO, addr + offset - pa_offset, length);\n" |
| 2172 |
" if (s != length) {\n" |
| 2173 |
" if (s == -1)\n" |
| 2174 |
" handle_error(\"write\");\n" |
| 2175 |
"\\&\n" |
| 2176 |
" fprintf(stderr, \"partial write\");\n" |
| 2177 |
" exit(EXIT_FAILURE);\n" |
| 2178 |
" }\n" |
| 2179 |
"\\&\n" |
| 2180 |
" munmap(addr, length + offset - pa_offset);\n" |
| 2181 |
" close(fd);\n" |
| 2182 |
"\\&\n" |
| 2183 |
" exit(EXIT_SUCCESS);\n" |
| 2184 |
"}\n" |
| 2185 |
msgstr "" |
| 2186 |
"#include E<lt>fcntl.hE<gt>\n" |
| 2187 |
"#include E<lt>stdio.hE<gt>\n" |
| 2188 |
"#include E<lt>stdlib.hE<gt>\n" |
| 2189 |
"#include E<lt>sys/mman.hE<gt>\n" |
| 2190 |
"#include E<lt>sys/stat.hE<gt>\n" |
| 2191 |
"#include E<lt>sys/types.hE<gt>\n" |
| 2192 |
"#include E<lt>unistd.hE<gt>\n" |
| 2193 |
"\\&\n" |
| 2194 |
"#define handle_error(msg) \\[rs]\n" |
| 2195 |
" do { perror(msg); exit(EXIT_FAILURE); } while (0)\n" |
| 2196 |
"\\&\n" |
| 2197 |
"int\n" |
| 2198 |
"main(int argc, char *argv[])\n" |
| 2199 |
"{\n" |
| 2200 |
" int fd;\n" |
| 2201 |
" char *addr;\n" |
| 2202 |
" off_t offset, pa_offset;\n" |
| 2203 |
" size_t length;\n" |
| 2204 |
" ssize_t s;\n" |
| 2205 |
" struct stat sb;\n" |
| 2206 |
"\\&\n" |
| 2207 |
" if (argc E<lt> 3 || argc E<gt> 4) {\n" |
| 2208 |
" fprintf(stderr, \"%s file offset [length]\\[rs]n\", argv[0]);\n" |
| 2209 |
" exit(EXIT_FAILURE);\n" |
| 2210 |
" }\n" |
| 2211 |
"\\&\n" |
| 2212 |
" fd = open(argv[1], O_RDONLY);\n" |
| 2213 |
" if (fd == -1)\n" |
| 2214 |
" handle_error(\"open\");\n" |
| 2215 |
"\\&\n" |
| 2216 |
" if (fstat(fd, &sb) == -1) /* To obtain file size */\n" |
| 2217 |
" handle_error(\"fstat\");\n" |
| 2218 |
"\\&\n" |
| 2219 |
" offset = atoi(argv[2]);\n" |
| 2220 |
" pa_offset = offset & \\[ti](sysconf(_SC_PAGE_SIZE) - 1);\n" |
| 2221 |
" /* offset for mmap() must be page aligned */\n" |
| 2222 |
"\\&\n" |
| 2223 |
" if (offset E<gt>= sb.st_size) {\n" |
| 2224 |
" fprintf(stderr, \"offset is past end of file\\[rs]n\");\n" |
| 2225 |
" exit(EXIT_FAILURE);\n" |
| 2226 |
" }\n" |
| 2227 |
"\\&\n" |
| 2228 |
" if (argc == 4) {\n" |
| 2229 |
" length = atoi(argv[3]);\n" |
| 2230 |
" if (offset + length E<gt> sb.st_size)\n" |
| 2231 |
" length = sb.st_size - offset;\n" |
| 2232 |
" /* Can\\[aq]t display bytes past end of file */\n" |
| 2233 |
"\\&\n" |
| 2234 |
" } else { /* No length arg ==E<gt> display to end of file */\n" |
| 2235 |
" length = sb.st_size - offset;\n" |
| 2236 |
" }\n" |
| 2237 |
"\\&\n" |
| 2238 |
" addr = mmap(NULL, length + offset - pa_offset, PROT_READ,\n" |
| 2239 |
" MAP_PRIVATE, fd, pa_offset);\n" |
| 2240 |
" if (addr == MAP_FAILED)\n" |
| 2241 |
" handle_error(\"mmap\");\n" |
| 2242 |
"\\&\n" |
| 2243 |
" s = write(STDOUT_FILENO, addr + offset - pa_offset, length);\n" |
| 2244 |
" if (s != length) {\n" |
| 2245 |
" if (s == -1)\n" |
| 2246 |
" handle_error(\"write\");\n" |
| 2247 |
"\\&\n" |
| 2248 |
" fprintf(stderr, \"partial write\");\n" |
| 2249 |
" exit(EXIT_FAILURE);\n" |
| 2250 |
" }\n" |
| 2251 |
"\\&\n" |
| 2252 |
" munmap(addr, length + offset - pa_offset);\n" |
| 2253 |
" close(fd);\n" |
| 2254 |
"\\&\n" |
| 2255 |
" exit(EXIT_SUCCESS);\n" |
| 2256 |
"}\n" |
| 2257 |
|
| 2258 |
#. type: Plain text |
| 2259 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2260 |
msgid "B.O. Gallmeister, POSIX.4, O'Reilly, pp. 128\\[en]129 and 389\\[en]391." |
| 2261 |
msgstr "ب. أ. جالميستر، POSIX.4، دار أورايلي، ص. 128\\[en]129 و 389\\[en]391." |
| 2262 |
|
| 2263 |
#. type: TH |
| 2264 |
#: fedora-44 fedora-rawhide |
| 2265 |
#, no-wrap |
| 2266 |
msgid "2024-07-23" |
| 2267 |
msgstr "23 يوليو 2024" |
| 2268 |
|
| 2269 |
#. type: TH |
| 2270 |
#: fedora-44 fedora-rawhide |
| 2271 |
#, no-wrap |
| 2272 |
msgid "Linux man-pages 6.13" |
| 2273 |
msgstr "صفحات دليل لينكس 6.13" |
| 2274 |
|
| 2275 |
#. type: TH |
| 2276 |
#: mageia-cauldron |
| 2277 |
#, no-wrap |
| 2278 |
msgid "2026-02-11" |
| 2279 |
msgstr "11 فبراير 2026" |
| 2280 |
|
| 2281 |
#. type: TH |
| 2282 |
#: mageia-cauldron |
| 2283 |
#, no-wrap |
| 2284 |
msgid "Linux man-pages 6.17" |
| 2285 |
msgstr "صفحات دليل لينكس 6.17" |
| 2286 |
|
| 2287 |
#. type: TH |
| 2288 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 2289 |
#, no-wrap |
| 2290 |
msgid "Linux man-pages (unreleased)" |
| 2291 |
msgstr "صفحات دليل لينكس (لم تصدر بعد)" |