| 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:29+0200\n" |
| 9 |
"PO-Revision-Date: 2026-06-03 04:49+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 |
".MIME-Version: 1.0\n" |
| 17 |
"Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 " |
| 18 |
"&& n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n" |
| 19 |
"X-Generator: Lokalize 23.08.5\n" |
| 20 |
|
| 21 |
#. type: TH |
| 22 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 23 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 24 |
#, no-wrap |
| 25 |
msgid "Landlock" |
| 26 |
msgstr "Landlock" |
| 27 |
|
| 28 |
#. type: TH |
| 29 |
#: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed |
| 30 |
#, no-wrap |
| 31 |
msgid "2026-04-21" |
| 32 |
msgstr "21 أبريل 2026" |
| 33 |
|
| 34 |
#. type: TH |
| 35 |
#: archlinux debian-unstable |
| 36 |
#, no-wrap |
| 37 |
msgid "Linux man-pages 6.18" |
| 38 |
msgstr "صفحات دليل لينكس 6.18" |
| 39 |
|
| 40 |
#. type: SH |
| 41 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 42 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 43 |
#, no-wrap |
| 44 |
msgid "NAME" |
| 45 |
msgstr "الاسم" |
| 46 |
|
| 47 |
#. type: Plain text |
| 48 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 49 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 50 |
msgid "Landlock - unprivileged access-control" |
| 51 |
msgstr "لاندلوك - التحكم بالوصول غير المميز" |
| 52 |
|
| 53 |
#. type: SH |
| 54 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 55 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 56 |
#, no-wrap |
| 57 |
msgid "DESCRIPTION" |
| 58 |
msgstr "الوصف" |
| 59 |
|
| 60 |
#. type: Plain text |
| 61 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 62 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 63 |
msgid "" |
| 64 |
"Landlock is an access-control system that enables any processes to securely " |
| 65 |
"restrict themselves and their future children. Because Landlock is a " |
| 66 |
"stackable Linux Security Module (LSM), it makes it possible to create safe " |
| 67 |
"security sandboxes as new security layers in addition to the existing system-" |
| 68 |
"wide access-controls. This kind of sandbox is expected to help mitigate the " |
| 69 |
"security impact of bugs, and unexpected or malicious behaviors in " |
| 70 |
"applications." |
| 71 |
msgstr "" |
| 72 |
"لاندلوك هو نظام تحكم بالوصول يُمكّن أي عمليات من تقييد نفسها وأطفالها " |
| 73 |
"المستقبليين بشكل آمن. نظرًا لأن لاندلوك هو وحدة أمان لينكس قابلة للتكديس " |
| 74 |
"(LSM)، فإنه يجعل من الممكن إنشاء صناديق رمل أمان آمنة كطبقات أمان جديدة " |
| 75 |
"بالإضافة إلى ضوابط الوصول الحالية على مستوى النظام. من المتوقع أن يساعد هذا " |
| 76 |
"النوع من الصندوق الرملي في تخفيف الأثر الأمني للأخطاء والسلوكيات غير " |
| 77 |
"المتوقعة أو الخبيثة في التطبيقات." |
| 78 |
|
| 79 |
#. type: Plain text |
| 80 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 81 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 82 |
msgid "" |
| 83 |
"A Landlock security policy is a set of access rights (e.g., open a file in " |
| 84 |
"read-only, make a directory, etc.) tied to a file hierarchy. Such policy " |
| 85 |
"can be configured and enforced by processes for themselves using three " |
| 86 |
"system calls:" |
| 87 |
msgstr "" |
| 88 |
"سياسة أمان لاندلوك هي مجموعة من حقوق الوصول (مثل فتح ملف للقراءة فقط، إنشاء " |
| 89 |
"دليل، إلخ) مرتبطة بتسلسل هرمي للملفات. يمكن تهيئة هذه السياسة وتطبيقها " |
| 90 |
"بواسطة العمليات على نفسها باستخدام ثلاث استدعاءات نظام:" |
| 91 |
|
| 92 |
#. type: IP |
| 93 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 94 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 95 |
#, no-wrap |
| 96 |
msgid "\\[bu]" |
| 97 |
msgstr "\\[bu]" |
| 98 |
|
| 99 |
#. type: Plain text |
| 100 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 101 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 102 |
msgid "B<landlock_create_ruleset>(2) creates a new ruleset;" |
| 103 |
msgstr "B<landlock_create_ruleset>(2) ينشئ مجموعة قواعد جديدة؛" |
| 104 |
|
| 105 |
#. type: Plain text |
| 106 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 107 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 108 |
msgid "B<landlock_add_rule>(2) adds a new rule to a ruleset;" |
| 109 |
msgstr "B<landlock_add_rule>(2) يضيف قاعدة جديدة إلى مجموعة قواعد؛" |
| 110 |
|
| 111 |
#. type: Plain text |
| 112 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 113 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 114 |
msgid "B<landlock_restrict_self>(2) enforces a ruleset on the calling thread." |
| 115 |
msgstr "B<landlock_restrict_self>(2) يفرض مجموعة قواعد على الخيط المستدعي." |
| 116 |
|
| 117 |
#. type: Plain text |
| 118 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 119 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 120 |
msgid "" |
| 121 |
"To be able to use these system calls, the running kernel must support " |
| 122 |
"Landlock and it must be enabled at boot time." |
| 123 |
msgstr "" |
| 124 |
"لتتمكن من استخدام هذه الاستدعاءات النظامية، يجب أن يدعم النواة الجاري " |
| 125 |
"تشغيلها لاندلوك ويجب تفعيلها عند الإقلاع." |
| 126 |
|
| 127 |
#. type: SS |
| 128 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 129 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 130 |
#, no-wrap |
| 131 |
msgid "Landlock rules" |
| 132 |
msgstr "قواعد لاندلوك" |
| 133 |
|
| 134 |
#. type: Plain text |
| 135 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 136 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 137 |
msgid "" |
| 138 |
"A Landlock rule describes an action on an object which the process intends " |
| 139 |
"to perform. A set of rules is aggregated in a ruleset, which can then " |
| 140 |
"restrict the thread enforcing it, and its future children." |
| 141 |
msgstr "" |
| 142 |
"تصف قاعدة Landlock إجراءً على كائن تعتزم العملية تنفيذه. تُجمَّع مجموعة من " |
| 143 |
"القواعد في \"مجموعة قواعد\" (ruleset)، والتي يمكنها بعد ذلك تقييد الخيط " |
| 144 |
"(thread) الذي يفرضها، وأبناءه المستقبليين." |
| 145 |
|
| 146 |
#. type: Plain text |
| 147 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 148 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 149 |
msgid "The two existing types of rules are:" |
| 150 |
msgstr "نوعا القواعد الموجودان هما:" |
| 151 |
|
| 152 |
#. type: TP |
| 153 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 154 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 155 |
#, no-wrap |
| 156 |
msgid "B<Filesystem rules>" |
| 157 |
msgstr "B<قواعد نظام الملفات>" |
| 158 |
|
| 159 |
#. type: Plain text |
| 160 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 161 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 162 |
msgid "" |
| 163 |
"For these rules, the object is a file hierarchy, and the related filesystem " |
| 164 |
"actions are defined with I<filesystem access rights>." |
| 165 |
msgstr "" |
| 166 |
"لهذه القواعد، الكائن هو تسلسل هرمي للملفات، وتُعرف إجراءات نظام الملفات " |
| 167 |
"المتعلقة به بـ I<حقوق الوصول إلى نظام الملفات>." |
| 168 |
|
| 169 |
#. type: TP |
| 170 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 171 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 172 |
#, no-wrap |
| 173 |
msgid "B<Network rules> (since ABI v4)" |
| 174 |
msgstr "B<قواعد الشبكة> (منذ ABI v4)" |
| 175 |
|
| 176 |
#. type: Plain text |
| 177 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 178 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 179 |
msgid "" |
| 180 |
"For these rules, the object is a TCP port, and the related actions are " |
| 181 |
"defined with I<network access rights>." |
| 182 |
msgstr "" |
| 183 |
"لهذه القواعد، الكائن هو منفذ TCP، وتُعرف الإجراءات المتعلقة به بـ I<حقوق " |
| 184 |
"الوصول إلى الشبكة>." |
| 185 |
|
| 186 |
#. type: SS |
| 187 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 188 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 189 |
#, no-wrap |
| 190 |
msgid "Filesystem actions" |
| 191 |
msgstr "إجراءات نظام الملفات" |
| 192 |
|
| 193 |
#. type: Plain text |
| 194 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 195 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 196 |
msgid "" |
| 197 |
"These flags enable to restrict a sandboxed process to a set of actions on " |
| 198 |
"files and directories. Files or directories opened before the sandboxing " |
| 199 |
"are not subject to these restrictions. See B<landlock_add_rule>(2) and " |
| 200 |
"B<landlock_create_ruleset>(2) for more context." |
| 201 |
msgstr "" |
| 202 |
"تمكّن هذه الأعلام من تقييد عملية في صندوق رملي لمجموعة من الإجراءات على " |
| 203 |
"الملفات والأدلة. الملفات أو الأدلة المفتوحة قبل الصندوق الرملي لا تخضع لهذه " |
| 204 |
"القيود. انظر B<landlock_add_rule>(2) و B<landlock_create_ruleset>(2) " |
| 205 |
"لمزيد من السياق." |
| 206 |
|
| 207 |
#. type: Plain text |
| 208 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 209 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 210 |
msgid "The following access rights apply only to files:" |
| 211 |
msgstr "حقوق الوصول التالية تنطبق فقط على الملفات:" |
| 212 |
|
| 213 |
#. type: TP |
| 214 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 215 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 216 |
#, no-wrap |
| 217 |
msgid "B<LANDLOCK_ACCESS_FS_EXECUTE>" |
| 218 |
msgstr "B<LANDLOCK_ACCESS_FS_EXECUTE>" |
| 219 |
|
| 220 |
#. type: Plain text |
| 221 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 222 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 223 |
msgid "Execute a file." |
| 224 |
msgstr "تنفيذ ملف." |
| 225 |
|
| 226 |
#. type: TP |
| 227 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 228 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 229 |
#, no-wrap |
| 230 |
msgid "B<LANDLOCK_ACCESS_FS_WRITE_FILE>" |
| 231 |
msgstr "B<LANDLOCK_ACCESS_FS_WRITE_FILE>" |
| 232 |
|
| 233 |
#. type: Plain text |
| 234 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 235 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 236 |
msgid "Open a file with write access." |
| 237 |
msgstr "فتح ملف مع وصول للكتابة." |
| 238 |
|
| 239 |
#. type: Plain text |
| 240 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 241 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 242 |
msgid "" |
| 243 |
"When opening files for writing, you will often additionally need the " |
| 244 |
"B<LANDLOCK_ACCESS_FS_TRUNCATE> right. In many cases, these system calls " |
| 245 |
"truncate existing files when overwriting them (e.g., B<creat>(2))." |
| 246 |
msgstr "" |
| 247 |
"عند فتح ملفات للكتابة، ستحتاج غالبًا بالإضافة إلى ذلك حق " |
| 248 |
"B<LANDLOCK_ACCESS_FS_TRUNCATE>. في العديد من الحالات، تقوم هذه الاستدعاءات " |
| 249 |
"النظامية باقتطاع الملفات الموجودة عند الكتابة فوقها (مثل B<creat>(2))." |
| 250 |
|
| 251 |
#. type: TP |
| 252 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 253 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 254 |
#, no-wrap |
| 255 |
msgid "B<LANDLOCK_ACCESS_FS_READ_FILE>" |
| 256 |
msgstr "B<LANDLOCK_ACCESS_FS_READ_FILE>" |
| 257 |
|
| 258 |
#. type: Plain text |
| 259 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 260 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 261 |
msgid "Open a file with read access." |
| 262 |
msgstr "فتح ملف مع وصول للقراءة." |
| 263 |
|
| 264 |
#. type: TP |
| 265 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 266 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 267 |
#, no-wrap |
| 268 |
msgid "B<LANDLOCK_ACCESS_FS_TRUNCATE>" |
| 269 |
msgstr "B<LANDLOCK_ACCESS_FS_TRUNCATE>" |
| 270 |
|
| 271 |
#. type: Plain text |
| 272 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 273 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 274 |
msgid "" |
| 275 |
"Truncate a file with B<truncate>(2), B<ftruncate>(2), B<creat>(2), or " |
| 276 |
"B<open>(2) with B<O_TRUNC>." |
| 277 |
msgstr "" |
| 278 |
"اقتطاع ملف باستخدام B<truncate>(2) أو B<ftruncate>(2) أو B<creat>(2) أو " |
| 279 |
"B<open>(2) مع B<O_TRUNC>." |
| 280 |
|
| 281 |
#. type: Plain text |
| 282 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 283 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 284 |
msgid "" |
| 285 |
"This access right is available since the third version of the Landlock ABI." |
| 286 |
msgstr "حق الوصول هذا متاح منذ الإصدار الثالث من واجهة ABI الخاصة بلاندلوك." |
| 287 |
|
| 288 |
#. type: TP |
| 289 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 290 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 291 |
#, no-wrap |
| 292 |
msgid "B<LANDLOCK_ACCESS_FS_IOCTL_DEV>" |
| 293 |
msgstr "B<LANDLOCK_ACCESS_FS_IOCTL_DEV>" |
| 294 |
|
| 295 |
#. type: Plain text |
| 296 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 297 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 298 |
msgid "Invoke B<ioctl>(2) commands on an opened character or block device." |
| 299 |
msgstr "استدعاء أوامر B<ioctl>(2) على جهاز حرفي أو كتلي مفتوح." |
| 300 |
|
| 301 |
#. type: Plain text |
| 302 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 303 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 304 |
msgid "" |
| 305 |
"This access right applies to all B<ioctl>(2) commands implemented by device " |
| 306 |
"drivers. However, the following common IOCTL commands continue to be " |
| 307 |
"invokable independent of the B<LANDLOCK_ACCESS_FS_IOCTL_DEV> right:" |
| 308 |
msgstr "" |
| 309 |
"ينطبق حق الوصول هذا على جميع أوامر B<ioctl>(2) المنفذة بواسطة برامج تشغيل " |
| 310 |
"الأجهزة. ومع ذلك، تظل أوامر IOCTL الشائعة التالية قابلة للاستدعاء بغض النظر " |
| 311 |
"عن حق B<LANDLOCK_ACCESS_FS_IOCTL_DEV>:" |
| 312 |
|
| 313 |
#. type: Plain text |
| 314 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 315 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 316 |
msgid "IOCTL commands targeting file descriptors (B<FIOCLEX>, B<FIONCLEX>)," |
| 317 |
msgstr "أوامر IOCTL التي تستهدف واصفات الملفات (B<FIOCLEX>، B<FIONCLEX>)،" |
| 318 |
|
| 319 |
#. type: Plain text |
| 320 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 321 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 322 |
msgid "IOCTL commands targeting file descriptions (B<FIONBIO>, B<FIOASYNC>)," |
| 323 |
msgstr "أوامر IOCTL التي تستهدف أوصاف الملفات (B<FIONBIO>، B<FIOASYNC>)،" |
| 324 |
|
| 325 |
#. type: Plain text |
| 326 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 327 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 328 |
msgid "" |
| 329 |
"IOCTL commands targeting file systems (B<FIFREEZE>, B<FITHAW>, B<FIGETBSZ>, " |
| 330 |
"B<FS_IOC_GETFSUUID>, B<FS_IOC_GETFSSYSFSPATH>)" |
| 331 |
msgstr "" |
| 332 |
"أوامر IOCTL التي تستهدف أنظمة الملفات (B<FIFREEZE>، B<FITHAW>، B<FIGETBSZ>، " |
| 333 |
"B<FS_IOC_GETFSUUID>، B<FS_IOC_GETFSSYSFSPATH>)" |
| 334 |
|
| 335 |
#. type: Plain text |
| 336 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 337 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 338 |
msgid "" |
| 339 |
"Some IOCTL commands which do not make sense when used with devices, but " |
| 340 |
"whose implementations are safe and return the right error codes " |
| 341 |
"(B<FS_IOC_FIEMAP>, B<FICLONE>, B<FICLONERANGE>, B<FIDEDUPERANGE>)" |
| 342 |
msgstr "" |
| 343 |
"بعض أوامر IOCTL التي لا معنى لها عند استخدامها مع الأجهزة، ولكن تطبيقاتها " |
| 344 |
"آمنة وتُرجع رموز الخطأ الصحيحة (B<FS_IOC_FIEMAP>، B<FICLONE>، " |
| 345 |
"B<FICLONERANGE>، B<FIDEDUPERANGE>)" |
| 346 |
|
| 347 |
#. type: Plain text |
| 348 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 349 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 350 |
msgid "" |
| 351 |
"This access right is available since the fifth version of the Landlock ABI." |
| 352 |
msgstr "يتوفر حق الوصول هذا منذ الإصدار الخامس من واجهة Landlock الثنائية." |
| 353 |
|
| 354 |
#. type: Plain text |
| 355 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 356 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 357 |
msgid "" |
| 358 |
"Whether an opened file can be truncated with B<ftruncate>(2) or used with " |
| 359 |
"B<ioctl>(2) is determined during B<open>(2), in the same way as read and " |
| 360 |
"write permissions are checked during B<open>(2) using " |
| 361 |
"B<LANDLOCK_ACCESS_FS_READ_FILE> and B<LANDLOCK_ACCESS_FS_WRITE_FILE>." |
| 362 |
msgstr "" |
| 363 |
"يُحدد ما إذا كان يمكن اقتطاع ملف مفتوح باستخدام B<ftruncate>(2) أو استخدامه " |
| 364 |
"مع B<ioctl>(2) أثناء B<open>(2)، بنفس طريقة التحقق من أذونات القراءة " |
| 365 |
"والكتابة أثناء B<open>(2) باستخدام B<LANDLOCK_ACCESS_FS_READ_FILE> " |
| 366 |
"وB<LANDLOCK_ACCESS_FS_WRITE_FILE>." |
| 367 |
|
| 368 |
#. type: Plain text |
| 369 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 370 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 371 |
msgid "" |
| 372 |
"A directory can receive access rights related to files or directories. The " |
| 373 |
"following access right is applied to the directory itself, and the " |
| 374 |
"directories beneath it:" |
| 375 |
msgstr "" |
| 376 |
"يمكن للدليل استقبال حقوق وصول تتعلق بالملفات أو الدلائل. يُطبق حق الوصول " |
| 377 |
"التالي على الدليل نفسه، والدلائل الموجودة أسفله:" |
| 378 |
|
| 379 |
#. type: TP |
| 380 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 381 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 382 |
#, no-wrap |
| 383 |
msgid "B<LANDLOCK_ACCESS_FS_READ_DIR>" |
| 384 |
msgstr "B<LANDLOCK_ACCESS_FS_READ_DIR>" |
| 385 |
|
| 386 |
#. type: Plain text |
| 387 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 388 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 389 |
msgid "Open a directory or list its content." |
| 390 |
msgstr "فتح دليل أو سرد محتواه." |
| 391 |
|
| 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 |
"However, the following access rights only apply to the content of a " |
| 397 |
"directory, not the directory itself:" |
| 398 |
msgstr "" |
| 399 |
"ومع ذلك، تنطبق حقوق الوصول التالية فقط على محتوى الدليل، وليس على الدليل " |
| 400 |
"نفسه:" |
| 401 |
|
| 402 |
#. type: TP |
| 403 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 404 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 405 |
#, no-wrap |
| 406 |
msgid "B<LANDLOCK_ACCESS_FS_REMOVE_DIR>" |
| 407 |
msgstr "B<LANDLOCK_ACCESS_FS_REMOVE_DIR>" |
| 408 |
|
| 409 |
#. type: Plain text |
| 410 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 411 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 412 |
msgid "Remove an empty directory or rename one." |
| 413 |
msgstr "إزالة دليل فارغ أو إعادة تسميته." |
| 414 |
|
| 415 |
#. type: TP |
| 416 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 417 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 418 |
#, no-wrap |
| 419 |
msgid "B<LANDLOCK_ACCESS_FS_REMOVE_FILE>" |
| 420 |
msgstr "B<LANDLOCK_ACCESS_FS_REMOVE_FILE>" |
| 421 |
|
| 422 |
#. type: Plain text |
| 423 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 424 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 425 |
msgid "Unlink (or rename) a file." |
| 426 |
msgstr "فك رابط (أو إعادة تسمية) ملف." |
| 427 |
|
| 428 |
#. type: TP |
| 429 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 430 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 431 |
#, no-wrap |
| 432 |
msgid "B<LANDLOCK_ACCESS_FS_MAKE_CHAR>" |
| 433 |
msgstr "B<LANDLOCK_ACCESS_FS_MAKE_CHAR>" |
| 434 |
|
| 435 |
#. type: Plain text |
| 436 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 437 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 438 |
msgid "Create (or rename or link) a character device." |
| 439 |
msgstr "إنشاء (أو إعادة تسمية أو ربط) جهاز حرفي." |
| 440 |
|
| 441 |
#. type: TP |
| 442 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 443 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 444 |
#, no-wrap |
| 445 |
msgid "B<LANDLOCK_ACCESS_FS_MAKE_DIR>" |
| 446 |
msgstr "B<LANDLOCK_ACCESS_FS_MAKE_DIR>" |
| 447 |
|
| 448 |
#. type: Plain text |
| 449 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 450 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 451 |
msgid "Create (or rename) a directory." |
| 452 |
msgstr "إنشاء (أو إعادة تسمية) دليل." |
| 453 |
|
| 454 |
#. type: TP |
| 455 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 456 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 457 |
#, no-wrap |
| 458 |
msgid "B<LANDLOCK_ACCESS_FS_MAKE_REG>" |
| 459 |
msgstr "B<LANDLOCK_ACCESS_FS_MAKE_REG>" |
| 460 |
|
| 461 |
#. type: Plain text |
| 462 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 463 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 464 |
msgid "Create (or rename or link) a regular file." |
| 465 |
msgstr "إنشاء (أو إعادة تسمية أو ربط) ملف عادي." |
| 466 |
|
| 467 |
#. type: TP |
| 468 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 469 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 470 |
#, no-wrap |
| 471 |
msgid "B<LANDLOCK_ACCESS_FS_MAKE_SOCK>" |
| 472 |
msgstr "B<LANDLOCK_ACCESS_FS_MAKE_SOCK>" |
| 473 |
|
| 474 |
#. type: Plain text |
| 475 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 476 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 477 |
msgid "Create (or rename or link) a UNIX domain socket." |
| 478 |
msgstr "إنشاء (أو إعادة تسمية أو ربط) مقبس نطاق يونكس." |
| 479 |
|
| 480 |
#. type: TP |
| 481 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 482 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 483 |
#, no-wrap |
| 484 |
msgid "B<LANDLOCK_ACCESS_FS_MAKE_FIFO>" |
| 485 |
msgstr "B<LANDLOCK_ACCESS_FS_MAKE_FIFO>" |
| 486 |
|
| 487 |
#. type: Plain text |
| 488 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 489 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 490 |
msgid "Create (or rename or link) a named pipe." |
| 491 |
msgstr "أنشئ (أو غيّر اسم أو اربط) أنبوباً مسمى." |
| 492 |
|
| 493 |
#. type: TP |
| 494 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 495 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 496 |
#, no-wrap |
| 497 |
msgid "B<LANDLOCK_ACCESS_FS_MAKE_BLOCK>" |
| 498 |
msgstr "B<LANDLOCK_ACCESS_FS_MAKE_BLOCK>" |
| 499 |
|
| 500 |
#. type: Plain text |
| 501 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 502 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 503 |
msgid "Create (or rename or link) a block device." |
| 504 |
msgstr "أنشئ (أو غيّر اسم أو اربط) جهازاً كتلياً." |
| 505 |
|
| 506 |
#. type: TP |
| 507 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 508 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 509 |
#, no-wrap |
| 510 |
msgid "B<LANDLOCK_ACCESS_FS_MAKE_SYM>" |
| 511 |
msgstr "B<LANDLOCK_ACCESS_FS_MAKE_SYM>" |
| 512 |
|
| 513 |
#. type: Plain text |
| 514 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 515 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 516 |
msgid "Create (or rename or link) a symbolic link." |
| 517 |
msgstr "أنشئ (أو غيّر اسم أو اربط) رابطاً رمزياً." |
| 518 |
|
| 519 |
#. type: TP |
| 520 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 521 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 522 |
#, no-wrap |
| 523 |
msgid "B<LANDLOCK_ACCESS_FS_REFER>" |
| 524 |
msgstr "B<LANDLOCK_ACCESS_FS_REFER>" |
| 525 |
|
| 526 |
#. type: Plain text |
| 527 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 528 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 529 |
msgid "" |
| 530 |
"Link or rename a file from or to a different directory (i.e., reparent a " |
| 531 |
"file hierarchy)." |
| 532 |
msgstr "" |
| 533 |
"ربط ملف أو إعادة تسميته من أو إلى دليل مختلف (أي تغيير الهرم الأب لملف ما)." |
| 534 |
|
| 535 |
#. type: Plain text |
| 536 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 537 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 538 |
msgid "" |
| 539 |
"This access right is available since the second version of the Landlock ABI." |
| 540 |
msgstr "حق الوصول هذا متاح منذ الإصدار الثاني من واجهة Landlock الثنائية." |
| 541 |
|
| 542 |
#. type: Plain text |
| 543 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 544 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 545 |
msgid "" |
| 546 |
"This is the only access right which is denied by default by any ruleset, " |
| 547 |
"even if the right is not specified as handled at ruleset creation time. The " |
| 548 |
"only way to make a ruleset grant this right is to explicitly allow it for a " |
| 549 |
"specific directory by adding a matching rule to the ruleset." |
| 550 |
msgstr "" |
| 551 |
"هذا هو حق الوصول الوحيد المرفوض مبدئيًا بواسطة أي مجموعة قواعد، حتى لو لم " |
| 552 |
"يُحدد الحق كمعالج في وقت إنشاء مجموعة القواعد. الطريقة الوحيدة لجعل مجموعة " |
| 553 |
"القواعد تمنح هذا الحق هي السماح به صراحةً لدليل معين بإضافة قاعدة مطابقة إلى " |
| 554 |
"مجموعة القواعد." |
| 555 |
|
| 556 |
#. type: Plain text |
| 557 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 558 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 559 |
msgid "" |
| 560 |
"In particular, when using the first Landlock ABI version, Landlock will " |
| 561 |
"always deny attempts to reparent files between different directories." |
| 562 |
msgstr "" |
| 563 |
"على وجه الخصوص، عند استخدام الإصدار الأول من واجهة Landlock الثنائية، سيرفض " |
| 564 |
"Landlock آليًا محاولات إعادة توجيه الملفات بين أدلة مختلفة." |
| 565 |
|
| 566 |
#. type: Plain text |
| 567 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 568 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 569 |
msgid "" |
| 570 |
"In addition to the source and destination directories having the " |
| 571 |
"B<LANDLOCK_ACCESS_FS_REFER> access right, the attempted link or rename " |
| 572 |
"operation must meet the following constraints:" |
| 573 |
msgstr "" |
| 574 |
"بالإضافة إلى امتلاك دليلي المصدر والوجهة لحق الوصول " |
| 575 |
"B<LANDLOCK_ACCESS_FS_REFER>، يجب أن تفي عملية الربط أو إعادة التسمية " |
| 576 |
"المقصودة بالقيود التالية:" |
| 577 |
|
| 578 |
#. type: Plain text |
| 579 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 580 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 581 |
msgid "" |
| 582 |
"The reparented file may not gain more access rights in the destination " |
| 583 |
"directory than it previously had in the source directory. If this is " |
| 584 |
"attempted, the operation results in an B<EXDEV> error." |
| 585 |
msgstr "" |
| 586 |
"قد لا يكتسب الملف المعاد توجيهه حقوق وصول أكثر في دليل الوجهة مما كان لديه " |
| 587 |
"سابقًا في دليل المصدر. إذا جرت محاولة ذلك، تؤدي العملية إلى خطأ B<EXDEV>." |
| 588 |
|
| 589 |
#. type: Plain text |
| 590 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 591 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 592 |
msgid "" |
| 593 |
"When linking or renaming, the B<LANDLOCK_ACCESS_FS_MAKE_>I<*> right for the " |
| 594 |
"respective file type must be granted for the destination directory. " |
| 595 |
"Otherwise, the operation results in an B<EACCES> error." |
| 596 |
msgstr "" |
| 597 |
"عند الربط أو إعادة التسمية، يجب منح حق B<LANDLOCK_ACCESS_FS_MAKE_>I<*> لنوع " |
| 598 |
"الملف المعني لدليل الوجهة. وإلا، تؤدي العملية إلى خطأ B<EACCES>." |
| 599 |
|
| 600 |
#. type: Plain text |
| 601 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 602 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 603 |
msgid "" |
| 604 |
"When renaming, the B<LANDLOCK_ACCESS_FS_REMOVE_>I<*> right for the " |
| 605 |
"respective file type must be granted for the source directory. Otherwise, " |
| 606 |
"the operation results in an B<EACCES> error." |
| 607 |
msgstr "" |
| 608 |
"عند إعادة التسمية، يجب منح حق B<LANDLOCK_ACCESS_FS_REMOVE_>I<*> لنوع الملف " |
| 609 |
"المعني لدليل المصدر. وإلا، تؤدي العملية إلى خطأ B<EACCES>." |
| 610 |
|
| 611 |
#. type: Plain text |
| 612 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 613 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 614 |
msgid "" |
| 615 |
"If multiple requirements are not met, the B<EACCES> error code takes " |
| 616 |
"precedence over B<EXDEV>." |
| 617 |
msgstr "" |
| 618 |
"إذا لم تُستوفَ متطلبات متعددة، يأخذ رمز الخطأ B<EACCES> الأولوية على B<EXDEV>." |
| 619 |
|
| 620 |
#. type: SS |
| 621 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 622 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 623 |
#, no-wrap |
| 624 |
msgid "Network flags" |
| 625 |
msgstr "أعلام الشبكة" |
| 626 |
|
| 627 |
#. type: Plain text |
| 628 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 629 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 630 |
msgid "" |
| 631 |
"These flags enable to restrict a sandboxed process to a set of network " |
| 632 |
"actions." |
| 633 |
msgstr "تمكّن هذه الأعلام من تقييد عملية معزولة بمجموعة من إجراءات الشبكة." |
| 634 |
|
| 635 |
#. type: Plain text |
| 636 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 637 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 638 |
msgid "This is supported since Landlock ABI version 4." |
| 639 |
msgstr "هذا مدعوم منذ الإصدار 4 من واجهة Landlock الثنائية." |
| 640 |
|
| 641 |
#. type: Plain text |
| 642 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 643 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 644 |
msgid "The following access rights apply to TCP port numbers:" |
| 645 |
msgstr "تنطبق حقوق الوصول التالية على أرقام منافذ TCP:" |
| 646 |
|
| 647 |
#. type: TP |
| 648 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 649 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 650 |
#, no-wrap |
| 651 |
msgid "B<LANDLOCK_ACCESS_NET_BIND_TCP>" |
| 652 |
msgstr "B<LANDLOCK_ACCESS_NET_BIND_TCP>" |
| 653 |
|
| 654 |
#. type: Plain text |
| 655 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 656 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 657 |
msgid "Bind a TCP socket to a local port." |
| 658 |
msgstr "ربط مقبس TCP بمنفذ محلي." |
| 659 |
|
| 660 |
#. type: TP |
| 661 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 662 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 663 |
#, no-wrap |
| 664 |
msgid "B<LANDLOCK_ACCESS_NET_CONNECT_TCP>" |
| 665 |
msgstr "B<LANDLOCK_ACCESS_NET_CONNECT_TCP>" |
| 666 |
|
| 667 |
#. type: Plain text |
| 668 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 669 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 670 |
msgid "Connect an active TCP socket to a remote port." |
| 671 |
msgstr "توصيل مقبس TCP نشط بمنفذ بعيد." |
| 672 |
|
| 673 |
#. type: SS |
| 674 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 675 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 676 |
#, no-wrap |
| 677 |
msgid "Scope flags" |
| 678 |
msgstr "أعلام النطاق" |
| 679 |
|
| 680 |
#. type: Plain text |
| 681 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 682 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 683 |
msgid "" |
| 684 |
"These flags enable isolating a sandboxed process from a set of IPC actions. " |
| 685 |
"Setting a flag for a ruleset will isolate the Landlock domain to forbid " |
| 686 |
"connections to resources outside the domain." |
| 687 |
msgstr "" |
| 688 |
"تعمل هذه الأعلام على عزل عملية محصورة عن مجموعة من إجراءات الاتصال بين " |
| 689 |
"العمليات (IPC). يؤدي تعيين علم لمجموعة قواعد إلى عزل نطاق Landlock لمنع " |
| 690 |
"الاتصالات بالموارد خارج النطاق." |
| 691 |
|
| 692 |
#. type: Plain text |
| 693 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 694 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 695 |
msgid "This is supported since Landlock ABI version 6." |
| 696 |
msgstr "هذا مدعوم منذ إصدار Landlock ABI 6." |
| 697 |
|
| 698 |
#. type: Plain text |
| 699 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 700 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 701 |
msgid "The following scopes exist:" |
| 702 |
msgstr "توجد النطاقات التالية:" |
| 703 |
|
| 704 |
#. type: TP |
| 705 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 706 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 707 |
#, no-wrap |
| 708 |
msgid "B<LANDLOCK_SCOPE_ABSTRACT_UNIX_SOCKET>" |
| 709 |
msgstr "B<LANDLOCK_SCOPE_ABSTRACT_UNIX_SOCKET>" |
| 710 |
|
| 711 |
#. type: Plain text |
| 712 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 713 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 714 |
msgid "" |
| 715 |
"Restrict a sandboxed process from connecting to an abstract UNIX socket " |
| 716 |
"created by a process outside the related Landlock domain (e.g., a parent " |
| 717 |
"domain or a non-sandboxed process)." |
| 718 |
msgstr "" |
| 719 |
"يقيد عملية محصورة من الاتصال بمقبس UNIX مجرد تم إنشاؤه بواسطة عملية خارج " |
| 720 |
"نطاق Landlock ذي الصلة (مثل نطاق أب أو عملية غير محصورة)." |
| 721 |
|
| 722 |
#. type: TP |
| 723 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 724 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 725 |
#, no-wrap |
| 726 |
msgid "B<LANDLOCK_SCOPE_SIGNAL>" |
| 727 |
msgstr "B<LANDLOCK_SCOPE_SIGNAL>" |
| 728 |
|
| 729 |
#. type: Plain text |
| 730 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 731 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 732 |
msgid "" |
| 733 |
"Restrict a sandboxed process from sending a signal to another process " |
| 734 |
"outside the domain." |
| 735 |
msgstr "يقيد عملية محصورة من إرسال إشارة إلى عملية أخرى خارج النطاق." |
| 736 |
|
| 737 |
#. type: SS |
| 738 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 739 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 740 |
#, no-wrap |
| 741 |
msgid "Layers of file path access rights" |
| 742 |
msgstr "طبقات حقوق الوصول لمسار الملف" |
| 743 |
|
| 744 |
#. type: Plain text |
| 745 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 746 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 747 |
msgid "" |
| 748 |
"Each time a thread enforces a ruleset on itself, it updates its Landlock " |
| 749 |
"domain with a new layer of policy. Indeed, this complementary policy is " |
| 750 |
"composed with the potentially other rulesets already restricting this " |
| 751 |
"thread. A sandboxed thread can then safely add more constraints to itself " |
| 752 |
"with a new enforced ruleset." |
| 753 |
msgstr "" |
| 754 |
"في كل مرة يفرض فيها خيط مجموعة قواعد على نفسه، يقوم بتحديث نطاق Landlock " |
| 755 |
"الخاص به بطبقة جديدة من السياسة. في الواقع، تتكون هذه السياسة التكميلية مع " |
| 756 |
"مجموعات القواعد الأخرى التي قد تقيد هذا الخيط بالفعل. يمكن للخيط المحصور بعد " |
| 757 |
"ذلك إضافة المزيد من القيود بأمان على نفسه باستخدام مجموعة قواعد مفروضة جديدة." |
| 758 |
|
| 759 |
#. type: Plain text |
| 760 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 761 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 762 |
msgid "" |
| 763 |
"One policy layer grants access to a file path if at least one of its rules " |
| 764 |
"encountered on the path grants the access. A sandboxed thread can only " |
| 765 |
"access a file path if all its enforced policy layers grant the access as " |
| 766 |
"well as all the other system access controls (e.g., filesystem DAC, other " |
| 767 |
"LSM policies, etc.)." |
| 768 |
msgstr "" |
| 769 |
"تمنح طبقة سياسة واحدة الوصول إلى مسار ملف إذا منحت قاعدة واحدة على الأقل من " |
| 770 |
"قواعدها التي تمت مواجهتها على المسار الوصول. يمكن للخيط المحصور الوصول إلى " |
| 771 |
"مسار ملف فقط إذا منحت جميع طبقات السياسة المفروضة عليه الوصول بالإضافة إلى " |
| 772 |
"جميع ضوابط الوصول الأخرى للنظام (مثل DAC لنظام الملفات، سياسات LSM الأخرى، " |
| 773 |
"إلخ)." |
| 774 |
|
| 775 |
#. type: SS |
| 776 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 777 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 778 |
#, no-wrap |
| 779 |
msgid "Bind mounts and OverlayFS" |
| 780 |
msgstr "الوصلات المرتبطة (Bind mounts) و OverlayFS" |
| 781 |
|
| 782 |
#. type: Plain text |
| 783 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 784 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 785 |
msgid "" |
| 786 |
"Landlock enables restricting access to file hierarchies, which means that " |
| 787 |
"these access rights can be propagated with bind mounts (cf. " |
| 788 |
"B<mount_namespaces>(7)) but not with OverlayFS." |
| 789 |
msgstr "" |
| 790 |
"يتيح Landlock تقييد الوصول إلى التسلسلات الهرمية للملفات، مما يعني أن حقوق " |
| 791 |
"الوصول هذه يمكن نشرها مع الوصلات المرتبطة (راجع B<mount_namespaces>(7)) ولكن " |
| 792 |
"ليس مع OverlayFS." |
| 793 |
|
| 794 |
#. type: Plain text |
| 795 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 796 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 797 |
msgid "" |
| 798 |
"A bind mount mirrors a source file hierarchy to a destination. The " |
| 799 |
"destination hierarchy is then composed of the exact same files, on which " |
| 800 |
"Landlock rules can be tied, either via the source or the destination path. " |
| 801 |
"These rules restrict access when they are encountered on a path, which means " |
| 802 |
"that they can restrict access to multiple file hierarchies at the same time, " |
| 803 |
"whether these hierarchies are the result of bind mounts or not." |
| 804 |
msgstr "" |
| 805 |
"تعكس الوصلة المرتبطة تسلسلاً هرميًا للملفات المصدر إلى وجهة. يتكون التسلسل " |
| 806 |
"الهرمي الوجهة بعد ذلك من نفس الملفات تمامًا، والتي يمكن ربط قواعد Landlock " |
| 807 |
"بها، إما عبر مسار المصدر أو الوجهة. تقيد هذه القواعد الوصول عند مواجهتها على " |
| 808 |
"مسار، مما يعني أنها يمكن أن تقيد الوصول إلى تسلسلات هرمية متعددة للملفات في " |
| 809 |
"نفس الوقت، سواء كانت هذه التسلسلات الهرمية نتيجة وصلات مرتبطة أم لا." |
| 810 |
|
| 811 |
#. type: Plain text |
| 812 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 813 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 814 |
msgid "" |
| 815 |
"An OverlayFS mount point consists of upper and lower layers. These layers " |
| 816 |
"are combined in a merge directory, result of the mount point. This merge " |
| 817 |
"hierarchy may include files from the upper and lower layers, but " |
| 818 |
"modifications performed on the merge hierarchy only reflect on the upper " |
| 819 |
"layer. From a Landlock policy point of view, each of the OverlayFS layers " |
| 820 |
"and merge hierarchies is standalone and contains its own set of files and " |
| 821 |
"directories, which is different from a bind mount. A policy restricting an " |
| 822 |
"OverlayFS layer will not restrict the resulted merged hierarchy, and vice " |
| 823 |
"versa. Landlock users should then only think about file hierarchies they " |
| 824 |
"want to allow access to, regardless of the underlying filesystem." |
| 825 |
msgstr "" |
| 826 |
"تتكون نقطة وصل OverlayFS من طبقات عليا وسفلى. يتم دمج هذه الطبقات في دليل " |
| 827 |
"دمج، نتيجة لنقطة الوصل. قد يتضمن هذا التسلسل الهرمي للدمج ملفات من الطبقات " |
| 828 |
"العليا والسفلى، لكن التعديلات التي تتم على التسلسل الهرمي للدمج تنعكس فقط " |
| 829 |
"على الطبقة العليا. من وجهة نظر سياسة Landlock، كل طبقة من طبقات OverlayFS " |
| 830 |
"والتسلسلات الهرمية للدمج مستقلة وتحتوي على مجموعتها الخاصة من الملفات " |
| 831 |
"والأدلة، وهو ما يختلف عن الوصلة المرتبطة. لن تقيد سياسة تقيد طبقة OverlayFS " |
| 832 |
"التسلسل الهرمي المدمج الناتج، والعكس صحيح. يجب على مستخدمي Landlock بعد ذلك " |
| 833 |
"التفكير فقط في التسلسلات الهرمية للملفات التي يريدون السماح بالوصول إليها، " |
| 834 |
"بغض النظر عن نظام الملفات الأساسي." |
| 835 |
|
| 836 |
#. type: SS |
| 837 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 838 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 839 |
#, no-wrap |
| 840 |
msgid "Inheritance" |
| 841 |
msgstr "الوراثة" |
| 842 |
|
| 843 |
#. type: Plain text |
| 844 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 845 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 846 |
msgid "" |
| 847 |
"Every new thread resulting from a B<clone>(2) inherits Landlock domain " |
| 848 |
"restrictions from its parent. This is similar to the B<seccomp>(2) " |
| 849 |
"inheritance or any other LSM dealing with tasks' B<credentials>(7). For " |
| 850 |
"instance, one process's thread may apply Landlock rules to itself, but they " |
| 851 |
"will not be automatically applied to other sibling threads (unlike POSIX " |
| 852 |
"thread credential changes, cf. B<nptl>(7))." |
| 853 |
msgstr "" |
| 854 |
"يرث كل خيط جديد ناتج عن B<clone>(2) قيود نطاق Landlock من والده. هذا مشابه " |
| 855 |
"لوراثة B<seccomp>(2) أو أي LSM آخر يتعامل مع B<credentials>(7) للمهام. على " |
| 856 |
"سبيل المثال، قد يطبق خيط من عملية قواعد Landlock على نفسه، لكنها لن تُطبق " |
| 857 |
"آليًا على خيوط شقيقة أخرى (على عكس تغييرات بيانات اعتماد خيوط POSIX، راجع " |
| 858 |
"B<nptl>(7))." |
| 859 |
|
| 860 |
#. type: Plain text |
| 861 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 862 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 863 |
msgid "" |
| 864 |
"When a thread sandboxes itself, we have the guarantee that the related " |
| 865 |
"security policy will stay enforced on all this thread's descendants. This " |
| 866 |
"allows creating standalone and modular security policies per application, " |
| 867 |
"which will automatically be composed between themselves according to their " |
| 868 |
"run-time parent policies." |
| 869 |
msgstr "" |
| 870 |
"عندما يحصر الخيط نفسه، لدينا ضمان بأن السياسة الأمنية ذات الصلة ستبقى مفروضة " |
| 871 |
"على جميع أحفاد هذا الخيط. يتيح هذا إنشاء سياسات أمنية مستقلة ومعيارية لكل " |
| 872 |
"تطبيق، والتي ستتألف آليًا فيما بينها وفقًا لسياساتها الأم في وقت التشغيل." |
| 873 |
|
| 874 |
#. type: SS |
| 875 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 876 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 877 |
#, no-wrap |
| 878 |
msgid "Ptrace restrictions" |
| 879 |
msgstr "قيود Ptrace" |
| 880 |
|
| 881 |
#. type: Plain text |
| 882 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 883 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 884 |
msgid "" |
| 885 |
"A sandboxed process has less privileges than a non-sandboxed process and " |
| 886 |
"must then be subject to additional restrictions when manipulating another " |
| 887 |
"process. To be allowed to use B<ptrace>(2) and related syscalls on a " |
| 888 |
"target process, a sandboxed process should have a subset of the target " |
| 889 |
"process rules, which means the tracee must be in a sub-domain of the tracer." |
| 890 |
msgstr "" |
| 891 |
"تمتلك العملية المحصورة امتيازات أقل من العملية غير المحصورة ويجب أن تخضع " |
| 892 |
"لقيود إضافية عند التعامل مع عملية أخرى. للسماح باستخدام B<ptrace>(2) " |
| 893 |
"واستدعاءات النظام ذات الصلة على عملية هدف، يجب أن تحتوي العملية المحصورة على " |
| 894 |
"مجموعة فرعية من قواعد العملية الهدف، مما يعني أن المتتبع (tracee) يجب أن " |
| 895 |
"يكون في نطاق فرعي للمتتبع (tracer)." |
| 896 |
|
| 897 |
#. type: SS |
| 898 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 899 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 900 |
#, no-wrap |
| 901 |
msgid "IPC scoping" |
| 902 |
msgstr "نطاق IPC" |
| 903 |
|
| 904 |
#. type: Plain text |
| 905 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 906 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 907 |
msgid "" |
| 908 |
"Similar to the implicit B<Ptrace restrictions>, we may want to further " |
| 909 |
"restrict interactions between sandboxes. Therefore, at ruleset creation " |
| 910 |
"time, each Landlock domain can restrict the scope for certain operations, so " |
| 911 |
"that these operations can only reach out to processes within the same " |
| 912 |
"Landlock domain or in a nested Landlock domain (the \"scope\")." |
| 913 |
msgstr "" |
| 914 |
"على غرار B<قيود Ptrace> الضمنية، قد نرغب في تقييد التفاعلات بين الصناديق " |
| 915 |
"(sandboxes) بشكل أكبر. لذلك، في وقت إنشاء مجموعة القواعد، يمكن لكل نطاق " |
| 916 |
"Landlock تقييد النطاق لعمليات معينة، بحيث يمكن لهذه العمليات الوصول فقط إلى " |
| 917 |
"العمليات داخل نفس نطاق Landlock أو في نطاق Landlock متداخل (\"النطاق\")." |
| 918 |
|
| 919 |
#. type: Plain text |
| 920 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 921 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 922 |
msgid "The operations which can be scoped are:" |
| 923 |
msgstr "العمليات التي يمكن تحديد نطاقها هي:" |
| 924 |
|
| 925 |
#. type: Plain text |
| 926 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 927 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 928 |
msgid "" |
| 929 |
"This limits the sending of signals to target processes which run within the " |
| 930 |
"same or a nested Landlock domain." |
| 931 |
msgstr "" |
| 932 |
"يحد هذا من إرسال الإشارات إلى العمليات الهدف التي تعمل داخل نفس نطاق " |
| 933 |
"Landlock أو نطاق متداخل." |
| 934 |
|
| 935 |
#. type: Plain text |
| 936 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 937 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 938 |
msgid "" |
| 939 |
"This limits the set of abstract B<unix>(7) sockets to which we can " |
| 940 |
"B<connect>(2) to socket addresses which were created by a process in the " |
| 941 |
"same or a nested Landlock domain." |
| 942 |
msgstr "" |
| 943 |
"يحد هذا من مجموعة مقابس B<unix>(7) المجردة التي يمكننا B<connect>(2) بها إلى " |
| 944 |
"عناوين مقابس تم إنشاؤها بواسطة عملية في نفس نطاق Landlock أو نطاق متداخل." |
| 945 |
|
| 946 |
#. type: Plain text |
| 947 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 948 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 949 |
msgid "" |
| 950 |
"A B<sendto>(2) on a non-connected datagram socket is treated as if it were " |
| 951 |
"doing an implicit B<connect>(2) and will be blocked if the remote end does " |
| 952 |
"not stem from the same or a nested Landlock domain." |
| 953 |
msgstr "" |
| 954 |
"يتم التعامل مع B<sendto>(2) على مقبس مخطط بيانات غير متصل كما لو كان يقوم بـ " |
| 955 |
"B<connect>(2) ضمني وسيتم حظره إذا لم ينشأ الطرف البعيد من نفس نطاق Landlock " |
| 956 |
"أو نطاق متداخل." |
| 957 |
|
| 958 |
#. type: Plain text |
| 959 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 960 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 961 |
msgid "" |
| 962 |
"A B<sendto>(2) on a socket which was previously connected will not be " |
| 963 |
"restricted. This works for both datagram and stream sockets." |
| 964 |
msgstr "" |
| 965 |
"لن يُقيّد استدعاء B<sendto>(2) على مقبس كان متصلاً سابقًا. يعمل هذا لكل من مقابس " |
| 966 |
"البيانات ومقابس التدفق." |
| 967 |
|
| 968 |
#. type: Plain text |
| 969 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 970 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 971 |
msgid "" |
| 972 |
"IPC scoping does not support exceptions via B<landlock_add_rule>(2). If an " |
| 973 |
"operation is scoped within a domain, no rules can be added to allow access " |
| 974 |
"to resources or processes outside of the scope." |
| 975 |
msgstr "" |
| 976 |
"لا يدعم نطاق IPC الاستثناءات عبر B<landlock_add_rule>(2). إذا كان نطاق عملية " |
| 977 |
"ضمن نطاق، فلا يمكن إضافة قواعد للسماح بالوصول إلى الموارد أو العمليات خارج " |
| 978 |
"النطاق." |
| 979 |
|
| 980 |
#. type: SS |
| 981 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 982 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 983 |
#, no-wrap |
| 984 |
msgid "Truncating files" |
| 985 |
msgstr "اقتطاع الملفات" |
| 986 |
|
| 987 |
#. type: Plain text |
| 988 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 989 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 990 |
msgid "" |
| 991 |
"The operations covered by B<LANDLOCK_ACCESS_FS_WRITE_FILE> and " |
| 992 |
"B<LANDLOCK_ACCESS_FS_TRUNCATE> both change the contents of a file and " |
| 993 |
"sometimes overlap in non-intuitive ways. It is recommended to always " |
| 994 |
"specify both of these together." |
| 995 |
msgstr "" |
| 996 |
"تغير العمليات التي تغطيها B<LANDLOCK_ACCESS_FS_WRITE_FILE> و " |
| 997 |
"B<LANDLOCK_ACCESS_FS_TRUNCATE> محتويات الملف وتتداخل أحيانًا بطرق غير بديهية. " |
| 998 |
"يُوصى دائمًا بتحديد كليهما معًا." |
| 999 |
|
| 1000 |
#. type: Plain text |
| 1001 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1002 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1003 |
msgid "" |
| 1004 |
"A particularly surprising example is B<creat>(2). The name suggests that " |
| 1005 |
"this system call requires the rights to create and write files. However, it " |
| 1006 |
"also requires the truncate right if an existing file under the same name is " |
| 1007 |
"already present." |
| 1008 |
msgstr "" |
| 1009 |
"مثال مفاجئ بشكل خاص هو B<creat>(2). يشير الاسم إلى أن استدعاء النظام هذا " |
| 1010 |
"يتطلب حقوق إنشاء وكتابة الملفات. ومع ذلك، يتطلب أيضًا حق الاقتطاع إذا كان ملف " |
| 1011 |
"موجود بنفس الاسم حاضرًا بالفعل." |
| 1012 |
|
| 1013 |
#. type: Plain text |
| 1014 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1015 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1016 |
msgid "" |
| 1017 |
"It should also be noted that truncating files does not require the " |
| 1018 |
"B<LANDLOCK_ACCESS_FS_WRITE_FILE> right. Apart from the B<truncate>(2) " |
| 1019 |
"system call, this can also be done through B<open>(2) with the flags " |
| 1020 |
"I<O_RDONLY\\ |\\ O_TRUNC>." |
| 1021 |
msgstr "" |
| 1022 |
"يجب أيضًا ملاحظة أن اقتطاع الملفات لا يتطلب حق " |
| 1023 |
"B<LANDLOCK_ACCESS_FS_WRITE_FILE>. بصرف النظر عن استدعاء النظام " |
| 1024 |
"B<truncate>(2)، يمكن فعل ذلك أيضًا عبر B<open>(2) مع الأعلام I<O_RDONLY\\ |\\ " |
| 1025 |
"O_TRUNC>." |
| 1026 |
|
| 1027 |
#. type: Plain text |
| 1028 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1029 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1030 |
msgid "" |
| 1031 |
"When opening a file, the availability of the B<LANDLOCK_ACCESS_FS_TRUNCATE> " |
| 1032 |
"right is associated with the newly created file descriptor and will be used " |
| 1033 |
"for subsequent truncation attempts using B<ftruncate>(2). The behavior is " |
| 1034 |
"similar to opening a file for reading or writing, where permissions are " |
| 1035 |
"checked during B<open>(2), but not during the subsequent B<read>(2) and " |
| 1036 |
"B<write>(2) calls." |
| 1037 |
msgstr "" |
| 1038 |
"عند فتح ملف، يرتبط توفر حق B<LANDLOCK_ACCESS_FS_TRUNCATE> بواصف الملف المنشأ " |
| 1039 |
"حديثًا وسيُستخدم لمحاولات الاقتطاع اللاحقة باستخدام B<ftruncate>(2). السلوك " |
| 1040 |
"مشابه لفتح ملف للقراءة أو الكتابة، حيث تُفحص الأذونات أثناء B<open>(2)، ولكن " |
| 1041 |
"ليس أثناء استدعاءات B<read>(2) و B<write>(2) اللاحقة." |
| 1042 |
|
| 1043 |
#. type: Plain text |
| 1044 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1045 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1046 |
msgid "" |
| 1047 |
"As a consequence, it is possible to have multiple open file descriptors for " |
| 1048 |
"the same file, where one grants the right to truncate the file and the other " |
| 1049 |
"does not. It is also possible to pass such file descriptors between " |
| 1050 |
"processes, keeping their Landlock properties, even when these processes do " |
| 1051 |
"not have an enforced Landlock ruleset." |
| 1052 |
msgstr "" |
| 1053 |
"كنتيجة، من الممكن وجود واصفات ملفات مفتوحة متعددة لنفس الملف، حيث يمنح أحدها " |
| 1054 |
"حق اقتطاع الملف والآخر لا يمنحه. من الممكن أيضًا تمرير واصفات الملفات هذه بين " |
| 1055 |
"العمليات، مع الحفاظ على خصائص Landlock الخاصة بها، حتى عندما لا تملك هذه " |
| 1056 |
"العمليات مجموعة قواعد Landlock مفروضة." |
| 1057 |
|
| 1058 |
#. type: SH |
| 1059 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1060 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1061 |
#, no-wrap |
| 1062 |
msgid "VERSIONS" |
| 1063 |
msgstr "الإصدارات" |
| 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 "Landlock was introduced in Linux 5.13." |
| 1069 |
msgstr "أُدخل Landlock في لينكس 5.13." |
| 1070 |
|
| 1071 |
#. type: Plain text |
| 1072 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1073 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1074 |
msgid "" |
| 1075 |
"To determine which Landlock features are available, users should query the " |
| 1076 |
"Landlock ABI version:" |
| 1077 |
msgstr "" |
| 1078 |
"لتحديد ميزات Landlock المتاحة، يجب على المستخدمين الاستعلام عن إصدار ABI " |
| 1079 |
"الخاص بـ Landlock:" |
| 1080 |
|
| 1081 |
#. type: tbl table |
| 1082 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1083 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1084 |
#, no-wrap |
| 1085 |
msgid "ABI" |
| 1086 |
msgstr "ABI" |
| 1087 |
|
| 1088 |
#. type: tbl table |
| 1089 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1090 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1091 |
#, no-wrap |
| 1092 |
msgid "Kernel" |
| 1093 |
msgstr "نواة" |
| 1094 |
|
| 1095 |
#. type: tbl table |
| 1096 |
#: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed |
| 1097 |
#, no-wrap |
| 1098 |
msgid "Newly introduced constants" |
| 1099 |
msgstr "الثوابت المقدمة حديثًا" |
| 1100 |
|
| 1101 |
#. type: tbl table |
| 1102 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1103 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1104 |
#, no-wrap |
| 1105 |
msgid "_" |
| 1106 |
msgstr "_" |
| 1107 |
|
| 1108 |
#. type: tbl table |
| 1109 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1110 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1111 |
#, no-wrap |
| 1112 |
msgid "1" |
| 1113 |
msgstr "1" |
| 1114 |
|
| 1115 |
#. type: tbl table |
| 1116 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1117 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1118 |
#, no-wrap |
| 1119 |
msgid "5.13" |
| 1120 |
msgstr "5.13" |
| 1121 |
|
| 1122 |
#. type: tbl table |
| 1123 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1124 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1125 |
#, no-wrap |
| 1126 |
msgid "LANDLOCK_ACCESS_FS_EXECUTE" |
| 1127 |
msgstr "LANDLOCK_ACCESS_FS_EXECUTE" |
| 1128 |
|
| 1129 |
#. type: tbl table |
| 1130 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1131 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1132 |
#, no-wrap |
| 1133 |
msgid "\\^" |
| 1134 |
msgstr "\\^" |
| 1135 |
|
| 1136 |
#. type: tbl table |
| 1137 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1138 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1139 |
#, no-wrap |
| 1140 |
msgid "LANDLOCK_ACCESS_FS_WRITE_FILE" |
| 1141 |
msgstr "LANDLOCK_ACCESS_FS_WRITE_FILE" |
| 1142 |
|
| 1143 |
#. type: tbl table |
| 1144 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1145 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1146 |
#, no-wrap |
| 1147 |
msgid "LANDLOCK_ACCESS_FS_READ_FILE" |
| 1148 |
msgstr "LANDLOCK_ACCESS_FS_READ_FILE" |
| 1149 |
|
| 1150 |
#. type: tbl table |
| 1151 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1152 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1153 |
#, no-wrap |
| 1154 |
msgid "LANDLOCK_ACCESS_FS_READ_DIR" |
| 1155 |
msgstr "LANDLOCK_ACCESS_FS_READ_DIR" |
| 1156 |
|
| 1157 |
#. type: tbl table |
| 1158 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1159 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1160 |
#, no-wrap |
| 1161 |
msgid "LANDLOCK_ACCESS_FS_REMOVE_DIR" |
| 1162 |
msgstr "LANDLOCK_ACCESS_FS_REMOVE_DIR" |
| 1163 |
|
| 1164 |
#. type: tbl table |
| 1165 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1166 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1167 |
#, no-wrap |
| 1168 |
msgid "LANDLOCK_ACCESS_FS_REMOVE_FILE" |
| 1169 |
msgstr "LANDLOCK_ACCESS_FS_REMOVE_FILE" |
| 1170 |
|
| 1171 |
#. type: tbl table |
| 1172 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1173 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1174 |
#, no-wrap |
| 1175 |
msgid "LANDLOCK_ACCESS_FS_MAKE_CHAR" |
| 1176 |
msgstr "LANDLOCK_ACCESS_FS_MAKE_CHAR" |
| 1177 |
|
| 1178 |
#. type: tbl table |
| 1179 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1180 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1181 |
#, no-wrap |
| 1182 |
msgid "LANDLOCK_ACCESS_FS_MAKE_DIR" |
| 1183 |
msgstr "LANDLOCK_ACCESS_FS_MAKE_DIR" |
| 1184 |
|
| 1185 |
#. type: tbl table |
| 1186 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1187 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1188 |
#, no-wrap |
| 1189 |
msgid "LANDLOCK_ACCESS_FS_MAKE_REG" |
| 1190 |
msgstr "LANDLOCK_ACCESS_FS_MAKE_REG" |
| 1191 |
|
| 1192 |
#. type: tbl table |
| 1193 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1194 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1195 |
#, no-wrap |
| 1196 |
msgid "LANDLOCK_ACCESS_FS_MAKE_SOCK" |
| 1197 |
msgstr "LANDLOCK_ACCESS_FS_MAKE_SOCK" |
| 1198 |
|
| 1199 |
#. type: tbl table |
| 1200 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1201 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1202 |
#, no-wrap |
| 1203 |
msgid "LANDLOCK_ACCESS_FS_MAKE_FIFO" |
| 1204 |
msgstr "LANDLOCK_ACCESS_FS_MAKE_FIFO" |
| 1205 |
|
| 1206 |
#. type: tbl table |
| 1207 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1208 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1209 |
#, no-wrap |
| 1210 |
msgid "LANDLOCK_ACCESS_FS_MAKE_BLOCK" |
| 1211 |
msgstr "LANDLOCK_ACCESS_FS_MAKE_BLOCK" |
| 1212 |
|
| 1213 |
#. type: tbl table |
| 1214 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1215 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1216 |
#, no-wrap |
| 1217 |
msgid "LANDLOCK_ACCESS_FS_MAKE_SYM" |
| 1218 |
msgstr "LANDLOCK_ACCESS_FS_MAKE_SYM" |
| 1219 |
|
| 1220 |
#. type: tbl table |
| 1221 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1222 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1223 |
#, no-wrap |
| 1224 |
msgid "2" |
| 1225 |
msgstr "2" |
| 1226 |
|
| 1227 |
#. type: tbl table |
| 1228 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1229 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1230 |
#, no-wrap |
| 1231 |
msgid "5.19" |
| 1232 |
msgstr "5.19" |
| 1233 |
|
| 1234 |
#. type: tbl table |
| 1235 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1236 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1237 |
#, no-wrap |
| 1238 |
msgid "LANDLOCK_ACCESS_FS_REFER" |
| 1239 |
msgstr "LANDLOCK_ACCESS_FS_REFER" |
| 1240 |
|
| 1241 |
#. type: tbl table |
| 1242 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1243 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1244 |
#, no-wrap |
| 1245 |
msgid "3" |
| 1246 |
msgstr "3" |
| 1247 |
|
| 1248 |
#. type: tbl table |
| 1249 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1250 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1251 |
#, no-wrap |
| 1252 |
msgid "6.2" |
| 1253 |
msgstr "6.2" |
| 1254 |
|
| 1255 |
#. type: tbl table |
| 1256 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1257 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1258 |
#, no-wrap |
| 1259 |
msgid "LANDLOCK_ACCESS_FS_TRUNCATE" |
| 1260 |
msgstr "LANDLOCK_ACCESS_FS_TRUNCATE" |
| 1261 |
|
| 1262 |
#. type: tbl table |
| 1263 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 1264 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 1265 |
#, no-wrap |
| 1266 |
msgid "4" |
| 1267 |
msgstr "4" |
| 1268 |
|
| 1269 |
#. type: tbl table |
| 1270 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 1271 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 1272 |
#, no-wrap |
| 1273 |
msgid "6.7" |
| 1274 |
msgstr "6.7" |
| 1275 |
|
| 1276 |
#. type: tbl table |
| 1277 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 1278 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 1279 |
#, no-wrap |
| 1280 |
msgid "LANDLOCK_ACCESS_NET_BIND_TCP" |
| 1281 |
msgstr "LANDLOCK_ACCESS_NET_BIND_TCP" |
| 1282 |
|
| 1283 |
#. type: tbl table |
| 1284 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 1285 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 1286 |
#, no-wrap |
| 1287 |
msgid "LANDLOCK_ACCESS_NET_CONNECT_TCP" |
| 1288 |
msgstr "LANDLOCK_ACCESS_NET_CONNECT_TCP" |
| 1289 |
|
| 1290 |
#. type: tbl table |
| 1291 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 1292 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 1293 |
#, no-wrap |
| 1294 |
msgid "5" |
| 1295 |
msgstr "5" |
| 1296 |
|
| 1297 |
#. type: tbl table |
| 1298 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 1299 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 1300 |
#, no-wrap |
| 1301 |
msgid "6.10" |
| 1302 |
msgstr "6.10" |
| 1303 |
|
| 1304 |
#. type: tbl table |
| 1305 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 1306 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 1307 |
#, no-wrap |
| 1308 |
msgid "LANDLOCK_ACCESS_FS_IOCTL_DEV" |
| 1309 |
msgstr "LANDLOCK_ACCESS_FS_IOCTL_DEV" |
| 1310 |
|
| 1311 |
#. type: tbl table |
| 1312 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 1313 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 1314 |
#, no-wrap |
| 1315 |
msgid "6" |
| 1316 |
msgstr "6" |
| 1317 |
|
| 1318 |
#. type: tbl table |
| 1319 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 1320 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 1321 |
#, no-wrap |
| 1322 |
msgid "6.12" |
| 1323 |
msgstr "6.12" |
| 1324 |
|
| 1325 |
#. type: tbl table |
| 1326 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 1327 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 1328 |
#, no-wrap |
| 1329 |
msgid "LANDLOCK_SCOPE_ABSTRACT_UNIX_SOCKET" |
| 1330 |
msgstr "LANDLOCK_SCOPE_ABSTRACT_UNIX_SOCKET" |
| 1331 |
|
| 1332 |
#. type: tbl table |
| 1333 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 1334 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 1335 |
#, no-wrap |
| 1336 |
msgid "LANDLOCK_SCOPE_SIGNAL" |
| 1337 |
msgstr "LANDLOCK_SCOPE_SIGNAL" |
| 1338 |
|
| 1339 |
#. type: tbl table |
| 1340 |
#: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed |
| 1341 |
#, no-wrap |
| 1342 |
msgid "7" |
| 1343 |
msgstr "7" |
| 1344 |
|
| 1345 |
#. type: tbl table |
| 1346 |
#: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed |
| 1347 |
#, no-wrap |
| 1348 |
msgid "6.15" |
| 1349 |
msgstr "6.15" |
| 1350 |
|
| 1351 |
#. type: tbl table |
| 1352 |
#: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed |
| 1353 |
#, no-wrap |
| 1354 |
msgid "LANDLOCK_RESTRICT_SELF_LOG_SAME_EXEC_OFF" |
| 1355 |
msgstr "LANDLOCK_RESTRICT_SELF_LOG_SAME_EXEC_OFF" |
| 1356 |
|
| 1357 |
#. type: tbl table |
| 1358 |
#: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed |
| 1359 |
#, no-wrap |
| 1360 |
msgid "LANDLOCK_RESTRICT_SELF_LOG_NEW_EXEC_ON" |
| 1361 |
msgstr "LANDLOCK_RESTRICT_SELF_LOG_NEW_EXEC_ON" |
| 1362 |
|
| 1363 |
#. type: tbl table |
| 1364 |
#: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed |
| 1365 |
#, no-wrap |
| 1366 |
msgid "LANDLOCK_RESTRICT_SELF_LOG_SUBDOMAINS_OFF" |
| 1367 |
msgstr "LANDLOCK_RESTRICT_SELF_LOG_SUBDOMAINS_OFF" |
| 1368 |
|
| 1369 |
#. type: tbl table |
| 1370 |
#: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed |
| 1371 |
#, no-wrap |
| 1372 |
msgid "8" |
| 1373 |
msgstr "8" |
| 1374 |
|
| 1375 |
#. type: tbl table |
| 1376 |
#: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed |
| 1377 |
#, no-wrap |
| 1378 |
msgid "7.0" |
| 1379 |
msgstr "7.0" |
| 1380 |
|
| 1381 |
#. type: tbl table |
| 1382 |
#: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed |
| 1383 |
#, no-wrap |
| 1384 |
msgid "LANDLOCK_RESTRICT_SELF_TSYNC" |
| 1385 |
msgstr "LANDLOCK_RESTRICT_SELF_TSYNC" |
| 1386 |
|
| 1387 |
#. type: Plain text |
| 1388 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1389 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1390 |
msgid "" |
| 1391 |
"Users should use the Landlock ABI version rather than the kernel version to " |
| 1392 |
"determine which features are available. The mainline kernel versions listed " |
| 1393 |
"here are only included for orientation. Kernels from other sources may " |
| 1394 |
"contain backported features, and their version numbers may not match." |
| 1395 |
msgstr "" |
| 1396 |
"ينبغي للمستخدمين استخدام إصدار واجهة Landlock الثنائية (ABI) بدلاً من إصدار " |
| 1397 |
"النواة لتحديد الميزات المتاحة. إصدارات النواة الرئيسية المدرجة هنا مذكورة " |
| 1398 |
"للتوجيه فقط. قد تحتوي النوى من مصادر أخرى على ميزات منقولة (backported)، " |
| 1399 |
"وقد لا تتطابق أرقام إصداراتها." |
| 1400 |
|
| 1401 |
#. type: Plain text |
| 1402 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1403 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1404 |
msgid "" |
| 1405 |
"To query the running kernel's Landlock ABI version, programs may pass the " |
| 1406 |
"B<LANDLOCK_CREATE_RULESET_VERSION> flag to B<landlock_create_ruleset>(2)." |
| 1407 |
msgstr "" |
| 1408 |
"لاستعلام إصدار Landlock ABI للنواة قيد التشغيل، يمكن للبرامج تمرير العلامة " |
| 1409 |
"B<LANDLOCK_CREATE_RULESET_VERSION> إلى B<landlock_create_ruleset>(2)." |
| 1410 |
|
| 1411 |
#. type: Plain text |
| 1412 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1413 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1414 |
msgid "" |
| 1415 |
"When building fallback mechanisms for compatibility with older kernels, " |
| 1416 |
"users are advised to consider the special semantics of the " |
| 1417 |
"B<LANDLOCK_ACCESS_FS_REFER> access right: In ABI v1, linking and moving of " |
| 1418 |
"files between different directories is always forbidden, so programs relying " |
| 1419 |
"on such operations are only compatible with Landlock ABI v2 and higher." |
| 1420 |
msgstr "" |
| 1421 |
"عند بناء آليات احتياطية للتوافق مع النوى الأقدم، يُنصح المستخدمون بمراعاة " |
| 1422 |
"الدلالات الخاصة لحق الوصول B<LANDLOCK_ACCESS_FS_REFER>: في ABI v1، يكون ربط " |
| 1423 |
"ونقل الملفات بين أدلة مختلفة محظورًا دائمًا، لذا فإن البرامج التي تعتمد على " |
| 1424 |
"مثل هذه العمليات متوافقة فقط مع Landlock ABI v2 والإصدارات الأحدث." |
| 1425 |
|
| 1426 |
#. type: SH |
| 1427 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1428 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1429 |
#, no-wrap |
| 1430 |
msgid "NOTES" |
| 1431 |
msgstr "ملاحظات" |
| 1432 |
|
| 1433 |
#. type: Plain text |
| 1434 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1435 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1436 |
msgid "" |
| 1437 |
"Landlock is enabled by B<CONFIG_SECURITY_LANDLOCK>. The I<lsm=lsm1,...," |
| 1438 |
"lsmN> command line parameter controls the sequence of the initialization of " |
| 1439 |
"Linux Security Modules. It must contain the string I<landlock> to enable " |
| 1440 |
"Landlock. If the command line parameter is not specified, the " |
| 1441 |
"initialization falls back to the value of the deprecated I<security=> " |
| 1442 |
"command line parameter and further to the value of B<CONFIG_LSM>. We can " |
| 1443 |
"check that Landlock is enabled by looking for I<landlock: Up and running.> " |
| 1444 |
"in kernel logs." |
| 1445 |
msgstr "" |
| 1446 |
"يتم تمكين Landlock بواسطة B<CONFIG_SECURITY_LANDLOCK>. تتحكم معلمة سطر " |
| 1447 |
"الأوامر I<lsm=lsm1,...,lsmN> في تسلسل تهيئة وحدات أمان Linux. يجب أن تحتوي " |
| 1448 |
"على السلسلة I<landlock> لتمكين Landlock. إذا لم تُحدد معلمة سطر الأوامر، " |
| 1449 |
"يتراجع التهيئة إلى قيمة معلمة سطر الأوامر المهملة I<security=> ثم إلى قيمة " |
| 1450 |
"B<CONFIG_LSM>. يمكننا التحقق من تمكين Landlock بالبحث عن I<landlock: Up and " |
| 1451 |
"running.> في سجلات النواة." |
| 1452 |
|
| 1453 |
#. type: SH |
| 1454 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1455 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1456 |
#, no-wrap |
| 1457 |
msgid "CAVEATS" |
| 1458 |
msgstr "تحذيرات" |
| 1459 |
|
| 1460 |
#. type: Plain text |
| 1461 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 1462 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 1463 |
msgid "" |
| 1464 |
"It is currently not possible to restrict some file-related actions " |
| 1465 |
"accessible through these system call families: B<chdir>(2), B<stat>(2), " |
| 1466 |
"B<flock>(2), B<chmod>(2), B<chown>(2), B<setxattr>(2), B<utime>(2), " |
| 1467 |
"B<fcntl>(2), B<access>(2). Future Landlock evolutions will enable to " |
| 1468 |
"restrict them." |
| 1469 |
msgstr "" |
| 1470 |
"من غير الممكن حاليًا تقييد بعض الإجراءات المتعلقة بالملفات والتي يمكن الوصول " |
| 1471 |
"إليها عبر عائلات استدعاءات النظام هذه: B<chdir>(2)، B<stat>(2)، B<flock>(2)، " |
| 1472 |
"B<chmod>(2)، B<chown>(2)، B<setxattr>(2)، B<utime>(2)، B<fcntl>(2)، " |
| 1473 |
"B<access>(2). ستتيح التطورات المستقبلية لـ Landlock تقييدها." |
| 1474 |
|
| 1475 |
#. type: SH |
| 1476 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1477 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1478 |
#, no-wrap |
| 1479 |
msgid "EXAMPLES" |
| 1480 |
msgstr "أمثلة" |
| 1481 |
|
| 1482 |
#. type: Plain text |
| 1483 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1484 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1485 |
msgid "We first need to create the ruleset that will contain our rules." |
| 1486 |
msgstr "نحتاج أولاً إلى إنشاء مجموعة القواعد التي ستحتوي على قواعدنا." |
| 1487 |
|
| 1488 |
#. type: Plain text |
| 1489 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1490 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1491 |
msgid "" |
| 1492 |
"For this example, the ruleset will contain rules that only allow read " |
| 1493 |
"actions, but write actions will be denied. The ruleset then needs to handle " |
| 1494 |
"both of these kinds of actions. See the B<DESCRIPTION> section for the " |
| 1495 |
"description of filesystem actions." |
| 1496 |
msgstr "" |
| 1497 |
"في هذا المثال، سيحتوي مجموعة القواعد على قواعد تسمح فقط بإجراءات القراءة، " |
| 1498 |
"بينما سيتم رفض إجراءات الكتابة. تحتاج مجموعة القواعد بعد ذلك إلى التعامل مع " |
| 1499 |
"كلا النوعين من الإجراءات. انظر قسم B<DESCRIPTION> لوصف إجراءات نظام الملفات." |
| 1500 |
|
| 1501 |
#. type: Plain text |
| 1502 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 1503 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 1504 |
#, no-wrap |
| 1505 |
msgid "" |
| 1506 |
"struct landlock_ruleset_attr attr = {0};\n" |
| 1507 |
"int ruleset_fd;\n" |
| 1508 |
"\\&\n" |
| 1509 |
"attr.handled_access_fs =\n" |
| 1510 |
" LANDLOCK_ACCESS_FS_EXECUTE |\n" |
| 1511 |
" LANDLOCK_ACCESS_FS_WRITE_FILE |\n" |
| 1512 |
" LANDLOCK_ACCESS_FS_READ_FILE |\n" |
| 1513 |
" LANDLOCK_ACCESS_FS_READ_DIR |\n" |
| 1514 |
" LANDLOCK_ACCESS_FS_REMOVE_DIR |\n" |
| 1515 |
" LANDLOCK_ACCESS_FS_REMOVE_FILE |\n" |
| 1516 |
" LANDLOCK_ACCESS_FS_MAKE_CHAR |\n" |
| 1517 |
" LANDLOCK_ACCESS_FS_MAKE_DIR |\n" |
| 1518 |
" LANDLOCK_ACCESS_FS_MAKE_REG |\n" |
| 1519 |
" LANDLOCK_ACCESS_FS_MAKE_SOCK |\n" |
| 1520 |
" LANDLOCK_ACCESS_FS_MAKE_FIFO |\n" |
| 1521 |
" LANDLOCK_ACCESS_FS_MAKE_BLOCK |\n" |
| 1522 |
" LANDLOCK_ACCESS_FS_MAKE_SYM |\n" |
| 1523 |
" LANDLOCK_ACCESS_FS_REFER |\n" |
| 1524 |
" LANDLOCK_ACCESS_FS_TRUNCATE |\n" |
| 1525 |
" LANDLOCK_ACCESS_FS_IOCTL_DEV;\n" |
| 1526 |
msgstr "" |
| 1527 |
"struct landlock_ruleset_attr attr = {0};\n" |
| 1528 |
"int ruleset_fd;\n" |
| 1529 |
"\\&\n" |
| 1530 |
"attr.handled_access_fs =\n" |
| 1531 |
" LANDLOCK_ACCESS_FS_EXECUTE |\n" |
| 1532 |
" LANDLOCK_ACCESS_FS_WRITE_FILE |\n" |
| 1533 |
" LANDLOCK_ACCESS_FS_READ_FILE |\n" |
| 1534 |
" LANDLOCK_ACCESS_FS_READ_DIR |\n" |
| 1535 |
" LANDLOCK_ACCESS_FS_REMOVE_DIR |\n" |
| 1536 |
" LANDLOCK_ACCESS_FS_REMOVE_FILE |\n" |
| 1537 |
" LANDLOCK_ACCESS_FS_MAKE_CHAR |\n" |
| 1538 |
" LANDLOCK_ACCESS_FS_MAKE_DIR |\n" |
| 1539 |
" LANDLOCK_ACCESS_FS_MAKE_REG |\n" |
| 1540 |
" LANDLOCK_ACCESS_FS_MAKE_SOCK |\n" |
| 1541 |
" LANDLOCK_ACCESS_FS_MAKE_FIFO |\n" |
| 1542 |
" LANDLOCK_ACCESS_FS_MAKE_BLOCK |\n" |
| 1543 |
" LANDLOCK_ACCESS_FS_MAKE_SYM |\n" |
| 1544 |
" LANDLOCK_ACCESS_FS_REFER |\n" |
| 1545 |
" LANDLOCK_ACCESS_FS_TRUNCATE |\n" |
| 1546 |
" LANDLOCK_ACCESS_FS_IOCTL_DEV;\n" |
| 1547 |
|
| 1548 |
#. type: Plain text |
| 1549 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1550 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1551 |
msgid "" |
| 1552 |
"To be compatible with older Linux versions, we detect the available Landlock " |
| 1553 |
"ABI version, and only use the available subset of access rights:" |
| 1554 |
msgstr "" |
| 1555 |
"للتّوافق مع إصدارات لينكس الأقدم، نكتشف إصدار ABI لـ Landlock المتاح، ونستخدم " |
| 1556 |
"فقط المجموعة الفرعية المتاحة من حقوق الوصول:" |
| 1557 |
|
| 1558 |
#. type: Plain text |
| 1559 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 1560 |
#: opensuse-tumbleweed |
| 1561 |
#, no-wrap |
| 1562 |
msgid "" |
| 1563 |
"/*\n" |
| 1564 |
" * Table of available file system access rights by ABI version,\n" |
| 1565 |
" * numbers hardcoded to keep the example short.\n" |
| 1566 |
" */\n" |
| 1567 |
"__u64 landlock_fs_access_rights[] = {\n" |
| 1568 |
" (LANDLOCK_ACCESS_FS_MAKE_SYM E<lt>E<lt> 1) - 1, /* v1 */\n" |
| 1569 |
" (LANDLOCK_ACCESS_FS_REFER E<lt>E<lt> 1) - 1, /* v2: add \"refer\" */\n" |
| 1570 |
" (LANDLOCK_ACCESS_FS_TRUNCATE E<lt>E<lt> 1) - 1, /* v3: add \"truncate\" */\n" |
| 1571 |
" (LANDLOCK_ACCESS_FS_TRUNCATE E<lt>E<lt> 1) - 1, /* v4: TCP support */\n" |
| 1572 |
" (LANDLOCK_ACCESS_FS_IOCTL_DEV E<lt>E<lt> 1) - 1, /* v5: add \"ioctl_dev\" */\n" |
| 1573 |
"};\n" |
| 1574 |
"\\&\n" |
| 1575 |
"int abi = landlock_create_ruleset(NULL, 0,\n" |
| 1576 |
" LANDLOCK_CREATE_RULESET_VERSION);\n" |
| 1577 |
"if (abi == -1) {\n" |
| 1578 |
" /*\n" |
| 1579 |
" * Kernel too old, not compiled with Landlock,\n" |
| 1580 |
" * or Landlock was not enabled at boot time.\n" |
| 1581 |
" */\n" |
| 1582 |
" perror(\"Unable to use Landlock\");\n" |
| 1583 |
" return; /* Graceful fallback: Do nothing. */\n" |
| 1584 |
"}\n" |
| 1585 |
"abi = MIN(abi, 3);\n" |
| 1586 |
"\\&\n" |
| 1587 |
"/* Only use the available rights in the ruleset. */\n" |
| 1588 |
"attr.handled_access_fs &= landlock_fs_access_rights[abi - 1];\n" |
| 1589 |
msgstr "" |
| 1590 |
"/*\n" |
| 1591 |
" * Table of available file system access rights by ABI version,\n" |
| 1592 |
" * numbers hardcoded to keep the example short.\n" |
| 1593 |
" */\n" |
| 1594 |
"__u64 landlock_fs_access_rights[] = {\n" |
| 1595 |
" (LANDLOCK_ACCESS_FS_MAKE_SYM E<lt>E<lt> 1) - 1, /* v1 */\n" |
| 1596 |
" (LANDLOCK_ACCESS_FS_REFER E<lt>E<lt> 1) - 1, /* v2: add \"refer\" */\n" |
| 1597 |
" (LANDLOCK_ACCESS_FS_TRUNCATE E<lt>E<lt> 1) - 1, /* v3: add \"truncate\" */\n" |
| 1598 |
" (LANDLOCK_ACCESS_FS_TRUNCATE E<lt>E<lt> 1) - 1, /* v4: TCP support */\n" |
| 1599 |
" (LANDLOCK_ACCESS_FS_IOCTL_DEV E<lt>E<lt> 1) - 1, /* v5: add \"ioctl_dev\" */\n" |
| 1600 |
"};\n" |
| 1601 |
"\\&\n" |
| 1602 |
"int abi = landlock_create_ruleset(NULL, 0,\n" |
| 1603 |
" LANDLOCK_CREATE_RULESET_VERSION);\n" |
| 1604 |
"if (abi == -1) {\n" |
| 1605 |
" /*\n" |
| 1606 |
" * Kernel too old, not compiled with Landlock,\n" |
| 1607 |
" * or Landlock was not enabled at boot time.\n" |
| 1608 |
" */\n" |
| 1609 |
" perror(\"Unable to use Landlock\");\n" |
| 1610 |
" return; /* Graceful fallback: Do nothing. */\n" |
| 1611 |
"}\n" |
| 1612 |
"abi = MIN(abi, 3);\n" |
| 1613 |
"\\&\n" |
| 1614 |
"/* Only use the available rights in the ruleset. */\n" |
| 1615 |
"attr.handled_access_fs &= landlock_fs_access_rights[abi - 1];\n" |
| 1616 |
|
| 1617 |
#. type: Plain text |
| 1618 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1619 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1620 |
msgid "" |
| 1621 |
"The available access rights for each ABI version are listed in the " |
| 1622 |
"B<VERSIONS> section." |
| 1623 |
msgstr "حقوق الوصول المتاحة لكل إصدار ABI مدرجة في قسم B<VERSIONS>." |
| 1624 |
|
| 1625 |
#. type: Plain text |
| 1626 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1627 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1628 |
msgid "" |
| 1629 |
"If our program needed to create hard links or rename files between different " |
| 1630 |
"directories (B<LANDLOCK_ACCESS_FS_REFER>), we would require the following " |
| 1631 |
"change to the backwards compatibility logic: Directory reparenting is not " |
| 1632 |
"possible in a process restricted with Landlock ABI version 1. Therefore, if " |
| 1633 |
"the program needed to do file reparenting, and if only Landlock ABI version " |
| 1634 |
"1 was available, we could not restrict the process." |
| 1635 |
msgstr "" |
| 1636 |
"إذا احتاج برنامجنا إلى إنشاء روابط صلبة أو إعادة تسمية ملفات بين أدلة مختلفة " |
| 1637 |
"(B<LANDLOCK_ACCESS_FS_REFER>)، فسنحتاج إلى التغيير التالي في منطق التوافق " |
| 1638 |
"العكسي: إعادة تعيين الدليل غير ممكنة في عملية مقيدة بإصدار Landlock ABI 1. " |
| 1639 |
"لذلك، إذا احتاج البرنامج إلى إعادة تعيين الملفات، وإذا كان إصدار Landlock " |
| 1640 |
"ABI 1 فقط متاحًا، فلن نتمكن من تقييد العملية." |
| 1641 |
|
| 1642 |
#. type: Plain text |
| 1643 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1644 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1645 |
msgid "" |
| 1646 |
"Now that the ruleset attributes are determined, we create the Landlock " |
| 1647 |
"ruleset and acquire a file descriptor as a handle to it, using " |
| 1648 |
"B<landlock_create_ruleset>(2):" |
| 1649 |
msgstr "" |
| 1650 |
"الآن بعد تحديد سمات مجموعة القواعد، ننشئ مجموعة قواعد Landlock ونحصل على " |
| 1651 |
"واصف ملف كمقبض لها، باستخدام B<landlock_create_ruleset>(2):" |
| 1652 |
|
| 1653 |
#. type: Plain text |
| 1654 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1655 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1656 |
#, no-wrap |
| 1657 |
msgid "" |
| 1658 |
"ruleset_fd = landlock_create_ruleset(&attr, sizeof(attr), 0);\n" |
| 1659 |
"if (ruleset_fd == -1) {\n" |
| 1660 |
" perror(\"Failed to create a ruleset\");\n" |
| 1661 |
" exit(EXIT_FAILURE);\n" |
| 1662 |
"}\n" |
| 1663 |
msgstr "" |
| 1664 |
"ruleset_fd = landlock_create_ruleset(&attr, sizeof(attr), 0);\n" |
| 1665 |
"if (ruleset_fd == -1) {\n" |
| 1666 |
" perror(\"Failed to create a ruleset\");\n" |
| 1667 |
" exit(EXIT_FAILURE);\n" |
| 1668 |
"}\n" |
| 1669 |
|
| 1670 |
#. type: Plain text |
| 1671 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1672 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1673 |
msgid "" |
| 1674 |
"We can now add a new rule to the ruleset through the ruleset's file " |
| 1675 |
"descriptor. The requested access rights must be a subset of the access " |
| 1676 |
"rights which were specified in I<attr.handled_access_fs> at ruleset creation " |
| 1677 |
"time." |
| 1678 |
msgstr "" |
| 1679 |
"يمكننا الآن إضافة قاعدة جديدة إلى مجموعة القواعد من خلال واصف ملف مجموعة " |
| 1680 |
"القواعد. يجب أن تكون حقوق الوصول المطلوبة مجموعة فرعية من حقوق الوصول التي " |
| 1681 |
"تم تحديدها في I<attr.handled_access_fs> عند إنشاء مجموعة القواعد." |
| 1682 |
|
| 1683 |
#. type: Plain text |
| 1684 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1685 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1686 |
msgid "" |
| 1687 |
"In this example, the rule will only allow reading the file hierarchy I</" |
| 1688 |
"usr>. Without another rule, write actions would then be denied by the " |
| 1689 |
"ruleset. To add I</usr> to the ruleset, we open it with the I<O_PATH> flag " |
| 1690 |
"and fill the I<struct landlock_path_beneath_attr> with this file descriptor." |
| 1691 |
msgstr "" |
| 1692 |
"في هذا المثال، ستسمح القاعدة فقط بقراءة التسلسل الهرمي للملفات I</usr>. " |
| 1693 |
"بدون قاعدة أخرى، سيتم رفض إجراءات الكتابة بواسطة مجموعة القواعد. لإضافة I</" |
| 1694 |
"usr> إلى مجموعة القواعد، نفتحه بالعلامة I<O_PATH> ونملأ I<struct " |
| 1695 |
"landlock_path_beneath_attr> بواصف الملف هذا." |
| 1696 |
|
| 1697 |
#. type: Plain text |
| 1698 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1699 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1700 |
#, no-wrap |
| 1701 |
msgid "" |
| 1702 |
"struct landlock_path_beneath_attr path_beneath = {0};\n" |
| 1703 |
"int err;\n" |
| 1704 |
"\\&\n" |
| 1705 |
"path_beneath.allowed_access =\n" |
| 1706 |
" LANDLOCK_ACCESS_FS_EXECUTE |\n" |
| 1707 |
" LANDLOCK_ACCESS_FS_READ_FILE |\n" |
| 1708 |
" LANDLOCK_ACCESS_FS_READ_DIR;\n" |
| 1709 |
"\\&\n" |
| 1710 |
"path_beneath.parent_fd = open(\"/usr\", O_PATH | O_CLOEXEC);\n" |
| 1711 |
"if (path_beneath.parent_fd == -1) {\n" |
| 1712 |
" perror(\"Failed to open file\");\n" |
| 1713 |
" close(ruleset_fd);\n" |
| 1714 |
" exit(EXIT_FAILURE);\n" |
| 1715 |
"}\n" |
| 1716 |
"err = landlock_add_rule(ruleset_fd, LANDLOCK_RULE_PATH_BENEATH,\n" |
| 1717 |
" &path_beneath, 0);\n" |
| 1718 |
"close(path_beneath.parent_fd);\n" |
| 1719 |
"if (err) {\n" |
| 1720 |
" perror(\"Failed to update ruleset\");\n" |
| 1721 |
" close(ruleset_fd);\n" |
| 1722 |
" exit(EXIT_FAILURE);\n" |
| 1723 |
"}\n" |
| 1724 |
msgstr "" |
| 1725 |
"struct landlock_path_beneath_attr path_beneath = {0};\n" |
| 1726 |
"int err;\n" |
| 1727 |
"\\&\n" |
| 1728 |
"path_beneath.allowed_access =\n" |
| 1729 |
" LANDLOCK_ACCESS_FS_EXECUTE |\n" |
| 1730 |
" LANDLOCK_ACCESS_FS_READ_FILE |\n" |
| 1731 |
" LANDLOCK_ACCESS_FS_READ_DIR;\n" |
| 1732 |
"\\&\n" |
| 1733 |
"path_beneath.parent_fd = open(\"/usr\", O_PATH | O_CLOEXEC);\n" |
| 1734 |
"if (path_beneath.parent_fd == -1) {\n" |
| 1735 |
" perror(\"Failed to open file\");\n" |
| 1736 |
" close(ruleset_fd);\n" |
| 1737 |
" exit(EXIT_FAILURE);\n" |
| 1738 |
"}\n" |
| 1739 |
"err = landlock_add_rule(ruleset_fd, LANDLOCK_RULE_PATH_BENEATH,\n" |
| 1740 |
" &path_beneath, 0);\n" |
| 1741 |
"close(path_beneath.parent_fd);\n" |
| 1742 |
"if (err) {\n" |
| 1743 |
" perror(\"Failed to update ruleset\");\n" |
| 1744 |
" close(ruleset_fd);\n" |
| 1745 |
" exit(EXIT_FAILURE);\n" |
| 1746 |
"}\n" |
| 1747 |
|
| 1748 |
#. type: Plain text |
| 1749 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1750 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1751 |
msgid "" |
| 1752 |
"We now have a ruleset with one rule allowing read access to I</usr> while " |
| 1753 |
"denying all other handled accesses for the filesystem. The next step is to " |
| 1754 |
"restrict the current thread from gaining more privileges (e.g., thanks to a " |
| 1755 |
"set-user-ID binary)." |
| 1756 |
msgstr "" |
| 1757 |
"لدينا الآن مجموعة قواعد بقاعدة واحدة تسمح بالوصول للقراءة إلى I</usr> بينما " |
| 1758 |
"ترفض جميع عمليات الوصول الأخرى المعالجة لنظام الملفات. الخطوة التالية هي " |
| 1759 |
"تقييد الخيط الحالي من اكتساب امتيازات إضافية (مثلًا، بفضل ملف ثنائي set-user-" |
| 1760 |
"ID)." |
| 1761 |
|
| 1762 |
#. type: Plain text |
| 1763 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1764 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1765 |
#, no-wrap |
| 1766 |
msgid "" |
| 1767 |
"if (prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0)) {\n" |
| 1768 |
" perror(\"Failed to restrict privileges\");\n" |
| 1769 |
" close(ruleset_fd);\n" |
| 1770 |
" exit(EXIT_FAILURE);\n" |
| 1771 |
"}\n" |
| 1772 |
msgstr "" |
| 1773 |
"if (prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0)) {\n" |
| 1774 |
" perror(\"Failed to restrict privileges\");\n" |
| 1775 |
" close(ruleset_fd);\n" |
| 1776 |
" exit(EXIT_FAILURE);\n" |
| 1777 |
"}\n" |
| 1778 |
|
| 1779 |
#. type: Plain text |
| 1780 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1781 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1782 |
msgid "The current thread is now ready to sandbox itself with the ruleset." |
| 1783 |
msgstr "الخيط الحالي جاهز الآن لعزل نفسه بمجموعة القواعد." |
| 1784 |
|
| 1785 |
#. type: Plain text |
| 1786 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1787 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1788 |
#, no-wrap |
| 1789 |
msgid "" |
| 1790 |
"if (landlock_restrict_self(ruleset_fd, 0)) {\n" |
| 1791 |
" perror(\"Failed to enforce ruleset\");\n" |
| 1792 |
" close(ruleset_fd);\n" |
| 1793 |
" exit(EXIT_FAILURE);\n" |
| 1794 |
"}\n" |
| 1795 |
"close(ruleset_fd);\n" |
| 1796 |
msgstr "" |
| 1797 |
"if (landlock_restrict_self(ruleset_fd, 0)) {\n" |
| 1798 |
" perror(\"Failed to enforce ruleset\");\n" |
| 1799 |
" close(ruleset_fd);\n" |
| 1800 |
" exit(EXIT_FAILURE);\n" |
| 1801 |
"}\n" |
| 1802 |
"close(ruleset_fd);\n" |
| 1803 |
|
| 1804 |
#. type: Plain text |
| 1805 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1806 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1807 |
msgid "" |
| 1808 |
"If the B<landlock_restrict_self>(2) system call succeeds, the current " |
| 1809 |
"thread is now restricted and this policy will be enforced on all its " |
| 1810 |
"subsequently created children as well. Once a thread is landlocked, there " |
| 1811 |
"is no way to remove its security policy; only adding more restrictions is " |
| 1812 |
"allowed. These threads are now in a new Landlock domain, merge of their " |
| 1813 |
"parent one (if any) with the new ruleset." |
| 1814 |
msgstr "" |
| 1815 |
"إذا نجحت استدعاء النظام B<landlock_restrict_self>(2)، فإن الخيط الحالي أصبح " |
| 1816 |
"مقيدًا الآن وسيتم فرض هذه السياسة على جميع أطفاله الذين تم إنشاؤهم لاحقًا " |
| 1817 |
"أيضًا. بمجرد أن يصبح الخيط مقيدًا بـ Landlock، لا توجد طريقة لإزالة سياسة " |
| 1818 |
"الأمان الخاصة به؛ فقط إضافة المزيد من القيود مسموح بها. هذه الخيوط الآن في " |
| 1819 |
"نطاق Landlock جديد، وهو دمج لنطاق والدها (إن وجد) مع مجموعة القواعد الجديدة." |
| 1820 |
|
| 1821 |
#. type: Plain text |
| 1822 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 1823 |
#: opensuse-tumbleweed |
| 1824 |
msgid "" |
| 1825 |
"Full working code can be found in E<.UR https:\\://git.kernel.org/\\:pub/\\:" |
| 1826 |
"scm/\\:linux/\\:kernel/\\:git/\\:stable/\\:linux.git/\\:tree/\\:samples/\\:" |
| 1827 |
"landlock/\\:sandboxer.c> E<.UE>" |
| 1828 |
msgstr "" |
| 1829 |
"يمكن العثور على الكود الكامل العامل في E<.UR https:\\://git.kernel.org/\\:" |
| 1830 |
"pub/\\:scm/\\:linux/\\:kernel/\\:git/\\:stable/\\:linux.git/\\:tree/\\:" |
| 1831 |
"samples/\\:landlock/\\:sandboxer.c> E<.UE>" |
| 1832 |
|
| 1833 |
#. type: SH |
| 1834 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1835 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1836 |
#, no-wrap |
| 1837 |
msgid "SEE ALSO" |
| 1838 |
msgstr "انظر أيضًا" |
| 1839 |
|
| 1840 |
#. type: Plain text |
| 1841 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1842 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1843 |
msgid "" |
| 1844 |
"B<landlock_create_ruleset>(2), B<landlock_add_rule>(2), " |
| 1845 |
"B<landlock_restrict_self>(2)" |
| 1846 |
msgstr "" |
| 1847 |
"B<landlock_create_ruleset>(2), B<landlock_add_rule>(2), " |
| 1848 |
"B<landlock_restrict_self>(2)" |
| 1849 |
|
| 1850 |
#. type: Plain text |
| 1851 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 1852 |
#: opensuse-tumbleweed |
| 1853 |
msgid "E<.UR https:\\://landlock.io/> E<.UE>" |
| 1854 |
msgstr "E<.UR https:\\://landlock.io/> E<.UE>" |
| 1855 |
|
| 1856 |
#. type: TH |
| 1857 |
#: debian-trixie |
| 1858 |
#, no-wrap |
| 1859 |
msgid "2024-05-02" |
| 1860 |
msgstr "2 مايو 2024" |
| 1861 |
|
| 1862 |
#. type: TH |
| 1863 |
#: debian-trixie |
| 1864 |
#, no-wrap |
| 1865 |
msgid "Linux man-pages 6.9.1" |
| 1866 |
msgstr "صفحات دليل لينكس 6.9.1" |
| 1867 |
|
| 1868 |
#. type: Plain text |
| 1869 |
#: debian-trixie |
| 1870 |
msgid "" |
| 1871 |
"A Landlock rule describes an action on an object. An object is currently a " |
| 1872 |
"file hierarchy, and the related filesystem actions are defined with access " |
| 1873 |
"rights (see B<landlock_add_rule>(2)). A set of rules is aggregated in a " |
| 1874 |
"ruleset, which can then restrict the thread enforcing it, and its future " |
| 1875 |
"children." |
| 1876 |
msgstr "" |
| 1877 |
"تصف قاعدة Landlock إجراءً على كائن. الكائن حاليًا هو تسلسل هرمي للملفات، ويتم " |
| 1878 |
"تعريف إجراءات نظام الملفات ذات الصلة بحقوق الوصول (انظر " |
| 1879 |
"B<landlock_add_rule>(2)). يتم تجميع مجموعة من القواعد في مجموعة قواعد، " |
| 1880 |
"والتي يمكنها بعد ذلك تقييد الخيط الذي يفرضها، وأطفاله المستقبليين." |
| 1881 |
|
| 1882 |
#. type: Plain text |
| 1883 |
#: debian-trixie |
| 1884 |
msgid "A file can only receive these access rights:" |
| 1885 |
msgstr "يمكن للملف تلقي حقوق الوصول هذه فقط:" |
| 1886 |
|
| 1887 |
#. type: Plain text |
| 1888 |
#: debian-trixie |
| 1889 |
msgid "" |
| 1890 |
"Truncate a file with B<truncate>(2), B<ftruncate>(2), B<creat>(2), or " |
| 1891 |
"B<open>(2) with B<O_TRUNC>. Whether an opened file can be truncated with " |
| 1892 |
"B<ftruncate>(2) is determined during B<open>(2), in the same way as read " |
| 1893 |
"and write permissions are checked during B<open>(2) using " |
| 1894 |
"B<LANDLOCK_ACCESS_FS_READ_FILE> and B<LANDLOCK_ACCESS_FS_WRITE_FILE>. This " |
| 1895 |
"access right is available since the third version of the Landlock ABI." |
| 1896 |
msgstr "" |
| 1897 |
"اقتطاع ملف باستخدام B<truncate>(2) أو B<ftruncate>(2) أو B<creat>(2) أو " |
| 1898 |
"B<open>(2) مع B<O_TRUNC>. يتم تحديد ما إذا كان يمكن اقتطاع ملف مفتوح " |
| 1899 |
"باستخدام B<ftruncate>(2) أثناء B<open>(2)، بنفس الطريقة التي يتم بها التحقق " |
| 1900 |
"من أذونات القراءة والكتابة أثناء B<open>(2) باستخدام " |
| 1901 |
"B<LANDLOCK_ACCESS_FS_READ_FILE> وB<LANDLOCK_ACCESS_FS_WRITE_FILE>. يتوفر حق " |
| 1902 |
"الوصول هذا منذ الإصدار الثالث من Landlock ABI." |
| 1903 |
|
| 1904 |
#. type: tbl table |
| 1905 |
#: debian-trixie fedora-44 fedora-rawhide mageia-cauldron |
| 1906 |
#, no-wrap |
| 1907 |
msgid "Newly introduced access rights" |
| 1908 |
msgstr "حقوق الوصول المضافة حديثًا" |
| 1909 |
|
| 1910 |
#. type: Plain text |
| 1911 |
#: debian-trixie |
| 1912 |
msgid "" |
| 1913 |
"It is currently not possible to restrict some file-related actions " |
| 1914 |
"accessible through these system call families: B<chdir>(2), B<stat>(2), " |
| 1915 |
"B<flock>(2), B<chmod>(2), B<chown>(2), B<setxattr>(2), B<utime>(2), " |
| 1916 |
"B<ioctl>(2), B<fcntl>(2), B<access>(2). Future Landlock evolutions will " |
| 1917 |
"enable to restrict them." |
| 1918 |
msgstr "" |
| 1919 |
"لا يمكن حاليًا تقييد بعض الإجراءات المتعلقة بالملفات التي يمكن الوصول إليها " |
| 1920 |
"من خلال مجموعات استدعاءات النظام التالية: B<chdir>(2)، B<stat>(2)، " |
| 1921 |
"B<flock>(2)، B<chmod>(2)، B<chown>(2)، B<setxattr>(2)، B<utime>(2)، " |
| 1922 |
"B<ioctl>(2)، B<fcntl>(2)، B<access>(2). ستتيح التطورات المستقبلية لـ " |
| 1923 |
"Landlock تقييدها." |
| 1924 |
|
| 1925 |
#. type: Plain text |
| 1926 |
#: debian-trixie |
| 1927 |
#, no-wrap |
| 1928 |
msgid "" |
| 1929 |
"struct landlock_ruleset_attr attr = {0};\n" |
| 1930 |
"int ruleset_fd;\n" |
| 1931 |
"\\&\n" |
| 1932 |
"attr.handled_access_fs =\n" |
| 1933 |
" LANDLOCK_ACCESS_FS_EXECUTE |\n" |
| 1934 |
" LANDLOCK_ACCESS_FS_WRITE_FILE |\n" |
| 1935 |
" LANDLOCK_ACCESS_FS_READ_FILE |\n" |
| 1936 |
" LANDLOCK_ACCESS_FS_READ_DIR |\n" |
| 1937 |
" LANDLOCK_ACCESS_FS_REMOVE_DIR |\n" |
| 1938 |
" LANDLOCK_ACCESS_FS_REMOVE_FILE |\n" |
| 1939 |
" LANDLOCK_ACCESS_FS_MAKE_CHAR |\n" |
| 1940 |
" LANDLOCK_ACCESS_FS_MAKE_DIR |\n" |
| 1941 |
" LANDLOCK_ACCESS_FS_MAKE_REG |\n" |
| 1942 |
" LANDLOCK_ACCESS_FS_MAKE_SOCK |\n" |
| 1943 |
" LANDLOCK_ACCESS_FS_MAKE_FIFO |\n" |
| 1944 |
" LANDLOCK_ACCESS_FS_MAKE_BLOCK |\n" |
| 1945 |
" LANDLOCK_ACCESS_FS_MAKE_SYM |\n" |
| 1946 |
" LANDLOCK_ACCESS_FS_REFER |\n" |
| 1947 |
" LANDLOCK_ACCESS_FS_TRUNCATE;\n" |
| 1948 |
msgstr "" |
| 1949 |
"struct landlock_ruleset_attr attr = {0};\n" |
| 1950 |
"int ruleset_fd;\n" |
| 1951 |
"\\&\n" |
| 1952 |
"attr.handled_access_fs =\n" |
| 1953 |
" LANDLOCK_ACCESS_FS_EXECUTE |\n" |
| 1954 |
" LANDLOCK_ACCESS_FS_WRITE_FILE |\n" |
| 1955 |
" LANDLOCK_ACCESS_FS_READ_FILE |\n" |
| 1956 |
" LANDLOCK_ACCESS_FS_READ_DIR |\n" |
| 1957 |
" LANDLOCK_ACCESS_FS_REMOVE_DIR |\n" |
| 1958 |
" LANDLOCK_ACCESS_FS_REMOVE_FILE |\n" |
| 1959 |
" LANDLOCK_ACCESS_FS_MAKE_CHAR |\n" |
| 1960 |
" LANDLOCK_ACCESS_FS_MAKE_DIR |\n" |
| 1961 |
" LANDLOCK_ACCESS_FS_MAKE_REG |\n" |
| 1962 |
" LANDLOCK_ACCESS_FS_MAKE_SOCK |\n" |
| 1963 |
" LANDLOCK_ACCESS_FS_MAKE_FIFO |\n" |
| 1964 |
" LANDLOCK_ACCESS_FS_MAKE_BLOCK |\n" |
| 1965 |
" LANDLOCK_ACCESS_FS_MAKE_SYM |\n" |
| 1966 |
" LANDLOCK_ACCESS_FS_REFER |\n" |
| 1967 |
" LANDLOCK_ACCESS_FS_TRUNCATE;\n" |
| 1968 |
|
| 1969 |
#. type: Plain text |
| 1970 |
#: debian-trixie |
| 1971 |
#, no-wrap |
| 1972 |
msgid "" |
| 1973 |
"/*\n" |
| 1974 |
" * Table of available file system access rights by ABI version,\n" |
| 1975 |
" * numbers hardcoded to keep the example short.\n" |
| 1976 |
" */\n" |
| 1977 |
"__u64 landlock_fs_access_rights[] = {\n" |
| 1978 |
" (LANDLOCK_ACCESS_FS_MAKE_SYM E<lt>E<lt> 1) - 1, /* v1 */\n" |
| 1979 |
" (LANDLOCK_ACCESS_FS_REFER E<lt>E<lt> 1) - 1, /* v2: add \"refer\" */\n" |
| 1980 |
" (LANDLOCK_ACCESS_FS_TRUNCATE E<lt>E<lt> 1) - 1, /* v3: add \"truncate\" */\n" |
| 1981 |
"};\n" |
| 1982 |
"\\&\n" |
| 1983 |
"int abi = landlock_create_ruleset(NULL, 0,\n" |
| 1984 |
" LANDLOCK_CREATE_RULESET_VERSION);\n" |
| 1985 |
"if (abi == -1) {\n" |
| 1986 |
" /*\n" |
| 1987 |
" * Kernel too old, not compiled with Landlock,\n" |
| 1988 |
" * or Landlock was not enabled at boot time.\n" |
| 1989 |
" */\n" |
| 1990 |
" perror(\"Unable to use Landlock\");\n" |
| 1991 |
" return; /* Graceful fallback: Do nothing. */\n" |
| 1992 |
"}\n" |
| 1993 |
"abi = MIN(abi, 3);\n" |
| 1994 |
"\\&\n" |
| 1995 |
"/* Only use the available rights in the ruleset. */\n" |
| 1996 |
"attr.handled_access_fs &= landlock_fs_access_rights[abi - 1];\n" |
| 1997 |
msgstr "" |
| 1998 |
"/*\n" |
| 1999 |
" * Table of available file system access rights by ABI version,\n" |
| 2000 |
" * numbers hardcoded to keep the example short.\n" |
| 2001 |
" */\n" |
| 2002 |
"__u64 landlock_fs_access_rights[] = {\n" |
| 2003 |
" (LANDLOCK_ACCESS_FS_MAKE_SYM E<lt>E<lt> 1) - 1, /* v1 */\n" |
| 2004 |
" (LANDLOCK_ACCESS_FS_REFER E<lt>E<lt> 1) - 1, /* v2: add \"refer\" */\n" |
| 2005 |
" (LANDLOCK_ACCESS_FS_TRUNCATE E<lt>E<lt> 1) - 1, /* v3: add \"truncate\" */\n" |
| 2006 |
"};\n" |
| 2007 |
"\\&\n" |
| 2008 |
"int abi = landlock_create_ruleset(NULL, 0,\n" |
| 2009 |
" LANDLOCK_CREATE_RULESET_VERSION);\n" |
| 2010 |
"if (abi == -1) {\n" |
| 2011 |
" /*\n" |
| 2012 |
" * Kernel too old, not compiled with Landlock,\n" |
| 2013 |
" * or Landlock was not enabled at boot time.\n" |
| 2014 |
" */\n" |
| 2015 |
" perror(\"Unable to use Landlock\");\n" |
| 2016 |
" return; /* Graceful fallback: Do nothing. */\n" |
| 2017 |
"}\n" |
| 2018 |
"abi = MIN(abi, 3);\n" |
| 2019 |
"\\&\n" |
| 2020 |
"/* Only use the available rights in the ruleset. */\n" |
| 2021 |
"attr.handled_access_fs &= landlock_fs_access_rights[abi - 1];\n" |
| 2022 |
|
| 2023 |
#. type: Plain text |
| 2024 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2025 |
msgid "" |
| 2026 |
"Full working code can be found in E<.UR https://git.kernel.org/\\:pub/\\:scm/" |
| 2027 |
"\\:linux/\\:kernel/\\:git/\\:stable/\\:linux.git/\\:tree/\\:samples/\\:" |
| 2028 |
"landlock/\\:sandboxer.c> E<.UE>" |
| 2029 |
msgstr "" |
| 2030 |
"يمكن العثور على الكود الكامل العامل في E<.UR https://git.kernel.org/\\:pub/" |
| 2031 |
"\\:scm/\\:linux/\\:kernel/\\:git/\\:stable/\\:linux.git/\\:tree/\\:samples/" |
| 2032 |
"\\:landlock/\\:sandboxer.c> E<.UE>" |
| 2033 |
|
| 2034 |
#. type: Plain text |
| 2035 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2036 |
msgid "E<.UR https://landlock.io/> E<.UE>" |
| 2037 |
msgstr "E<.UR https://landlock.io/> E<.UE>" |
| 2038 |
|
| 2039 |
#. type: TH |
| 2040 |
#: fedora-44 fedora-rawhide |
| 2041 |
#, no-wrap |
| 2042 |
msgid "2025-03-06" |
| 2043 |
msgstr "6 مارس 2025" |
| 2044 |
|
| 2045 |
#. type: TH |
| 2046 |
#: fedora-44 fedora-rawhide |
| 2047 |
#, no-wrap |
| 2048 |
msgid "Linux man-pages 6.13" |
| 2049 |
msgstr "صفحات دليل لينكس 6.13" |
| 2050 |
|
| 2051 |
#. type: Plain text |
| 2052 |
#: fedora-44 fedora-rawhide |
| 2053 |
msgid "The following access right applies to both files and directories:" |
| 2054 |
msgstr "حق الوصول التالي ينطبق على كل من الملفات والأدلة:" |
| 2055 |
|
| 2056 |
#. type: Plain text |
| 2057 |
#: fedora-44 fedora-rawhide |
| 2058 |
#, no-wrap |
| 2059 |
msgid "" |
| 2060 |
"/*\n" |
| 2061 |
" * Table of available file system access rights by ABI version,\n" |
| 2062 |
" * numbers hardcoded to keep the example short.\n" |
| 2063 |
" */\n" |
| 2064 |
"__u64 landlock_fs_access_rights[] = {\n" |
| 2065 |
" (LANDLOCK_ACCESS_FS_MAKE_SYM E<lt>E<lt> 1) - 1, /* v1 */\n" |
| 2066 |
" (LANDLOCK_ACCESS_FS_REFER E<lt>E<lt> 1) - 1, /* v2: add \"refer\" */\n" |
| 2067 |
" (LANDLOCK_ACCESS_FS_TRUNCATE E<lt>E<lt> 1) - 1, /* v3: add \"truncate\" */\n" |
| 2068 |
" (LANDLOCK_ACCESS_FS_TRUNCATE E<lt>E<lt> 1) - 1, /* v4: TCP support */\n" |
| 2069 |
" (LANDLOCK_ACCESS_FS_IOCTL_DEV E<lt>E<lt> 1) - 1, /* v5: add \"ioctl_dev\" */\n" |
| 2070 |
"};\n" |
| 2071 |
"\\&\n" |
| 2072 |
"int abi = landlock_create_ruleset(NULL, 0,\n" |
| 2073 |
" LANDLOCK_CREATE_RULESET_VERSION);\n" |
| 2074 |
"if (abi == -1) {\n" |
| 2075 |
" /*\n" |
| 2076 |
" * Kernel too old, not compiled with Landlock,\n" |
| 2077 |
" * or Landlock was not enabled at boot time.\n" |
| 2078 |
" */\n" |
| 2079 |
" perror(\"Unable to use Landlock\");\n" |
| 2080 |
" return; /* Graceful fallback: Do nothing. */\n" |
| 2081 |
"}\n" |
| 2082 |
"abi = MIN(abi, 3);\n" |
| 2083 |
"\\&\n" |
| 2084 |
"/* Only use the available rights in the ruleset. */\n" |
| 2085 |
"attr.handled_access_fs &= landlock_fs_access_rights[abi - 1];\n" |
| 2086 |
msgstr "" |
| 2087 |
"/*\n" |
| 2088 |
" * Table of available file system access rights by ABI version,\n" |
| 2089 |
" * numbers hardcoded to keep the example short.\n" |
| 2090 |
" */\n" |
| 2091 |
"__u64 landlock_fs_access_rights[] = {\n" |
| 2092 |
" (LANDLOCK_ACCESS_FS_MAKE_SYM E<lt>E<lt> 1) - 1, /* v1 */\n" |
| 2093 |
" (LANDLOCK_ACCESS_FS_REFER E<lt>E<lt> 1) - 1, /* v2: add \"refer\" */\n" |
| 2094 |
" (LANDLOCK_ACCESS_FS_TRUNCATE E<lt>E<lt> 1) - 1, /* v3: add \"truncate\" */\n" |
| 2095 |
" (LANDLOCK_ACCESS_FS_TRUNCATE E<lt>E<lt> 1) - 1, /* v4: TCP support */\n" |
| 2096 |
" (LANDLOCK_ACCESS_FS_IOCTL_DEV E<lt>E<lt> 1) - 1, /* v5: add \"ioctl_dev\" */\n" |
| 2097 |
"};\n" |
| 2098 |
"\\&\n" |
| 2099 |
"int abi = landlock_create_ruleset(NULL, 0,\n" |
| 2100 |
" LANDLOCK_CREATE_RULESET_VERSION);\n" |
| 2101 |
"if (abi == -1) {\n" |
| 2102 |
" /*\n" |
| 2103 |
" * Kernel too old, not compiled with Landlock,\n" |
| 2104 |
" * or Landlock was not enabled at boot time.\n" |
| 2105 |
" */\n" |
| 2106 |
" perror(\"Unable to use Landlock\");\n" |
| 2107 |
" return; /* Graceful fallback: Do nothing. */\n" |
| 2108 |
"}\n" |
| 2109 |
"abi = MIN(abi, 3);\n" |
| 2110 |
"\\&\n" |
| 2111 |
"/* Only use the available rights in the ruleset. */\n" |
| 2112 |
"attr.handled_access_fs &= landlock_fs_access_rights[abi - 1];\n" |
| 2113 |
|
| 2114 |
#. type: TH |
| 2115 |
#: mageia-cauldron |
| 2116 |
#, no-wrap |
| 2117 |
msgid "2026-02-08" |
| 2118 |
msgstr "8 فبراير 2026" |
| 2119 |
|
| 2120 |
#. type: TH |
| 2121 |
#: mageia-cauldron |
| 2122 |
#, no-wrap |
| 2123 |
msgid "Linux man-pages 6.17" |
| 2124 |
msgstr "صفحات دليل لينكس 6.17" |
| 2125 |
|
| 2126 |
#. type: TH |
| 2127 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 2128 |
#, no-wrap |
| 2129 |
msgid "Linux man-pages (unreleased)" |
| 2130 |
msgstr "صفحات دليل لينكس (لم تصدر بعد)" |