| 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 |
|
| 6 |
msgid "" |
| 7 |
msgstr "" |
| 8 |
"Project-Id-Version: manpages-l10n\n" |
| 9 |
"POT-Creation-Date: 2026-06-05 06:24+0200\n" |
| 10 |
"PO-Revision-Date: 2026-06-05 21:34+0400\n" |
| 11 |
"Last-Translator: Zayed Al-Saidi <[email protected]>\n" |
| 12 |
"Language-Team: Arabic <[email protected]>\n" |
| 13 |
"Language: ar\n" |
| 14 |
"MIME-Version: 1.0\n" |
| 15 |
"Content-Type: text/plain; charset=UTF-8\n" |
| 16 |
"Content-Transfer-Encoding: 8bit\n" |
| 17 |
".MIME-Version: 1.0\n" |
| 18 |
"Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 &&" |
| 19 |
" n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n" |
| 20 |
"X-Generator: Lokalize 23.08.5\n" |
| 21 |
|
| 22 |
#. type: TH |
| 23 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 24 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 25 |
#, no-wrap |
| 26 |
msgid "fcntl" |
| 27 |
msgstr "fcntl" |
| 28 |
|
| 29 |
#. type: TH |
| 30 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 31 |
#: opensuse-tumbleweed |
| 32 |
#, no-wrap |
| 33 |
msgid "2026-02-08" |
| 34 |
msgstr "8 فبراير 2026" |
| 35 |
|
| 36 |
#. type: TH |
| 37 |
#: archlinux debian-unstable |
| 38 |
#, no-wrap |
| 39 |
msgid "Linux man-pages 6.18" |
| 40 |
msgstr "صفحات دليل لينكس 6.18" |
| 41 |
|
| 42 |
#. type: SH |
| 43 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 44 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 45 |
#, no-wrap |
| 46 |
msgid "NAME" |
| 47 |
msgstr "الاسم" |
| 48 |
|
| 49 |
#. type: Plain text |
| 50 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 51 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 52 |
msgid "fcntl - manipulate file descriptor" |
| 53 |
msgstr "fcntl - التلاعب بواصف الملف" |
| 54 |
|
| 55 |
#. type: SH |
| 56 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 57 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 58 |
#, no-wrap |
| 59 |
msgid "LIBRARY" |
| 60 |
msgstr "المكتبة" |
| 61 |
|
| 62 |
#. type: Plain text |
| 63 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 64 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 65 |
msgid "Standard C library (I<libc>,\\ I<-lc>)" |
| 66 |
msgstr "مكتبة سي المعيارية (I<libc>،\\ I<-lc>)" |
| 67 |
|
| 68 |
#. type: SH |
| 69 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 70 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 71 |
#, no-wrap |
| 72 |
msgid "SYNOPSIS" |
| 73 |
msgstr "موجز" |
| 74 |
|
| 75 |
#. type: Plain text |
| 76 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 77 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 78 |
#, no-wrap |
| 79 |
msgid "B<#include E<lt>fcntl.hE<gt>>\n" |
| 80 |
msgstr "B<#include E<lt>fcntl.hE<gt>>\n" |
| 81 |
|
| 82 |
#. type: Plain text |
| 83 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 84 |
#: opensuse-tumbleweed |
| 85 |
#, no-wrap |
| 86 |
msgid "B<int fcntl(int >I<fd>B<, int >I<op>B<, ...);>\n" |
| 87 |
msgstr "B<int fcntl(int >I<fd>B<, int >I<op>B<, ...);>\n" |
| 88 |
|
| 89 |
#. type: SH |
| 90 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 91 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 92 |
#, no-wrap |
| 93 |
msgid "DESCRIPTION" |
| 94 |
msgstr "الوصف" |
| 95 |
|
| 96 |
#. type: Plain text |
| 97 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 98 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 99 |
msgid "" |
| 100 |
"B<fcntl>() performs one of the operations described below on the open file " |
| 101 |
"descriptor I<fd>. The operation is determined by I<op>." |
| 102 |
msgstr "" |
| 103 |
"تجري B<fcntl>() إحدى العمليات الموصوفة أدناه على واصف الملف المفتوح I<fd>. " |
| 104 |
"تُحدد العملية بواسطة I<op>." |
| 105 |
|
| 106 |
#. type: Plain text |
| 107 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 108 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 109 |
msgid "" |
| 110 |
"Certain of the operations below are supported only since a particular Linux " |
| 111 |
"kernel version. The preferred method of checking whether the host kernel " |
| 112 |
"supports a particular operation is to invoke B<fcntl>() with the desired " |
| 113 |
"I<op> value and then test whether the call failed with B<EINVAL>, indicating " |
| 114 |
"that the kernel does not recognize this value." |
| 115 |
msgstr "" |
| 116 |
"تُدعم بعض العمليات أدناه فقط بدءًا من إصدار معين من نواة لينكس. الطريقة " |
| 117 |
"المفضلة للتحقق مما إذا كانت نواة المضيف تدعم عملية معينة هي استدعاء " |
| 118 |
"B<fcntl>() مع قيمة I<op> المطلوبة، ثم اختبار ما إذا كان الاستدعاء قد فشل مع " |
| 119 |
"الخطأ B<EINVAL>، مما يشير إلى أن النواة لا تتعرف على هذه القيمة." |
| 120 |
|
| 121 |
#. type: SS |
| 122 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 123 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 124 |
#, no-wrap |
| 125 |
msgid "Duplicating a file descriptor" |
| 126 |
msgstr "مضاعفة واصف ملف" |
| 127 |
|
| 128 |
#. type: TP |
| 129 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 130 |
#: opensuse-tumbleweed |
| 131 |
#, no-wrap |
| 132 |
msgid "B<F_DUPFD>(2const)" |
| 133 |
msgstr "B<F_DUPFD>(2const)" |
| 134 |
|
| 135 |
#. type: TQ |
| 136 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 137 |
#: opensuse-tumbleweed |
| 138 |
#, no-wrap |
| 139 |
msgid "B<F_DUPFD_CLOEXEC>(2const)" |
| 140 |
msgstr "B<F_DUPFD_CLOEXEC>(2const)" |
| 141 |
|
| 142 |
#. type: SS |
| 143 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 144 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 145 |
#, no-wrap |
| 146 |
msgid "File descriptor flags" |
| 147 |
msgstr "لصائق واصف الملف" |
| 148 |
|
| 149 |
#. type: TP |
| 150 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 151 |
#: opensuse-tumbleweed |
| 152 |
#, no-wrap |
| 153 |
msgid "B<F_GETFD>(2const)" |
| 154 |
msgstr "B<F_GETFD>(2const)" |
| 155 |
|
| 156 |
#. type: TQ |
| 157 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 158 |
#: opensuse-tumbleweed |
| 159 |
#, no-wrap |
| 160 |
msgid "B<F_SETFD>(2const)" |
| 161 |
msgstr "B<F_SETFD>(2const)" |
| 162 |
|
| 163 |
#. type: SS |
| 164 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 165 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 166 |
#, no-wrap |
| 167 |
msgid "File status flags" |
| 168 |
msgstr "لصائق حالة الملف" |
| 169 |
|
| 170 |
#. type: TP |
| 171 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 172 |
#: opensuse-tumbleweed |
| 173 |
#, no-wrap |
| 174 |
msgid "B<F_GETFL>(2const)" |
| 175 |
msgstr "B<F_GETFL>(2const)" |
| 176 |
|
| 177 |
#. type: TQ |
| 178 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 179 |
#: opensuse-tumbleweed |
| 180 |
#, no-wrap |
| 181 |
msgid "B<F_SETFL>(2const)" |
| 182 |
msgstr "B<F_SETFL>(2const)" |
| 183 |
|
| 184 |
#. type: SS |
| 185 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 186 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 187 |
#, no-wrap |
| 188 |
msgid "Advisory record locking" |
| 189 |
msgstr "قفل السجلات الاستشاري" |
| 190 |
|
| 191 |
#. type: TP |
| 192 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 193 |
#: opensuse-tumbleweed |
| 194 |
#, no-wrap |
| 195 |
msgid "B<F_SETLK>(2const)" |
| 196 |
msgstr "B<F_SETLK>(2const)" |
| 197 |
|
| 198 |
#. type: TQ |
| 199 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 200 |
#: opensuse-tumbleweed |
| 201 |
#, no-wrap |
| 202 |
msgid "B<F_SETLKW>(2const)" |
| 203 |
msgstr "B<F_SETLKW>(2const)" |
| 204 |
|
| 205 |
#. type: TQ |
| 206 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 207 |
#: opensuse-tumbleweed |
| 208 |
#, no-wrap |
| 209 |
msgid "B<F_GETLK>(2const)" |
| 210 |
msgstr "B<F_GETLK>(2const)" |
| 211 |
|
| 212 |
#. type: SS |
| 213 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 214 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 215 |
#, no-wrap |
| 216 |
msgid "Open file description locks (non-POSIX)" |
| 217 |
msgstr "أقفال وصف الملف المفتوح (ليست ضمن POSIX)" |
| 218 |
|
| 219 |
#. type: TP |
| 220 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 221 |
#: opensuse-tumbleweed |
| 222 |
#, no-wrap |
| 223 |
msgid "B<F_OFD_SETLK>(2const)" |
| 224 |
msgstr "B<F_OFD_SETLK>(2const)" |
| 225 |
|
| 226 |
#. type: TQ |
| 227 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 228 |
#: opensuse-tumbleweed |
| 229 |
#, no-wrap |
| 230 |
msgid "B<F_OFD_SETLKW>(2const)" |
| 231 |
msgstr "B<F_OFD_SETLKW>(2const)" |
| 232 |
|
| 233 |
#. type: TQ |
| 234 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 235 |
#: opensuse-tumbleweed |
| 236 |
#, no-wrap |
| 237 |
msgid "B<F_OFD_GETLK>(2const)" |
| 238 |
msgstr "B<F_OFD_GETLK>(2const)" |
| 239 |
|
| 240 |
#. type: SS |
| 241 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 242 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 243 |
#, no-wrap |
| 244 |
msgid "Managing signals" |
| 245 |
msgstr "إدارة الإشارات" |
| 246 |
|
| 247 |
#. type: TP |
| 248 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 249 |
#: opensuse-tumbleweed |
| 250 |
#, no-wrap |
| 251 |
msgid "B<F_GETOWN>(2const)" |
| 252 |
msgstr "B<F_GETOWN>(2const)" |
| 253 |
|
| 254 |
#. type: TQ |
| 255 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 256 |
#: opensuse-tumbleweed |
| 257 |
#, no-wrap |
| 258 |
msgid "B<F_SETOWN>(2const)" |
| 259 |
msgstr "B<F_SETOWN>(2const)" |
| 260 |
|
| 261 |
#. type: TQ |
| 262 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 263 |
#: opensuse-tumbleweed |
| 264 |
#, no-wrap |
| 265 |
msgid "B<F_GETOWN_EX>(2const)" |
| 266 |
msgstr "B<F_GETOWN_EX>(2const)" |
| 267 |
|
| 268 |
#. type: TQ |
| 269 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 270 |
#: opensuse-tumbleweed |
| 271 |
#, no-wrap |
| 272 |
msgid "B<F_SETOWN_EX>(2const)" |
| 273 |
msgstr "B<F_SETOWN_EX>(2const)" |
| 274 |
|
| 275 |
#. type: TQ |
| 276 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 277 |
#: opensuse-tumbleweed |
| 278 |
#, no-wrap |
| 279 |
msgid "B<F_GETSIG>(2const)" |
| 280 |
msgstr "B<F_GETSIG>(2const)" |
| 281 |
|
| 282 |
#. type: TQ |
| 283 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 284 |
#: opensuse-tumbleweed |
| 285 |
#, no-wrap |
| 286 |
msgid "B<F_SETSIG>(2const)" |
| 287 |
msgstr "B<F_SETSIG>(2const)" |
| 288 |
|
| 289 |
#. type: SS |
| 290 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 291 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 292 |
#, no-wrap |
| 293 |
msgid "Leases" |
| 294 |
msgstr "الإيجارات" |
| 295 |
|
| 296 |
#. type: TP |
| 297 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 298 |
#: opensuse-tumbleweed |
| 299 |
#, no-wrap |
| 300 |
msgid "B<F_SETLEASE>(2const)" |
| 301 |
msgstr "B<F_SETLEASE>(2const)" |
| 302 |
|
| 303 |
#. type: TQ |
| 304 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 305 |
#: opensuse-tumbleweed |
| 306 |
#, no-wrap |
| 307 |
msgid "B<F_GETLEASE>(2const)" |
| 308 |
msgstr "B<F_GETLEASE>(2const)" |
| 309 |
|
| 310 |
#. type: SS |
| 311 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 312 |
#: opensuse-tumbleweed |
| 313 |
#, no-wrap |
| 314 |
msgid "Delegations" |
| 315 |
msgstr "التفويضات" |
| 316 |
|
| 317 |
#. type: TP |
| 318 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 319 |
#: opensuse-tumbleweed |
| 320 |
#, no-wrap |
| 321 |
msgid "B<F_SETDELEG>(2const)" |
| 322 |
msgstr "B<F_SETDELEG>(2const)" |
| 323 |
|
| 324 |
#. type: TQ |
| 325 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 326 |
#: opensuse-tumbleweed |
| 327 |
#, no-wrap |
| 328 |
msgid "B<F_GETDELEG>(2const)" |
| 329 |
msgstr "B<F_GETDELEG>(2const)" |
| 330 |
|
| 331 |
#. type: SS |
| 332 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 333 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 334 |
#, no-wrap |
| 335 |
msgid "File and directory change notification (dnotify)" |
| 336 |
msgstr "إشعار تغيير الملفات والدلائل (dnotify)" |
| 337 |
|
| 338 |
#. type: TP |
| 339 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 340 |
#: opensuse-tumbleweed |
| 341 |
#, no-wrap |
| 342 |
msgid "B<F_NOTIFY>(2const)" |
| 343 |
msgstr "B<F_NOTIFY>(2const)" |
| 344 |
|
| 345 |
#. type: SS |
| 346 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 347 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 348 |
#, no-wrap |
| 349 |
msgid "Changing the capacity of a pipe" |
| 350 |
msgstr "تغيير سعة الأنبوب" |
| 351 |
|
| 352 |
#. type: TP |
| 353 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 354 |
#: opensuse-tumbleweed |
| 355 |
#, no-wrap |
| 356 |
msgid "B<F_SETPIPE_SZ>(2const)" |
| 357 |
msgstr "B<F_SETPIPE_SZ>(2const)" |
| 358 |
|
| 359 |
#. type: TQ |
| 360 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 361 |
#: opensuse-tumbleweed |
| 362 |
#, no-wrap |
| 363 |
msgid "B<F_GETPIPE_SZ>(2const)" |
| 364 |
msgstr "B<F_GETPIPE_SZ>(2const)" |
| 365 |
|
| 366 |
#. type: SS |
| 367 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 368 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 369 |
#, no-wrap |
| 370 |
msgid "File Sealing" |
| 371 |
msgstr "ختم الملفات" |
| 372 |
|
| 373 |
#. type: TP |
| 374 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 375 |
#: opensuse-tumbleweed |
| 376 |
#, no-wrap |
| 377 |
msgid "B<F_ADD_SEALS>(2const)" |
| 378 |
msgstr "B<F_ADD_SEALS>(2const)" |
| 379 |
|
| 380 |
#. type: TQ |
| 381 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 382 |
#: opensuse-tumbleweed |
| 383 |
#, no-wrap |
| 384 |
msgid "B<F_GET_SEALS>(2const)" |
| 385 |
msgstr "B<F_GET_SEALS>(2const)" |
| 386 |
|
| 387 |
#. type: SS |
| 388 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 389 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 390 |
#, no-wrap |
| 391 |
msgid "File read/write hints" |
| 392 |
msgstr "تلميحات قراءة/كتابة الملف" |
| 393 |
|
| 394 |
#. type: TP |
| 395 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 396 |
#: opensuse-tumbleweed |
| 397 |
#, no-wrap |
| 398 |
msgid "B<F_GET_RW_HINT>(2const)" |
| 399 |
msgstr "B<F_GET_RW_HINT>(2const)" |
| 400 |
|
| 401 |
#. type: TQ |
| 402 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 403 |
#: opensuse-tumbleweed |
| 404 |
#, no-wrap |
| 405 |
msgid "B<F_SET_RW_HINT>(2const)" |
| 406 |
msgstr "B<F_SET_RW_HINT>(2const)" |
| 407 |
|
| 408 |
#. type: TQ |
| 409 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 410 |
#: opensuse-tumbleweed |
| 411 |
#, no-wrap |
| 412 |
msgid "B<F_GET_FILE_RW_HINT>(2const)" |
| 413 |
msgstr "B<F_GET_FILE_RW_HINT>(2const)" |
| 414 |
|
| 415 |
#. type: TQ |
| 416 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 417 |
#: opensuse-tumbleweed |
| 418 |
#, no-wrap |
| 419 |
msgid "B<F_SET_FILE_RW_HINT>(2const)" |
| 420 |
msgstr "B<F_SET_FILE_RW_HINT>(2const)" |
| 421 |
|
| 422 |
#. type: SH |
| 423 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 424 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 425 |
#, no-wrap |
| 426 |
msgid "RETURN VALUE" |
| 427 |
msgstr "قيمة الإرجاع" |
| 428 |
|
| 429 |
#. type: Plain text |
| 430 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 431 |
#: opensuse-tumbleweed |
| 432 |
msgid "For a successful call, the return value depends on the operation." |
| 433 |
msgstr "للاستدعاء الناجح، تعتمد قيمة الإرجاع على العملية." |
| 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 "On error, -1 is returned, and I<errno> is set to indicate the error." |
| 439 |
msgstr "عند الخطأ، تُعاد القيمة -1، ويُضبط I<errno> للإشارة إلى الخطأ." |
| 440 |
|
| 441 |
#. type: SH |
| 442 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 443 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 444 |
#, no-wrap |
| 445 |
msgid "ERRORS" |
| 446 |
msgstr "الأخطاء" |
| 447 |
|
| 448 |
#. type: TP |
| 449 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 450 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 451 |
#, no-wrap |
| 452 |
msgid "B<EACCES> or B<EAGAIN>" |
| 453 |
msgstr "B<EACCES> أو B<EAGAIN>" |
| 454 |
|
| 455 |
#. type: Plain text |
| 456 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 457 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 458 |
msgid "Operation is prohibited by locks held by other processes." |
| 459 |
msgstr "العملية محظورة بسبب أقفال تحتفظ بها عمليات أخرى." |
| 460 |
|
| 461 |
#. type: TP |
| 462 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 463 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 464 |
#, no-wrap |
| 465 |
msgid "B<EAGAIN>" |
| 466 |
msgstr "B<EAGAIN>" |
| 467 |
|
| 468 |
#. type: Plain text |
| 469 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 470 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 471 |
msgid "" |
| 472 |
"The operation is prohibited because the file has been memory-mapped by " |
| 473 |
"another process." |
| 474 |
msgstr "العملية محظورة لأن الملف قد خُطط في الذاكرة بواسطة عملية أخرى." |
| 475 |
|
| 476 |
#. type: TP |
| 477 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 478 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 479 |
#, no-wrap |
| 480 |
msgid "B<EBADF>" |
| 481 |
msgstr "B<EBADF>" |
| 482 |
|
| 483 |
#. type: Plain text |
| 484 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 485 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 486 |
msgid "I<fd> is not an open file descriptor" |
| 487 |
msgstr "I<fd> ليس واصف ملف مفتوح" |
| 488 |
|
| 489 |
#. type: TP |
| 490 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 491 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 492 |
#, no-wrap |
| 493 |
msgid "B<EINVAL>" |
| 494 |
msgstr "B<EINVAL>" |
| 495 |
|
| 496 |
#. type: Plain text |
| 497 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 498 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 499 |
msgid "The value specified in I<op> is not recognized by this kernel." |
| 500 |
msgstr "القيمة المحددة في I<op> غير معروفة لهذه النواة." |
| 501 |
|
| 502 |
#. type: SH |
| 503 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 504 |
#: opensuse-tumbleweed |
| 505 |
#, no-wrap |
| 506 |
msgid "VERSIONS" |
| 507 |
msgstr "الإصدارات" |
| 508 |
|
| 509 |
#. type: Plain text |
| 510 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 511 |
#: opensuse-tumbleweed |
| 512 |
msgid "" |
| 513 |
"POSIX.1-2024 specifies B<FD_CLOFORK> and B<F_DUPFD_CLOFORK>, but Linux " |
| 514 |
"doesn't support them." |
| 515 |
msgstr "" |
| 516 |
"يحدد POSIX.1-2024 الخيارين B<FD_CLOFORK> و B<F_DUPFD_CLOFORK>، لكن لينكس لا " |
| 517 |
"يدعمهما." |
| 518 |
|
| 519 |
#. type: SH |
| 520 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 521 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 522 |
#, no-wrap |
| 523 |
msgid "STANDARDS" |
| 524 |
msgstr "المعايير" |
| 525 |
|
| 526 |
#. .P |
| 527 |
#. SVr4 documents additional EIO, ENOLINK and EOVERFLOW error conditions. |
| 528 |
#. type: Plain text |
| 529 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 530 |
#: opensuse-tumbleweed |
| 531 |
msgid "POSIX.1-2024." |
| 532 |
msgstr "POSIX.1-2024." |
| 533 |
|
| 534 |
#. type: SH |
| 535 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 536 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 537 |
#, no-wrap |
| 538 |
msgid "HISTORY" |
| 539 |
msgstr "التاريخ" |
| 540 |
|
| 541 |
#. type: Plain text |
| 542 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 543 |
#: opensuse-tumbleweed |
| 544 |
msgid "4.3BSD, SVr4, POSIX.1-1988." |
| 545 |
msgstr "4.3BSD، SVr4، POSIX.1-1988." |
| 546 |
|
| 547 |
#. type: SH |
| 548 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 549 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 550 |
#, no-wrap |
| 551 |
msgid "SEE ALSO" |
| 552 |
msgstr "انظر أيضًا" |
| 553 |
|
| 554 |
#. type: Plain text |
| 555 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 556 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 557 |
msgid "" |
| 558 |
"B<dup2>(2), B<flock>(2), B<open>(2), B<socket>(2), B<lockf>(3), " |
| 559 |
"B<capabilities>(7), B<feature_test_macros>(7), B<lslocks>(8)" |
| 560 |
msgstr "" |
| 561 |
"B<dup2>(2), B<flock>(2), B<open>(2), B<socket>(2), B<lockf>(3), " |
| 562 |
"B<capabilities>(7), B<feature_test_macros>(7), B<lslocks>(8)" |
| 563 |
|
| 564 |
#. type: TH |
| 565 |
#: debian-trixie |
| 566 |
#, no-wrap |
| 567 |
msgid "2024-05-02" |
| 568 |
msgstr "2 مايو 2024" |
| 569 |
|
| 570 |
#. type: TH |
| 571 |
#: debian-trixie |
| 572 |
#, no-wrap |
| 573 |
msgid "Linux man-pages 6.9.1" |
| 574 |
msgstr "صفحات دليل لينكس 6.9.1" |
| 575 |
|
| 576 |
#. type: Plain text |
| 577 |
#: debian-trixie |
| 578 |
msgid "Standard C library (I<libc>, I<-lc>)" |
| 579 |
msgstr "مكتبة سي المعيارية (I<libc>، I<-lc>)" |
| 580 |
|
| 581 |
#. type: Plain text |
| 582 |
#: debian-trixie fedora-44 fedora-rawhide |
| 583 |
#, no-wrap |
| 584 |
msgid "B<int fcntl(int >I<fd>B<, int >I<op>B<, ... /* >I<arg>B< */ );>\n" |
| 585 |
msgstr "B<int fcntl(int >I<fd>B<, int >I<op>B<, ... /* >I<arg>B< */ );>\n" |
| 586 |
|
| 587 |
#. type: Plain text |
| 588 |
#: debian-trixie fedora-44 fedora-rawhide |
| 589 |
msgid "" |
| 590 |
"B<fcntl>() can take an optional third argument. Whether or not this " |
| 591 |
"argument is required is determined by I<op>. The required argument type is " |
| 592 |
"indicated in parentheses after each I<op> name (in most cases, the required " |
| 593 |
"type is I<int>, and we identify the argument using the name I<arg>), or " |
| 594 |
"I<void> is specified if the argument is not required." |
| 595 |
msgstr "" |
| 596 |
"يمكن لـ B<fcntl>() أن تأخذ وسيطًا ثالثًا اختياريًا. ويُحدد ما إذا كان هذا" |
| 597 |
" الوسيط " |
| 598 |
"مطلوبًا أم لا بواسطة I<op>. يشار إلى نوع الوسيط المطلوب بين قوسين بعد كل اسم " |
| 599 |
"I<op> (في معظم الحالات، النوع المطلوب هو I<int>، ونحدد الوسيط باستخدام الاسم " |
| 600 |
"I<arg>)، أو يتم تحديد I<void> إذا لم يكن الوسيط مطلوبًا." |
| 601 |
|
| 602 |
#. type: TP |
| 603 |
#: debian-trixie fedora-44 fedora-rawhide |
| 604 |
#, no-wrap |
| 605 |
msgid "B<F_DUPFD> (I<int>)" |
| 606 |
msgstr "B<F_DUPFD> (I<int>)" |
| 607 |
|
| 608 |
#. type: Plain text |
| 609 |
#: debian-trixie fedora-44 fedora-rawhide |
| 610 |
msgid "" |
| 611 |
"Duplicate the file descriptor I<fd> using the lowest-numbered available file " |
| 612 |
"descriptor greater than or equal to I<arg>. This is different from " |
| 613 |
"B<dup2>(2), which uses exactly the file descriptor specified." |
| 614 |
msgstr "" |
| 615 |
"مضاعفة واصف الملف I<fd> باستخدام أصغر واصف ملف متاح برقم أكبر من أو يساوي " |
| 616 |
"I<arg>. يختلف هذا عن B<dup2>(2)، التي تستخدم واصف الملف المحدد بالضبط." |
| 617 |
|
| 618 |
#. type: Plain text |
| 619 |
#: debian-trixie fedora-44 fedora-rawhide |
| 620 |
msgid "On success, the new file descriptor is returned." |
| 621 |
msgstr "عند النجاح، يُعاد واصف الملف الجديد." |
| 622 |
|
| 623 |
#. type: Plain text |
| 624 |
#: debian-trixie fedora-44 fedora-rawhide |
| 625 |
msgid "See B<dup>(2) for further details." |
| 626 |
msgstr "انظر B<dup>(2) لمزيد من التفاصيل." |
| 627 |
|
| 628 |
#. type: TP |
| 629 |
#: debian-trixie fedora-44 fedora-rawhide |
| 630 |
#, no-wrap |
| 631 |
msgid "B<F_DUPFD_CLOEXEC> (I<int>; since Linux 2.6.24)" |
| 632 |
msgstr "B<F_DUPFD_CLOEXEC> (I<int>؛ منذ لينكس 2.6.24)" |
| 633 |
|
| 634 |
#. type: Plain text |
| 635 |
#: debian-trixie fedora-44 fedora-rawhide |
| 636 |
msgid "" |
| 637 |
"As for B<F_DUPFD>, but additionally set the close-on-exec flag for the " |
| 638 |
"duplicate file descriptor. Specifying this flag permits a program to avoid " |
| 639 |
"an additional B<fcntl>() B<F_SETFD> operation to set the B<FD_CLOEXEC> " |
| 640 |
"flag. For an explanation of why this flag is useful, see the description of " |
| 641 |
"B<O_CLOEXEC> in B<open>(2)." |
| 642 |
msgstr "" |
| 643 |
"كما في B<F_DUPFD>، ولكن بالإضافة إلى ذلك تُضبط لصيقة الإغلاق عند التنفيذ " |
| 644 |
"(close-on-exec) لواصف الملف المضاعف. يتيح تحديد هذه اللصيقة للبرنامج تجنب " |
| 645 |
"عملية B<fcntl>() B<F_SETFD> إضافية لضبط لصيقة B<FD_CLOEXEC>. لشرح سبب فائدة " |
| 646 |
"هذه اللصيقة، انظر وصف B<O_CLOEXEC> في B<open>(2)." |
| 647 |
|
| 648 |
#. type: Plain text |
| 649 |
#: debian-trixie fedora-44 fedora-rawhide |
| 650 |
msgid "" |
| 651 |
"The following operations manipulate the flags associated with a file " |
| 652 |
"descriptor. Currently, only one such flag is defined: B<FD_CLOEXEC>, the " |
| 653 |
"close-on-exec flag. If the B<FD_CLOEXEC> bit is set, the file descriptor " |
| 654 |
"will automatically be closed during a successful B<execve>(2). (If the " |
| 655 |
"B<execve>(2) fails, the file descriptor is left open.) If the " |
| 656 |
"B<FD_CLOEXEC> bit is not set, the file descriptor will remain open across an " |
| 657 |
"B<execve>(2)." |
| 658 |
msgstr "" |
| 659 |
"تتلاعب العمليات التالية باللصائق المرتبطة بواصف الملف. حاليًا، تم تحديد لصيقة " |
| 660 |
"واحدة فقط من هذا النوع: B<FD_CLOEXEC>، لصيقة الإغلاق عند التنفيذ. إذا ضُبطت " |
| 661 |
"بتة B<FD_CLOEXEC>، فسيُغلق واصف الملف آليًا أثناء تنفيذ B<execve>(2) ناجح. " |
| 662 |
"(إذا فشل B<execve>(2)، يُترك واصف الملف مفتوحًا.) إذا لم تُضبط بتة " |
| 663 |
"B<FD_CLOEXEC>، فسيظل واصف الملف مفتوحًا عبر B<execve>(2)." |
| 664 |
|
| 665 |
#. type: TP |
| 666 |
#: debian-trixie fedora-44 fedora-rawhide |
| 667 |
#, no-wrap |
| 668 |
msgid "B<F_GETFD> (I<void>)" |
| 669 |
msgstr "B<F_GETFD> (I<void>)" |
| 670 |
|
| 671 |
#. type: Plain text |
| 672 |
#: debian-trixie fedora-44 fedora-rawhide |
| 673 |
msgid "" |
| 674 |
"Return (as the function result) the file descriptor flags; I<arg> is ignored." |
| 675 |
msgstr "إعادة لصائق واصف الملف (كنتيجة للدالة)؛ ويُتجاهل I<arg>." |
| 676 |
|
| 677 |
#. type: TP |
| 678 |
#: debian-trixie fedora-44 fedora-rawhide |
| 679 |
#, no-wrap |
| 680 |
msgid "B<F_SETFD> (I<int>)" |
| 681 |
msgstr "B<F_SETFD> (I<int>)" |
| 682 |
|
| 683 |
#. type: Plain text |
| 684 |
#: debian-trixie fedora-44 fedora-rawhide |
| 685 |
msgid "Set the file descriptor flags to the value specified by I<arg>." |
| 686 |
msgstr "ضبط لصائق واصف الملف على القيمة المحددة بواسطة I<arg>." |
| 687 |
|
| 688 |
#. type: Plain text |
| 689 |
#: debian-trixie fedora-44 fedora-rawhide |
| 690 |
msgid "" |
| 691 |
"In multithreaded programs, using B<fcntl>() B<F_SETFD> to set the close-on-" |
| 692 |
"exec flag at the same time as another thread performs a B<fork>(2) plus " |
| 693 |
"B<execve>(2) is vulnerable to a race condition that may unintentionally " |
| 694 |
"leak the file descriptor to the program executed in the child process. See " |
| 695 |
"the discussion of the B<O_CLOEXEC> flag in B<open>(2) for details and a " |
| 696 |
"remedy to the problem." |
| 697 |
msgstr "" |
| 698 |
"في البرامج متعددة الخيوط، يكون استخدام B<fcntl>() B<F_SETFD> لضبط لصيقة " |
| 699 |
"الإغلاق عند التنفيذ في نفس الوقت الذي يقوم فيه خيط آخر بعملية B<fork>(2) " |
| 700 |
"بالإضافة إلى B<execve>(2) عرضة لحالة تسابق قد تسرب واصف الملف دون قصد إلى " |
| 701 |
"البرنامج المنفذ في العملية الابنة. انظر مناقشة لصيقة B<O_CLOEXEC> في " |
| 702 |
"B<open>(2) للحصول على التفاصيل وعلاج للمشكلة." |
| 703 |
|
| 704 |
#. or |
| 705 |
#. .BR creat (2), |
| 706 |
#. type: Plain text |
| 707 |
#: debian-trixie fedora-44 fedora-rawhide |
| 708 |
msgid "" |
| 709 |
"Each open file description has certain associated status flags, initialized " |
| 710 |
"by B<open>(2) and possibly modified by B<fcntl>(). Duplicated file " |
| 711 |
"descriptors (made with B<dup>(2), B<fcntl>(F_DUPFD), B<fork>(2), etc.) refer " |
| 712 |
"to the same open file description, and thus share the same file status flags." |
| 713 |
msgstr "" |
| 714 |
"لكل وصف ملف مفتوح لصائق حالة مرتبطة به، تُهيأ بواسطة B<open>(2) وربما تُعدل " |
| 715 |
"بواسطة B<fcntl>(). واصفات الملفات المضاعفة (التي تم إنشاؤها باستخدام " |
| 716 |
"B<dup>(2) و B<fcntl>(F_DUPFD) و B<fork>(2) وما إلى ذلك) تشير إلى نفس وصف " |
| 717 |
"الملف المفتوح، وبالتالي تتشارك في نفس لصائق حالة الملف." |
| 718 |
|
| 719 |
#. type: Plain text |
| 720 |
#: debian-trixie fedora-44 fedora-rawhide |
| 721 |
msgid "The file status flags and their semantics are described in B<open>(2)." |
| 722 |
msgstr "تم وصف لصائق حالة الملف ودلالاتها في B<open>(2)." |
| 723 |
|
| 724 |
#. type: TP |
| 725 |
#: debian-trixie fedora-44 fedora-rawhide |
| 726 |
#, no-wrap |
| 727 |
msgid "B<F_GETFL> (I<void>)" |
| 728 |
msgstr "B<F_GETFL> (I<void>)" |
| 729 |
|
| 730 |
#. type: Plain text |
| 731 |
#: debian-trixie fedora-44 fedora-rawhide |
| 732 |
msgid "" |
| 733 |
"Return (as the function result) the file access mode and the file status " |
| 734 |
"flags; I<arg> is ignored." |
| 735 |
msgstr "" |
| 736 |
"إعادة وضع الوصول إلى الملف ولصائق حالة الملف (كنتيجة للدالة)؛ ويُتجاهل I<arg>." |
| 737 |
|
| 738 |
#. type: TP |
| 739 |
#: debian-trixie fedora-44 fedora-rawhide |
| 740 |
#, no-wrap |
| 741 |
msgid "B<F_SETFL> (I<int>)" |
| 742 |
msgstr "B<F_SETFL> (I<int>)" |
| 743 |
|
| 744 |
#. type: Plain text |
| 745 |
#: debian-trixie fedora-44 fedora-rawhide |
| 746 |
msgid "" |
| 747 |
"Set the file status flags to the value specified by I<arg>. File access " |
| 748 |
"mode (B<O_RDONLY>, B<O_WRONLY>, B<O_RDWR>) and file creation flags (i.e., " |
| 749 |
"B<O_CREAT>, B<O_EXCL>, B<O_NOCTTY>, B<O_TRUNC>) in I<arg> are ignored. On " |
| 750 |
"Linux, this operation can change only the B<O_APPEND>, B<O_ASYNC>, " |
| 751 |
"B<O_DIRECT>, B<O_NOATIME>, and B<O_NONBLOCK> flags. It is not possible to " |
| 752 |
"change the B<O_DSYNC> and B<O_SYNC> flags; see BUGS, below." |
| 753 |
msgstr "" |
| 754 |
"ضبط لصائق حالة الملف على القيمة المحددة بواسطة I<arg>. يتم تجاهل وضع الوصول " |
| 755 |
"إلى الملف (B<O_RDONLY> و B<O_WRONLY> و B<O_RDWR>) ولصائق إنشاء الملف (أي " |
| 756 |
"B<O_CREAT> و B<O_EXCL> و B<O_NOCTTY> و B<O_TRUNC>) في I<arg>. في لينكس، يمكن " |
| 757 |
"لهذه العملية تغيير لصائق B<O_APPEND> و B<O_ASYNC> و B<O_DIRECT> و " |
| 758 |
"B<O_NOATIME> و B<O_NONBLOCK> فقط. لا يمكن تغيير لصيقتي B<O_DSYNC> و " |
| 759 |
"B<O_SYNC>؛ انظر قسم العلل (BUGS) أدناه." |
| 760 |
|
| 761 |
#. type: Plain text |
| 762 |
#: debian-trixie fedora-44 fedora-rawhide |
| 763 |
msgid "" |
| 764 |
"Linux implements traditional (\"process-associated\") UNIX record locks, as " |
| 765 |
"standardized by POSIX. For a Linux-specific alternative with better " |
| 766 |
"semantics, see the discussion of open file description locks below." |
| 767 |
msgstr "" |
| 768 |
"تنفذ لينكس أقفال سجلات يونكس (UNIX) التقليدية (\"المرتبطة بالعملية\")، كما " |
| 769 |
"هو معياري في POSIX. لبديل مخصص للينكس ذو دلالات أفضل، انظر مناقشة أقفال وصف " |
| 770 |
"الملف المفتوح أدناه." |
| 771 |
|
| 772 |
#. type: Plain text |
| 773 |
#: debian-trixie fedora-44 fedora-rawhide |
| 774 |
msgid "" |
| 775 |
"B<F_SETLK>, B<F_SETLKW>, and B<F_GETLK> are used to acquire, release, and " |
| 776 |
"test for the existence of record locks (also known as byte-range, file-" |
| 777 |
"segment, or file-region locks). The third argument, I<lock>, is a pointer " |
| 778 |
"to a structure that has at least the following fields (in unspecified order)." |
| 779 |
msgstr "" |
| 780 |
"تُستخدم B<F_SETLK> و B<F_SETLKW> و B<F_GETLK> للاستحواذ على أقفال السجلات، " |
| 781 |
"وتحريرها، واختبار وجودها (تُعرف أيضًا بأقفال نطاق-البايت، أو قطاع-الملف، أو " |
| 782 |
"منطقة-الملف). المعامل الثالث، I<lock>، هو مؤشر إلى بنية تحتوي على الأقل على " |
| 783 |
"الحقول التالية (بترتيب غير محدد)." |
| 784 |
|
| 785 |
#. type: Plain text |
| 786 |
#: debian-trixie fedora-44 fedora-rawhide |
| 787 |
#, no-wrap |
| 788 |
msgid "" |
| 789 |
"struct flock {\n" |
| 790 |
" ...\n" |
| 791 |
" short l_type; /* Type of lock: F_RDLCK,\n" |
| 792 |
" F_WRLCK, F_UNLCK */\n" |
| 793 |
" short l_whence; /* How to interpret l_start:\n" |
| 794 |
" SEEK_SET, SEEK_CUR, SEEK_END */\n" |
| 795 |
" off_t l_start; /* Starting offset for lock */\n" |
| 796 |
" off_t l_len; /* Number of bytes to lock */\n" |
| 797 |
" pid_t l_pid; /* PID of process blocking our lock\n" |
| 798 |
" (set by F_GETLK and F_OFD_GETLK) */\n" |
| 799 |
" ...\n" |
| 800 |
"};\n" |
| 801 |
msgstr "" |
| 802 |
"struct flock {\n" |
| 803 |
" ...\n" |
| 804 |
" short l_type; /* نوع القفل: F_RDLCK,\n" |
| 805 |
" F_WRLCK, F_UNLCK */\n" |
| 806 |
" short l_whence; /* كيفية تفسير l_start:\n" |
| 807 |
" SEEK_SET, SEEK_CUR, SEEK_END */\n" |
| 808 |
" off_t l_start; /* إزاحة البداية للقفل */\n" |
| 809 |
" off_t l_len; /* عدد البايتات المراد قفلها */\n" |
| 810 |
" pid_t l_pid; /* معرف العملية (PID) التي تمنع قفلنا\n" |
| 811 |
" (يُضبط بواسطة F_GETLK و F_OFD_GETLK) */\n" |
| 812 |
" ...\n" |
| 813 |
"};\n" |
| 814 |
|
| 815 |
#. type: Plain text |
| 816 |
#: debian-trixie fedora-44 fedora-rawhide |
| 817 |
msgid "" |
| 818 |
"The I<l_whence>, I<l_start>, and I<l_len> fields of this structure specify " |
| 819 |
"the range of bytes we wish to lock. Bytes past the end of the file may be " |
| 820 |
"locked, but not bytes before the start of the file." |
| 821 |
msgstr "" |
| 822 |
"تحدد حقول I<l_whence> و I<l_start> و I<l_len> في هذه البنية نطاق البايتات " |
| 823 |
"التي نرغب في قفلها. يمكن قفل البايتات التي تتجاوز نهاية الملف، ولكن لا يمكن " |
| 824 |
"قفل البايتات التي تسبق بداية الملف." |
| 825 |
|
| 826 |
#. type: Plain text |
| 827 |
#: debian-trixie fedora-44 fedora-rawhide |
| 828 |
msgid "" |
| 829 |
"I<l_start> is the starting offset for the lock, and is interpreted relative " |
| 830 |
"to either: the start of the file (if I<l_whence> is B<SEEK_SET>); the " |
| 831 |
"current file offset (if I<l_whence> is B<SEEK_CUR>); or the end of the file " |
| 832 |
"(if I<l_whence> is B<SEEK_END>). In the final two cases, I<l_start> can be " |
| 833 |
"a negative number provided the offset does not lie before the start of the " |
| 834 |
"file." |
| 835 |
msgstr "" |
| 836 |
"تمثل I<l_start> إزاحة البداية للقفل، وتُفسّر بالنسبة إلى: إما بداية الملف" |
| 837 |
" (إذا " |
| 838 |
"كانت I<l_whence> هي B<SEEK_SET>)؛ أو إزاحة الملف الحالية (إذا كانت " |
| 839 |
"I<l_whence> هي B<SEEK_CUR>)؛ أو نهاية الملف (إذا كانت I<l_whence> هي " |
| 840 |
"B<SEEK_END>). في الحالتين الأخيرتين، يمكن أن تكون I<l_start> رقمًا سالبًا" |
| 841 |
" بشرط " |
| 842 |
"ألا تقع الإزاحة قبل بداية الملف." |
| 843 |
|
| 844 |
#. type: Plain text |
| 845 |
#: debian-trixie fedora-44 fedora-rawhide |
| 846 |
msgid "" |
| 847 |
"I<l_len> specifies the number of bytes to be locked. If I<l_len> is " |
| 848 |
"positive, then the range to be locked covers bytes I<l_start> up to and " |
| 849 |
"including I<l_start>+I<l_len>-1. Specifying 0 for I<l_len> has the special " |
| 850 |
"meaning: lock all bytes starting at the location specified by I<l_whence> " |
| 851 |
"and I<l_start> through to the end of file, no matter how large the file " |
| 852 |
"grows." |
| 853 |
msgstr "" |
| 854 |
"تحدد I<l_len> عدد البايتات المراد قفلها. إذا كانت I<l_len> موجبة، فإن النطاق " |
| 855 |
"المراد قفله يغطي البايتات من I<l_start> صعودًا إلى I<l_start>+I<l_len>-1 (بما " |
| 856 |
"في ذلك هذا الأخير). لتحديد 0 لقيمة I<l_len> معنى خاص: قفل جميع البايتات بدءًا " |
| 857 |
"من الموقع المحدد بواسطة I<l_whence> و I<l_start> وصولاً إلى نهاية الملف، بغض " |
| 858 |
"النظر عن مدى كبر حجم الملف." |
| 859 |
|
| 860 |
#. type: Plain text |
| 861 |
#: debian-trixie fedora-44 fedora-rawhide |
| 862 |
msgid "" |
| 863 |
"POSIX.1-2001 allows (but does not require) an implementation to support a " |
| 864 |
"negative I<l_len> value; if I<l_len> is negative, the interval described by " |
| 865 |
"I<lock> covers bytes I<l_start>+I<l_len> up to and including I<l_start>-1. " |
| 866 |
"This is supported since Linux 2.4.21 and Linux 2.5.49." |
| 867 |
msgstr "" |
| 868 |
"يسمح POSIX.1-2001 (لكنه لا يتطلب) للتنفيذ بدعم قيمة I<l_len> سالبة؛ إذا كانت " |
| 869 |
"I<l_len> سالبة، فإن الفترة الموضحة بواسطة I<lock> تغطي البايتات من " |
| 870 |
"I<l_start>+I<l_len> صعودًا إلى I<l_start>-1 (بما في ذلك هذا الأخير). دُعم هذا " |
| 871 |
"منذ لينكس 2.4.21 ولينكس 2.5.49." |
| 872 |
|
| 873 |
#. type: Plain text |
| 874 |
#: debian-trixie fedora-44 fedora-rawhide |
| 875 |
msgid "" |
| 876 |
"The I<l_type> field can be used to place a read (B<F_RDLCK>) or a write " |
| 877 |
"(B<F_WRLCK>) lock on a file. Any number of processes may hold a read lock " |
| 878 |
"(shared lock) on a file region, but only one process may hold a write lock " |
| 879 |
"(exclusive lock). An exclusive lock excludes all other locks, both shared " |
| 880 |
"and exclusive. A single process can hold only one type of lock on a file " |
| 881 |
"region; if a new lock is applied to an already-locked region, then the " |
| 882 |
"existing lock is converted to the new lock type. (Such conversions may " |
| 883 |
"involve splitting, shrinking, or coalescing with an existing lock if the " |
| 884 |
"byte range specified by the new lock does not precisely coincide with the " |
| 885 |
"range of the existing lock.)" |
| 886 |
msgstr "" |
| 887 |
"يمكن استخدام حقل I<l_type> لوضع قفل قراءة (B<F_RDLCK>) أو قفل كتابة " |
| 888 |
"(B<F_WRLCK>) على ملف. يمكن لأي عدد من العمليات حيازة قفل قراءة (قفل مشترك) " |
| 889 |
"على منطقة ملف، ولكن يمكن لعملية واحدة فقط حيازة قفل كتابة (قفل حصري). يستبعد " |
| 890 |
"القفل الحصري جميع الأقفال الأخرى، سواء كانت مشتركة أو حصرية. يمكن لعملية " |
| 891 |
"واحدة حيازة نوع واحد فقط من الأقفال على منطقة ملف؛ إذا وُضع قفل جديد على " |
| 892 |
"منطقة مقفولة بالفعل، فسيُحوّل القفل الحالي إلى نوع القفل الجديد. (قد تتضمن" |
| 893 |
" مثل " |
| 894 |
"هذه التحويلات تقسيم القفل، أو تقليصه، أو دمجه مع قفل موجود إذا كان نطاق " |
| 895 |
"البايت المحدد بواسطة القفل الجديد لا يتطابق تمامًا مع نطاق القفل الحالي)." |
| 896 |
|
| 897 |
#. type: TP |
| 898 |
#: debian-trixie fedora-44 fedora-rawhide |
| 899 |
#, no-wrap |
| 900 |
msgid "B<F_SETLK> (I<struct flock *>)" |
| 901 |
msgstr "B<F_SETLK> (I<struct flock *>)" |
| 902 |
|
| 903 |
#. type: Plain text |
| 904 |
#: debian-trixie fedora-44 fedora-rawhide |
| 905 |
msgid "" |
| 906 |
"Acquire a lock (when I<l_type> is B<F_RDLCK> or B<F_WRLCK>) or release a " |
| 907 |
"lock (when I<l_type> is B<F_UNLCK>) on the bytes specified by the " |
| 908 |
"I<l_whence>, I<l_start>, and I<l_len> fields of I<lock>. If a conflicting " |
| 909 |
"lock is held by another process, this call returns -1 and sets I<errno> to " |
| 910 |
"B<EACCES> or B<EAGAIN>. (The error returned in this case differs across " |
| 911 |
"implementations, so POSIX requires a portable application to check for both " |
| 912 |
"errors.)" |
| 913 |
msgstr "" |
| 914 |
"الاستحواذ على قفل (عندما يكون I<l_type> هو B<F_RDLCK> أو B<F_WRLCK>) أو " |
| 915 |
"تحرير قفل (عندما يكون I<l_type> هو B<F_UNLCK>) على البايتات المحددة بواسطة " |
| 916 |
"حقول I<l_whence> و I<l_start> و I<l_len> للمعامل I<lock>. إذا كانت هناك " |
| 917 |
"عملية أخرى تحوز قفلاً متعارضًا، فإن هذا الاستدعاء يعيد -1 ويضبط I<errno> على " |
| 918 |
"B<EACCES> أو B<EAGAIN>. (يختلف الخطأ المعاد في هذه الحالة عبر التنفيذات، لذا " |
| 919 |
"يتطلب POSIX من التطبيقات المحمولة التحقق من كلا الخطأين)." |
| 920 |
|
| 921 |
#. type: TP |
| 922 |
#: debian-trixie fedora-44 fedora-rawhide |
| 923 |
#, no-wrap |
| 924 |
msgid "B<F_SETLKW> (I<struct flock *>)" |
| 925 |
msgstr "B<F_SETLKW> (I<struct flock *>)" |
| 926 |
|
| 927 |
#. type: Plain text |
| 928 |
#: debian-trixie fedora-44 fedora-rawhide |
| 929 |
msgid "" |
| 930 |
"As for B<F_SETLK>, but if a conflicting lock is held on the file, then wait " |
| 931 |
"for that lock to be released. If a signal is caught while waiting, then the " |
| 932 |
"call is interrupted and (after the signal handler has returned) returns " |
| 933 |
"immediately (with return value -1 and I<errno> set to B<EINTR>; see " |
| 934 |
"B<signal>(7))." |
| 935 |
msgstr "" |
| 936 |
"كما هو الحال في B<F_SETLK>، ولكن إذا كان هناك قفل متعارض محوز على الملف، " |
| 937 |
"فانتظر حتى يُحرّر ذلك القفل. إذا التُقطت إشارة أثناء الانتظار، فسيُقاطع " |
| 938 |
"الاستدعاء ويعيد (بعد عودة معالج الإشارة) القيمة فوريًا (مع قيمة إرجاع -1 وضبط " |
| 939 |
"I<errno> على B<EINTR>؛ انظر B<signal>(7))." |
| 940 |
|
| 941 |
#. type: TP |
| 942 |
#: debian-trixie fedora-44 fedora-rawhide |
| 943 |
#, no-wrap |
| 944 |
msgid "B<F_GETLK> (I<struct flock *>)" |
| 945 |
msgstr "B<F_GETLK> (I<struct flock *>)" |
| 946 |
|
| 947 |
#. type: Plain text |
| 948 |
#: debian-trixie fedora-44 fedora-rawhide |
| 949 |
msgid "" |
| 950 |
"On input to this call, I<lock> describes a lock we would like to place on " |
| 951 |
"the file. If the lock could be placed, B<fcntl>() does not actually place " |
| 952 |
"it, but returns B<F_UNLCK> in the I<l_type> field of I<lock> and leaves the " |
| 953 |
"other fields of the structure unchanged." |
| 954 |
msgstr "" |
| 955 |
"عند إدخال هذا الاستدعاء، يصف I<lock> القفل الذي نود وضعه على الملف. إذا كان " |
| 956 |
"بالإمكان وضع القفل، فإن B<fcntl>() لا يضعه فعليًا، بل يعيد B<F_UNLCK> في حقل " |
| 957 |
"I<l_type> من I<lock> ويترك الحقول الأخرى للبنية دون تغيير." |
| 958 |
|
| 959 |
#. type: Plain text |
| 960 |
#: debian-trixie fedora-44 fedora-rawhide |
| 961 |
msgid "" |
| 962 |
"If one or more incompatible locks would prevent this lock being placed, then " |
| 963 |
"B<fcntl>() returns details about one of those locks in the I<l_type>, " |
| 964 |
"I<l_whence>, I<l_start>, and I<l_len> fields of I<lock>. If the conflicting " |
| 965 |
"lock is a traditional (process-associated) record lock, then the I<l_pid> " |
| 966 |
"field is set to the PID of the process holding that lock. If the " |
| 967 |
"conflicting lock is an open file description lock, then I<l_pid> is set to " |
| 968 |
"-1. Note that the returned information may already be out of date by the " |
| 969 |
"time the caller inspects it." |
| 970 |
msgstr "" |
| 971 |
"إذا كان هناك قفل أو أكثر غير متوافق يمنع وضع هذا القفل، فإن B<fcntl>() يعيد " |
| 972 |
"تفاصيل حول أحد تلك الأقفال في حقول I<l_type> و I<l_whence> و I<l_start> و " |
| 973 |
"I<l_len> من I<lock>. إذا كان القفل المتعارض قفل سجل تقليدي (مرتبط بالعملية)، " |
| 974 |
"فسيُضبط حقل I<l_pid> على PID العملية التي تحوز ذلك القفل. أما إذا كان القفل " |
| 975 |
"المتعارض قفل وصف ملف مفتوح، فسيُضبط I<l_pid> على -1. لاحظ أن المعلومات " |
| 976 |
"المعادة قد تكون قديمة بالفعل بحلول الوقت الذي يفحصها فيه I<المستدعِي>." |
| 977 |
|
| 978 |
#. type: Plain text |
| 979 |
#: debian-trixie fedora-44 fedora-rawhide |
| 980 |
msgid "" |
| 981 |
"In order to place a read lock, I<fd> must be open for reading. In order to " |
| 982 |
"place a write lock, I<fd> must be open for writing. To place both types of " |
| 983 |
"lock, open a file read-write." |
| 984 |
msgstr "" |
| 985 |
"لوضع قفل قراءة، يجب أن يكون I<fd> مفتوحًا للقراءة. ولوضع قفل كتابة، يجب أن " |
| 986 |
"يكون I<fd> مفتوحًا للكتابة. ولوضع كلا النوعين من الأقفال، افتح الملف للقراءة " |
| 987 |
"والكتابة." |
| 988 |
|
| 989 |
#. type: Plain text |
| 990 |
#: debian-trixie fedora-44 fedora-rawhide |
| 991 |
msgid "" |
| 992 |
"When placing locks with B<F_SETLKW>, the kernel detects I<deadlocks>, " |
| 993 |
"whereby two or more processes have their lock requests mutually blocked by " |
| 994 |
"locks held by the other processes. For example, suppose process A holds a " |
| 995 |
"write lock on byte 100 of a file, and process B holds a write lock on byte " |
| 996 |
"200. If each process then attempts to lock the byte already locked by the " |
| 997 |
"other process using B<F_SETLKW>, then, without deadlock detection, both " |
| 998 |
"processes would remain blocked indefinitely. When the kernel detects such " |
| 999 |
"deadlocks, it causes one of the blocking lock requests to immediately fail " |
| 1000 |
"with the error B<EDEADLK>; an application that encounters such an error " |
| 1001 |
"should release some of its locks to allow other applications to proceed " |
| 1002 |
"before attempting regain the locks that it requires. Circular deadlocks " |
| 1003 |
"involving more than two processes are also detected. Note, however, that " |
| 1004 |
"there are limitations to the kernel's deadlock-detection algorithm; see BUGS." |
| 1005 |
msgstr "" |
| 1006 |
"عند وضع أقفال باستخدام B<F_SETLKW>، تكتشف الـ I<نواة> \"حالات " |
| 1007 |
"الاستعصاء\" (I<deadlocks>)، حيث يتم حظر طلبات قفل عمليتين أو أكثر بشكل " |
| 1008 |
"متبادل بواسطة أقفال تحوزها العمليات الأخرى. على سبيل المثال، افترض أن " |
| 1009 |
"العملية (أ) تحوز قفل كتابة على البايت 100 من ملف، والعملية (ب) تحوز قفل " |
| 1010 |
"كتابة على البايت 200. إذا حاولت كل عملية بعد ذلك قفل البايت المقفل بالفعل من " |
| 1011 |
"قبل العملية الأخرى باستخدام B<F_SETLKW>، فبدون اكتشاف الاستعصاء، ستظل كلتا " |
| 1012 |
"العمليتين محظورتين إلى أجل غير مسمى. عندما تكتشف الـ I<نواة> مثل هذه " |
| 1013 |
"الحالات، فإنها تؤدي إلى فشل أحد طلبات القفل المحظورة فوريًا مع الخطأ " |
| 1014 |
"B<EDEADLK>؛ يجب على التطبيق الذي يواجه مثل هذا الخطأ تحرير بعض أقفاله للسماح " |
| 1015 |
"للتطبيقات الأخرى بالمتابعة قبل محاولة استعادة الأقفال التي يتطلبها. تكتشف " |
| 1016 |
"أيضًا حالات الاستعصاء الدائرية التي تشمل أكثر من عمليتين. لاحظ، مع ذلك، أن " |
| 1017 |
"هناك قيودًا على خوارزمية اكتشاف الاستعصاء في الـ I<نواة>؛ انظر قسم BUGS." |
| 1018 |
|
| 1019 |
#. type: Plain text |
| 1020 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1021 |
msgid "" |
| 1022 |
"As well as being removed by an explicit B<F_UNLCK>, record locks are " |
| 1023 |
"automatically released when the process terminates." |
| 1024 |
msgstr "" |
| 1025 |
"بالإضافة إلى إزالتها بواسطة B<F_UNLCK> صريح، تُحرّر أقفال السجلات I<آليًا>" |
| 1026 |
" عند " |
| 1027 |
"انتهاء العملية." |
| 1028 |
|
| 1029 |
#. type: Plain text |
| 1030 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1031 |
msgid "" |
| 1032 |
"Record locks are not inherited by a child created via B<fork>(2), but are " |
| 1033 |
"preserved across an B<execve>(2)." |
| 1034 |
msgstr "" |
| 1035 |
"لا تُرث أقفال السجلات من قبل عملية ابن أُنشئت عبر B<fork>(2)، ولكن يُحتفظ بها " |
| 1036 |
"عبر B<execve>(2)." |
| 1037 |
|
| 1038 |
#. type: Plain text |
| 1039 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1040 |
msgid "" |
| 1041 |
"Because of the buffering performed by the B<stdio>(3) library, the use of " |
| 1042 |
"record locking with routines in that package should be avoided; use " |
| 1043 |
"B<read>(2) and B<write>(2) instead." |
| 1044 |
msgstr "" |
| 1045 |
"بسبب التخزين المؤقت الذي تقوم به مكتبة B<stdio>(3)، يجب تجنب استخدام قفل " |
| 1046 |
"السجلات مع الدوال الموجودة في تلك الحزمة؛ استخدم B<read>(2) و B<write>(2) " |
| 1047 |
"بدلاً من ذلك." |
| 1048 |
|
| 1049 |
#. type: Plain text |
| 1050 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1051 |
msgid "" |
| 1052 |
"The record locks described above are associated with the process (unlike the " |
| 1053 |
"open file description locks described below). This has some unfortunate " |
| 1054 |
"consequences:" |
| 1055 |
msgstr "" |
| 1056 |
"أقفال السجلات الموضحة أعلاه مرتبطة بالعملية (على عكس أقفال وصف الملف المفتوح " |
| 1057 |
"الموضحة أدناه). وهذا له بعض العواقب المؤسفة:" |
| 1058 |
|
| 1059 |
#. type: IP |
| 1060 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1061 |
#, no-wrap |
| 1062 |
msgid "\\[bu]" |
| 1063 |
msgstr "\\[bu]" |
| 1064 |
|
| 1065 |
#. (Additional file descriptors referring to the same file |
| 1066 |
#. may have been obtained by calls to |
| 1067 |
#. .BR open "(2), " dup "(2), " dup2 "(2), or " fcntl ().) |
| 1068 |
#. type: Plain text |
| 1069 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1070 |
msgid "" |
| 1071 |
"If a process closes I<any> file descriptor referring to a file, then all of " |
| 1072 |
"the process's locks on that file are released, regardless of the file " |
| 1073 |
"descriptor(s) on which the locks were obtained. This is bad: it means that " |
| 1074 |
"a process can lose its locks on a file such as I</etc/passwd> or I</etc/" |
| 1075 |
"mtab> when for some reason a library function decides to open, read, and " |
| 1076 |
"close the same file." |
| 1077 |
msgstr "" |
| 1078 |
"إذا أغلقت عملية I<أي> واصف ملف يشير إلى ملف، فستُحرّر جميع أقفال العملية على " |
| 1079 |
"ذلك الملف، بغض النظر عن واصف (أو واصفات) الملف التي استُخدمت للحصول على " |
| 1080 |
"الأقفال. هذا أمر سيئ: فهذا يعني أن العملية يمكن أن تفقد أقفالها على ملف مثل " |
| 1081 |
"I</etc/passwd> أو I</etc/mtab> عندما تقرر دالة مكتبة لسبب ما فتح وقراءة " |
| 1082 |
"وإغلاق نفس الملف." |
| 1083 |
|
| 1084 |
#. type: Plain text |
| 1085 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1086 |
msgid "" |
| 1087 |
"The threads in a process share locks. In other words, a multithreaded " |
| 1088 |
"program can't use record locking to ensure that threads don't simultaneously " |
| 1089 |
"access the same region of a file." |
| 1090 |
msgstr "" |
| 1091 |
"تتشارك الخيوط في العملية الأقفال. بعبارة أخرى، لا يمكن لبرنامج متعدد الخيوط " |
| 1092 |
"استخدام قفل السجلات لضمان عدم وصول الخيوط في نفس الوقت إلى نفس المنطقة من " |
| 1093 |
"الملف." |
| 1094 |
|
| 1095 |
#. type: Plain text |
| 1096 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1097 |
msgid "Open file description locks solve both of these problems." |
| 1098 |
msgstr "تحل أقفال وصف الملف المفتوح كلتا المشكلتين." |
| 1099 |
|
| 1100 |
#. FIXME . Review progress into POSIX |
| 1101 |
#. http://austingroupbugs.net/view.php?id=768 |
| 1102 |
#. type: Plain text |
| 1103 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1104 |
msgid "" |
| 1105 |
"Open file description locks are advisory byte-range locks whose operation is " |
| 1106 |
"in most respects identical to the traditional record locks described above. " |
| 1107 |
"This lock type is Linux-specific, and available since Linux 3.15. (There is " |
| 1108 |
"a proposal with the Austin Group to include this lock type in the next " |
| 1109 |
"revision of POSIX.1.) For an explanation of open file descriptions, see " |
| 1110 |
"B<open>(2)." |
| 1111 |
msgstr "" |
| 1112 |
"أقفال وصف الملف المفتوح هي أقفال نطاق-بايت استشارية تتطابق في معظم جوانبها " |
| 1113 |
"مع أقفال السجلات التقليدية الموضحة أعلاه. هذا النوع من الأقفال مخصص للينكس، " |
| 1114 |
"ومتاح منذ لينكس 3.15. (يوجد اقتراح مع مجموعة أوستن Austin Group لتضمين هذا " |
| 1115 |
"النوع من الأقفال في المراجعة القادمة لـ POSIX.1). لشرح أوصاف الملفات " |
| 1116 |
"المفتوحة، انظر B<open>(2)." |
| 1117 |
|
| 1118 |
#. type: Plain text |
| 1119 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1120 |
msgid "" |
| 1121 |
"The principal difference between the two lock types is that whereas " |
| 1122 |
"traditional record locks are associated with a process, open file " |
| 1123 |
"description locks are associated with the open file description on which " |
| 1124 |
"they are acquired, much like locks acquired with B<flock>(2). Consequently " |
| 1125 |
"(and unlike traditional advisory record locks), open file description locks " |
| 1126 |
"are inherited across B<fork>(2) (and B<clone>(2) with B<CLONE_FILES>), and " |
| 1127 |
"are only automatically released on the last close of the open file " |
| 1128 |
"description, instead of being released on any close of the file." |
| 1129 |
msgstr "" |
| 1130 |
"الفرق الرئيس بين نوعي الأقفال هو أنه بينما ترتبط أقفال السجلات التقليدية " |
| 1131 |
"بالعملية، ترتبط أقفال وصف الملف المفتوح بوصف الملف المفتوح الذي اكتُسبت عليه، " |
| 1132 |
"تمامًا مثل الأقفال المكتسبة باستخدام B<flock>(2). وبالتالي (وعلى عكس أقفال " |
| 1133 |
"السجلات الاستشارية التقليدية)، تُرث أقفال وصف الملف المفتوح عبر B<fork>(2) (و " |
| 1134 |
"B<clone>(2) مع B<CLONE_FILES>)، وتُحرّر I<آليًا> فقط عند الإغلاق الأخير لوصف " |
| 1135 |
"الملف المفتوح، بدلاً من تحريرها عند أي إغلاق للملف." |
| 1136 |
|
| 1137 |
#. type: Plain text |
| 1138 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1139 |
msgid "" |
| 1140 |
"Conflicting lock combinations (i.e., a read lock and a write lock or two " |
| 1141 |
"write locks) where one lock is an open file description lock and the other " |
| 1142 |
"is a traditional record lock conflict even when they are acquired by the " |
| 1143 |
"same process on the same file descriptor." |
| 1144 |
msgstr "" |
| 1145 |
"مجموعات الأقفال المتعارضة (أي قفل قراءة وقفل كتابة، أو قفلا كتابة) حيث يكون " |
| 1146 |
"أحد الأقفال قفل وصف ملف مفتوح والآخر قفل سجل تقليدي تتعارض حتى لو اكتُسبت " |
| 1147 |
"بواسطة نفس العملية على نفس واصف الملف." |
| 1148 |
|
| 1149 |
#. type: Plain text |
| 1150 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1151 |
msgid "" |
| 1152 |
"Open file description locks placed via the same open file description (i.e., " |
| 1153 |
"via the same file descriptor, or via a duplicate of the file descriptor " |
| 1154 |
"created by B<fork>(2), B<dup>(2), B<fcntl>() B<F_DUPFD>, and so on) are " |
| 1155 |
"always compatible: if a new lock is placed on an already locked region, then " |
| 1156 |
"the existing lock is converted to the new lock type. (Such conversions may " |
| 1157 |
"result in splitting, shrinking, or coalescing with an existing lock as " |
| 1158 |
"discussed above.)" |
| 1159 |
msgstr "" |
| 1160 |
"أقفال وصف الملف المفتوح التي توضع عبر نفس وصف الملف المفتوح (أي عبر نفس واصف " |
| 1161 |
"الملف، أو عبر نسخة من واصف الملف أُنشئت بواسطة B<fork>(2) أو B<dup>(2) أو " |
| 1162 |
"B<fcntl>() B<F_DUPFD>، وما إلى ذلك) تكون دائمًا متوافقة: إذا وُضع قفل جديد" |
| 1163 |
" على " |
| 1164 |
"منطقة مقفولة بالفعل، فسيُحوّل القفل الحالي إلى نوع القفل الجديد. (قد تؤدي مثل " |
| 1165 |
"هذه التحويلات إلى تقسيم القفل، أو تقليصه، أو دمجه مع قفل موجود كما نُوقش " |
| 1166 |
"أعلاه)." |
| 1167 |
|
| 1168 |
#. type: Plain text |
| 1169 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1170 |
msgid "" |
| 1171 |
"On the other hand, open file description locks may conflict with each other " |
| 1172 |
"when they are acquired via different open file descriptions. Thus, the " |
| 1173 |
"threads in a multithreaded program can use open file description locks to " |
| 1174 |
"synchronize access to a file region by having each thread perform its own " |
| 1175 |
"B<open>(2) on the file and applying locks via the resulting file descriptor." |
| 1176 |
msgstr "" |
| 1177 |
"من ناحية أخرى، قد تتعارض أقفال وصف الملف المفتوح مع بعضها البعض عندما تُكتسب " |
| 1178 |
"عبر أوصاف ملفات مفتوحة مختلفة. وبالتالي، يمكن للخيوط في برنامج متعدد الخيوط " |
| 1179 |
"استخدام أقفال وصف الملف المفتوح لمزامنة الوصول إلى منطقة ملف عن طريق قيام كل " |
| 1180 |
"خيط بإجراء B<open>(2) خاص به على الملف وتطبيق الأقفال عبر واصف الملف الناتج." |
| 1181 |
|
| 1182 |
#. type: Plain text |
| 1183 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1184 |
msgid "" |
| 1185 |
"As with traditional advisory locks, the third argument to B<fcntl>(), " |
| 1186 |
"I<lock>, is a pointer to an I<flock> structure. By contrast with " |
| 1187 |
"traditional record locks, the I<l_pid> field of that structure must be set " |
| 1188 |
"to zero when using the operations described below." |
| 1189 |
msgstr "" |
| 1190 |
"كما هو الحال مع الأقفال الاستشارية التقليدية، فإن المعامل الثالث لـ " |
| 1191 |
"B<fcntl>()، وهو I<lock>، هو مؤشر إلى بنية I<flock>. وبخلاف أقفال السجلات " |
| 1192 |
"التقليدية، يجب ضبط حقل I<l_pid> لتلك البنية على الصفر عند استخدام العمليات " |
| 1193 |
"الموضحة أدناه." |
| 1194 |
|
| 1195 |
#. type: Plain text |
| 1196 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1197 |
msgid "" |
| 1198 |
"The operations for working with open file description locks are analogous to " |
| 1199 |
"those used with traditional locks:" |
| 1200 |
msgstr "" |
| 1201 |
"العمليات المخصصة للتعامل مع أقفال وصف الملف المفتوح مماثلة لتلك المستخدمة مع " |
| 1202 |
"الأقفال التقليدية:" |
| 1203 |
|
| 1204 |
#. type: TP |
| 1205 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1206 |
#, no-wrap |
| 1207 |
msgid "B<F_OFD_SETLK> (I<struct flock *>)" |
| 1208 |
msgstr "B<F_OFD_SETLK> (I<struct flock *>)" |
| 1209 |
|
| 1210 |
#. type: Plain text |
| 1211 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1212 |
msgid "" |
| 1213 |
"Acquire an open file description lock (when I<l_type> is B<F_RDLCK> or " |
| 1214 |
"B<F_WRLCK>) or release an open file description lock (when I<l_type> is " |
| 1215 |
"B<F_UNLCK>) on the bytes specified by the I<l_whence>, I<l_start>, and " |
| 1216 |
"I<l_len> fields of I<lock>. If a conflicting lock is held by another " |
| 1217 |
"process, this call returns -1 and sets I<errno> to B<EAGAIN>." |
| 1218 |
msgstr "" |
| 1219 |
"الاستحواذ على قفل وصف ملف مفتوح (عندما يكون I<l_type> هو B<F_RDLCK> أو " |
| 1220 |
"B<F_WRLCK>) أو تحرير قفل وصف ملف مفتوح (عندما يكون I<l_type> هو B<F_UNLCK>) " |
| 1221 |
"على البايتات المحددة بواسطة حقول I<l_whence> و I<l_start> و I<l_len> للمعامل " |
| 1222 |
"I<lock>. إذا كانت هناك عملية أخرى تحوز قفلاً متعارضًا، فإن هذا الاستدعاء يعيد " |
| 1223 |
"-1 ويضبط I<errno> على B<EAGAIN>." |
| 1224 |
|
| 1225 |
#. type: TP |
| 1226 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1227 |
#, no-wrap |
| 1228 |
msgid "B<F_OFD_SETLKW> (I<struct flock *>)" |
| 1229 |
msgstr "B<F_OFD_SETLKW> (I<struct flock *>)" |
| 1230 |
|
| 1231 |
#. type: Plain text |
| 1232 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1233 |
msgid "" |
| 1234 |
"As for B<F_OFD_SETLK>, but if a conflicting lock is held on the file, then " |
| 1235 |
"wait for that lock to be released. If a signal is caught while waiting, " |
| 1236 |
"then the call is interrupted and (after the signal handler has returned) " |
| 1237 |
"returns immediately (with return value -1 and I<errno> set to B<EINTR>; see " |
| 1238 |
"B<signal>(7))." |
| 1239 |
msgstr "" |
| 1240 |
"كما هو الحال في B<F_OFD_SETLK>، ولكن إذا كان هناك قفل متعارض محوز على الملف، " |
| 1241 |
"فانتظر حتى يُحرّر ذلك القفل. إذا التُقطت إشارة أثناء الانتظار، فسيُقاطع " |
| 1242 |
"الاستدعاء ويعيد (بعد عودة معالج الإشارة) القيمة فوريًا (مع قيمة إرجاع -1 وضبط " |
| 1243 |
"I<errno> على B<EINTR>؛ انظر B<signal>(7))." |
| 1244 |
|
| 1245 |
#. type: TP |
| 1246 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1247 |
#, no-wrap |
| 1248 |
msgid "B<F_OFD_GETLK> (I<struct flock *>)" |
| 1249 |
msgstr "B<F_OFD_GETLK> (I<struct flock *>)" |
| 1250 |
|
| 1251 |
#. type: Plain text |
| 1252 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1253 |
msgid "" |
| 1254 |
"On input to this call, I<lock> describes an open file description lock we " |
| 1255 |
"would like to place on the file. If the lock could be placed, B<fcntl>() " |
| 1256 |
"does not actually place it, but returns B<F_UNLCK> in the I<l_type> field of " |
| 1257 |
"I<lock> and leaves the other fields of the structure unchanged. If one or " |
| 1258 |
"more incompatible locks would prevent this lock being placed, then details " |
| 1259 |
"about one of these locks are returned via I<lock>, as described above for " |
| 1260 |
"B<F_GETLK>." |
| 1261 |
msgstr "" |
| 1262 |
"عند إدخال هذا الاستدعاء، يصف I<lock> قفل وصف ملف مفتوح نود وضعه على الملف. " |
| 1263 |
"إذا كان بالإمكان وضع القفل، فإن B<fcntl>() لا يضعه فعليًا، بل يعيد B<F_UNLCK> " |
| 1264 |
"في حقل I<l_type> من I<lock> ويترك الحقول الأخرى للبنية دون تغيير. إذا كان " |
| 1265 |
"هناك قفل أو أكثر غير متوافق يمنع وضع هذا القفل، فستُعاد تفاصيل حول أحد هذه " |
| 1266 |
"الأقفال عبر I<lock>، كما هو موضح أعلاه لـ B<F_GETLK>." |
| 1267 |
|
| 1268 |
#. commit 57b65325fe34ec4c917bc4e555144b4a94d9e1f7 |
| 1269 |
#. type: Plain text |
| 1270 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1271 |
msgid "" |
| 1272 |
"In the current implementation, no deadlock detection is performed for open " |
| 1273 |
"file description locks. (This contrasts with process-associated record " |
| 1274 |
"locks, for which the kernel does perform deadlock detection.)" |
| 1275 |
msgstr "" |
| 1276 |
"في التنفيذ الحالي، لا يتم إجراء اكتشاف استعصاء لأقفال وصف الملف المفتوح. " |
| 1277 |
"(يتعارض هذا مع أقفال السجلات المرتبطة بالعملية، والتي تقوم الـ I<نواة> " |
| 1278 |
"بإجراء اكتشاف الاستعصاء لها)." |
| 1279 |
|
| 1280 |
#. type: SS |
| 1281 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1282 |
#, no-wrap |
| 1283 |
msgid "Mandatory locking" |
| 1284 |
msgstr "القفل الإلزامي" |
| 1285 |
|
| 1286 |
#. type: Plain text |
| 1287 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1288 |
msgid "" |
| 1289 |
"I<Warning>: the Linux implementation of mandatory locking is unreliable. " |
| 1290 |
"See BUGS below. Because of these bugs, and the fact that the feature is " |
| 1291 |
"believed to be little used, since Linux 4.5, mandatory locking has been made " |
| 1292 |
"an optional feature, governed by a configuration option " |
| 1293 |
"(B<CONFIG_MANDATORY_FILE_LOCKING>). This feature is no longer supported at " |
| 1294 |
"all in Linux 5.15 and above." |
| 1295 |
msgstr "" |
| 1296 |
"I<تحذير>: تنفيذ لينكس للقفل الإلزامي غير موثوق به. انظر قسم BUGS أدناه. بسبب " |
| 1297 |
"هذه العيوب، وحقيقة أنه يُعتقد أن هذه الميزة قليلة الاستخدام، فقد أُصبح القفل " |
| 1298 |
"الإلزامي ميزة اختيارية منذ لينكس 4.5، يحكمها خيار الضبط " |
| 1299 |
"(B<CONFIG_MANDATORY_FILE_LOCKING>). لم تعد هذه الميزة مدعومة على الإطلاق في " |
| 1300 |
"لينكس 5.15 وما فوق." |
| 1301 |
|
| 1302 |
#. type: Plain text |
| 1303 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1304 |
msgid "" |
| 1305 |
"By default, both traditional (process-associated) and open file description " |
| 1306 |
"record locks are advisory. Advisory locks are not enforced and are useful " |
| 1307 |
"only between cooperating processes." |
| 1308 |
msgstr "" |
| 1309 |
"بشكل مبدئي، تكون كل من أقفال السجلات التقليدية (المرتبطة بالعملية) وأقفال " |
| 1310 |
"وصف الملف المفتوح استشارية. الأقفال الاستشارية لا تُفرض وهي مفيدة فقط بين " |
| 1311 |
"العمليات المتعاونة." |
| 1312 |
|
| 1313 |
#. type: Plain text |
| 1314 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1315 |
msgid "" |
| 1316 |
"Both lock types can also be mandatory. Mandatory locks are enforced for all " |
| 1317 |
"processes. If a process tries to perform an incompatible access (e.g., " |
| 1318 |
"B<read>(2) or B<write>(2)) on a file region that has an incompatible " |
| 1319 |
"mandatory lock, then the result depends upon whether the B<O_NONBLOCK> flag " |
| 1320 |
"is enabled for its open file description. If the B<O_NONBLOCK> flag is not " |
| 1321 |
"enabled, then the system call is blocked until the lock is removed or " |
| 1322 |
"converted to a mode that is compatible with the access. If the " |
| 1323 |
"B<O_NONBLOCK> flag is enabled, then the system call fails with the error " |
| 1324 |
"B<EAGAIN>." |
| 1325 |
msgstr "" |
| 1326 |
"يمكن أن يكون كلا نوعي القفل إلزاميين أيضًا. تُفرض الأقفال الإلزامية على جميع " |
| 1327 |
"العمليات. إذا حاولت عملية إجراء وصول غير متوافق (مثل B<read>(2) أو " |
| 1328 |
"B<write>(2)) على منطقة ملف بها قفل إلزامي غير متوافق، فإن النتيجة تعتمد على " |
| 1329 |
"ما إذا كان علم B<O_NONBLOCK> مفعلاً لوصف الملف المفتوح الخاص بها. إذا لم يكن " |
| 1330 |
"علم B<O_NONBLOCK> مفعلاً، فسيُحظر استدعاء النظام حتى يُزال القفل أو يُحوّل" |
| 1331 |
" إلى " |
| 1332 |
"وضع متوافق مع الوصول. إذا كان علم B<O_NONBLOCK> مفعلاً، فإن استدعاء النظام " |
| 1333 |
"يفشل مع الخطأ B<EAGAIN>." |
| 1334 |
|
| 1335 |
#. type: Plain text |
| 1336 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1337 |
msgid "" |
| 1338 |
"To make use of mandatory locks, mandatory locking must be enabled both on " |
| 1339 |
"the filesystem that contains the file to be locked, and on the file itself. " |
| 1340 |
"Mandatory locking is enabled on a filesystem using the \"-o mand\" option to " |
| 1341 |
"B<mount>(8), or the B<MS_MANDLOCK> flag for B<mount>(2). Mandatory locking " |
| 1342 |
"is enabled on a file by disabling group execute permission on the file and " |
| 1343 |
"enabling the set-group-ID permission bit (see B<chmod>(1) and B<chmod>(2))." |
| 1344 |
msgstr "" |
| 1345 |
"للاستفادة من الأقفال الإلزامية، يجب تمكين القفل الإلزامي على كل من I<نظام " |
| 1346 |
"الملفات> الذي يحتوي على الملف المراد قفله، وعلى الملف نفسه. يُمكن القفل " |
| 1347 |
"الإلزامي على I<نظام ملفات> باستخدام خيار \"-o mand\" للأمر B<mount>(8)، أو " |
| 1348 |
"علم B<MS_MANDLOCK> لـ B<mount>(2). يُمكن القفل الإلزامي على ملف عن طريق تعطيل " |
| 1349 |
"إذن التنفيذ للمجموعة على الملف وتمكين بت إذن set-group-ID (انظر B<chmod>(1) " |
| 1350 |
"و B<chmod>(2))." |
| 1351 |
|
| 1352 |
#. type: Plain text |
| 1353 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1354 |
msgid "" |
| 1355 |
"Mandatory locking is not specified by POSIX. Some other systems also " |
| 1356 |
"support mandatory locking, although the details of how to enable it vary " |
| 1357 |
"across systems." |
| 1358 |
msgstr "" |
| 1359 |
"لم يتم تحديد القفل الإلزامي بواسطة POSIX. تدعم بعض الأنظمة الأخرى أيضًا القفل " |
| 1360 |
"الإلزامي، على الرغم من أن تفاصيل كيفية تمكينه تختلف عبر الأنظمة." |
| 1361 |
|
| 1362 |
#. type: SS |
| 1363 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1364 |
#, no-wrap |
| 1365 |
msgid "Lost locks" |
| 1366 |
msgstr "الأقفال المفقودة" |
| 1367 |
|
| 1368 |
#. type: Plain text |
| 1369 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1370 |
msgid "" |
| 1371 |
"When an advisory lock is obtained on a networked filesystem such as NFS it " |
| 1372 |
"is possible that the lock might get lost. This may happen due to " |
| 1373 |
"administrative action on the server, or due to a network partition (i.e., " |
| 1374 |
"loss of network connectivity with the server) which lasts long enough for " |
| 1375 |
"the server to assume that the client is no longer functioning." |
| 1376 |
msgstr "" |
| 1377 |
"عند الحصول على قفل استشاري على I<نظام ملفات> شبكي مثل NFS، فمن الممكن أن " |
| 1378 |
"يُفقد القفل. قد يحدث هذا بسبب إجراء إداري على الخادم، أو بسبب انقسام الشبكة " |
| 1379 |
"(أي فقدان الاتصال بالشبكة مع الخادم) الذي يستمر لفترة كافية ليفتضر الخادم أن " |
| 1380 |
"العميل لم يعد يعمل." |
| 1381 |
|
| 1382 |
#. commit ef1820f9be27b6ad158f433ab38002ab8131db4d |
| 1383 |
#. type: Plain text |
| 1384 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1385 |
msgid "" |
| 1386 |
"When the filesystem determines that a lock has been lost, future B<read>(2) " |
| 1387 |
"or B<write>(2) requests may fail with the error B<EIO>. This error will " |
| 1388 |
"persist until the lock is removed or the file descriptor is closed. Since " |
| 1389 |
"Linux 3.12, this happens at least for NFSv4 (including all minor versions)." |
| 1390 |
msgstr "" |
| 1391 |
"عندما يحدد I<نظام الملفات> أن القفل قد فُقد، قد تفشل طلبات B<read>(2) أو " |
| 1392 |
"B<write>(2) المستقبلية مع الخطأ B<EIO>. سيستمر هذا الخطأ حتى يُزال القفل أو " |
| 1393 |
"يُغلق واصف الملف. منذ لينكس 3.12، يحدث هذا على الأقل لـ NFSv4 (بما في ذلك " |
| 1394 |
"جميع الإصدارات الفرعية)." |
| 1395 |
|
| 1396 |
#. type: Plain text |
| 1397 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1398 |
msgid "" |
| 1399 |
"Some versions of UNIX send a signal (B<SIGLOST>) in this circumstance. " |
| 1400 |
"Linux does not define this signal, and does not provide any asynchronous " |
| 1401 |
"notification of lost locks." |
| 1402 |
msgstr "" |
| 1403 |
"ترسل بعض إصدارات UNIX إشارة (B<SIGLOST>) في هذه الحالة. لا تعرّف لينكس هذه " |
| 1404 |
"الإشارة، ولا توفر أي I<إشعار> غير متزامن بالأقفال المفقودة." |
| 1405 |
|
| 1406 |
#. type: Plain text |
| 1407 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1408 |
msgid "" |
| 1409 |
"B<F_GETOWN>, B<F_SETOWN>, B<F_GETOWN_EX>, B<F_SETOWN_EX>, B<F_GETSIG>, and " |
| 1410 |
"B<F_SETSIG> are used to manage I/O availability signals:" |
| 1411 |
msgstr "" |
| 1412 |
"تُستخدم B<F_GETOWN> و B<F_SETOWN> و B<F_GETOWN_EX> و B<F_SETOWN_EX> و " |
| 1413 |
"B<F_GETSIG> و B<F_SETSIG> لإدارة إشارات توفر الإدخال/الإخراج:" |
| 1414 |
|
| 1415 |
#. type: TP |
| 1416 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1417 |
#, no-wrap |
| 1418 |
msgid "B<F_GETOWN> (I<void>)" |
| 1419 |
msgstr "B<F_GETOWN> (I<void>)" |
| 1420 |
|
| 1421 |
#. type: Plain text |
| 1422 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1423 |
msgid "" |
| 1424 |
"Return (as the function result) the process ID or process group ID " |
| 1425 |
"currently receiving B<SIGIO> and B<SIGURG> signals for events on file " |
| 1426 |
"descriptor I<fd>. Process IDs are returned as positive values; process " |
| 1427 |
"group IDs are returned as negative values (but see BUGS below). I<arg> is " |
| 1428 |
"ignored." |
| 1429 |
msgstr "" |
| 1430 |
"إرجاع (كنتيجة للدالة) معرف العملية أو معرف مجموعة العمليات التي تتلقى حاليًا " |
| 1431 |
"إشارات B<SIGIO> و B<SIGURG> للأحداث على واصف الملف I<fd>. تُعاد معرفات " |
| 1432 |
"العمليات كقيم موجبة؛ وتُعاد معرفات مجموعات العمليات كقيم سالبة (ولكن انظر قسم " |
| 1433 |
"BUGS أدناه). يُتجاهل المعامل I<arg>." |
| 1434 |
|
| 1435 |
#. type: TP |
| 1436 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1437 |
#, no-wrap |
| 1438 |
msgid "B<F_SETOWN> (I<int>)" |
| 1439 |
msgstr "B<F_SETOWN> (I<int>)" |
| 1440 |
|
| 1441 |
#. type: Plain text |
| 1442 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1443 |
msgid "" |
| 1444 |
"Set the process ID or process group ID that will receive B<SIGIO> and " |
| 1445 |
"B<SIGURG> signals for events on the file descriptor I<fd>. The target " |
| 1446 |
"process or process group ID is specified in I<arg>. A process ID is " |
| 1447 |
"specified as a positive value; a process group ID is specified as a negative " |
| 1448 |
"value. Most commonly, the calling process specifies itself as the owner " |
| 1449 |
"(that is, I<arg> is specified as B<getpid>(2))." |
| 1450 |
msgstr "" |
| 1451 |
"ضبط معرف العملية أو معرف مجموعة العمليات التي ستتلقى إشارات B<SIGIO> و " |
| 1452 |
"B<SIGURG> للأحداث على واصف الملف I<fd>. يُحدد معرف العملية المستهدفة أو " |
| 1453 |
"مجموعة العمليات في I<arg>. يُحدد معرف العملية كقيمة موجبة؛ ويُحدد معرف مجموعة " |
| 1454 |
"العمليات كقيمة سالبة. في الغالب، يحدد I<المستدعِي> نفسه كمالك (أي يُحدد I<arg" |
| 1455 |
"> " |
| 1456 |
"كنتيجة لـ B<getpid>(2))." |
| 1457 |
|
| 1458 |
#. type: Plain text |
| 1459 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1460 |
msgid "" |
| 1461 |
"As well as setting the file descriptor owner, one must also enable " |
| 1462 |
"generation of signals on the file descriptor. This is done by using the " |
| 1463 |
"B<fcntl>() B<F_SETFL> operation to set the B<O_ASYNC> file status flag on " |
| 1464 |
"the file descriptor. Subsequently, a B<SIGIO> signal is sent whenever input " |
| 1465 |
"or output becomes possible on the file descriptor. The B<fcntl>() " |
| 1466 |
"B<F_SETSIG> operation can be used to obtain delivery of a signal other than " |
| 1467 |
"B<SIGIO>." |
| 1468 |
msgstr "" |
| 1469 |
"بالإضافة إلى ضبط مالك واصف الملف، يجب أيضًا تمكين توليد الإشارات على واصف " |
| 1470 |
"الملف. يتم ذلك باستخدام عملية B<fcntl>() B<F_SETFL> لضبط علم حالة الملف " |
| 1471 |
"B<O_ASYNC> على واصف الملف. لاحقًا، تُرسل إشارة B<SIGIO> كلما أصبح الإدخال أو " |
| 1472 |
"الإخراج ممكنًا على واصف الملف. يمكن استخدام عملية B<fcntl>() B<F_SETSIG> " |
| 1473 |
"للحصول على تسليم إشارة أخرى غير B<SIGIO>." |
| 1474 |
|
| 1475 |
#. type: Plain text |
| 1476 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1477 |
msgid "" |
| 1478 |
"Sending a signal to the owner process (group) specified by B<F_SETOWN> is " |
| 1479 |
"subject to the same permissions checks as are described for B<kill>(2), " |
| 1480 |
"where the sending process is the one that employs B<F_SETOWN> (but see BUGS " |
| 1481 |
"below). If this permission check fails, then the signal is silently " |
| 1482 |
"discarded. I<Note>: The B<F_SETOWN> operation records the caller's " |
| 1483 |
"credentials at the time of the B<fcntl>() call, and it is these saved " |
| 1484 |
"credentials that are used for the permission checks." |
| 1485 |
msgstr "" |
| 1486 |
"يخضع إرسال إشارة إلى عملية المالك (أو المجموعة) المحددة بواسطة B<F_SETOWN> " |
| 1487 |
"لنفس عمليات التحقق من الأذونات الموضحة في B<kill>(2)، حيث تكون العملية " |
| 1488 |
"المرسلة هي تلك التي تستخدم B<F_SETOWN> (ولكن انظر قسم BUGS أدناه). إذا فشل " |
| 1489 |
"التحقق من الإذن، فسيتم تجاهل الإشارة بصمت. I<ملاحظة>: تسجل عملية B<F_SETOWN> " |
| 1490 |
"بيانات الاستيثاق الخاصة بـ I<المستدعِي> في وقت استدعاء B<fcntl>()، وتُستخدم " |
| 1491 |
"بيانات الاستيثاق المحفوظة هذه للتحقق من الأذونات." |
| 1492 |
|
| 1493 |
# |
| 1494 |
#. The following appears to be rubbish. It doesn't seem to |
| 1495 |
#. be true according to the kernel source, and I can write |
| 1496 |
#. a program that gets a terminal-generated SIGIO even though |
| 1497 |
#. it is not the foreground process group of the terminal. |
| 1498 |
#. -- MTK, 8 Apr 05 |
| 1499 |
#. If the file descriptor |
| 1500 |
#. .I fd |
| 1501 |
#. refers to a terminal device, then SIGIO |
| 1502 |
#. signals are sent to the foreground process group of the terminal. |
| 1503 |
#. type: Plain text |
| 1504 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1505 |
msgid "" |
| 1506 |
"If the file descriptor I<fd> refers to a socket, B<F_SETOWN> also selects " |
| 1507 |
"the recipient of B<SIGURG> signals that are delivered when out-of-band data " |
| 1508 |
"arrives on that socket. (B<SIGURG> is sent in any situation where " |
| 1509 |
"B<select>(2) would report the socket as having an \"exceptional " |
| 1510 |
"condition\".)" |
| 1511 |
msgstr "" |
| 1512 |
"إذا كان واصف الملف I<fd> يشير إلى مقبس، فإن B<F_SETOWN> يختار أيضًا مستلم " |
| 1513 |
"إشارات B<SIGURG> التي تُسلم عند وصول بيانات خارج النطاق (out-of-band) على ذلك " |
| 1514 |
"المقبس. (تُرسل B<SIGURG> في أي حالة يبلغ فيها B<select>(2) أن المقبس لديه " |
| 1515 |
"\"حالة استثنائية\")." |
| 1516 |
|
| 1517 |
#. type: Plain text |
| 1518 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1519 |
msgid "The following was true in Linux 2.6.x up to and including Linux 2.6.11:" |
| 1520 |
msgstr "" |
| 1521 |
"كان ما يلي صحيحًا في لينكس 2.6.x حتى لينكس 2.6.11 (بما في ذلك هذا الأخير):" |
| 1522 |
|
| 1523 |
#. The relevant place in the (2.6) kernel source is the |
| 1524 |
#. 'switch' in fs/fcntl.c::send_sigio_to_task() -- MTK, Apr 2005 |
| 1525 |
#. send_sigurg()/send_sigurg_to_task() bypasses |
| 1526 |
#. kill_fasync()/send_sigio()/send_sigio_to_task() |
| 1527 |
#. to directly call send_group_sig_info() |
| 1528 |
#. -- MTK, Apr 2005 (kernel 2.6.11) |
| 1529 |
#. type: Plain text |
| 1530 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1531 |
msgid "" |
| 1532 |
"If a nonzero value is given to B<F_SETSIG> in a multithreaded process " |
| 1533 |
"running with a threading library that supports thread groups (e.g., NPTL), " |
| 1534 |
"then a positive value given to B<F_SETOWN> has a different meaning: instead " |
| 1535 |
"of being a process ID identifying a whole process, it is a thread ID " |
| 1536 |
"identifying a specific thread within a process. Consequently, it may be " |
| 1537 |
"necessary to pass B<F_SETOWN> the result of B<gettid>(2) instead of " |
| 1538 |
"B<getpid>(2) to get sensible results when B<F_SETSIG> is used. (In current " |
| 1539 |
"Linux threading implementations, a main thread's thread ID is the same as " |
| 1540 |
"its process ID. This means that a single-threaded program can equally use " |
| 1541 |
"B<gettid>(2) or B<getpid>(2) in this scenario.) Note, however, that the " |
| 1542 |
"statements in this paragraph do not apply to the B<SIGURG> signal generated " |
| 1543 |
"for out-of-band data on a socket: this signal is always sent to either a " |
| 1544 |
"process or a process group, depending on the value given to B<F_SETOWN>." |
| 1545 |
msgstr "" |
| 1546 |
"إذا أُعطيت قيمة غير صفرية لـ B<F_SETSIG> في عملية متعددة الخيوط تعمل مع مكتبة " |
| 1547 |
"خيوط تدعم مجموعات الخيوط (مثل NPTL)، فإن القيمة الموجبة المعطاة لـ " |
| 1548 |
"B<F_SETOWN> لها معنى مختلف: فبدلاً من كونها معرف عملية يحدد عملية كاملة، تكون " |
| 1549 |
"معرف خيط يحدد خيطًا معينًا داخل عملية. وبالتالي، قد يكون من الضروري تمرير " |
| 1550 |
"نتيجة B<gettid>(2) إلى B<F_SETOWN> بدلاً من B<getpid>(2) للحصول على نتائج " |
| 1551 |
"منطقية عند استخدام B<F_SETSIG>. (في تنفيذات خيوط لينكس الحالية، يكون معرف " |
| 1552 |
"الخيط الرئيس هو نفسه معرف العملية الخاص به. وهذا يعني أن البرنامج أحادي " |
| 1553 |
"الخيط يمكنه استخدام B<gettid>(2) أو B<getpid>(2) على حد سواء في هذا " |
| 1554 |
"السيناريو). لاحظ، مع ذلك، أن البيانات الواردة في هذه الفقرة لا تنطبق على " |
| 1555 |
"إشارة B<SIGURG> المتولدة لبيانات خارج النطاق على مقبس: تُرسل هذه الإشارة " |
| 1556 |
"دائمًا إما إلى عملية أو مجموعة عمليات، اعتمادًا على القيمة المعطاة لـ " |
| 1557 |
"B<F_SETOWN>." |
| 1558 |
|
| 1559 |
#. type: Plain text |
| 1560 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1561 |
msgid "" |
| 1562 |
"The above behavior was accidentally dropped in Linux 2.6.12, and won't be " |
| 1563 |
"restored. From Linux 2.6.32 onward, use B<F_SETOWN_EX> to target B<SIGIO> " |
| 1564 |
"and B<SIGURG> signals at a particular thread." |
| 1565 |
msgstr "" |
| 1566 |
"أُسقط السلوك أعلاه عن طريق الخطأ في لينكس 2.6.12، ولن يُستعاد. بدءًا من لينكس " |
| 1567 |
"2.6.32 فصاعدًا، استخدم B<F_SETOWN_EX> لتوجيه إشارات B<SIGIO> و B<SIGURG> إلى " |
| 1568 |
"خيط معين." |
| 1569 |
|
| 1570 |
#. type: TP |
| 1571 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1572 |
#, no-wrap |
| 1573 |
msgid "B<F_GETOWN_EX> (I<struct f_owner_ex *>) (since Linux 2.6.32)" |
| 1574 |
msgstr "B<F_GETOWN_EX> (I<struct f_owner_ex *>) (منذ لينكس 2.6.32)" |
| 1575 |
|
| 1576 |
#. type: Plain text |
| 1577 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1578 |
msgid "" |
| 1579 |
"Return the current file descriptor owner settings as defined by a previous " |
| 1580 |
"B<F_SETOWN_EX> operation. The information is returned in the structure " |
| 1581 |
"pointed to by I<arg>, which has the following form:" |
| 1582 |
msgstr "" |
| 1583 |
"إرجاع إعدادات مالك واصف الملف الحالية كما حددتها عملية B<F_SETOWN_EX> سابقة. " |
| 1584 |
"تُعاد المعلومات في البنية التي يشير إليها I<arg>، والتي لها الشكل التالي:" |
| 1585 |
|
| 1586 |
#. type: Plain text |
| 1587 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1588 |
#, no-wrap |
| 1589 |
msgid "" |
| 1590 |
"struct f_owner_ex {\n" |
| 1591 |
" int type;\n" |
| 1592 |
" pid_t pid;\n" |
| 1593 |
"};\n" |
| 1594 |
msgstr "" |
| 1595 |
"struct f_owner_ex {\n" |
| 1596 |
" int type;\n" |
| 1597 |
" pid_t pid;\n" |
| 1598 |
"};\n" |
| 1599 |
|
| 1600 |
#. type: Plain text |
| 1601 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1602 |
msgid "" |
| 1603 |
"The I<type> field will have one of the values B<F_OWNER_TID>, " |
| 1604 |
"B<F_OWNER_PID>, or B<F_OWNER_PGRP>. The I<pid> field is a positive integer " |
| 1605 |
"representing a thread ID, process ID, or process group ID. See " |
| 1606 |
"B<F_SETOWN_EX> for more details." |
| 1607 |
msgstr "" |
| 1608 |
"سيحتوي حقل I<type> على إحدى القيم B<F_OWNER_TID>، أو B<F_OWNER_PID>، أو " |
| 1609 |
"B<F_OWNER_PGRP>. حقل I<pid> هو عدد صحيح موجب يمثل معرف خيط، أو معرف عملية، " |
| 1610 |
"أو معرف مجموعة عمليات. انظر B<F_SETOWN_EX> لمزيد من التفاصيل." |
| 1611 |
|
| 1612 |
#. type: TP |
| 1613 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1614 |
#, no-wrap |
| 1615 |
msgid "B<F_SETOWN_EX> (I<struct f_owner_ex *>) (since Linux 2.6.32)" |
| 1616 |
msgstr "B<F_SETOWN_EX> (I<struct f_owner_ex *>) (منذ لينكس 2.6.32)" |
| 1617 |
|
| 1618 |
#. type: Plain text |
| 1619 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1620 |
msgid "" |
| 1621 |
"This operation performs a similar task to B<F_SETOWN>. It allows the caller " |
| 1622 |
"to direct I/O availability signals to a specific thread, process, or process " |
| 1623 |
"group. The caller specifies the target of signals via I<arg>, which is a " |
| 1624 |
"pointer to a I<f_owner_ex> structure. The I<type> field has one of the " |
| 1625 |
"following values, which define how I<pid> is interpreted:" |
| 1626 |
msgstr "" |
| 1627 |
"تؤدي هذه العملية مهمة مماثلة لـ B<F_SETOWN>. وهي تسمح لـ I<المستدعِي> بتوجيه " |
| 1628 |
"إشارات توفر الإدخال/الإخراج إلى خيط أو عملية أو مجموعة عمليات معينة. يحدد " |
| 1629 |
"I<المستدعِي> هدف الإشارات عبر I<arg>، وهو مؤشر إلى بنية I<f_owner_ex>. يحتوي " |
| 1630 |
"حقل I<type> على إحدى القيم التالية، والتي تحدد كيفية تفسير I<pid>:" |
| 1631 |
|
| 1632 |
#. type: TP |
| 1633 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1634 |
#, no-wrap |
| 1635 |
msgid "B<F_OWNER_TID>" |
| 1636 |
msgstr "B<F_OWNER_TID>" |
| 1637 |
|
| 1638 |
#. type: Plain text |
| 1639 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1640 |
msgid "" |
| 1641 |
"Send the signal to the thread whose thread ID (the value returned by a call " |
| 1642 |
"to B<clone>(2) or B<gettid>(2)) is specified in I<pid>." |
| 1643 |
msgstr "" |
| 1644 |
"إرسال الإشارة إلى الخيط الذي يكون معرفه (القيمة المعادة بواسطة استدعاء " |
| 1645 |
"B<clone>(2) أو B<gettid>(2)) محددًا في I<pid>." |
| 1646 |
|
| 1647 |
#. type: TP |
| 1648 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1649 |
#, no-wrap |
| 1650 |
msgid "B<F_OWNER_PID>" |
| 1651 |
msgstr "B<F_OWNER_PID>" |
| 1652 |
|
| 1653 |
#. type: Plain text |
| 1654 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1655 |
msgid "Send the signal to the process whose ID is specified in I<pid>." |
| 1656 |
msgstr "إرسال الإشارة إلى العملية التي يكون معرفها محددًا في I<pid>." |
| 1657 |
|
| 1658 |
#. type: TP |
| 1659 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1660 |
#, no-wrap |
| 1661 |
msgid "B<F_OWNER_PGRP>" |
| 1662 |
msgstr "B<F_OWNER_PGRP>" |
| 1663 |
|
| 1664 |
#. type: Plain text |
| 1665 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1666 |
msgid "" |
| 1667 |
"Send the signal to the process group whose ID is specified in I<pid>. (Note " |
| 1668 |
"that, unlike with B<F_SETOWN>, a process group ID is specified as a positive " |
| 1669 |
"value here.)" |
| 1670 |
msgstr "" |
| 1671 |
"إرسال الإشارة إلى مجموعة العمليات التي يكون معرفها محددًا في I<pid>. (لاحظ " |
| 1672 |
"أنه، على عكس B<F_SETOWN>، يُحدد معرف مجموعة العمليات كقيمة موجبة هنا)." |
| 1673 |
|
| 1674 |
#. type: TP |
| 1675 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1676 |
#, no-wrap |
| 1677 |
msgid "B<F_GETSIG> (I<void>)" |
| 1678 |
msgstr "B<F_GETSIG> (I<void>)" |
| 1679 |
|
| 1680 |
#. type: Plain text |
| 1681 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1682 |
msgid "" |
| 1683 |
"Return (as the function result) the signal sent when input or output " |
| 1684 |
"becomes possible. A value of zero means B<SIGIO> is sent. Any other value " |
| 1685 |
"(including B<SIGIO>) is the signal sent instead, and in this case " |
| 1686 |
"additional info is available to the signal handler if installed with " |
| 1687 |
"B<SA_SIGINFO>. I<arg> is ignored." |
| 1688 |
msgstr "" |
| 1689 |
"إرجاع (كنتيجة للدالة) الإشارة المرسلة عندما يصبح الإدخال أو الإخراج ممكنًا. " |
| 1690 |
"القيمة صفر تعني إرسال B<SIGIO>. أي قيمة أخرى (بما في ذلك B<SIGIO>) هي " |
| 1691 |
"الإشارة المرسلة بدلاً من ذلك، وفي هذه الحالة تتوفر معلومات إضافية لمعالج " |
| 1692 |
"الإشارة إذا ثُبت بـ B<SA_SIGINFO>. يُتجاهل I<arg>." |
| 1693 |
|
| 1694 |
#. type: TP |
| 1695 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1696 |
#, no-wrap |
| 1697 |
msgid "B<F_SETSIG> (I<int>)" |
| 1698 |
msgstr "B<F_SETSIG> (I<int>)" |
| 1699 |
|
| 1700 |
# |
| 1701 |
# |
| 1702 |
#. The following was true only up until Linux 2.6.11: |
| 1703 |
#. Additionally, passing a nonzero value to |
| 1704 |
#. .B F_SETSIG |
| 1705 |
#. changes the signal recipient from a whole process to a specific thread |
| 1706 |
#. within a process. |
| 1707 |
#. See the description of |
| 1708 |
#. .B F_SETOWN |
| 1709 |
#. for more details. |
| 1710 |
#. type: Plain text |
| 1711 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1712 |
msgid "" |
| 1713 |
"Set the signal sent when input or output becomes possible to the value given " |
| 1714 |
"in I<arg>. A value of zero means to send the default B<SIGIO> signal. Any " |
| 1715 |
"other value (including B<SIGIO>) is the signal to send instead, and in this " |
| 1716 |
"case additional info is available to the signal handler if installed with " |
| 1717 |
"B<SA_SIGINFO>." |
| 1718 |
msgstr "" |
| 1719 |
"ضبط الإشارة المرسلة عندما يصبح الإدخال أو الإخراج ممكنًا على القيمة المعطاة " |
| 1720 |
"في I<arg>. القيمة صفر تعني إرسال إشارة B<SIGIO> المبدئية. أي قيمة أخرى (بما " |
| 1721 |
"في ذلك B<SIGIO>) هي الإشارة المراد إرسالها بدلاً من ذلك، وفي هذه الحالة تتوفر " |
| 1722 |
"معلومات إضافية لمعالج الإشارة إذا ثُبت بـ B<SA_SIGINFO>." |
| 1723 |
|
| 1724 |
#. type: Plain text |
| 1725 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1726 |
msgid "" |
| 1727 |
"By using B<F_SETSIG> with a nonzero value, and setting B<SA_SIGINFO> for the " |
| 1728 |
"signal handler (see B<sigaction>(2)), extra information about I/O events is " |
| 1729 |
"passed to the handler in a I<siginfo_t> structure. If the I<si_code> field " |
| 1730 |
"indicates the source is B<SI_SIGIO>, the I<si_fd> field gives the file " |
| 1731 |
"descriptor associated with the event. Otherwise, there is no indication " |
| 1732 |
"which file descriptors are pending, and you should use the usual mechanisms " |
| 1733 |
"(B<select>(2), B<poll>(2), B<read>(2) with B<O_NONBLOCK> set etc.) to " |
| 1734 |
"determine which file descriptors are available for I/O." |
| 1735 |
msgstr "" |
| 1736 |
"باستخدام B<F_SETSIG> مع قيمة غير صفرية، وضبط B<SA_SIGINFO> لمعالج الإشارة " |
| 1737 |
"(انظر B<sigaction>(2))، تُمَرّر معلومات إضافية حول أحداث الإدخال/الإخراج إلى " |
| 1738 |
"المعالج في بنية I<siginfo_t>. إذا أشار حقل I<si_code> إلى أن المصدر هو " |
| 1739 |
"B<SI_SIGIO>، فإن حقل I<si_fd> يعطي واصف الملف المرتبط بالحدث. بخلاف ذلك، لا " |
| 1740 |
"يوجد مؤشر على أي واصفات ملفات معلقة، ويجب عليك استخدام الآليات المعتادة " |
| 1741 |
"(B<select>(2) و B<poll>(2) و B<read>(2) مع ضبط B<O_NONBLOCK> وما إلى ذلك) " |
| 1742 |
"لتحديد واصفات الملفات المتاحة للإدخال/الإخراج." |
| 1743 |
|
| 1744 |
#. type: Plain text |
| 1745 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1746 |
msgid "" |
| 1747 |
"Note that the file descriptor provided in I<si_fd> is the one that was " |
| 1748 |
"specified during the B<F_SETSIG> operation. This can lead to an unusual " |
| 1749 |
"corner case. If the file descriptor is duplicated (B<dup>(2) or similar), " |
| 1750 |
"and the original file descriptor is closed, then I/O events will continue to " |
| 1751 |
"be generated, but the I<si_fd> field will contain the number of the now " |
| 1752 |
"closed file descriptor." |
| 1753 |
msgstr "" |
| 1754 |
"لاحظ أن واصف الملف المتوفر في I<si_fd> هو الذي حُدد أثناء عملية B<F_SETSIG>. " |
| 1755 |
"قد يؤدي هذا إلى حالة نادرة غير معتادة. إذا نُسخ واصف الملف (B<dup>(2) أو ما " |
| 1756 |
"شابه)، وأُغلق واصف الملف الأصلي، فستستمر أحداث الإدخال/الإخراج في التولد، " |
| 1757 |
"ولكن حقل I<si_fd> سيحتوي على رقم واصف الملف المغلق الآن." |
| 1758 |
|
| 1759 |
# This paragraph does not build, probably you need to >= → E<gt>= |
| 1760 |
#. type: Plain text |
| 1761 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1762 |
msgid "" |
| 1763 |
"By selecting a real time signal (value E<gt>= B<SIGRTMIN>), multiple I/O " |
| 1764 |
"events may be queued using the same signal numbers. (Queuing is dependent " |
| 1765 |
"on available memory.) Extra information is available if B<SA_SIGINFO> is " |
| 1766 |
"set for the signal handler, as above." |
| 1767 |
msgstr "" |
| 1768 |
"باختيار إشارة زمن حقيقي (قيمة E<gt>= B<SIGRTMIN>)، يمكن جدولة أحداث إدخال/" |
| 1769 |
"إخراج متعددة باستخدام نفس أرقام الإشارات. (تعتمد الجدولة على الذاكرة " |
| 1770 |
"المتاحة). تتوفر معلومات إضافية إذا ضُبطت B<SA_SIGINFO> لمعالج الإشارة، كما هو " |
| 1771 |
"موضح أعلاه." |
| 1772 |
|
| 1773 |
#. See fs/fcntl.c::send_sigio_to_task() (2.4/2.6) sources -- MTK, Apr 05 |
| 1774 |
#. type: Plain text |
| 1775 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1776 |
msgid "" |
| 1777 |
"Note that Linux imposes a limit on the number of real-time signals that may " |
| 1778 |
"be queued to a process (see B<getrlimit>(2) and B<signal>(7)) and if this " |
| 1779 |
"limit is reached, then the kernel reverts to delivering B<SIGIO>, and this " |
| 1780 |
"signal is delivered to the entire process rather than to a specific thread." |
| 1781 |
msgstr "" |
| 1782 |
"لاحظ أن لينكس تفرض حدًا على عدد إشارات الزمن الحقيقي التي قد تُجدول لعملية ما " |
| 1783 |
"(انظر B<getrlimit>(2) و B<signal>(7)) وإذا تم الوصول إلى هذا الحد، فإن الـ " |
| 1784 |
"I<نواة> تعود إلى تسليم B<SIGIO>، وتُسلم هذه الإشارة إلى العملية بأكملها بدلاً " |
| 1785 |
"من خيط معين." |
| 1786 |
|
| 1787 |
#. type: Plain text |
| 1788 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1789 |
msgid "" |
| 1790 |
"Using these mechanisms, a program can implement fully asynchronous I/O " |
| 1791 |
"without using B<select>(2) or B<poll>(2) most of the time." |
| 1792 |
msgstr "" |
| 1793 |
"باستخدام هذه الآليات، يمكن للبرنامج تنفيذ إدخال/إخراج غير متزامن بالكامل دون " |
| 1794 |
"استخدام B<select>(2) أو B<poll>(2) في معظم الأوقات." |
| 1795 |
|
| 1796 |
#. type: Plain text |
| 1797 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1798 |
msgid "" |
| 1799 |
"The use of B<O_ASYNC> is specific to BSD and Linux. The only use of " |
| 1800 |
"B<F_GETOWN> and B<F_SETOWN> specified in POSIX.1 is in conjunction with the " |
| 1801 |
"use of the B<SIGURG> signal on sockets. (POSIX does not specify the " |
| 1802 |
"B<SIGIO> signal.) B<F_GETOWN_EX>, B<F_SETOWN_EX>, B<F_GETSIG>, and " |
| 1803 |
"B<F_SETSIG> are Linux-specific. POSIX has asynchronous I/O and the " |
| 1804 |
"I<aio_sigevent> structure to achieve similar things; these are also " |
| 1805 |
"available in Linux as part of the GNU C Library (glibc)." |
| 1806 |
msgstr "" |
| 1807 |
"استخدام B<O_ASYNC> مخصص لـ BSD ولينكس. الاستخدام الوحيد لـ B<F_GETOWN> و " |
| 1808 |
"B<F_SETOWN> المحدد في POSIX.1 هو بالتزامن مع استخدام إشارة B<SIGURG> على " |
| 1809 |
"المقابس. (لا يحدد POSIX إشارة B<SIGIO>). تُعد B<F_GETOWN_EX> و B<F_SETOWN_EX> " |
| 1810 |
"و B<F_GETSIG> و B<F_SETSIG> ميزات مخصصة للينكس. لدى POSIX إدخال/إخراج غير " |
| 1811 |
"متزامن وبنية I<aio_sigevent> لتحقيق أشياء مماثلة؛ وهذه متوفرة أيضًا في لينكس " |
| 1812 |
"كجزء من مكتبة جـنو سي (glibc)." |
| 1813 |
|
| 1814 |
#. type: Plain text |
| 1815 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1816 |
msgid "" |
| 1817 |
"B<F_SETLEASE> and B<F_GETLEASE> (Linux 2.4 onward) are used to establish a " |
| 1818 |
"new lease, and retrieve the current lease, on the open file description " |
| 1819 |
"referred to by the file descriptor I<fd>. A file lease provides a mechanism " |
| 1820 |
"whereby the process holding the lease (the \"lease holder\") is notified " |
| 1821 |
"(via delivery of a signal) when a process (the \"lease breaker\") tries to " |
| 1822 |
"B<open>(2) or B<truncate>(2) the file referred to by that file descriptor." |
| 1823 |
msgstr "" |
| 1824 |
"تُستخدم B<F_SETLEASE> و B<F_GETLEASE> (لينكس 2.4 فصاعدًا) لإنشاء عقد إيجار " |
| 1825 |
"جديد، واستعادة العقد الحالي، على وصف الملف المفتوح الذي يشير إليه واصف الملف " |
| 1826 |
"I<fd>. يوفر عقد إيجار الملف آلية يتم من خلالها إخطار العملية التي تحمل العقد " |
| 1827 |
"(\"حائز العقد\") (عبر تسليم إشارة) عندما تحاول عملية أخرى (\"كاسر العقد\") " |
| 1828 |
"إجراء B<open>(2) أو B<truncate>(2) للملف الذي يشير إليه واصف الملف هذا." |
| 1829 |
|
| 1830 |
#. type: TP |
| 1831 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1832 |
#, no-wrap |
| 1833 |
msgid "B<F_SETLEASE> (I<int>)" |
| 1834 |
msgstr "B<F_SETLEASE> (I<int>)" |
| 1835 |
|
| 1836 |
#. type: Plain text |
| 1837 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1838 |
msgid "" |
| 1839 |
"Set or remove a file lease according to which of the following values is " |
| 1840 |
"specified in the integer I<arg>:" |
| 1841 |
msgstr "" |
| 1842 |
"ضبط أو إزالة عقد إيجار ملف وفقًا لأي من القيم التالية المحددة في العدد الصحيح " |
| 1843 |
"I<arg>:" |
| 1844 |
|
| 1845 |
#. type: TP |
| 1846 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1847 |
#, no-wrap |
| 1848 |
msgid "B<F_RDLCK>" |
| 1849 |
msgstr "B<F_RDLCK>" |
| 1850 |
|
| 1851 |
#. The following became true in Linux 2.6.10: |
| 1852 |
#. See the man-pages-2.09 Changelog for further info. |
| 1853 |
#. type: Plain text |
| 1854 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1855 |
msgid "" |
| 1856 |
"Take out a read lease. This will cause the calling process to be notified " |
| 1857 |
"when the file is opened for writing or is truncated. A read lease can be " |
| 1858 |
"placed only on a file descriptor that is opened read-only." |
| 1859 |
msgstr "" |
| 1860 |
"الحصول على عقد إيجار قراءة. سيؤدي هذا إلى إخطار العملية I<المستدعِية> عندما " |
| 1861 |
"يُفتح الملف للكتابة أو يُقَصّ (truncate). يمكن وضع عقد إيجار قراءة فقط على" |
| 1862 |
" واصف " |
| 1863 |
"ملف مفتوح للقراءة فقط." |
| 1864 |
|
| 1865 |
#. type: TP |
| 1866 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1867 |
#, no-wrap |
| 1868 |
msgid "B<F_WRLCK>" |
| 1869 |
msgstr "B<F_WRLCK>" |
| 1870 |
|
| 1871 |
#. type: Plain text |
| 1872 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1873 |
msgid "" |
| 1874 |
"Take out a write lease. This will cause the caller to be notified when the " |
| 1875 |
"file is opened for reading or writing or is truncated. A write lease may be " |
| 1876 |
"placed on a file only if there are no other open file descriptors for the " |
| 1877 |
"file." |
| 1878 |
msgstr "" |
| 1879 |
"الحصول على عقد إيجار كتابة. سيؤدي هذا إلى إخطار I<المستدعِي> عندما يُفتح" |
| 1880 |
" الملف " |
| 1881 |
"للقراءة أو الكتابة أو يُقَصّ. يمكن وضع عقد إيجار كتابة على ملف فقط إذا لم تكن " |
| 1882 |
"هناك واصفات ملفات مفتوحة أخرى لهذا الملف." |
| 1883 |
|
| 1884 |
#. type: TP |
| 1885 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1886 |
#, no-wrap |
| 1887 |
msgid "B<F_UNLCK>" |
| 1888 |
msgstr "B<F_UNLCK>" |
| 1889 |
|
| 1890 |
#. type: Plain text |
| 1891 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1892 |
msgid "Remove our lease from the file." |
| 1893 |
msgstr "إزالة عقد الإيجار الخاص بنا من الملف." |
| 1894 |
|
| 1895 |
#. type: Plain text |
| 1896 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1897 |
msgid "" |
| 1898 |
"Leases are associated with an open file description (see B<open>(2)). This " |
| 1899 |
"means that duplicate file descriptors (created by, for example, B<fork>(2) " |
| 1900 |
"or B<dup>(2)) refer to the same lease, and this lease may be modified or " |
| 1901 |
"released using any of these descriptors. Furthermore, the lease is released " |
| 1902 |
"by either an explicit B<F_UNLCK> operation on any of these duplicate file " |
| 1903 |
"descriptors, or when all such file descriptors have been closed." |
| 1904 |
msgstr "" |
| 1905 |
"ترتبط عقود الإيجار بوصف ملف مفتوح (انظر B<open>(2)). وهذا يعني أن واصفات " |
| 1906 |
"الملفات المكررة (التي أُنشئت بواسطة، على سبيل المثال، B<fork>(2) أو " |
| 1907 |
"B<dup>(2)) تشير إلى نفس عقد الإيجار، ويمكن تعديل هذا العقد أو تحريره " |
| 1908 |
"باستخدام أي من هذه الواصفات. علاوة على ذلك، يُحرّر عقد الإيجار إما بعملية " |
| 1909 |
"B<F_UNLCK> صريحة على أي من واصفات الملفات المكررة هذه، أو عندما تُغلق جميع " |
| 1910 |
"واصفات الملفات هذه." |
| 1911 |
|
| 1912 |
#. type: Plain text |
| 1913 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1914 |
msgid "" |
| 1915 |
"Leases may be taken out only on regular files. An unprivileged process may " |
| 1916 |
"take out a lease only on a file whose UID (owner) matches the filesystem UID " |
| 1917 |
"of the process. A process with the B<CAP_LEASE> capability may take out " |
| 1918 |
"leases on arbitrary files." |
| 1919 |
msgstr "" |
| 1920 |
"لا يمكن الحصول على عقود إيجار إلا على الملفات العادية. يمكن للعملية غير " |
| 1921 |
"المتميزة الحصول على عقد إيجار فقط لملف يتطابق معرفه (المالك) مع معرف I<نظام " |
| 1922 |
"ملفات> العملية. يمكن للعملية التي تمتلك قدرة B<CAP_LEASE> الحصول على عقود " |
| 1923 |
"إيجار لملفات عشوائية." |
| 1924 |
|
| 1925 |
#. type: TP |
| 1926 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1927 |
#, no-wrap |
| 1928 |
msgid "B<F_GETLEASE> (I<void>)" |
| 1929 |
msgstr "B<F_GETLEASE> (I<void>)" |
| 1930 |
|
| 1931 |
#. type: Plain text |
| 1932 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1933 |
msgid "" |
| 1934 |
"Indicates what type of lease is associated with the file descriptor I<fd> by " |
| 1935 |
"returning either B<F_RDLCK>, B<F_WRLCK>, or B<F_UNLCK>, indicating, " |
| 1936 |
"respectively, a read lease , a write lease, or no lease. I<arg> is ignored." |
| 1937 |
msgstr "" |
| 1938 |
"يشير إلى نوع عقد الإيجار المرتبط بواصف الملف I<fd> عن طريق إرجاع إما " |
| 1939 |
"B<F_RDLCK> أو B<F_WRLCK> أو B<F_UNLCK>، مما يشير على التوالي إلى عقد إيجار " |
| 1940 |
"قراءة، أو عقد إيجار كتابة، أو عدم وجود عقد إيجار. يُتجاهل I<arg>." |
| 1941 |
|
| 1942 |
#. type: Plain text |
| 1943 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1944 |
msgid "" |
| 1945 |
"When a process (the \"lease breaker\") performs an B<open>(2) or " |
| 1946 |
"B<truncate>(2) that conflicts with a lease established via B<F_SETLEASE>, " |
| 1947 |
"the system call is blocked by the kernel and the kernel notifies the lease " |
| 1948 |
"holder by sending it a signal (B<SIGIO> by default). The lease holder " |
| 1949 |
"should respond to receipt of this signal by doing whatever cleanup is " |
| 1950 |
"required in preparation for the file to be accessed by another process (e." |
| 1951 |
"g., flushing cached buffers) and then either remove or downgrade its lease. " |
| 1952 |
"A lease is removed by performing an B<F_SETLEASE> operation specifying " |
| 1953 |
"I<arg> as B<F_UNLCK>. If the lease holder currently holds a write lease on " |
| 1954 |
"the file, and the lease breaker is opening the file for reading, then it is " |
| 1955 |
"sufficient for the lease holder to downgrade the lease to a read lease. " |
| 1956 |
"This is done by performing an B<F_SETLEASE> operation specifying I<arg> as " |
| 1957 |
"B<F_RDLCK>." |
| 1958 |
msgstr "" |
| 1959 |
"عندما تقوم عملية (\"كاسر العقد\") بإجراء B<open>(2) أو B<truncate>(2) يتعارض " |
| 1960 |
"مع عقد إيجار أُنشئ عبر B<F_SETLEASE>، فسيُحظر استدعاء النظام بواسطة الـ " |
| 1961 |
"I<نواة> وتخطر الـ I<نواة> حائز العقد بإرسال إشارة إليه (B<SIGIO> بشكل " |
| 1962 |
"مبدئي). يجب على حائز العقد الاستجابة لاستلام هذه الإشارة من خلال القيام بأي " |
| 1963 |
"تنظيف مطلوب استعدادًا للوصول إلى الملف من قبل عملية أخرى (مثل تفريغ الخبيئات) " |
| 1964 |
"ثم إما إزالة العقد أو خفض درجته. تُزال عقود الإيجار بإجراء عملية " |
| 1965 |
"B<F_SETLEASE> مع تحديد I<arg> كـ B<F_UNLCK>. إذا كان حائز العقد يحمل حاليًا " |
| 1966 |
"عقد إيجار كتابة على الملف، وكان كاسر العقد يفتح الملف للقراءة، فيكفي لحائز " |
| 1967 |
"العقد خفض درجة العقد إلى عقد إيجار قراءة. يتم ذلك بإجراء عملية B<F_SETLEASE> " |
| 1968 |
"مع تحديد I<arg> كـ B<F_RDLCK>." |
| 1969 |
|
| 1970 |
#. type: Plain text |
| 1971 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1972 |
msgid "" |
| 1973 |
"If the lease holder fails to downgrade or remove the lease within the number " |
| 1974 |
"of seconds specified in I</proc/sys/fs/lease-break-time>, then the kernel " |
| 1975 |
"forcibly removes or downgrades the lease holder's lease." |
| 1976 |
msgstr "" |
| 1977 |
"إذا فشل حائز العقد في خفض درجة العقد أو إزالته خلال عدد الثواني المحدد في I</" |
| 1978 |
"proc/sys/fs/lease-break-time>، فإن الـ I<نواة> تزيل العقد أو تخفض درجته " |
| 1979 |
"قسريًا." |
| 1980 |
|
| 1981 |
#. type: Plain text |
| 1982 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1983 |
msgid "" |
| 1984 |
"Once a lease break has been initiated, B<F_GETLEASE> returns the target " |
| 1985 |
"lease type (either B<F_RDLCK> or B<F_UNLCK>, depending on what would be " |
| 1986 |
"compatible with the lease breaker) until the lease holder voluntarily " |
| 1987 |
"downgrades or removes the lease or the kernel forcibly does so after the " |
| 1988 |
"lease break timer expires." |
| 1989 |
msgstr "" |
| 1990 |
"بمجرد بدء كسر العقد، تعيد B<F_GETLEASE> نوع عقد الإيجار المستهدف (إما " |
| 1991 |
"B<F_RDLCK> أو B<F_UNLCK>، اعتمادًا على ما سيكون متوافقًا مع كاسر العقد) حتى " |
| 1992 |
"يقوم حائز العقد طواعية بخفض درجة العقد أو إزالته أو تقوم الـ I<نواة> بذلك " |
| 1993 |
"قسريًا بعد انتهاء موقت كسر العقد." |
| 1994 |
|
| 1995 |
#. type: Plain text |
| 1996 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1997 |
msgid "" |
| 1998 |
"Once the lease has been voluntarily or forcibly removed or downgraded, and " |
| 1999 |
"assuming the lease breaker has not unblocked its system call, the kernel " |
| 2000 |
"permits the lease breaker's system call to proceed." |
| 2001 |
msgstr "" |
| 2002 |
"بمجرد إزالة عقد الإيجار أو خفض درجته طواعية أو قسريًا، وبافتراض أن كاسر العقد " |
| 2003 |
"لم يلغِ حظر استدعاء النظام الخاص به، تسمح الـ I<نواة> لاستدعاء نظام كاسر " |
| 2004 |
"العقد بالمتابعة." |
| 2005 |
|
| 2006 |
#. type: Plain text |
| 2007 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2008 |
msgid "" |
| 2009 |
"If the lease breaker's blocked B<open>(2) or B<truncate>(2) is interrupted " |
| 2010 |
"by a signal handler, then the system call fails with the error B<EINTR>, but " |
| 2011 |
"the other steps still occur as described above. If the lease breaker is " |
| 2012 |
"killed by a signal while blocked in B<open>(2) or B<truncate>(2), then the " |
| 2013 |
"other steps still occur as described above. If the lease breaker specifies " |
| 2014 |
"the B<O_NONBLOCK> flag when calling B<open>(2), then the call immediately " |
| 2015 |
"fails with the error B<EWOULDBLOCK>, but the other steps still occur as " |
| 2016 |
"described above." |
| 2017 |
msgstr "" |
| 2018 |
"إذا قوطع استدعاء B<open>(2) أو B<truncate>(2) المحظور لكاسر العقد بواسطة " |
| 2019 |
"معالج إشارة، فإن استدعاء النظام يفشل مع الخطأ B<EINTR>، ولكن الخطوات الأخرى " |
| 2020 |
"لا تزال تحدث كما هو موضح أعلاه. إذا قُتل كاسر العقد بواسطة إشارة أثناء حظره " |
| 2021 |
"في B<open>(2) أو B<truncate>(2)، فإن الخطوات الأخرى لا تزال تحدث كما هو موضح " |
| 2022 |
"أعلاه. إذا حدد كاسر العقد علم B<O_NONBLOCK> عند استدعاء B<open>(2)، فإن " |
| 2023 |
"الاستدعاء يفشل فوريًا مع الخطأ B<EWOULDBLOCK>، ولكن الخطوات الأخرى لا تزال " |
| 2024 |
"تحدث كما هو موضح أعلاه." |
| 2025 |
|
| 2026 |
#. type: Plain text |
| 2027 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2028 |
msgid "" |
| 2029 |
"The default signal used to notify the lease holder is B<SIGIO>, but this can " |
| 2030 |
"be changed using the B<F_SETSIG> operation to B<fcntl>(). If a B<F_SETSIG> " |
| 2031 |
"operation is performed (even one specifying B<SIGIO>), and the signal " |
| 2032 |
"handler is established using B<SA_SIGINFO>, then the handler will receive a " |
| 2033 |
"I<siginfo_t> structure as its second argument, and the I<si_fd> field of " |
| 2034 |
"this argument will hold the file descriptor of the leased file that has been " |
| 2035 |
"accessed by another process. (This is useful if the caller holds leases " |
| 2036 |
"against multiple files.)" |
| 2037 |
msgstr "" |
| 2038 |
"الإشارة المبدئية المستخدمة لإشعار حامل عقد الإيجار هي B<SIGIO>، ولكن يمكن " |
| 2039 |
"تغيير ذلك باستخدام العملية B<F_SETSIG> في B<fcntl>(). إذا نُفذت عملية " |
| 2040 |
"B<F_SETSIG> (حتى لو حددت B<SIGIO>)، وأُسس معالج الإشارة باستخدام " |
| 2041 |
"B<SA_SIGINFO>، فسيستقبل المعالج بنية I<siginfo_t> كوسيط ثانٍ له، وسيحتوي " |
| 2042 |
"الحقل I<si_fd> في هذا الوسيط على واصف الملف للملف المستأجر الذي وُصل إليه " |
| 2043 |
"بواسطة عملية أخرى. (هذا مفيد إذا كان المستدعِي يحمل عقود إيجار لملفات متعددة.)" |
| 2044 |
|
| 2045 |
#. type: TP |
| 2046 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2047 |
#, no-wrap |
| 2048 |
msgid "B<F_NOTIFY> (I<int>)" |
| 2049 |
msgstr "B<F_NOTIFY> (I<int>)" |
| 2050 |
|
| 2051 |
#. type: Plain text |
| 2052 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2053 |
msgid "" |
| 2054 |
"(Linux 2.4 onward) Provide notification when the directory referred to by " |
| 2055 |
"I<fd> or any of the files that it contains is changed. The events to be " |
| 2056 |
"notified are specified in I<arg>, which is a bit mask specified by ORing " |
| 2057 |
"together zero or more of the following bits:" |
| 2058 |
msgstr "" |
| 2059 |
"(بدءًا من لينكس 2.4) يوفر إشعاراً عندما يتغير الدليل المشار إليه بواسطة I<fd> " |
| 2060 |
"أو أي من الملفات التي يحتوي عليها. تُحدد الأحداث المراد الإشعار بها في " |
| 2061 |
"I<arg>، وهو قناع بتات (bit mask) يُحدد عبر إجراء عملية OR لصفر أو أكثر من " |
| 2062 |
"البتات التالية:" |
| 2063 |
|
| 2064 |
#. type: TP |
| 2065 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2066 |
#, no-wrap |
| 2067 |
msgid "B<DN_ACCESS>" |
| 2068 |
msgstr "B<DN_ACCESS>" |
| 2069 |
|
| 2070 |
#. type: Plain text |
| 2071 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2072 |
msgid "A file was accessed (B<read>(2), B<pread>(2), B<readv>(2), and similar)" |
| 2073 |
msgstr "وُصل إلى ملف (B<read>(2)، B<pread>(2)، B<readv>(2)، وما شابه)" |
| 2074 |
|
| 2075 |
#. type: TP |
| 2076 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2077 |
#, no-wrap |
| 2078 |
msgid "B<DN_MODIFY>" |
| 2079 |
msgstr "B<DN_MODIFY>" |
| 2080 |
|
| 2081 |
#. type: Plain text |
| 2082 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2083 |
msgid "" |
| 2084 |
"A file was modified (B<write>(2), B<pwrite>(2), B<writev>(2), " |
| 2085 |
"B<truncate>(2), B<ftruncate>(2), and similar)." |
| 2086 |
msgstr "" |
| 2087 |
"عُدل ملف (B<write>(2)، B<pwrite>(2)، B<writev>(2)، B<truncate>(2)، " |
| 2088 |
"B<ftruncate>(2)، وما شابه)." |
| 2089 |
|
| 2090 |
#. type: TP |
| 2091 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2092 |
#, no-wrap |
| 2093 |
msgid "B<DN_CREATE>" |
| 2094 |
msgstr "B<DN_CREATE>" |
| 2095 |
|
| 2096 |
#. type: Plain text |
| 2097 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2098 |
msgid "" |
| 2099 |
"A file was created (B<open>(2), B<creat>(2), B<mknod>(2), B<mkdir>(2), " |
| 2100 |
"B<link>(2), B<symlink>(2), B<rename>(2) into this directory)." |
| 2101 |
msgstr "" |
| 2102 |
"أُنشئ ملف (B<open>(2)، B<creat>(2)، B<mknod>(2)، B<mkdir>(2)، B<link" |
| 2103 |
">(2)، " |
| 2104 |
"B<symlink>(2)، B<rename>(2) إلى هذا الدليل)." |
| 2105 |
|
| 2106 |
#. type: TP |
| 2107 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2108 |
#, no-wrap |
| 2109 |
msgid "B<DN_DELETE>" |
| 2110 |
msgstr "B<DN_DELETE>" |
| 2111 |
|
| 2112 |
#. type: Plain text |
| 2113 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2114 |
msgid "" |
| 2115 |
"A file was unlinked (B<unlink>(2), B<rename>(2) to another directory, " |
| 2116 |
"B<rmdir>(2))." |
| 2117 |
msgstr "فُصل رابط ملف (B<unlink>(2)، B<rename>(2) إلى دليل آخر، B<rmdir>(2))." |
| 2118 |
|
| 2119 |
#. type: TP |
| 2120 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2121 |
#, no-wrap |
| 2122 |
msgid "B<DN_RENAME>" |
| 2123 |
msgstr "B<DN_RENAME>" |
| 2124 |
|
| 2125 |
#. type: Plain text |
| 2126 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2127 |
msgid "A file was renamed within this directory (B<rename>(2))." |
| 2128 |
msgstr "غُير اسم ملف داخل هذا الدليل (B<rename>(2))." |
| 2129 |
|
| 2130 |
#. type: TP |
| 2131 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2132 |
#, no-wrap |
| 2133 |
msgid "B<DN_ATTRIB>" |
| 2134 |
msgstr "B<DN_ATTRIB>" |
| 2135 |
|
| 2136 |
#. type: Plain text |
| 2137 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2138 |
msgid "" |
| 2139 |
"The attributes of a file were changed (B<chown>(2), B<chmod>(2), " |
| 2140 |
"B<utime>(2), B<utimensat>(2), and similar)." |
| 2141 |
msgstr "" |
| 2142 |
"غُيرت سمات ملف (B<chown>(2)، B<chmod>(2)، B<utime>(2)، B<utimensat>(2)،" |
| 2143 |
" وما " |
| 2144 |
"شابه)." |
| 2145 |
|
| 2146 |
#. type: Plain text |
| 2147 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2148 |
msgid "" |
| 2149 |
"(In order to obtain these definitions, the B<_GNU_SOURCE> feature test macro " |
| 2150 |
"must be defined before including I<any> header files.)" |
| 2151 |
msgstr "" |
| 2152 |
"(من أجل الحصول على هذه التعريفات، يجب تعريف ماكرو اختبار الميزة " |
| 2153 |
"B<_GNU_SOURCE> قبل تضمين I<أي> ملفات رأسية.)" |
| 2154 |
|
| 2155 |
#. type: Plain text |
| 2156 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2157 |
msgid "" |
| 2158 |
"Directory notifications are normally \"one-shot\", and the application must " |
| 2159 |
"reregister to receive further notifications. Alternatively, if " |
| 2160 |
"B<DN_MULTISHOT> is included in I<arg>, then notification will remain in " |
| 2161 |
"effect until explicitly removed." |
| 2162 |
msgstr "" |
| 2163 |
"إشعارات الدليل عادةً ما تكون \"طلقة واحدة\" (one-shot)، ويجب على التطبيق " |
| 2164 |
"إعادة التسجيل لاستلام مزيد من الإشعارات. بدلاً من ذلك، إذا ضُمّن " |
| 2165 |
"B<DN_MULTISHOT> في I<arg>، فسيظل الإشعار سارياً حتى يُزال صراحةً." |
| 2166 |
|
| 2167 |
#. The following does seem a poor API-design choice... |
| 2168 |
#. type: Plain text |
| 2169 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2170 |
msgid "" |
| 2171 |
"A series of B<F_NOTIFY> requests is cumulative, with the events in I<arg> " |
| 2172 |
"being added to the set already monitored. To disable notification of all " |
| 2173 |
"events, make an B<F_NOTIFY> call specifying I<arg> as 0." |
| 2174 |
msgstr "" |
| 2175 |
"سلسلة طلبات B<F_NOTIFY> تراكمية، حيث تُضاف الأحداث في I<arg> إلى المجموعة " |
| 2176 |
"المراقبة بالفعل. لتعطيل الإشعار بجميع الأحداث، قم باستدعاء B<F_NOTIFY> مع " |
| 2177 |
"تحديد I<arg> كـ 0." |
| 2178 |
|
| 2179 |
#. type: Plain text |
| 2180 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2181 |
msgid "" |
| 2182 |
"Notification occurs via delivery of a signal. The default signal is " |
| 2183 |
"B<SIGIO>, but this can be changed using the B<F_SETSIG> operation to " |
| 2184 |
"B<fcntl>(). (Note that B<SIGIO> is one of the nonqueuing standard signals; " |
| 2185 |
"switching to the use of a real-time signal means that multiple notifications " |
| 2186 |
"can be queued to the process.) In the latter case, the signal handler " |
| 2187 |
"receives a I<siginfo_t> structure as its second argument (if the handler was " |
| 2188 |
"established using B<SA_SIGINFO>) and the I<si_fd> field of this structure " |
| 2189 |
"contains the file descriptor which generated the notification (useful when " |
| 2190 |
"establishing notification on multiple directories)." |
| 2191 |
msgstr "" |
| 2192 |
"يحدث الإشعار عبر تسليم إشارة. الإشارة المبدئية هي B<SIGIO>، ولكن يمكن تغيير " |
| 2193 |
"ذلك باستخدام العملية B<F_SETSIG> في B<fcntl>(). (لاحظ أن B<SIGIO> هي إحدى " |
| 2194 |
"الإشارات القياسية غير القابلة للجدولة؛ التحول إلى استخدام إشارة زمن حقيقي " |
| 2195 |
"يعني إمكانية جدولة إشعارات متعددة للعملية.) في الحالة الأخيرة، يستقبل معالج " |
| 2196 |
"الإشارة بنية I<siginfo_t> كوسيط ثانٍ له (إذا أُسس المعالج باستخدام " |
| 2197 |
"B<SA_SIGINFO>) ويحتوي الحقل I<si_fd> في هذه البنية على واصف الملف الذي ولد " |
| 2198 |
"الإشعار (مفيد عند تأسيس إشعارات على أدلة متعددة)." |
| 2199 |
|
| 2200 |
#. type: Plain text |
| 2201 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2202 |
msgid "" |
| 2203 |
"Especially when using B<DN_MULTISHOT>, a real time signal should be used for " |
| 2204 |
"notification, so that multiple notifications can be queued." |
| 2205 |
msgstr "" |
| 2206 |
"خاصة عند استخدام B<DN_MULTISHOT>، يجب استخدام إشارة زمن حقيقي للإشعار، بحيث " |
| 2207 |
"يمكن جدولة إشعارات متعددة." |
| 2208 |
|
| 2209 |
#. type: Plain text |
| 2210 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2211 |
msgid "" |
| 2212 |
"B<NOTE:> New applications should use the I<inotify> interface (available " |
| 2213 |
"since Linux 2.6.13), which provides a much superior interface for obtaining " |
| 2214 |
"notifications of filesystem events. See B<inotify>(7)." |
| 2215 |
msgstr "" |
| 2216 |
"B<ملاحظة:> يجب على التطبيقات الجديدة استخدام واجهة I<inotify> (المتوفرة منذ " |
| 2217 |
"لينكس 2.6.13)، والتي توفر واجهة متفوقة بكثير للحصول على إشعارات أحداث نظام " |
| 2218 |
"الملفات. انظر B<inotify>(7)." |
| 2219 |
|
| 2220 |
#. type: TP |
| 2221 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2222 |
#, no-wrap |
| 2223 |
msgid "B<F_SETPIPE_SZ> (I<int>; since Linux 2.6.35)" |
| 2224 |
msgstr "B<F_SETPIPE_SZ> (I<int>؛ منذ لينكس 2.6.35)" |
| 2225 |
|
| 2226 |
#. type: Plain text |
| 2227 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2228 |
msgid "" |
| 2229 |
"Change the capacity of the pipe referred to by I<fd> to be at least I<arg> " |
| 2230 |
"bytes. An unprivileged process can adjust the pipe capacity to any value " |
| 2231 |
"between the system page size and the limit defined in I</proc/sys/fs/pipe-" |
| 2232 |
"max-size> (see B<proc>(5)). Attempts to set the pipe capacity below the " |
| 2233 |
"page size are silently rounded up to the page size. Attempts by an " |
| 2234 |
"unprivileged process to set the pipe capacity above the limit in I</proc/sys/" |
| 2235 |
"fs/pipe-max-size> yield the error B<EPERM>; a privileged process " |
| 2236 |
"(B<CAP_SYS_RESOURCE>) can override the limit." |
| 2237 |
msgstr "" |
| 2238 |
"يغير سعة الأنبوب المشار إليه بواسطة I<fd> لتكون على الأقل I<arg> بايت. يمكن " |
| 2239 |
"لعملية غير متميزة ضبط سعة الأنبوب لأي قيمة بين حجم صفحة النظام والحد المعرف " |
| 2240 |
"في I</proc/sys/fs/pipe-max-size> (انظر B<proc>(5)). محاولات تعيين سعة " |
| 2241 |
"الأنبوب تحت حجم الصفحة تُقرب بصمت إلى حجم الصفحة. محاولات عملية غير متميزة " |
| 2242 |
"لتعيين سعة الأنبوب أعلى من الحد في I</proc/sys/fs/pipe-max-size> تؤدي إلى " |
| 2243 |
"الخطأ B<EPERM>؛ يمكن لعملية متميزة (B<CAP_SYS_RESOURCE>) تجاوز الحد." |
| 2244 |
|
| 2245 |
#. type: Plain text |
| 2246 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2247 |
msgid "" |
| 2248 |
"When allocating the buffer for the pipe, the kernel may use a capacity " |
| 2249 |
"larger than I<arg>, if that is convenient for the implementation. (In the " |
| 2250 |
"current implementation, the allocation is the next higher power-of-two page-" |
| 2251 |
"size multiple of the requested size.) The actual capacity (in bytes) that " |
| 2252 |
"is set is returned as the function result." |
| 2253 |
msgstr "" |
| 2254 |
"عند تخصيص المخزن المؤقت للأنبوب، قد تستخدم النواة سعة أكبر من I<arg>، إذا " |
| 2255 |
"كان ذلك مناسباً للتنفيذ. (في التنفيذ الحالي، يكون التخصيص هو مضاعف حجم الصفحة " |
| 2256 |
"التالي لقوة العدد اثنين من الحجم المطلوب.) تُعاد السعة الفعلية (بالبايت) التي " |
| 2257 |
"عُينت كناتج للدالة." |
| 2258 |
|
| 2259 |
#. type: Plain text |
| 2260 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2261 |
msgid "" |
| 2262 |
"Attempting to set the pipe capacity smaller than the amount of buffer space " |
| 2263 |
"currently used to store data produces the error B<EBUSY>." |
| 2264 |
msgstr "" |
| 2265 |
"محاولة تعيين سعة الأنبوب أصغر من مساحة المخزن المؤقت المستخدمة حالياً لتخزين " |
| 2266 |
"البيانات تؤدي إلى الخطأ B<EBUSY>." |
| 2267 |
|
| 2268 |
#. type: Plain text |
| 2269 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2270 |
msgid "" |
| 2271 |
"Note that because of the way the pages of the pipe buffer are employed when " |
| 2272 |
"data is written to the pipe, the number of bytes that can be written may be " |
| 2273 |
"less than the nominal size, depending on the size of the writes." |
| 2274 |
msgstr "" |
| 2275 |
"لاحظ أنه بسبب طريقة توظيف صفحات مخزن الأنبوب المؤقت عند كتابة البيانات إلى " |
| 2276 |
"الأنبوب، فإن عدد البايتات التي يمكن كتابتها قد يكون أقل من الحجم الاسمي، " |
| 2277 |
"اعتماداً على حجم الكتابات." |
| 2278 |
|
| 2279 |
#. type: TP |
| 2280 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2281 |
#, no-wrap |
| 2282 |
msgid "B<F_GETPIPE_SZ> (I<void>; since Linux 2.6.35)" |
| 2283 |
msgstr "B<F_GETPIPE_SZ> (I<void>؛ منذ لينكس 2.6.35)" |
| 2284 |
|
| 2285 |
#. type: Plain text |
| 2286 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2287 |
msgid "" |
| 2288 |
"Return (as the function result) the capacity of the pipe referred to by " |
| 2289 |
"I<fd>." |
| 2290 |
msgstr "يعيد (كنتيجة للدالة) سعة الأنبوب المشار إليه بواسطة I<fd>." |
| 2291 |
|
| 2292 |
#. type: Plain text |
| 2293 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2294 |
msgid "" |
| 2295 |
"File seals limit the set of allowed operations on a given file. For each " |
| 2296 |
"seal that is set on a file, a specific set of operations will fail with " |
| 2297 |
"B<EPERM> on this file from now on. The file is said to be sealed. The " |
| 2298 |
"default set of seals depends on the type of the underlying file and " |
| 2299 |
"filesystem. For an overview of file sealing, a discussion of its purpose, " |
| 2300 |
"and some code examples, see B<memfd_create>(2)." |
| 2301 |
msgstr "" |
| 2302 |
"تحد أختام الملفات من مجموعة العمليات المسموح بها على ملف معين. لكل ختم يُوضع " |
| 2303 |
"على ملف، ستفشل مجموعة معينة من العمليات مع الخطأ B<EPERM> على هذا الملف من " |
| 2304 |
"الآن فصاعداً. يُقال إن الملف مختوم. تعتمد المجموعة المبدئية من الأختام على" |
| 2305 |
" نوع " |
| 2306 |
"الملف ونظام الملفات الأساسي. للحصول على نظرة عامة على ختم الملفات، ومناقشة " |
| 2307 |
"غرضه، وبعض أمثلة الكود، انظر B<memfd_create>(2)." |
| 2308 |
|
| 2309 |
#. type: Plain text |
| 2310 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2311 |
msgid "" |
| 2312 |
"Currently, file seals can be applied only to a file descriptor returned by " |
| 2313 |
"B<memfd_create>(2) (if the B<MFD_ALLOW_SEALING> was employed). On other " |
| 2314 |
"filesystems, all B<fcntl>() operations that operate on seals will return " |
| 2315 |
"B<EINVAL>." |
| 2316 |
msgstr "" |
| 2317 |
"حالياً، يمكن تطبيق أختام الملفات فقط على واصف ملف أعادته الدالة " |
| 2318 |
"B<memfd_create>(2) (إذا استُخدم B<MFD_ALLOW_SEALING>). في أنظمة الملفات " |
| 2319 |
"الأخرى، ستعيد جميع عمليات B<fcntl>() التي تعمل على الأختام B<EINVAL>." |
| 2320 |
|
| 2321 |
#. type: Plain text |
| 2322 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2323 |
msgid "" |
| 2324 |
"Seals are a property of an inode. Thus, all open file descriptors referring " |
| 2325 |
"to the same inode share the same set of seals. Furthermore, seals can never " |
| 2326 |
"be removed, only added." |
| 2327 |
msgstr "" |
| 2328 |
"الأختام هي خاصية للفهرس (inode). لذا، تشترك جميع واصفات الملفات المفتوحة " |
| 2329 |
"التي تشير إلى نفس الفهرس في نفس مجموعة الأختام. علاوة على ذلك، لا يمكن إزالة " |
| 2330 |
"الأختام أبداً، بل يمكن إضافتها فقط." |
| 2331 |
|
| 2332 |
#. type: TP |
| 2333 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2334 |
#, no-wrap |
| 2335 |
msgid "B<F_ADD_SEALS> (I<int>; since Linux 3.17)" |
| 2336 |
msgstr "B<F_ADD_SEALS> (I<int>؛ منذ لينكس 3.17)" |
| 2337 |
|
| 2338 |
#. type: Plain text |
| 2339 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2340 |
msgid "" |
| 2341 |
"Add the seals given in the bit-mask argument I<arg> to the set of seals of " |
| 2342 |
"the inode referred to by the file descriptor I<fd>. Seals cannot be removed " |
| 2343 |
"again. Once this call succeeds, the seals are enforced by the kernel " |
| 2344 |
"immediately. If the current set of seals includes B<F_SEAL_SEAL> (see " |
| 2345 |
"below), then this call will be rejected with B<EPERM>. Adding a seal that " |
| 2346 |
"is already set is a no-op, in case B<F_SEAL_SEAL> is not set already. In " |
| 2347 |
"order to place a seal, the file descriptor I<fd> must be writable." |
| 2348 |
msgstr "" |
| 2349 |
"يضيف الأختام المحددة في وسيط قناع البتات I<arg> إلى مجموعة أختام الفهرس " |
| 2350 |
"المشار إليه بواسطة واصف الملف I<fd>. لا يمكن إزالة الأختام مرة أخرى. بمجرد " |
| 2351 |
"نجاح هذا الاستدعاء، تفرض النواة الأختام فوراً. إذا كانت المجموعة الحالية من " |
| 2352 |
"الأختام تتضمن B<F_SEAL_SEAL> (انظر أدناه)، فسيُرفض هذا الاستدعاء مع B<EPERM>. " |
| 2353 |
"إضافة ختم معين مسبقاً هي عملية لا تأثير لها، في حالة عدم تعيين B<F_SEAL_SEAL> " |
| 2354 |
"بالفعل. لوضع ختم، يجب أن يكون واصف الملف I<fd> قابلاً للكتابة." |
| 2355 |
|
| 2356 |
#. type: TP |
| 2357 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2358 |
#, no-wrap |
| 2359 |
msgid "B<F_GET_SEALS> (I<void>; since Linux 3.17)" |
| 2360 |
msgstr "B<F_GET_SEALS> (I<void>؛ منذ لينكس 3.17)" |
| 2361 |
|
| 2362 |
#. type: Plain text |
| 2363 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2364 |
msgid "" |
| 2365 |
"Return (as the function result) the current set of seals of the inode " |
| 2366 |
"referred to by I<fd>. If no seals are set, 0 is returned. If the file does " |
| 2367 |
"not support sealing, -1 is returned and I<errno> is set to B<EINVAL>." |
| 2368 |
msgstr "" |
| 2369 |
"يعيد (كنتيجة للدالة) المجموعة الحالية من أختام الفهرس المشار إليه بواسطة " |
| 2370 |
"I<fd>. إذا لم تُعين أي أختام، يُعاد 0. إذا كان الملف لا يدعم الختم، يُعاد -1 " |
| 2371 |
"ويُضبط I<errno> على B<EINVAL>." |
| 2372 |
|
| 2373 |
#. type: Plain text |
| 2374 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2375 |
msgid "The following seals are available:" |
| 2376 |
msgstr "الأختام التالية متوفرة:" |
| 2377 |
|
| 2378 |
#. type: TP |
| 2379 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2380 |
#, no-wrap |
| 2381 |
msgid "B<F_SEAL_SEAL>" |
| 2382 |
msgstr "B<F_SEAL_SEAL>" |
| 2383 |
|
| 2384 |
#. type: Plain text |
| 2385 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2386 |
msgid "" |
| 2387 |
"If this seal is set, any further call to B<fcntl>() with B<F_ADD_SEALS> " |
| 2388 |
"fails with the error B<EPERM>. Therefore, this seal prevents any " |
| 2389 |
"modifications to the set of seals itself. If the initial set of seals of a " |
| 2390 |
"file includes B<F_SEAL_SEAL>, then this effectively causes the set of seals " |
| 2391 |
"to be constant and locked." |
| 2392 |
msgstr "" |
| 2393 |
"إذا عُين هذا الختم، فإن أي استدعاء لاحق لـ B<fcntl>() مع B<F_ADD_SEALS> يفشل " |
| 2394 |
"مع الخطأ B<EPERM>. لذلك، يمنع هذا الختم أي تعديلات على مجموعة الأختام نفسها. " |
| 2395 |
"إذا كانت المجموعة المبدئية للأختام لملف ما تتضمن B<F_SEAL_SEAL>، فإن هذا " |
| 2396 |
"يؤدي فعلياً إلى جعل مجموعة الأختام ثابتة ومقفلة." |
| 2397 |
|
| 2398 |
#. type: TP |
| 2399 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2400 |
#, no-wrap |
| 2401 |
msgid "B<F_SEAL_SHRINK>" |
| 2402 |
msgstr "B<F_SEAL_SHRINK>" |
| 2403 |
|
| 2404 |
#. type: Plain text |
| 2405 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2406 |
msgid "" |
| 2407 |
"If this seal is set, the file in question cannot be reduced in size. This " |
| 2408 |
"affects B<open>(2) with the B<O_TRUNC> flag as well as B<truncate>(2) and " |
| 2409 |
"B<ftruncate>(2). Those calls fail with B<EPERM> if you try to shrink the " |
| 2410 |
"file in question. Increasing the file size is still possible." |
| 2411 |
msgstr "" |
| 2412 |
"إذا عُين هذا الختم، فلا يمكن تقليص حجم الملف المعني. يؤثر هذا على B<open>(2) " |
| 2413 |
"مع وسم B<O_TRUNC> وكذلك B<truncate>(2) و B<ftruncate>(2). تفشل هذه " |
| 2414 |
"الاستدعاءات مع B<EPERM> إذا حاولت تقليص الملف المعني. زيادة حجم الملف لا " |
| 2415 |
"تزال ممكنة." |
| 2416 |
|
| 2417 |
#. type: TP |
| 2418 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2419 |
#, no-wrap |
| 2420 |
msgid "B<F_SEAL_GROW>" |
| 2421 |
msgstr "B<F_SEAL_GROW>" |
| 2422 |
|
| 2423 |
#. type: Plain text |
| 2424 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2425 |
msgid "" |
| 2426 |
"If this seal is set, the size of the file in question cannot be increased. " |
| 2427 |
"This affects B<write>(2) beyond the end of the file, B<truncate>(2), " |
| 2428 |
"B<ftruncate>(2), and B<fallocate>(2). These calls fail with B<EPERM> if you " |
| 2429 |
"use them to increase the file size. If you keep the size or shrink it, " |
| 2430 |
"those calls still work as expected." |
| 2431 |
msgstr "" |
| 2432 |
"إذا عُين هذا الختم، فلا يمكن زيادة حجم الملف المعني. يؤثر هذا على B<write>(2) " |
| 2433 |
"وراء نهاية الملف، و B<truncate>(2)، و B<ftruncate>(2)، و B<fallocate>(2). " |
| 2434 |
"تفشل هذه الاستدعاءات مع B<EPERM> إذا استخدمتها لزيادة حجم الملف. إذا حافظت " |
| 2435 |
"على الحجم أو قلصته، فستظل هذه الاستدعاءات تعمل كما هو متوقع." |
| 2436 |
|
| 2437 |
#. type: TP |
| 2438 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2439 |
#, no-wrap |
| 2440 |
msgid "B<F_SEAL_WRITE>" |
| 2441 |
msgstr "B<F_SEAL_WRITE>" |
| 2442 |
|
| 2443 |
#. One or more other seals are typically used with F_SEAL_WRITE |
| 2444 |
#. because, given a file with the F_SEAL_WRITE seal set, then, |
| 2445 |
#. while it would no longer be possible to (say) write zeros into |
| 2446 |
#. the last 100 bytes of a file, it would still be possible |
| 2447 |
#. to (say) shrink the file by 100 bytes using ftruncate(), and |
| 2448 |
#. then increase the file size by 100 bytes, which would have |
| 2449 |
#. the effect of replacing the last hundred bytes by zeros. |
| 2450 |
#. type: Plain text |
| 2451 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2452 |
msgid "" |
| 2453 |
"If this seal is set, you cannot modify the contents of the file. Note that " |
| 2454 |
"shrinking or growing the size of the file is still possible and allowed. " |
| 2455 |
"Thus, this seal is normally used in combination with one of the other " |
| 2456 |
"seals. This seal affects B<write>(2) and B<fallocate>(2) (only in " |
| 2457 |
"combination with the B<FALLOC_FL_PUNCH_HOLE> flag). Those calls fail with " |
| 2458 |
"B<EPERM> if this seal is set. Furthermore, trying to create new shared, " |
| 2459 |
"writable memory-mappings via B<mmap>(2) will also fail with B<EPERM>." |
| 2460 |
msgstr "" |
| 2461 |
"إذا عُين هذا الختم، فلا يمكنك تعديل محتويات الملف. لاحظ أن تقليص أو زيادة حجم " |
| 2462 |
"الملف لا يزال ممكناً ومسموحاً به. لذلك، يُستخدم هذا الختم عادةً بالاشتراك مع" |
| 2463 |
" أحد " |
| 2464 |
"الأختام الأخرى. يؤثر هذا الختم على B<write>(2) و B<fallocate>(2) (فقط " |
| 2465 |
"بالاشتراك مع وسم B<FALLOC_FL_PUNCH_HOLE>). تفشل هذه الاستدعاءات مع B<EPERM> " |
| 2466 |
"إذا عُين هذا الختم. علاوة على ذلك، ستفشل أيضًا محاولة إنشاء تخطيطات ذاكرة " |
| 2467 |
"(memory-mappings) مشتركة وقابلة للكتابة عبر B<mmap>(2) مع B<EPERM>." |
| 2468 |
|
| 2469 |
#. type: Plain text |
| 2470 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2471 |
msgid "" |
| 2472 |
"Using the B<F_ADD_SEALS> operation to set the B<F_SEAL_WRITE> seal fails " |
| 2473 |
"with B<EBUSY> if any writable, shared mapping exists. Such mappings must be " |
| 2474 |
"unmapped before you can add this seal. Furthermore, if there are any " |
| 2475 |
"asynchronous I/O operations (B<io_submit>(2)) pending on the file, all " |
| 2476 |
"outstanding writes will be discarded." |
| 2477 |
msgstr "" |
| 2478 |
"تفشل العملية B<F_ADD_SEALS> لتعيين الختم B<F_SEAL_WRITE> مع الخطأ B<EBUSY> " |
| 2479 |
"إذا كان هناك أي تخطيط مشترك وقابل للكتابة. يجب إلغاء تخطيط هذه الروابط قبل " |
| 2480 |
"أن تتمكن من إضافة هذا الختم. علاوة على ذلك، إذا كانت هناك أي عمليات دخل/خرج " |
| 2481 |
"غير متزامنة (B<io_submit>(2)) معلقة على الملف، فسيُتخلص من جميع الكتابات " |
| 2482 |
"المعلقة." |
| 2483 |
|
| 2484 |
#. type: TP |
| 2485 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2486 |
#, no-wrap |
| 2487 |
msgid "B<F_SEAL_FUTURE_WRITE> (since Linux 5.1)" |
| 2488 |
msgstr "B<F_SEAL_FUTURE_WRITE> (منذ لينكس 5.1)" |
| 2489 |
|
| 2490 |
#. type: Plain text |
| 2491 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2492 |
msgid "" |
| 2493 |
"The effect of this seal is similar to B<F_SEAL_WRITE>, but the contents of " |
| 2494 |
"the file can still be modified via shared writable mappings that were " |
| 2495 |
"created prior to the seal being set. Any attempt to create a new writable " |
| 2496 |
"mapping on the file via B<mmap>(2) will fail with B<EPERM>. Likewise, an " |
| 2497 |
"attempt to write to the file via B<write>(2) will fail with B<EPERM>." |
| 2498 |
msgstr "" |
| 2499 |
"تأثير هذا الختم مشابه لـ B<F_SEAL_WRITE>، ولكن لا يزال من الممكن تعديل " |
| 2500 |
"محتويات الملف عبر التخطيطات المشتركة القابلة للكتابة التي أُنشئت قبل تعيين " |
| 2501 |
"الختم. ستفشل أي محاولة لإنشاء تخطيط جديد قابل للكتابة على الملف عبر " |
| 2502 |
"B<mmap>(2) مع الخطأ B<EPERM>. وبالمثل، ستفشل أي محاولة للكتابة إلى الملف عبر " |
| 2503 |
"B<write>(2) مع الخطأ B<EPERM>." |
| 2504 |
|
| 2505 |
#. type: Plain text |
| 2506 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2507 |
msgid "" |
| 2508 |
"Using this seal, one process can create a memory buffer that it can continue " |
| 2509 |
"to modify while sharing that buffer on a \"read-only\" basis with other " |
| 2510 |
"processes." |
| 2511 |
msgstr "" |
| 2512 |
"باستخدام هذا الختم، يمكن لعملية واحدة إنشاء مخزن ذاكرة مؤقت يمكنها الاستمرار " |
| 2513 |
"في تعديله مع مشاركة هذا المخزن على أساس \"للقراءة فقط\" مع عمليات أخرى." |
| 2514 |
|
| 2515 |
#. type: Plain text |
| 2516 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2517 |
msgid "" |
| 2518 |
"Write lifetime hints can be used to inform the kernel about the relative " |
| 2519 |
"expected lifetime of writes on a given inode or via a particular open file " |
| 2520 |
"description. (See B<open>(2) for an explanation of open file " |
| 2521 |
"descriptions.) In this context, the term \"write lifetime\" means the " |
| 2522 |
"expected time the data will live on media, before being overwritten or " |
| 2523 |
"erased." |
| 2524 |
msgstr "" |
| 2525 |
"يمكن استخدام تلميحات عمر الكتابة لإبلاغ النواة بالعمر المتوقع النسبي " |
| 2526 |
"للكتابات على فهرس معين أو عبر وصف ملف مفتوح معين. (انظر B<open>(2) للحصول " |
| 2527 |
"على شرح لأوصاف الملفات المفتوحة.) في هذا السياق، يعني مصطلح \"عمر الكتابة\" " |
| 2528 |
"الوقت المتوقع الذي ستعيشه البيانات على الوسائط قبل أن تُستبدل أو تُمحى." |
| 2529 |
|
| 2530 |
#. type: Plain text |
| 2531 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2532 |
msgid "" |
| 2533 |
"An application may use the different hint values specified below to separate " |
| 2534 |
"writes into different write classes, so that multiple users or applications " |
| 2535 |
"running on a single storage back-end can aggregate their I/O patterns in a " |
| 2536 |
"consistent manner. However, there are no functional semantics implied by " |
| 2537 |
"these flags, and different I/O classes can use the write lifetime hints in " |
| 2538 |
"arbitrary ways, so long as the hints are used consistently." |
| 2539 |
msgstr "" |
| 2540 |
"يمكن للتطبيق استخدام قيم التلميحات المختلفة المحددة أدناه لفصل الكتابات إلى " |
| 2541 |
"فئات كتابة مختلفة، بحيث يمكن لمستخدمين أو تطبيقات متعددة تعمل على خلفية " |
| 2542 |
"تخزين واحدة تجميع أنماط الدخل/الخرج الخاصة بهم بطريقة متسقة. ومع ذلك، لا " |
| 2543 |
"توجد دلالات وظيفية تفرضها هذه الأوسام، ويمكن لفئات الدخل/الخرج المختلفة " |
| 2544 |
"استخدام تلميحات عمر الكتابة بطرق عشوائية، طالما استُخدمت التلميحات باستمرار." |
| 2545 |
|
| 2546 |
#. type: Plain text |
| 2547 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2548 |
msgid "The following operations can be applied to the file descriptor, I<fd>:" |
| 2549 |
msgstr "العمليات التالية يمكن تطبيقها على واصف الملف، I<fd>:" |
| 2550 |
|
| 2551 |
#. type: TP |
| 2552 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2553 |
#, no-wrap |
| 2554 |
msgid "B<F_GET_RW_HINT> (I<uint64_t *>; since Linux 4.13)" |
| 2555 |
msgstr "B<F_GET_RW_HINT> (I<uint64_t *>; منذ لينكس 4.13)" |
| 2556 |
|
| 2557 |
#. type: Plain text |
| 2558 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2559 |
msgid "" |
| 2560 |
"Returns the value of the read/write hint associated with the underlying " |
| 2561 |
"inode referred to by I<fd>." |
| 2562 |
msgstr "" |
| 2563 |
"يعيد قيمة تلميح القراءة/الكتابة المرتبط بالفهرس الأساسي المشار إليه بواسطة " |
| 2564 |
"I<fd>." |
| 2565 |
|
| 2566 |
#. type: TP |
| 2567 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2568 |
#, no-wrap |
| 2569 |
msgid "B<F_SET_RW_HINT> (I<uint64_t *>; since Linux 4.13)" |
| 2570 |
msgstr "B<F_SET_RW_HINT> (I<uint64_t *>; منذ لينكس 4.13)" |
| 2571 |
|
| 2572 |
#. type: Plain text |
| 2573 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2574 |
msgid "" |
| 2575 |
"Sets the read/write hint value associated with the underlying inode referred " |
| 2576 |
"to by I<fd>. This hint persists until either it is explicitly modified or " |
| 2577 |
"the underlying filesystem is unmounted." |
| 2578 |
msgstr "" |
| 2579 |
"يضبط قيمة تلميح القراءة/الكتابة المرتبط بالفهرس الأساسي المشار إليه بواسطة " |
| 2580 |
"I<fd>. يستمر هذا التلميح حتى يُعدل صراحةً أو يُفصل نظام الملفات الأساسي." |
| 2581 |
|
| 2582 |
#. type: TP |
| 2583 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2584 |
#, no-wrap |
| 2585 |
msgid "B<F_GET_FILE_RW_HINT> (I<uint64_t *>; since Linux 4.13)" |
| 2586 |
msgstr "B<F_GET_FILE_RW_HINT> (I<uint64_t *>; منذ لينكس 4.13)" |
| 2587 |
|
| 2588 |
#. type: Plain text |
| 2589 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2590 |
msgid "" |
| 2591 |
"Returns the value of the read/write hint associated with the open file " |
| 2592 |
"description referred to by I<fd>." |
| 2593 |
msgstr "" |
| 2594 |
"يعيد قيمة تلميح القراءة/الكتابة المرتبط بوصف الملف المفتوح المشار إليه " |
| 2595 |
"بواسطة I<fd>." |
| 2596 |
|
| 2597 |
#. type: TP |
| 2598 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2599 |
#, no-wrap |
| 2600 |
msgid "B<F_SET_FILE_RW_HINT> (I<uint64_t *>; since Linux 4.13)" |
| 2601 |
msgstr "B<F_SET_FILE_RW_HINT> (I<uint64_t *>; منذ لينكس 4.13)" |
| 2602 |
|
| 2603 |
#. type: Plain text |
| 2604 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2605 |
msgid "" |
| 2606 |
"Sets the read/write hint value associated with the open file description " |
| 2607 |
"referred to by I<fd>." |
| 2608 |
msgstr "" |
| 2609 |
"يضبط قيمة تلميح القراءة/الكتابة المرتبط بوصف الملف المفتوح المشار إليه " |
| 2610 |
"بواسطة I<fd>." |
| 2611 |
|
| 2612 |
#. type: Plain text |
| 2613 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2614 |
msgid "" |
| 2615 |
"If an open file description has not been assigned a read/write hint, then it " |
| 2616 |
"shall use the value assigned to the inode, if any." |
| 2617 |
msgstr "" |
| 2618 |
"إذا لم يُخصص تلميح قراءة/كتابة لوصف ملف مفتوح، فسيستخدم القيمة المخصصة " |
| 2619 |
"للفهرس، إن وجدت." |
| 2620 |
|
| 2621 |
#. type: Plain text |
| 2622 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2623 |
msgid "The following read/write hints are valid since Linux 4.13:" |
| 2624 |
msgstr "تلميحات القراءة/الكتابة التالية صالحة منذ لينكس 4.13:" |
| 2625 |
|
| 2626 |
#. type: TP |
| 2627 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2628 |
#, no-wrap |
| 2629 |
msgid "B<RWH_WRITE_LIFE_NOT_SET>" |
| 2630 |
msgstr "B<RWH_WRITE_LIFE_NOT_SET>" |
| 2631 |
|
| 2632 |
#. type: Plain text |
| 2633 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2634 |
msgid "No specific hint has been set. This is the default value." |
| 2635 |
msgstr "لم يُضبط أي تلميح محدد. هذه هي القيمة المبدئية." |
| 2636 |
|
| 2637 |
#. type: TP |
| 2638 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2639 |
#, no-wrap |
| 2640 |
msgid "B<RWH_WRITE_LIFE_NONE>" |
| 2641 |
msgstr "B<RWH_WRITE_LIFE_NONE>" |
| 2642 |
|
| 2643 |
#. type: Plain text |
| 2644 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2645 |
msgid "No specific write lifetime is associated with this file or inode." |
| 2646 |
msgstr "لا يوجد عمر كتابة محدد مرتبط بهذا الملف أو الفهرس." |
| 2647 |
|
| 2648 |
#. type: TP |
| 2649 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2650 |
#, no-wrap |
| 2651 |
msgid "B<RWH_WRITE_LIFE_SHORT>" |
| 2652 |
msgstr "B<RWH_WRITE_LIFE_SHORT>" |
| 2653 |
|
| 2654 |
#. type: Plain text |
| 2655 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2656 |
msgid "" |
| 2657 |
"Data written to this inode or via this open file description is expected to " |
| 2658 |
"have a short lifetime." |
| 2659 |
msgstr "" |
| 2660 |
"يُتوقع أن يكون للبيانات المكتوبة إلى هذا الفهرس أو عبر وصف الملف المفتوح هذا " |
| 2661 |
"عمر قصير." |
| 2662 |
|
| 2663 |
#. type: TP |
| 2664 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2665 |
#, no-wrap |
| 2666 |
msgid "B<RWH_WRITE_LIFE_MEDIUM>" |
| 2667 |
msgstr "B<RWH_WRITE_LIFE_MEDIUM>" |
| 2668 |
|
| 2669 |
#. type: Plain text |
| 2670 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2671 |
msgid "" |
| 2672 |
"Data written to this inode or via this open file description is expected to " |
| 2673 |
"have a lifetime longer than data written with B<RWH_WRITE_LIFE_SHORT>." |
| 2674 |
msgstr "" |
| 2675 |
"يُتوقع أن يكون للبيانات المكتوبة إلى هذا الفهرس أو عبر وصف الملف المفتوح هذا " |
| 2676 |
"عمر أطول من البيانات المكتوبة بـ B<RWH_WRITE_LIFE_SHORT>." |
| 2677 |
|
| 2678 |
#. type: TP |
| 2679 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2680 |
#, no-wrap |
| 2681 |
msgid "B<RWH_WRITE_LIFE_LONG>" |
| 2682 |
msgstr "B<RWH_WRITE_LIFE_LONG>" |
| 2683 |
|
| 2684 |
#. type: Plain text |
| 2685 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2686 |
msgid "" |
| 2687 |
"Data written to this inode or via this open file description is expected to " |
| 2688 |
"have a lifetime longer than data written with B<RWH_WRITE_LIFE_MEDIUM>." |
| 2689 |
msgstr "" |
| 2690 |
"يُتوقع أن يكون للبيانات المكتوبة إلى هذا الفهرس أو عبر وصف الملف المفتوح هذا " |
| 2691 |
"عمر أطول من البيانات المكتوبة بـ B<RWH_WRITE_LIFE_MEDIUM>." |
| 2692 |
|
| 2693 |
#. type: TP |
| 2694 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2695 |
#, no-wrap |
| 2696 |
msgid "B<RWH_WRITE_LIFE_EXTREME>" |
| 2697 |
msgstr "B<RWH_WRITE_LIFE_EXTREME>" |
| 2698 |
|
| 2699 |
#. type: Plain text |
| 2700 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2701 |
msgid "" |
| 2702 |
"Data written to this inode or via this open file description is expected to " |
| 2703 |
"have a lifetime longer than data written with B<RWH_WRITE_LIFE_LONG>." |
| 2704 |
msgstr "" |
| 2705 |
"يُتوقع أن يكون للبيانات المكتوبة إلى هذا الفهرس أو عبر وصف الملف المفتوح هذا " |
| 2706 |
"عمر أطول من البيانات المكتوبة بـ B<RWH_WRITE_LIFE_LONG>." |
| 2707 |
|
| 2708 |
#. type: Plain text |
| 2709 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2710 |
msgid "" |
| 2711 |
"All the write-specific hints are relative to each other, and no individual " |
| 2712 |
"absolute meaning should be attributed to them." |
| 2713 |
msgstr "" |
| 2714 |
"جميع تلميحات الكتابة المحددة نسبية لبعضها البعض، ولا ينبغي عزو أي معنى مطلق " |
| 2715 |
"فردي لها." |
| 2716 |
|
| 2717 |
#. type: Plain text |
| 2718 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2719 |
msgid "For a successful call, the return value depends on the operation:" |
| 2720 |
msgstr "في حالة الاستدعاء الناجح، تعتمد قيمة الإرجاع على العملية:" |
| 2721 |
|
| 2722 |
#. type: TP |
| 2723 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2724 |
#, no-wrap |
| 2725 |
msgid "B<F_DUPFD>" |
| 2726 |
msgstr "B<F_DUPFD>" |
| 2727 |
|
| 2728 |
#. type: Plain text |
| 2729 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2730 |
msgid "The new file descriptor." |
| 2731 |
msgstr "واصف الملف الجديد." |
| 2732 |
|
| 2733 |
#. type: TP |
| 2734 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2735 |
#, no-wrap |
| 2736 |
msgid "B<F_GETFD>" |
| 2737 |
msgstr "B<F_GETFD>" |
| 2738 |
|
| 2739 |
#. type: Plain text |
| 2740 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2741 |
msgid "Value of file descriptor flags." |
| 2742 |
msgstr "قيمة أوسام واصف الملف." |
| 2743 |
|
| 2744 |
#. type: TP |
| 2745 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2746 |
#, no-wrap |
| 2747 |
msgid "B<F_GETFL>" |
| 2748 |
msgstr "B<F_GETFL>" |
| 2749 |
|
| 2750 |
#. type: Plain text |
| 2751 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2752 |
msgid "Value of file status flags." |
| 2753 |
msgstr "قيمة أوسام حالة الملف." |
| 2754 |
|
| 2755 |
#. type: TP |
| 2756 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2757 |
#, no-wrap |
| 2758 |
msgid "B<F_GETLEASE>" |
| 2759 |
msgstr "B<F_GETLEASE>" |
| 2760 |
|
| 2761 |
#. type: Plain text |
| 2762 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2763 |
msgid "Type of lease held on file descriptor." |
| 2764 |
msgstr "نوع عقد الإيجار المحتفظ به على واصف الملف." |
| 2765 |
|
| 2766 |
#. type: TP |
| 2767 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2768 |
#, no-wrap |
| 2769 |
msgid "B<F_GETOWN>" |
| 2770 |
msgstr "B<F_GETOWN>" |
| 2771 |
|
| 2772 |
#. type: Plain text |
| 2773 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2774 |
msgid "Value of file descriptor owner." |
| 2775 |
msgstr "قيمة مالك واصف الملف." |
| 2776 |
|
| 2777 |
#. type: TP |
| 2778 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2779 |
#, no-wrap |
| 2780 |
msgid "B<F_GETSIG>" |
| 2781 |
msgstr "B<F_GETSIG>" |
| 2782 |
|
| 2783 |
#. type: Plain text |
| 2784 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2785 |
msgid "" |
| 2786 |
"Value of signal sent when read or write becomes possible, or zero for " |
| 2787 |
"traditional B<SIGIO> behavior." |
| 2788 |
msgstr "" |
| 2789 |
"قيمة الإشارة المرسلة عندما تصبح القراءة أو الكتابة ممكنة، أو صفر لسلوك " |
| 2790 |
"B<SIGIO> التقليدي." |
| 2791 |
|
| 2792 |
#. type: TP |
| 2793 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2794 |
#, no-wrap |
| 2795 |
msgid "B<F_GETPIPE_SZ>" |
| 2796 |
msgstr "B<F_GETPIPE_SZ>" |
| 2797 |
|
| 2798 |
#. type: TQ |
| 2799 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2800 |
#, no-wrap |
| 2801 |
msgid "B<F_SETPIPE_SZ>" |
| 2802 |
msgstr "B<F_SETPIPE_SZ>" |
| 2803 |
|
| 2804 |
#. type: Plain text |
| 2805 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2806 |
msgid "The pipe capacity." |
| 2807 |
msgstr "سعة الأنبوب." |
| 2808 |
|
| 2809 |
#. type: TP |
| 2810 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2811 |
#, no-wrap |
| 2812 |
msgid "B<F_GET_SEALS>" |
| 2813 |
msgstr "B<F_GET_SEALS>" |
| 2814 |
|
| 2815 |
#. type: Plain text |
| 2816 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2817 |
msgid "" |
| 2818 |
"A bit mask identifying the seals that have been set for the inode referred " |
| 2819 |
"to by I<fd>." |
| 2820 |
msgstr "قناع بتات يحدد الأختام التي عُينت للفهرس المشار إليه بواسطة I<fd>." |
| 2821 |
|
| 2822 |
#. type: TP |
| 2823 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2824 |
#, no-wrap |
| 2825 |
msgid "All other operations" |
| 2826 |
msgstr "جميع العمليات الأخرى" |
| 2827 |
|
| 2828 |
#. type: Plain text |
| 2829 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2830 |
msgid "Zero." |
| 2831 |
msgstr "صفر." |
| 2832 |
|
| 2833 |
#. type: Plain text |
| 2834 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2835 |
msgid "" |
| 2836 |
"I<op> is B<F_SETLK> or B<F_SETLKW> and the file descriptor open mode doesn't " |
| 2837 |
"match with the type of lock requested." |
| 2838 |
msgstr "" |
| 2839 |
"I<op> هو B<F_SETLK> أو B<F_SETLKW> ووضع فتح واصف الملف لا يتطابق مع نوع " |
| 2840 |
"القفل المطلوب." |
| 2841 |
|
| 2842 |
#. type: TP |
| 2843 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2844 |
#, no-wrap |
| 2845 |
msgid "B<EBUSY>" |
| 2846 |
msgstr "B<EBUSY>" |
| 2847 |
|
| 2848 |
#. type: Plain text |
| 2849 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2850 |
msgid "" |
| 2851 |
"I<op> is B<F_SETPIPE_SZ> and the new pipe capacity specified in I<arg> is " |
| 2852 |
"smaller than the amount of buffer space currently used to store data in the " |
| 2853 |
"pipe." |
| 2854 |
msgstr "" |
| 2855 |
"I<op> هو B<F_SETPIPE_SZ> وسعة الأنبوب الجديدة المحددة في I<arg> أصغر من " |
| 2856 |
"مساحة المخزن المؤقت المستخدمة حالياً لتخزين البيانات في الأنبوب." |
| 2857 |
|
| 2858 |
#. type: Plain text |
| 2859 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2860 |
msgid "" |
| 2861 |
"I<op> is B<F_ADD_SEALS>, I<arg> includes B<F_SEAL_WRITE>, and there exists a " |
| 2862 |
"writable, shared mapping on the file referred to by I<fd>." |
| 2863 |
msgstr "" |
| 2864 |
"I<op> هو B<F_ADD_SEALS>، و I<arg> يتضمن B<F_SEAL_WRITE>، وهناك تخطيط مشترك " |
| 2865 |
"وقابل للكتابة على الملف المشار إليه بواسطة I<fd>." |
| 2866 |
|
| 2867 |
#. type: TP |
| 2868 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2869 |
#, no-wrap |
| 2870 |
msgid "B<EDEADLK>" |
| 2871 |
msgstr "B<EDEADLK>" |
| 2872 |
|
| 2873 |
#. type: Plain text |
| 2874 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2875 |
msgid "" |
| 2876 |
"It was detected that the specified B<F_SETLKW> operation would cause a " |
| 2877 |
"deadlock." |
| 2878 |
msgstr "كُشف عن أن عملية B<F_SETLKW> المحددة ستسبب طريقاً مسدوداً (deadlock)." |
| 2879 |
|
| 2880 |
#. type: TP |
| 2881 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2882 |
#, no-wrap |
| 2883 |
msgid "B<EFAULT>" |
| 2884 |
msgstr "B<EFAULT>" |
| 2885 |
|
| 2886 |
#. type: Plain text |
| 2887 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2888 |
msgid "I<lock> is outside your accessible address space." |
| 2889 |
msgstr "تقع I<lock> خارج مساحة العناوين التي يمكن الوصول إليها." |
| 2890 |
|
| 2891 |
#. type: TP |
| 2892 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2893 |
#, no-wrap |
| 2894 |
msgid "B<EINTR>" |
| 2895 |
msgstr "B<EINTR>" |
| 2896 |
|
| 2897 |
#. type: Plain text |
| 2898 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2899 |
msgid "" |
| 2900 |
"I<op> is B<F_SETLKW> or B<F_OFD_SETLKW> and the operation was interrupted by " |
| 2901 |
"a signal; see B<signal>(7)." |
| 2902 |
msgstr "" |
| 2903 |
"قيمة I<op> هي B<F_SETLKW> أو B<F_OFD_SETLKW> وقُطعت العملية بواسطة إشارة؛ " |
| 2904 |
"راجع B<signal>(7)." |
| 2905 |
|
| 2906 |
#. type: Plain text |
| 2907 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2908 |
msgid "" |
| 2909 |
"I<op> is B<F_GETLK>, B<F_SETLK>, B<F_OFD_GETLK>, or B<F_OFD_SETLK>, and the " |
| 2910 |
"operation was interrupted by a signal before the lock was checked or " |
| 2911 |
"acquired. Most likely when locking a remote file (e.g., locking over NFS), " |
| 2912 |
"but can sometimes happen locally." |
| 2913 |
msgstr "" |
| 2914 |
"قيمة I<op> هي B<F_GETLK> أو B<F_SETLK> أو B<F_OFD_GETLK> أو B<F_OFD_SETLK>، " |
| 2915 |
"وقُطعت العملية بواسطة إشارة قبل فحص القفل أو الاستحواذ عليه. يحدث هذا غالباً " |
| 2916 |
"عند قفل ملف بعيد (مثل القفل عبر NFS)، ولكن قد يحدث محلياً أحياناً." |
| 2917 |
|
| 2918 |
#. type: Plain text |
| 2919 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2920 |
msgid "" |
| 2921 |
"I<op> is B<F_ADD_SEALS> and I<arg> includes an unrecognized sealing bit." |
| 2922 |
msgstr "" |
| 2923 |
"قيمة I<op> هي B<F_ADD_SEALS> وتتضمن I<arg> بت ختم (sealing bit) غير معروف." |
| 2924 |
|
| 2925 |
#. type: Plain text |
| 2926 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2927 |
msgid "" |
| 2928 |
"I<op> is B<F_ADD_SEALS> or B<F_GET_SEALS> and the filesystem containing the " |
| 2929 |
"inode referred to by I<fd> does not support sealing." |
| 2930 |
msgstr "" |
| 2931 |
"قيمة I<op> هي B<F_ADD_SEALS> أو B<F_GET_SEALS> ونظام الملفات الذي يحتوي على " |
| 2932 |
"الـ inode المشار إليه بواسطة I<fd> لا يدعم الختم (sealing)." |
| 2933 |
|
| 2934 |
#. type: Plain text |
| 2935 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2936 |
msgid "" |
| 2937 |
"I<op> is B<F_DUPFD> and I<arg> is negative or is greater than the maximum " |
| 2938 |
"allowable value (see the discussion of B<RLIMIT_NOFILE> in B<getrlimit>(2))." |
| 2939 |
msgstr "" |
| 2940 |
"قيمة I<op> هي B<F_DUPFD> و I<arg> سالبة أو أكبر من أقصى قيمة مسموح بها (راجع " |
| 2941 |
"مناقشة B<RLIMIT_NOFILE> في B<getrlimit>(2))." |
| 2942 |
|
| 2943 |
#. type: Plain text |
| 2944 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2945 |
msgid "I<op> is B<F_SETSIG> and I<arg> is not an allowable signal number." |
| 2946 |
msgstr "قيمة I<op> هي B<F_SETSIG> و I<arg> ليست رقم إشارة مسموح به." |
| 2947 |
|
| 2948 |
#. type: Plain text |
| 2949 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2950 |
msgid "" |
| 2951 |
"I<op> is B<F_OFD_SETLK>, B<F_OFD_SETLKW>, or B<F_OFD_GETLK>, and I<l_pid> " |
| 2952 |
"was not specified as zero." |
| 2953 |
msgstr "" |
| 2954 |
"قيمة I<op> هي B<F_OFD_SETLK> أو B<F_OFD_SETLKW> أو B<F_OFD_GETLK>، ولم تُحدد " |
| 2955 |
"I<l_pid> كصفر." |
| 2956 |
|
| 2957 |
#. type: TP |
| 2958 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2959 |
#, no-wrap |
| 2960 |
msgid "B<EMFILE>" |
| 2961 |
msgstr "B<EMFILE>" |
| 2962 |
|
| 2963 |
#. type: Plain text |
| 2964 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2965 |
msgid "" |
| 2966 |
"I<op> is B<F_DUPFD> and the per-process limit on the number of open file " |
| 2967 |
"descriptors has been reached." |
| 2968 |
msgstr "" |
| 2969 |
"قيمة I<op> هي B<F_DUPFD> ووُصل إلى الحد الأقصى لواصفات الملفات المفتوحة لكل " |
| 2970 |
"عملية." |
| 2971 |
|
| 2972 |
#. type: TP |
| 2973 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2974 |
#, no-wrap |
| 2975 |
msgid "B<ENOLCK>" |
| 2976 |
msgstr "B<ENOLCK>" |
| 2977 |
|
| 2978 |
#. type: Plain text |
| 2979 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2980 |
msgid "" |
| 2981 |
"Too many segment locks open, lock table is full, or a remote locking " |
| 2982 |
"protocol failed (e.g., locking over NFS)." |
| 2983 |
msgstr "" |
| 2984 |
"فُتح عدد كبير جداً من أقفال المقاطع (segment locks)، أو جدول الأقفال ممتلئ،" |
| 2985 |
" أو " |
| 2986 |
"فشل بروتوكول قفل بعيد (مثل القفل عبر NFS)." |
| 2987 |
|
| 2988 |
#. type: TP |
| 2989 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2990 |
#, no-wrap |
| 2991 |
msgid "B<ENOTDIR>" |
| 2992 |
msgstr "B<ENOTDIR>" |
| 2993 |
|
| 2994 |
#. type: Plain text |
| 2995 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2996 |
msgid "" |
| 2997 |
"B<F_NOTIFY> was specified in I<op>, but I<fd> does not refer to a directory." |
| 2998 |
msgstr "حُددت B<F_NOTIFY> في I<op>، ولكن I<fd> لا يشير إلى دليل." |
| 2999 |
|
| 3000 |
#. type: TP |
| 3001 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3002 |
#, no-wrap |
| 3003 |
msgid "B<EPERM>" |
| 3004 |
msgstr "B<EPERM>" |
| 3005 |
|
| 3006 |
#. type: Plain text |
| 3007 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3008 |
msgid "" |
| 3009 |
"I<op> is B<F_SETPIPE_SZ> and the soft or hard user pipe limit has been " |
| 3010 |
"reached; see B<pipe>(7)." |
| 3011 |
msgstr "" |
| 3012 |
"قيمة I<op> هي B<F_SETPIPE_SZ> ووُصل إلى حد الأنابيب (pipe limit) المرن أو " |
| 3013 |
"الصلب للمستخدم؛ راجع B<pipe>(7)." |
| 3014 |
|
| 3015 |
#. type: Plain text |
| 3016 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3017 |
msgid "" |
| 3018 |
"Attempted to clear the B<O_APPEND> flag on a file that has the append-only " |
| 3019 |
"attribute set." |
| 3020 |
msgstr "" |
| 3021 |
"حُووِل مسح علامة B<O_APPEND> لملف عُينت له سمة الإلحاق فقط (append-only)." |
| 3022 |
|
| 3023 |
#. type: Plain text |
| 3024 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3025 |
msgid "" |
| 3026 |
"I<op> was B<F_ADD_SEALS>, but I<fd> was not open for writing or the current " |
| 3027 |
"set of seals on the file already includes B<F_SEAL_SEAL>." |
| 3028 |
msgstr "" |
| 3029 |
"كانت I<op> هي B<F_ADD_SEALS>، ولكن I<fd> لم يكن مفتوحاً للكتابة أو أن مجموعة " |
| 3030 |
"الأختام الحالية على الملف تتضمن بالفعل B<F_SEAL_SEAL>." |
| 3031 |
|
| 3032 |
#. type: Plain text |
| 3033 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3034 |
msgid "POSIX.1-2008." |
| 3035 |
msgstr "POSIX.1-2008." |
| 3036 |
|
| 3037 |
#. .P |
| 3038 |
#. SVr4 documents additional EIO, ENOLINK and EOVERFLOW error conditions. |
| 3039 |
#. type: Plain text |
| 3040 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3041 |
msgid "" |
| 3042 |
"B<F_GETOWN_EX>, B<F_SETOWN_EX>, B<F_SETPIPE_SZ>, B<F_GETPIPE_SZ>, " |
| 3043 |
"B<F_GETSIG>, B<F_SETSIG>, B<F_NOTIFY>, B<F_GETLEASE>, and B<F_SETLEASE> are " |
| 3044 |
"Linux-specific. (Define the B<_GNU_SOURCE> macro to obtain these " |
| 3045 |
"definitions.)" |
| 3046 |
msgstr "" |
| 3047 |
"تعد العمليات B<F_GETOWN_EX> و B<F_SETOWN_EX> و B<F_SETPIPE_SZ> و " |
| 3048 |
"B<F_GETPIPE_SZ> و B<F_GETSIG> و B<F_SETSIG> و B<F_NOTIFY> و B<F_GETLEASE> و " |
| 3049 |
"B<F_SETLEASE> خاصة بلينكس. (عرّف ماكرو B<_GNU_SOURCE> للحصول على هذه " |
| 3050 |
"التعريفات.)" |
| 3051 |
|
| 3052 |
#. type: Plain text |
| 3053 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3054 |
msgid "" |
| 3055 |
"B<F_OFD_SETLK>, B<F_OFD_SETLKW>, and B<F_OFD_GETLK> are Linux-specific (and " |
| 3056 |
"one must define B<_GNU_SOURCE> to obtain their definitions), but work is " |
| 3057 |
"being done to have them included in the next version of POSIX.1." |
| 3058 |
msgstr "" |
| 3059 |
"تعد العمليات B<F_OFD_SETLK> و B<F_OFD_SETLKW> و B<F_OFD_GETLK> خاصة بلينكس " |
| 3060 |
"(ويجب تعريف B<_GNU_SOURCE> للحصول على تعريفاتها)، ولكن يجري العمل على " |
| 3061 |
"تضمينها في النسخة القادمة من POSIX.1." |
| 3062 |
|
| 3063 |
#. FIXME . Once glibc adds support, add a note about FTM requirements |
| 3064 |
#. type: Plain text |
| 3065 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3066 |
msgid "B<F_ADD_SEALS> and B<F_GET_SEALS> are Linux-specific." |
| 3067 |
msgstr "العمليتان B<F_ADD_SEALS> و B<F_GET_SEALS> خاصتان بلينكس." |
| 3068 |
|
| 3069 |
#. type: Plain text |
| 3070 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3071 |
msgid "SVr4, 4.3BSD, POSIX.1-2001." |
| 3072 |
msgstr "SVr4، 4.3BSD، POSIX.1-2001." |
| 3073 |
|
| 3074 |
#. type: Plain text |
| 3075 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3076 |
msgid "" |
| 3077 |
"Only the operations B<F_DUPFD>, B<F_GETFD>, B<F_SETFD>, B<F_GETFL>, " |
| 3078 |
"B<F_SETFL>, B<F_GETLK>, B<F_SETLK>, and B<F_SETLKW> are specified in " |
| 3079 |
"POSIX.1-2001." |
| 3080 |
msgstr "" |
| 3081 |
"فقط العمليات B<F_DUPFD> و B<F_GETFD> و B<F_SETFD> و B<F_GETFL> و B<F_SETFL> " |
| 3082 |
"و B<F_GETLK> و B<F_SETLK> و B<F_SETLKW> هي المحددة في POSIX.1-2001." |
| 3083 |
|
| 3084 |
#. .BR _BSD_SOURCE , |
| 3085 |
#. or |
| 3086 |
#. type: Plain text |
| 3087 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3088 |
msgid "" |
| 3089 |
"B<F_GETOWN> and B<F_SETOWN> are specified in POSIX.1-2001. (To get their " |
| 3090 |
"definitions, define either B<_XOPEN_SOURCE> with the value 500 or greater, " |
| 3091 |
"or B<_POSIX_C_SOURCE> with the value 200809L or greater.)" |
| 3092 |
msgstr "" |
| 3093 |
"العمليتان B<F_GETOWN> و B<F_SETOWN> محددتان في POSIX.1-2001. (للحصول على " |
| 3094 |
"تعريفاتهما، عرّف إما B<_XOPEN_SOURCE> بقيمة 500 أو أكثر، أو " |
| 3095 |
"B<_POSIX_C_SOURCE> بقيمة 200809L أو أكثر.)" |
| 3096 |
|
| 3097 |
#. type: Plain text |
| 3098 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3099 |
msgid "" |
| 3100 |
"B<F_DUPFD_CLOEXEC> is specified in POSIX.1-2008. (To get this definition, " |
| 3101 |
"define B<_POSIX_C_SOURCE> with the value 200809L or greater, or " |
| 3102 |
"B<_XOPEN_SOURCE> with the value 700 or greater.)" |
| 3103 |
msgstr "" |
| 3104 |
"العملية B<F_DUPFD_CLOEXEC> محددة في POSIX.1-2008. (للحصول على هذا التعريف، " |
| 3105 |
"عرّف B<_POSIX_C_SOURCE> بقيمة 200809L أو أكثر، أو B<_XOPEN_SOURCE> بقيمة 700 " |
| 3106 |
"أو أكثر.)" |
| 3107 |
|
| 3108 |
#. type: SH |
| 3109 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3110 |
#, no-wrap |
| 3111 |
msgid "NOTES" |
| 3112 |
msgstr "ملاحظات" |
| 3113 |
|
| 3114 |
#. type: Plain text |
| 3115 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3116 |
msgid "" |
| 3117 |
"The errors returned by B<dup2>(2) are different from those returned by " |
| 3118 |
"B<F_DUPFD>." |
| 3119 |
msgstr "تختلف الأخطاء التي ترجعها B<dup2>(2) عن تلك التي ترجعها B<F_DUPFD>." |
| 3120 |
|
| 3121 |
#. type: SS |
| 3122 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3123 |
#, no-wrap |
| 3124 |
msgid "File locking" |
| 3125 |
msgstr "قفل الملفات" |
| 3126 |
|
| 3127 |
#. type: Plain text |
| 3128 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3129 |
msgid "" |
| 3130 |
"The original Linux B<fcntl>() system call was not designed to handle large " |
| 3131 |
"file offsets (in the I<flock> structure). Consequently, an B<fcntl64>() " |
| 3132 |
"system call was added in Linux 2.4. The newer system call employs a " |
| 3133 |
"different structure for file locking, I<flock64>, and corresponding " |
| 3134 |
"operations, B<F_GETLK64>, B<F_SETLK64>, and B<F_SETLKW64>. However, these " |
| 3135 |
"details can be ignored by applications using glibc, whose B<fcntl>() " |
| 3136 |
"wrapper function transparently employs the more recent system call where it " |
| 3137 |
"is available." |
| 3138 |
msgstr "" |
| 3139 |
"لم يُصمم استدعاء النظام B<fcntl>() الأصلي في لينكس للتعامل مع إزاحات الملفات " |
| 3140 |
"الكبيرة (في هيكل I<flock>). وبناءً على ذلك، أُضيف استدعاء نظام B<fcntl64>()" |
| 3141 |
" في " |
| 3142 |
"لينكس 2.4. يستخدم استدعاء النظام الأحدث هيكلاً مختلفاً لقفل الملفات، " |
| 3143 |
"I<flock64>، والعمليات المقابلة لها B<F_GETLK64> و B<F_SETLK64> و " |
| 3144 |
"B<F_SETLKW64>. ومع ذلك، يمكن للتطبيقات التي تستخدم glibc تجاهل هذه التفاصيل، " |
| 3145 |
"حيث تستخدم دالة الغلاف B<fcntl>() استدعاء النظام الأحدث بشفافية حيثما توفر." |
| 3146 |
|
| 3147 |
#. type: SS |
| 3148 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3149 |
#, no-wrap |
| 3150 |
msgid "Record locks" |
| 3151 |
msgstr "أقفال السجلات" |
| 3152 |
|
| 3153 |
#. type: Plain text |
| 3154 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3155 |
msgid "" |
| 3156 |
"Since Linux 2.0, there is no interaction between the types of lock placed by " |
| 3157 |
"B<flock>(2) and B<fcntl>()." |
| 3158 |
msgstr "" |
| 3159 |
"منذ لينكس 2.0، لا يوجد تفاعل بين أنواع الأقفال التي يضعها B<flock>(2) و " |
| 3160 |
"B<fcntl>()." |
| 3161 |
|
| 3162 |
#. e.g., Solaris 8 documents this field in fcntl(2), and Irix 6.5 |
| 3163 |
#. documents it in fcntl(5). mtk, May 2007 |
| 3164 |
#. Also, FreeBSD documents it (Apr 2014). |
| 3165 |
#. type: Plain text |
| 3166 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3167 |
msgid "" |
| 3168 |
"Several systems have more fields in I<struct flock> such as, for example, " |
| 3169 |
"I<l_sysid> (to identify the machine where the lock is held). Clearly, " |
| 3170 |
"I<l_pid> alone is not going to be very useful if the process holding the " |
| 3171 |
"lock may live on a different machine; on Linux, while present on some " |
| 3172 |
"architectures (such as MIPS32), this field is not used." |
| 3173 |
msgstr "" |
| 3174 |
"تحتوي عدة أنظمة على حقول أكثر في I<struct flock> مثل I<l_sysid> (لتحديد " |
| 3175 |
"الحاسوب الذي يُحتفظ فيه بالقفل). ومن الواضح أن I<l_pid> وحده لن يكون مفيداً " |
| 3176 |
"جداً إذا كانت العملية التي تحمل القفل تعيش على حاسوب مختلف؛ في لينكس، وعلى " |
| 3177 |
"الرغم من وجود هذا الحقل في بعض المعماريات (مثل MIPS32)، إلا أنه لا يُستخدم." |
| 3178 |
|
| 3179 |
#. type: SS |
| 3180 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3181 |
#, no-wrap |
| 3182 |
msgid "Record locking and NFS" |
| 3183 |
msgstr "قفل السجلات و NFS" |
| 3184 |
|
| 3185 |
# |
| 3186 |
# |
| 3187 |
# |
| 3188 |
#. Neil Brown: With NFSv3 the failure mode is the reverse. If |
| 3189 |
#. the server loses contact with a client then any lock stays in place |
| 3190 |
#. indefinitely ("why can't I read my mail"... I remember it well). |
| 3191 |
#. Jeff Layton: |
| 3192 |
#. Note that this is not a firm timeout. The server runs a job |
| 3193 |
#. periodically to clean out expired stateful objects, and it's likely |
| 3194 |
#. that there is some time (maybe even up to another whole lease period) |
| 3195 |
#. between when the timeout expires and the job actually runs. If the |
| 3196 |
#. client gets a RENEW in there within that window, its lease will be |
| 3197 |
#. renewed and its state preserved. |
| 3198 |
#. type: Plain text |
| 3199 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3200 |
msgid "" |
| 3201 |
"Before Linux 3.12, if an NFSv4 client loses contact with the server for a " |
| 3202 |
"period of time (defined as more than 90 seconds with no communication), it " |
| 3203 |
"might lose and regain a lock without ever being aware of the fact. (The " |
| 3204 |
"period of time after which contact is assumed lost is known as the NFSv4 " |
| 3205 |
"leasetime. On a Linux NFS server, this can be determined by looking at I</" |
| 3206 |
"proc/fs/nfsd/nfsv4leasetime>, which expresses the period in seconds. The " |
| 3207 |
"default value for this file is 90.) This scenario potentially risks data " |
| 3208 |
"corruption, since another process might acquire a lock in the intervening " |
| 3209 |
"period and perform file I/O." |
| 3210 |
msgstr "" |
| 3211 |
"قبل لينكس 3.12، إذا فقد عميل NFSv4 الاتصال بالخادم لفترة زمنية (تُعرف بأنها " |
| 3212 |
"أكثر من 90 ثانية دون تواصل)، فقد يفقد القفل ويستعيده دون أن يدرك ذلك أبداً. " |
| 3213 |
"(تُعرف الفترة الزمنية التي يُفترض بعدها فقدان الاتصال باسم NFSv4 leasetime." |
| 3214 |
" في " |
| 3215 |
"خادم لينكس NFS، يمكن تحديد ذلك من خلال النظر في I</proc/fs/nfsd/" |
| 3216 |
"nfsv4leasetime>، الذي يعبر عن الفترة بالثواني. القيمة المبدئية لهذا الملف هي " |
| 3217 |
"90.) يخاطر هذا السيناريو باحتمال فساد البيانات، حيث قد تستحوذ عملية أخرى على " |
| 3218 |
"قفل في الفترة الفاصلة وتجري عمليات إدخال/إخراج للملف." |
| 3219 |
|
| 3220 |
#. commit ef1820f9be27b6ad158f433ab38002ab8131db4d |
| 3221 |
#. commit f6de7a39c181dfb8a2c534661a53c73afb3081cd |
| 3222 |
#. type: Plain text |
| 3223 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3224 |
msgid "" |
| 3225 |
"Since Linux 3.12, if an NFSv4 client loses contact with the server, any I/O " |
| 3226 |
"to the file by a process which \"thinks\" it holds a lock will fail until " |
| 3227 |
"that process closes and reopens the file. A kernel parameter, I<nfs." |
| 3228 |
"recover_lost_locks>, can be set to 1 to obtain the pre-3.12 behavior, " |
| 3229 |
"whereby the client will attempt to recover lost locks when contact is " |
| 3230 |
"reestablished with the server. Because of the attendant risk of data " |
| 3231 |
"corruption, this parameter defaults to 0 (disabled)." |
| 3232 |
msgstr "" |
| 3233 |
"منذ لينكس 3.12، إذا فقد عميل NFSv4 الاتصال بالخادم، فإن أي عملية إدخال/إخراج " |
| 3234 |
"للملف بواسطة عملية \"تعتقد\" أنها تملك قفلاً ستفشل حتى تقوم تلك العملية " |
| 3235 |
"بإغلاق الملف وإعادة فتحه. يمكن ضبط معامل للنواة، I<nfs.recover_lost_locks>، " |
| 3236 |
"على 1 للحصول على سلوك ما قبل 3.12، حيث يحاول العميل استعادة الأقفال المفقودة " |
| 3237 |
"عند إعادة الاتصال بالخادم. وبسبب خطر فساد البيانات المصاحب لذلك، فإن هذا " |
| 3238 |
"المعامل يكون 0 (معطل) بشكل مبدئي." |
| 3239 |
|
| 3240 |
#. type: SH |
| 3241 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3242 |
#, no-wrap |
| 3243 |
msgid "BUGS" |
| 3244 |
msgstr "العلل" |
| 3245 |
|
| 3246 |
#. type: SS |
| 3247 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3248 |
#, no-wrap |
| 3249 |
msgid "F_SETFL" |
| 3250 |
msgstr "F_SETFL" |
| 3251 |
|
| 3252 |
#. FIXME . According to POSIX.1-2001, O_SYNC should also be modifiable |
| 3253 |
#. via fcntl(2), but currently Linux does not permit this |
| 3254 |
#. See http://bugzilla.kernel.org/show_bug.cgi?id=5994 |
| 3255 |
#. type: Plain text |
| 3256 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3257 |
msgid "" |
| 3258 |
"It is not possible to use B<F_SETFL> to change the state of the B<O_DSYNC> " |
| 3259 |
"and B<O_SYNC> flags. Attempts to change the state of these flags are " |
| 3260 |
"silently ignored." |
| 3261 |
msgstr "" |
| 3262 |
"من غير الممكن استخدام B<F_SETFL> لتغيير حالة العلامتين B<O_DSYNC> و " |
| 3263 |
"B<O_SYNC>. وتُتجاهل محاولات تغيير حالة هاتين العلامتين بصمت." |
| 3264 |
|
| 3265 |
#. type: SS |
| 3266 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3267 |
#, no-wrap |
| 3268 |
msgid "F_GETOWN" |
| 3269 |
msgstr "F_GETOWN" |
| 3270 |
|
| 3271 |
#. glibc source: sysdeps/unix/sysv/linux/i386/sysdep.h |
| 3272 |
#. mtk, Dec 04: some limited testing on alpha and ia64 seems to |
| 3273 |
#. indicate that ANY negative PGID value will cause F_GETOWN |
| 3274 |
#. to misinterpret the return as an error. Some other architectures |
| 3275 |
#. seem to have the same range check as i386. |
| 3276 |
#. type: Plain text |
| 3277 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3278 |
msgid "" |
| 3279 |
"A limitation of the Linux system call conventions on some architectures " |
| 3280 |
"(notably i386) means that if a (negative) process group ID to be returned " |
| 3281 |
"by B<F_GETOWN> falls in the range -1 to -4095, then the return value is " |
| 3282 |
"wrongly interpreted by glibc as an error in the system call; that is, the " |
| 3283 |
"return value of B<fcntl>() will be -1, and I<errno> will contain the " |
| 3284 |
"(positive) process group ID. The Linux-specific B<F_GETOWN_EX> operation " |
| 3285 |
"avoids this problem. Since glibc 2.11, glibc makes the kernel B<F_GETOWN> " |
| 3286 |
"problem invisible by implementing B<F_GETOWN> using B<F_GETOWN_EX>." |
| 3287 |
msgstr "" |
| 3288 |
"يعني وجود قيد في اتفاقيات استدعاء نظام لينكس في بعض المعماريات (لا سيما " |
| 3289 |
"i386) أنه إذا وقع معرف مجموعة عمليات (سالب) مطلوب إرجاعه بواسطة B<F_GETOWN> " |
| 3290 |
"في النطاق من -1 إلى -4095، فإن glibc يفسر قيمة الإرجاع خطأً على أنها خطأ في " |
| 3291 |
"استدعاء النظام؛ أي أن قيمة إرجاع B<fcntl>() ستكون -1، وسوف يحتوي I<errno> " |
| 3292 |
"على معرف مجموعة العمليات (الموجب). تتجنب عملية B<F_GETOWN_EX> الخاصة بلينكس " |
| 3293 |
"هذه المشكلة. منذ glibc 2.11، جعل glibc مشكلة B<F_GETOWN> في النواة غير مرئية " |
| 3294 |
"من خلال تنفيذ B<F_GETOWN> باستخدام B<F_GETOWN_EX>." |
| 3295 |
|
| 3296 |
#. type: SS |
| 3297 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3298 |
#, no-wrap |
| 3299 |
msgid "F_SETOWN" |
| 3300 |
msgstr "F_SETOWN" |
| 3301 |
|
| 3302 |
#. type: Plain text |
| 3303 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3304 |
msgid "" |
| 3305 |
"In Linux 2.4 and earlier, there is bug that can occur when an unprivileged " |
| 3306 |
"process uses B<F_SETOWN> to specify the owner of a socket file descriptor as " |
| 3307 |
"a process (group) other than the caller. In this case, B<fcntl>() can " |
| 3308 |
"return -1 with I<errno> set to B<EPERM>, even when the owner process (group) " |
| 3309 |
"is one that the caller has permission to send signals to. Despite this " |
| 3310 |
"error return, the file descriptor owner is set, and signals will be sent to " |
| 3311 |
"the owner." |
| 3312 |
msgstr "" |
| 3313 |
"في لينكس 2.4 وما قبله، توجد علة يمكن أن تحدث عندما تستخدم عملية غير مميزة " |
| 3314 |
"B<F_SETOWN> لتحديد مالك واصف ملف مقبس كعملية (أو مجموعة عمليات) غير " |
| 3315 |
"المستدعِي. في هذه الحالة، يمكن أن يرجع B<fcntl>() القيمة -1 مع ضبط I<errno> " |
| 3316 |
"على B<EPERM>، حتى عندما تكون العملية المالك (أو المجموعة) هي عملية يملك " |
| 3317 |
"المستدعِي إذناً بإرسال إشارات إليها. وبالرغم من إرجاع هذا الخطأ، يُضبط مالك " |
| 3318 |
"واصف الملف، وتُرسل الإشارات إلى المالك." |
| 3319 |
|
| 3320 |
#. type: SS |
| 3321 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3322 |
#, no-wrap |
| 3323 |
msgid "Deadlock detection" |
| 3324 |
msgstr "كشف الانغلاق التام (Deadlock)" |
| 3325 |
|
| 3326 |
#. type: Plain text |
| 3327 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3328 |
msgid "" |
| 3329 |
"The deadlock-detection algorithm employed by the kernel when dealing with " |
| 3330 |
"B<F_SETLKW> requests can yield both false negatives (failures to detect " |
| 3331 |
"deadlocks, leaving a set of deadlocked processes blocked indefinitely) and " |
| 3332 |
"false positives (B<EDEADLK> errors when there is no deadlock). For example, " |
| 3333 |
"the kernel limits the lock depth of its dependency search to 10 steps, " |
| 3334 |
"meaning that circular deadlock chains that exceed that size will not be " |
| 3335 |
"detected. In addition, the kernel may falsely indicate a deadlock when two " |
| 3336 |
"or more processes created using the B<clone>(2) B<CLONE_FILES> flag place " |
| 3337 |
"locks that appear (to the kernel) to conflict." |
| 3338 |
msgstr "" |
| 3339 |
"قد تعطي خوارزمية كشف الانغلاق التام التي تستخدمها النواة عند التعامل مع " |
| 3340 |
"طلبات B<F_SETLKW> نتائج سلبية خاطئة (الفشل في كشف الانغلاقات، مما يترك " |
| 3341 |
"مجموعة من العمليات المنغلقة محجوبة إلى الأبد) وإيجابية خاطئة (أخطاء " |
| 3342 |
"B<EDEADLK> عند عدم وجود انغلاق). على سبيل المثال، تحد النواة من عمق البحث عن " |
| 3343 |
"التبعية للقفل إلى 10 خطوات، مما يعني أن سلاسل الانغلاق الدائرية التي تتجاوز " |
| 3344 |
"هذا الحجم لن تُكشف. بالإضافة إلى ذلك، قد تشير النواة خطأً إلى وجود انغلاق " |
| 3345 |
"عندما تضع عمليتان أو أكثر (أُنشئت باستخدام العلامة B<CLONE_FILES> في " |
| 3346 |
"B<clone>(2)) أقفالاً تبدو للنواة متعارضة." |
| 3347 |
|
| 3348 |
# |
| 3349 |
#. http://marc.info/?l=linux-kernel&m=119013491707153&w=2 |
| 3350 |
#. Reconfirmed by Jeff Layton |
| 3351 |
#. From: Jeff Layton <jlayton <at> redhat.com> |
| 3352 |
#. Subject: Re: Status of fcntl() mandatory locking |
| 3353 |
#. Newsgroups: gmane.linux.file-systems |
| 3354 |
#. Date: 2014-04-28 10:07:57 GMT |
| 3355 |
#. http://thread.gmane.org/gmane.linux.file-systems/84481/focus=84518 |
| 3356 |
#. type: Plain text |
| 3357 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3358 |
msgid "" |
| 3359 |
"The Linux implementation of mandatory locking is subject to race conditions " |
| 3360 |
"which render it unreliable: a B<write>(2) call that overlaps with a lock " |
| 3361 |
"may modify data after the mandatory lock is acquired; a B<read>(2) call " |
| 3362 |
"that overlaps with a lock may detect changes to data that were made only " |
| 3363 |
"after a write lock was acquired. Similar races exist between mandatory " |
| 3364 |
"locks and B<mmap>(2). It is therefore inadvisable to rely on mandatory " |
| 3365 |
"locking." |
| 3366 |
msgstr "" |
| 3367 |
"يخضع تنفيذ لينكس للقفل الإلزامي لظروف التسابق (race conditions) التي تجعله " |
| 3368 |
"غير موثوق: فقد يعدل استدعاء B<write>(2) يتداخل مع قفل البيانات بعد الاستحواذ " |
| 3369 |
"على القفل الإلزامي؛ وقد يكتشف استدعاء B<read>(2) يتداخل مع قفل تغييرات في " |
| 3370 |
"البيانات أُجريت فقط بعد الاستحواذ على قفل كتابة. وتوجد تسابُقات مماثلة بين " |
| 3371 |
"الأقفال الإلزامية و B<mmap>(2). لذا يُنصح بعدم الاعتماد على القفل الإلزامي." |
| 3372 |
|
| 3373 |
#. type: Plain text |
| 3374 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3375 |
msgid "" |
| 3376 |
"I<locks.txt>, I<mandatory-locking.txt>, and I<dnotify.txt> in the Linux " |
| 3377 |
"kernel source directory I<Documentation/filesystems/> (on older kernels, " |
| 3378 |
"these files are directly under the I<Documentation/> directory, and " |
| 3379 |
"I<mandatory-locking.txt> is called I<mandatory.txt>)" |
| 3380 |
msgstr "" |
| 3381 |
"الملفات I<locks.txt> و I<mandatory-locking.txt> و I<dnotify.txt> في دليل " |
| 3382 |
"مصدر نواة لينكس I<Documentation/filesystems/> (في النواة الأقدم، تكون هذه " |
| 3383 |
"الملفات مباشرة تحت الدليل I<Documentation/>، ويُسمى I<mandatory-locking.txt> " |
| 3384 |
"باسم I<mandatory.txt>)" |
| 3385 |
|
| 3386 |
#. type: TH |
| 3387 |
#: fedora-44 fedora-rawhide |
| 3388 |
#, no-wrap |
| 3389 |
msgid "2024-07-23" |
| 3390 |
msgstr "23 يوليو 2024" |
| 3391 |
|
| 3392 |
#. type: TH |
| 3393 |
#: fedora-44 fedora-rawhide |
| 3394 |
#, no-wrap |
| 3395 |
msgid "Linux man-pages 6.13" |
| 3396 |
msgstr "صفحات دليل لينكس 6.13" |
| 3397 |
|
| 3398 |
#. type: TH |
| 3399 |
#: mageia-cauldron |
| 3400 |
#, no-wrap |
| 3401 |
msgid "Linux man-pages 6.17" |
| 3402 |
msgstr "صفحات دليل لينكس 6.17" |
| 3403 |
|
| 3404 |
#. type: TH |
| 3405 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 3406 |
#, no-wrap |
| 3407 |
msgid "Linux man-pages (unreleased)" |
| 3408 |
msgstr "صفحات دليل لينكس (لم تصدر بعد)" |
| 3409 |
|