| 1 |
# Polish translation of manpages |
| 2 |
# This file is distributed under the same license as the manpages-l10n package. |
| 3 |
# Copyright © of this file: |
| 4 |
# Przemek Borys <[email protected]>, 1998. |
| 5 |
# Andrzej Krzysztofowicz <[email protected]>, 2002. |
| 6 |
# Michał Kułach <[email protected]>, 2024, 2025, 2026. |
| 7 |
msgid "" |
| 8 |
msgstr "" |
| 9 |
"Project-Id-Version: manpages-l10n\n" |
| 10 |
"POT-Creation-Date: 2026-06-05 06:24+0200\n" |
| 11 |
"PO-Revision-Date: 2026-03-15 12:27+0100\n" |
| 12 |
"Last-Translator: Michał Kułach <[email protected]>\n" |
| 13 |
"Language-Team: Polish <[email protected]>\n" |
| 14 |
"Language: pl\n" |
| 15 |
"MIME-Version: 1.0\n" |
| 16 |
"Content-Type: text/plain; charset=UTF-8\n" |
| 17 |
"Content-Transfer-Encoding: 8bit\n" |
| 18 |
"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 " |
| 19 |
"|| n%100>=20) ? 1 : 2);\n" |
| 20 |
"X-Generator: Lokalize 25.04.0\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 lutego 2026 r." |
| 35 |
|
| 36 |
#. type: TH |
| 37 |
#: archlinux debian-unstable |
| 38 |
#, no-wrap |
| 39 |
msgid "Linux man-pages 6.18" |
| 40 |
msgstr "Linux man-pages 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 "NAZWA" |
| 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 - manipuluje deskryptorem pliku" |
| 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 "BIBLIOTEKA" |
| 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 "Standardowa biblioteka C (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 "SKŁADNIA" |
| 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 "OPIS" |
| 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> dokonuje jednej z operacji opisanych poniżej na otwartym " |
| 104 |
"deskryptorze pliku I<fd>. Wykonywana operacja jest określona przez 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 |
"Niektóre z poniższych operacji są obsługiwane jedynie w określonej wersji " |
| 117 |
"jądra Linux. Preferowaną metodą sprawdzenia, czy działające aktualnie jądro " |
| 118 |
"obsługuje daną operację, jest przywołanie B<fcntl>() z daną wartością I<op> " |
| 119 |
"i sprawdzenie, czy wywołanie zawiedzie z błędem B<EINVAL> wskazując, że " |
| 120 |
"jądro nie rozpoznało tej wartości." |
| 121 |
|
| 122 |
#. type: SS |
| 123 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 124 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 125 |
#, no-wrap |
| 126 |
msgid "Duplicating a file descriptor" |
| 127 |
msgstr "Duplikowanie deskryptora pliku" |
| 128 |
|
| 129 |
#. type: TP |
| 130 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 131 |
#: opensuse-tumbleweed |
| 132 |
#, no-wrap |
| 133 |
msgid "B<F_DUPFD>(2const)" |
| 134 |
msgstr "B<F_DUPFD>(2const)" |
| 135 |
|
| 136 |
#. type: TQ |
| 137 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 138 |
#: opensuse-tumbleweed |
| 139 |
#, no-wrap |
| 140 |
msgid "B<F_DUPFD_CLOEXEC>(2const)" |
| 141 |
msgstr "B<F_DUPFD_CLOEXEC>(2const)" |
| 142 |
|
| 143 |
#. type: SS |
| 144 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 145 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 146 |
#, no-wrap |
| 147 |
msgid "File descriptor flags" |
| 148 |
msgstr "Znaczniki deskryptora pliku" |
| 149 |
|
| 150 |
#. type: TP |
| 151 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 152 |
#: opensuse-tumbleweed |
| 153 |
#, no-wrap |
| 154 |
msgid "B<F_GETFD>(2const)" |
| 155 |
msgstr "B<F_GETFD>(2const)" |
| 156 |
|
| 157 |
#. type: TQ |
| 158 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 159 |
#: opensuse-tumbleweed |
| 160 |
#, no-wrap |
| 161 |
msgid "B<F_SETFD>(2const)" |
| 162 |
msgstr "B<F_SETFD>(2const)" |
| 163 |
|
| 164 |
#. type: SS |
| 165 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 166 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 167 |
#, no-wrap |
| 168 |
msgid "File status flags" |
| 169 |
msgstr "Znaczniki stanu pliku" |
| 170 |
|
| 171 |
#. type: TP |
| 172 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 173 |
#: opensuse-tumbleweed |
| 174 |
#, no-wrap |
| 175 |
msgid "B<F_GETFL>(2const)" |
| 176 |
msgstr "B<F_GETFL>(2const)" |
| 177 |
|
| 178 |
#. type: TQ |
| 179 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 180 |
#: opensuse-tumbleweed |
| 181 |
#, no-wrap |
| 182 |
msgid "B<F_SETFL>(2const)" |
| 183 |
msgstr "B<F_SETFL>(2const)" |
| 184 |
|
| 185 |
#. type: SS |
| 186 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 187 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 188 |
#, no-wrap |
| 189 |
msgid "Advisory record locking" |
| 190 |
msgstr "Blokowanie doradcze rekordów" |
| 191 |
|
| 192 |
#. type: TP |
| 193 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 194 |
#: opensuse-tumbleweed |
| 195 |
#, no-wrap |
| 196 |
msgid "B<F_SETLK>(2const)" |
| 197 |
msgstr "B<F_SETLK>(2const)" |
| 198 |
|
| 199 |
#. type: TQ |
| 200 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 201 |
#: opensuse-tumbleweed |
| 202 |
#, no-wrap |
| 203 |
msgid "B<F_SETLKW>(2const)" |
| 204 |
msgstr "B<F_SETLKW>(2const)" |
| 205 |
|
| 206 |
#. type: TQ |
| 207 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 208 |
#: opensuse-tumbleweed |
| 209 |
#, no-wrap |
| 210 |
msgid "B<F_GETLK>(2const)" |
| 211 |
msgstr "B<F_GETLK>(2const)" |
| 212 |
|
| 213 |
#. type: SS |
| 214 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 215 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 216 |
#, no-wrap |
| 217 |
msgid "Open file description locks (non-POSIX)" |
| 218 |
msgstr "Blokady opisu otwartego pliku (spoza POSIX)" |
| 219 |
|
| 220 |
#. type: TP |
| 221 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 222 |
#: opensuse-tumbleweed |
| 223 |
#, no-wrap |
| 224 |
msgid "B<F_OFD_SETLK>(2const)" |
| 225 |
msgstr "B<F_OFD_SETLK>(2const)" |
| 226 |
|
| 227 |
#. type: TQ |
| 228 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 229 |
#: opensuse-tumbleweed |
| 230 |
#, no-wrap |
| 231 |
msgid "B<F_OFD_SETLKW>(2const)" |
| 232 |
msgstr "B<F_OFD_SETLKW>(2const)" |
| 233 |
|
| 234 |
#. type: TQ |
| 235 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 236 |
#: opensuse-tumbleweed |
| 237 |
#, no-wrap |
| 238 |
msgid "B<F_OFD_GETLK>(2const)" |
| 239 |
msgstr "B<F_OFD_GETLK>(2const)" |
| 240 |
|
| 241 |
#. type: SS |
| 242 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 243 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 244 |
#, no-wrap |
| 245 |
msgid "Managing signals" |
| 246 |
msgstr "Zarządzanie sygnałami" |
| 247 |
|
| 248 |
#. type: TP |
| 249 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 250 |
#: opensuse-tumbleweed |
| 251 |
#, no-wrap |
| 252 |
msgid "B<F_GETOWN>(2const)" |
| 253 |
msgstr "B<F_GETOWN>(2const)" |
| 254 |
|
| 255 |
#. type: TQ |
| 256 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 257 |
#: opensuse-tumbleweed |
| 258 |
#, no-wrap |
| 259 |
msgid "B<F_SETOWN>(2const)" |
| 260 |
msgstr "B<F_SETOWN>(2const)" |
| 261 |
|
| 262 |
#. type: TQ |
| 263 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 264 |
#: opensuse-tumbleweed |
| 265 |
#, no-wrap |
| 266 |
msgid "B<F_GETOWN_EX>(2const)" |
| 267 |
msgstr "B<F_GETOWN_EX>(2const)" |
| 268 |
|
| 269 |
#. type: TQ |
| 270 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 271 |
#: opensuse-tumbleweed |
| 272 |
#, no-wrap |
| 273 |
msgid "B<F_SETOWN_EX>(2const)" |
| 274 |
msgstr "B<F_SETOWN_EX>(2const)" |
| 275 |
|
| 276 |
#. type: TQ |
| 277 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 278 |
#: opensuse-tumbleweed |
| 279 |
#, no-wrap |
| 280 |
msgid "B<F_GETSIG>(2const)" |
| 281 |
msgstr "B<F_GETSIG>(2const)" |
| 282 |
|
| 283 |
#. type: TQ |
| 284 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 285 |
#: opensuse-tumbleweed |
| 286 |
#, no-wrap |
| 287 |
msgid "B<F_SETSIG>(2const)" |
| 288 |
msgstr "B<F_SETSIG>(2const)" |
| 289 |
|
| 290 |
#. type: SS |
| 291 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 292 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 293 |
#, no-wrap |
| 294 |
msgid "Leases" |
| 295 |
msgstr "Dzierżawy" |
| 296 |
|
| 297 |
#. type: TP |
| 298 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 299 |
#: opensuse-tumbleweed |
| 300 |
#, no-wrap |
| 301 |
msgid "B<F_SETLEASE>(2const)" |
| 302 |
msgstr "B<F_SETLEASE>(2const)" |
| 303 |
|
| 304 |
#. type: TQ |
| 305 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 306 |
#: opensuse-tumbleweed |
| 307 |
#, no-wrap |
| 308 |
msgid "B<F_GETLEASE>(2const)" |
| 309 |
msgstr "B<F_GETLEASE>(2const)" |
| 310 |
|
| 311 |
#. type: SS |
| 312 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 313 |
#: opensuse-tumbleweed |
| 314 |
#, no-wrap |
| 315 |
msgid "Delegations" |
| 316 |
msgstr "Delegacje" |
| 317 |
|
| 318 |
#. type: TP |
| 319 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 320 |
#: opensuse-tumbleweed |
| 321 |
#, no-wrap |
| 322 |
msgid "B<F_SETDELEG>(2const)" |
| 323 |
msgstr "B<F_SETDELEG>(2const)" |
| 324 |
|
| 325 |
#. type: TQ |
| 326 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 327 |
#: opensuse-tumbleweed |
| 328 |
#, no-wrap |
| 329 |
msgid "B<F_GETDELEG>(2const)" |
| 330 |
msgstr "B<F_GETDELEG>(2const)" |
| 331 |
|
| 332 |
#. type: SS |
| 333 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 334 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 335 |
#, no-wrap |
| 336 |
msgid "File and directory change notification (dnotify)" |
| 337 |
msgstr "Powiadamianie o zmianach pliku lub katalogu (dnotify)" |
| 338 |
|
| 339 |
#. type: TP |
| 340 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 341 |
#: opensuse-tumbleweed |
| 342 |
#, no-wrap |
| 343 |
msgid "B<F_NOTIFY>(2const)" |
| 344 |
msgstr "B<F_NOTIFY>(2const)" |
| 345 |
|
| 346 |
#. type: SS |
| 347 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 348 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 349 |
#, no-wrap |
| 350 |
msgid "Changing the capacity of a pipe" |
| 351 |
msgstr "Zmiana pojemności potoku" |
| 352 |
|
| 353 |
#. type: TP |
| 354 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 355 |
#: opensuse-tumbleweed |
| 356 |
#, no-wrap |
| 357 |
msgid "B<F_SETPIPE_SZ>(2const)" |
| 358 |
msgstr "B<F_SETPIPE_SZ>(2const)" |
| 359 |
|
| 360 |
#. type: TQ |
| 361 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 362 |
#: opensuse-tumbleweed |
| 363 |
#, no-wrap |
| 364 |
msgid "B<F_GETPIPE_SZ>(2const)" |
| 365 |
msgstr "B<F_GETPIPE_SZ>(2const)" |
| 366 |
|
| 367 |
#. type: SS |
| 368 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 369 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 370 |
#, no-wrap |
| 371 |
msgid "File Sealing" |
| 372 |
msgstr "Pieczętowanie pliku (ang. file sealing)" |
| 373 |
|
| 374 |
#. type: TP |
| 375 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 376 |
#: opensuse-tumbleweed |
| 377 |
#, no-wrap |
| 378 |
msgid "B<F_ADD_SEALS>(2const)" |
| 379 |
msgstr "B<F_ADD_SEALS>(2const)" |
| 380 |
|
| 381 |
#. type: TQ |
| 382 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 383 |
#: opensuse-tumbleweed |
| 384 |
#, no-wrap |
| 385 |
msgid "B<F_GET_SEALS>(2const)" |
| 386 |
msgstr "B<F_GET_SEALS>(2const)" |
| 387 |
|
| 388 |
#. type: SS |
| 389 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 390 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 391 |
#, no-wrap |
| 392 |
msgid "File read/write hints" |
| 393 |
msgstr "Wskazówki odczytu/zapisu pliku" |
| 394 |
|
| 395 |
#. type: TP |
| 396 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 397 |
#: opensuse-tumbleweed |
| 398 |
#, no-wrap |
| 399 |
msgid "B<F_GET_RW_HINT>(2const)" |
| 400 |
msgstr "B<F_GET_RW_HINT>(2const)" |
| 401 |
|
| 402 |
#. type: TQ |
| 403 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 404 |
#: opensuse-tumbleweed |
| 405 |
#, no-wrap |
| 406 |
msgid "B<F_SET_RW_HINT>(2const)" |
| 407 |
msgstr "B<F_SET_RW_HINT>(2const)" |
| 408 |
|
| 409 |
#. type: TQ |
| 410 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 411 |
#: opensuse-tumbleweed |
| 412 |
#, no-wrap |
| 413 |
msgid "B<F_GET_FILE_RW_HINT>(2const)" |
| 414 |
msgstr "B<F_GET_FILE_RW_HINT>(2const)" |
| 415 |
|
| 416 |
#. type: TQ |
| 417 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 418 |
#: opensuse-tumbleweed |
| 419 |
#, no-wrap |
| 420 |
msgid "B<F_SET_FILE_RW_HINT>(2const)" |
| 421 |
msgstr "B<F_SET_FILE_RW_HINT>(2const)" |
| 422 |
|
| 423 |
#. type: SH |
| 424 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 425 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 426 |
#, no-wrap |
| 427 |
msgid "RETURN VALUE" |
| 428 |
msgstr "WARTOŚĆ ZWRACANA" |
| 429 |
|
| 430 |
#. type: Plain text |
| 431 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 432 |
#: opensuse-tumbleweed |
| 433 |
msgid "For a successful call, the return value depends on the operation." |
| 434 |
msgstr "Wartość zwracana po pomyślnym zakończeniu funkcji zależy od operacji." |
| 435 |
|
| 436 |
#. type: Plain text |
| 437 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 438 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 439 |
msgid "On error, -1 is returned, and I<errno> is set to indicate the error." |
| 440 |
msgstr "" |
| 441 |
"W razie wystąpienia błędu zwracane jest -1 i ustawiane I<errno> wskazując " |
| 442 |
"błąd." |
| 443 |
|
| 444 |
#. type: SH |
| 445 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 446 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 447 |
#, no-wrap |
| 448 |
msgid "ERRORS" |
| 449 |
msgstr "BŁĘDY" |
| 450 |
|
| 451 |
#. type: TP |
| 452 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 453 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 454 |
#, no-wrap |
| 455 |
msgid "B<EACCES> or B<EAGAIN>" |
| 456 |
msgstr "B<EACCES> lub B<EAGAIN>" |
| 457 |
|
| 458 |
#. type: Plain text |
| 459 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 460 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 461 |
msgid "Operation is prohibited by locks held by other processes." |
| 462 |
msgstr "Operacja uniemożliwiona przez blokady utrzymywane przez inne procesy." |
| 463 |
|
| 464 |
#. type: TP |
| 465 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 466 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 467 |
#, no-wrap |
| 468 |
msgid "B<EAGAIN>" |
| 469 |
msgstr "B<EAGAIN>" |
| 470 |
|
| 471 |
#. type: Plain text |
| 472 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 473 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 474 |
msgid "" |
| 475 |
"The operation is prohibited because the file has been memory-mapped by " |
| 476 |
"another process." |
| 477 |
msgstr "" |
| 478 |
"Operacja jest zabroniona, gdyż plik został odwzorowany w pamięci przez inny " |
| 479 |
"proces." |
| 480 |
|
| 481 |
#. type: TP |
| 482 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 483 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 484 |
#, no-wrap |
| 485 |
msgid "B<EBADF>" |
| 486 |
msgstr "B<EBADF>" |
| 487 |
|
| 488 |
#. type: Plain text |
| 489 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 490 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 491 |
msgid "I<fd> is not an open file descriptor" |
| 492 |
msgstr "I<fd> nie jest deskryptorem otwartego pliku." |
| 493 |
|
| 494 |
#. type: TP |
| 495 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 496 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 497 |
#, no-wrap |
| 498 |
msgid "B<EINVAL>" |
| 499 |
msgstr "B<EINVAL>" |
| 500 |
|
| 501 |
#. type: Plain text |
| 502 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 503 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 504 |
msgid "The value specified in I<op> is not recognized by this kernel." |
| 505 |
msgstr "Wartość podana w I<op> nie jest rozpoznawana przez to jądro." |
| 506 |
|
| 507 |
#. type: SH |
| 508 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 509 |
#: opensuse-tumbleweed |
| 510 |
#, no-wrap |
| 511 |
msgid "VERSIONS" |
| 512 |
msgstr "WERSJE" |
| 513 |
|
| 514 |
#. type: Plain text |
| 515 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 516 |
#: opensuse-tumbleweed |
| 517 |
msgid "" |
| 518 |
"POSIX.1-2024 specifies B<FD_CLOFORK> and B<F_DUPFD_CLOFORK>, but Linux " |
| 519 |
"doesn't support them." |
| 520 |
msgstr "" |
| 521 |
"POSIX.1-2024 określa B<FD_CLOFORK> i B<F_DUPFD_CLOFORK>, lecz Linux ich nie " |
| 522 |
"obsługuje." |
| 523 |
|
| 524 |
#. type: SH |
| 525 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 526 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 527 |
#, no-wrap |
| 528 |
msgid "STANDARDS" |
| 529 |
msgstr "STANDARDY" |
| 530 |
|
| 531 |
#. .P |
| 532 |
#. SVr4 documents additional EIO, ENOLINK and EOVERFLOW error conditions. |
| 533 |
#. type: Plain text |
| 534 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 535 |
#: opensuse-tumbleweed |
| 536 |
msgid "POSIX.1-2024." |
| 537 |
msgstr "POSIX.1-2024." |
| 538 |
|
| 539 |
#. type: SH |
| 540 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 541 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 542 |
#, no-wrap |
| 543 |
msgid "HISTORY" |
| 544 |
msgstr "HISTORIA" |
| 545 |
|
| 546 |
#. type: Plain text |
| 547 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 548 |
#: opensuse-tumbleweed |
| 549 |
msgid "4.3BSD, SVr4, POSIX.1-1988." |
| 550 |
msgstr "4.3BSD, SVr4, POSIX.1-1988." |
| 551 |
|
| 552 |
#. type: SH |
| 553 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 554 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 555 |
#, no-wrap |
| 556 |
msgid "SEE ALSO" |
| 557 |
msgstr "ZOBACZ TAKŻE" |
| 558 |
|
| 559 |
#. type: Plain text |
| 560 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 561 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 562 |
msgid "" |
| 563 |
"B<dup2>(2), B<flock>(2), B<open>(2), B<socket>(2), B<lockf>(3), " |
| 564 |
"B<capabilities>(7), B<feature_test_macros>(7), B<lslocks>(8)" |
| 565 |
msgstr "" |
| 566 |
"B<dup2>(2), B<flock>(2), B<open>(2), B<socket>(2), B<lockf>(3), " |
| 567 |
"B<capabilities>(7), B<feature_test_macros>(7), B<lslocks>(8)" |
| 568 |
|
| 569 |
#. type: TH |
| 570 |
#: debian-trixie |
| 571 |
#, no-wrap |
| 572 |
msgid "2024-05-02" |
| 573 |
msgstr "2 maja 2024 r." |
| 574 |
|
| 575 |
#. type: TH |
| 576 |
#: debian-trixie |
| 577 |
#, no-wrap |
| 578 |
msgid "Linux man-pages 6.9.1" |
| 579 |
msgstr "Linux man-pages 6.9.1" |
| 580 |
|
| 581 |
#. type: Plain text |
| 582 |
#: debian-trixie |
| 583 |
msgid "Standard C library (I<libc>, I<-lc>)" |
| 584 |
msgstr "Standardowa biblioteka C (I<libc>, I<-lc>)" |
| 585 |
|
| 586 |
#. type: Plain text |
| 587 |
#: debian-trixie fedora-44 fedora-rawhide |
| 588 |
#, no-wrap |
| 589 |
msgid "B<int fcntl(int >I<fd>B<, int >I<op>B<, ... /* >I<arg>B< */ );>\n" |
| 590 |
msgstr "B<int fcntl(int >I<fd>B<, int >I<op>B<, ... /* >I<arg>B< */ );>\n" |
| 591 |
|
| 592 |
#. type: Plain text |
| 593 |
#: debian-trixie fedora-44 fedora-rawhide |
| 594 |
msgid "" |
| 595 |
"B<fcntl>() can take an optional third argument. Whether or not this " |
| 596 |
"argument is required is determined by I<op>. The required argument type is " |
| 597 |
"indicated in parentheses after each I<op> name (in most cases, the required " |
| 598 |
"type is I<int>, and we identify the argument using the name I<arg>), or " |
| 599 |
"I<void> is specified if the argument is not required." |
| 600 |
msgstr "" |
| 601 |
"B<fcntl>() opcjonalnie może przyjąć trzeci argument. To, czy argument ten " |
| 602 |
"jest wymagany, zależy od I<op>. Wymagany typ argumentu jest wskazany w " |
| 603 |
"nawiasie po każdej nazwie I<op> (zwykle wymaganym typem jest I<int>, a " |
| 604 |
"argument jest identyfikowany określeniem I<arg>) lub podane jest I<void>, " |
| 605 |
"gdy argument nie jest wymagany." |
| 606 |
|
| 607 |
#. type: TP |
| 608 |
#: debian-trixie fedora-44 fedora-rawhide |
| 609 |
#, no-wrap |
| 610 |
msgid "B<F_DUPFD> (I<int>)" |
| 611 |
msgstr "B<F_DUPFD> (I<int>)" |
| 612 |
|
| 613 |
#. type: Plain text |
| 614 |
#: debian-trixie fedora-44 fedora-rawhide |
| 615 |
msgid "" |
| 616 |
"Duplicate the file descriptor I<fd> using the lowest-numbered available file " |
| 617 |
"descriptor greater than or equal to I<arg>. This is different from " |
| 618 |
"B<dup2>(2), which uses exactly the file descriptor specified." |
| 619 |
msgstr "" |
| 620 |
"Duplikuje deskryptor pliku I<fd> za pomocą najniższego dostępnego numeru " |
| 621 |
"deskryptora pliku większego lub równego I<arg>. Różni się to od B<dup2>(2), " |
| 622 |
"korzystającego z konkretnego, zadanego deskryptora." |
| 623 |
|
| 624 |
#. type: Plain text |
| 625 |
#: debian-trixie fedora-44 fedora-rawhide |
| 626 |
msgid "On success, the new file descriptor is returned." |
| 627 |
msgstr "Po pomyślnym zakończeniu zwracany jest nowy deskryptor pliku." |
| 628 |
|
| 629 |
#. type: Plain text |
| 630 |
#: debian-trixie fedora-44 fedora-rawhide |
| 631 |
msgid "See B<dup>(2) for further details." |
| 632 |
msgstr "Więcej informacji znajduje się w podręczniku B<dup>(2)." |
| 633 |
|
| 634 |
#. type: TP |
| 635 |
#: debian-trixie fedora-44 fedora-rawhide |
| 636 |
#, no-wrap |
| 637 |
msgid "B<F_DUPFD_CLOEXEC> (I<int>; since Linux 2.6.24)" |
| 638 |
msgstr "B<F_DUPFD_CLOEXEC> (I<int>; od Linuksa 2.6.24)" |
| 639 |
|
| 640 |
#. type: Plain text |
| 641 |
#: debian-trixie fedora-44 fedora-rawhide |
| 642 |
msgid "" |
| 643 |
"As for B<F_DUPFD>, but additionally set the close-on-exec flag for the " |
| 644 |
"duplicate file descriptor. Specifying this flag permits a program to avoid " |
| 645 |
"an additional B<fcntl>() B<F_SETFD> operation to set the B<FD_CLOEXEC> " |
| 646 |
"flag. For an explanation of why this flag is useful, see the description of " |
| 647 |
"B<O_CLOEXEC> in B<open>(2)." |
| 648 |
msgstr "" |
| 649 |
"Jak w przypadku B<F_DUPFD>, lecz dodatkowo ustawia znacznik zamknięcia-przy-" |
| 650 |
"wykonaniu dla duplikowanego deskryptora pliku. Podanie tego znacznika " |
| 651 |
"umożliwia programowi na uniknięcie dodatkowej operacji B<F_SETFD> " |
| 652 |
"B<fcntl>(), w celu ustawienia znacznika B<FD_CLOEXEC>. Wyjaśnienie powodu, " |
| 653 |
"dla którego znacznik ten jest przydatny, znajduje się w opisie B<O_CLOEXEC> " |
| 654 |
"w podręczniku B<open>(2)." |
| 655 |
|
| 656 |
#. type: Plain text |
| 657 |
#: debian-trixie fedora-44 fedora-rawhide |
| 658 |
msgid "" |
| 659 |
"The following operations manipulate the flags associated with a file " |
| 660 |
"descriptor. Currently, only one such flag is defined: B<FD_CLOEXEC>, the " |
| 661 |
"close-on-exec flag. If the B<FD_CLOEXEC> bit is set, the file descriptor " |
| 662 |
"will automatically be closed during a successful B<execve>(2). (If the " |
| 663 |
"B<execve>(2) fails, the file descriptor is left open.) If the " |
| 664 |
"B<FD_CLOEXEC> bit is not set, the file descriptor will remain open across an " |
| 665 |
"B<execve>(2)." |
| 666 |
msgstr "" |
| 667 |
"Następujące operacje kontrolują znaczniki powiązane z deskryptorem pliku. " |
| 668 |
"Obecnie zdefiniowano jedynie jeden taki znacznik: B<FD_CLOEXEC>, znacznik " |
| 669 |
"zamknięcia-przy-wykonaniu. Jeśli ustawiony jest bit B<FD_CLOEXEC>, to " |
| 670 |
"deskryptor pliku zostanie automatycznie zamknięty podczas pomyślnego " |
| 671 |
"wykonania B<execve>(2) (jeśli B<execve>(2) zawiedzie, deskryptor pliku jest " |
| 672 |
"pozostawiany otwarty). Jeśli bit B<FD_CLOEXEC> nie jest ustawiony, " |
| 673 |
"deskryptor pliku pozostanie otwarty podczas wykonania B<execve>(2)." |
| 674 |
|
| 675 |
#. type: TP |
| 676 |
#: debian-trixie fedora-44 fedora-rawhide |
| 677 |
#, no-wrap |
| 678 |
msgid "B<F_GETFD> (I<void>)" |
| 679 |
msgstr "B<F_GETFD> (I<void>)" |
| 680 |
|
| 681 |
#. type: Plain text |
| 682 |
#: debian-trixie fedora-44 fedora-rawhide |
| 683 |
msgid "" |
| 684 |
"Return (as the function result) the file descriptor flags; I<arg> is ignored." |
| 685 |
msgstr "" |
| 686 |
"Zwraca (jako wynik funkcji) znaczniki deskryptora pliku; argument I<arg> " |
| 687 |
"jest ignorowany." |
| 688 |
|
| 689 |
#. type: TP |
| 690 |
#: debian-trixie fedora-44 fedora-rawhide |
| 691 |
#, no-wrap |
| 692 |
msgid "B<F_SETFD> (I<int>)" |
| 693 |
msgstr "B<F_SETFD> (I<int>)" |
| 694 |
|
| 695 |
#. type: Plain text |
| 696 |
#: debian-trixie fedora-44 fedora-rawhide |
| 697 |
msgid "Set the file descriptor flags to the value specified by I<arg>." |
| 698 |
msgstr "Ustawia znaczniki deskryptora pliku na wartość określoną w I<arg>." |
| 699 |
|
| 700 |
#. type: Plain text |
| 701 |
#: debian-trixie fedora-44 fedora-rawhide |
| 702 |
msgid "" |
| 703 |
"In multithreaded programs, using B<fcntl>() B<F_SETFD> to set the close-on-" |
| 704 |
"exec flag at the same time as another thread performs a B<fork>(2) plus " |
| 705 |
"B<execve>(2) is vulnerable to a race condition that may unintentionally " |
| 706 |
"leak the file descriptor to the program executed in the child process. See " |
| 707 |
"the discussion of the B<O_CLOEXEC> flag in B<open>(2) for details and a " |
| 708 |
"remedy to the problem." |
| 709 |
msgstr "" |
| 710 |
"W programach wielowątkowych, użycie B<F_SETFD> B<fcntl>() do ustawienia " |
| 711 |
"znacznika zamknięcia przy uruchomieniu w tym samym czasie, w którym inny " |
| 712 |
"wątek wykonuje B<fork>(2) i B<execve>(2) jest narażone na wystąpienie " |
| 713 |
"sytuacji wyścigu, która może niezamierzenie prowadzić do wycieku deskryptora " |
| 714 |
"pliku do programu wykonującego proces potomny. Szczegóły i sposób na " |
| 715 |
"uniknięcie tego problemu opisano przy znaczniku B<O_CLOEXEC>, w podręczniku " |
| 716 |
"B<open>(2)." |
| 717 |
|
| 718 |
#. or |
| 719 |
#. .BR creat (2), |
| 720 |
#. type: Plain text |
| 721 |
#: debian-trixie fedora-44 fedora-rawhide |
| 722 |
msgid "" |
| 723 |
"Each open file description has certain associated status flags, initialized " |
| 724 |
"by B<open>(2) and possibly modified by B<fcntl>(). Duplicated file " |
| 725 |
"descriptors (made with B<dup>(2), B<fcntl>(F_DUPFD), B<fork>(2), etc.) refer " |
| 726 |
"to the same open file description, and thus share the same file status flags." |
| 727 |
msgstr "" |
| 728 |
"Z każdym opisem otwartego pliku stowarzyszonych jest kilka znaczników " |
| 729 |
"inicjowanych przez B<open>(2), które mogą ewentualnie być modyfikowane przez " |
| 730 |
"B<fcntl>(2). Zduplikowane deskryptory pliku (utworzone za pomocą B<dup>(2), " |
| 731 |
"B<fork>(2), itp.) odnoszą się do tego samego opisu otwartego pliku, dzieląc " |
| 732 |
"zatem te same znaczniki stanu pliku." |
| 733 |
|
| 734 |
#. type: Plain text |
| 735 |
#: debian-trixie fedora-44 fedora-rawhide |
| 736 |
msgid "The file status flags and their semantics are described in B<open>(2)." |
| 737 |
msgstr "Znaczniki stanu pliku i ich znaczenie są opisane w B<open>(2)." |
| 738 |
|
| 739 |
#. type: TP |
| 740 |
#: debian-trixie fedora-44 fedora-rawhide |
| 741 |
#, no-wrap |
| 742 |
msgid "B<F_GETFL> (I<void>)" |
| 743 |
msgstr "B<F_GETFL> (I<void>)" |
| 744 |
|
| 745 |
#. type: Plain text |
| 746 |
#: debian-trixie fedora-44 fedora-rawhide |
| 747 |
msgid "" |
| 748 |
"Return (as the function result) the file access mode and the file status " |
| 749 |
"flags; I<arg> is ignored." |
| 750 |
msgstr "" |
| 751 |
"Zwraca (jako wynik funkcji) tryb dostępu do pliku i znaczniki stanu pliku, " |
| 752 |
"I<arg> jest ignorowany." |
| 753 |
|
| 754 |
#. type: TP |
| 755 |
#: debian-trixie fedora-44 fedora-rawhide |
| 756 |
#, no-wrap |
| 757 |
msgid "B<F_SETFL> (I<int>)" |
| 758 |
msgstr "B<F_SETFL> (I<int>)" |
| 759 |
|
| 760 |
#. type: Plain text |
| 761 |
#: debian-trixie fedora-44 fedora-rawhide |
| 762 |
msgid "" |
| 763 |
"Set the file status flags to the value specified by I<arg>. File access " |
| 764 |
"mode (B<O_RDONLY>, B<O_WRONLY>, B<O_RDWR>) and file creation flags (i.e., " |
| 765 |
"B<O_CREAT>, B<O_EXCL>, B<O_NOCTTY>, B<O_TRUNC>) in I<arg> are ignored. On " |
| 766 |
"Linux, this operation can change only the B<O_APPEND>, B<O_ASYNC>, " |
| 767 |
"B<O_DIRECT>, B<O_NOATIME>, and B<O_NONBLOCK> flags. It is not possible to " |
| 768 |
"change the B<O_DSYNC> and B<O_SYNC> flags; see BUGS, below." |
| 769 |
msgstr "" |
| 770 |
"Ustawia znaczniki stanu pliku na wartości określone przez I<arg>. W I<arg> " |
| 771 |
"ignorowane są: tryb dostępu do pliku (B<O_RDONLY>, B<O_WRONLY>, B<O_RDWR>) " |
| 772 |
"oraz znaczniki tworzenia pliku (tj. B<O_CREAT>, B<O_EXCL>, B<O_NOCTTY>, " |
| 773 |
"B<O_TRUNC>). W Linuksie, operacja ta może zmienić jedynie znaczniki " |
| 774 |
"B<O_APPEND>, B<O_ASYNC>, B<O_DIRECT>, B<O_NOATIME> i B<O_NONBLOCK>. Nie da " |
| 775 |
"się zmienić znaczników B<O_DSYNC> i B<O_SYNC>; zob. USTERKI niżej." |
| 776 |
|
| 777 |
#. type: Plain text |
| 778 |
#: debian-trixie fedora-44 fedora-rawhide |
| 779 |
msgid "" |
| 780 |
"Linux implements traditional (\"process-associated\") UNIX record locks, as " |
| 781 |
"standardized by POSIX. For a Linux-specific alternative with better " |
| 782 |
"semantics, see the discussion of open file description locks below." |
| 783 |
msgstr "" |
| 784 |
"Linux implementuje tradycyjne (\\[Bq]powiązane z procesem\\[rq]) blokady " |
| 785 |
"rekordów UNIX, zgodnie ze standardem POSIX. Istnieje również typowo " |
| 786 |
"linuksowa alternatywa używająca lepszej semantyki \\[em] blokady opisów " |
| 787 |
"otwartego pliku, które są opisane nieco niżej." |
| 788 |
|
| 789 |
#. type: Plain text |
| 790 |
#: debian-trixie fedora-44 fedora-rawhide |
| 791 |
msgid "" |
| 792 |
"B<F_SETLK>, B<F_SETLKW>, and B<F_GETLK> are used to acquire, release, and " |
| 793 |
"test for the existence of record locks (also known as byte-range, file-" |
| 794 |
"segment, or file-region locks). The third argument, I<lock>, is a pointer " |
| 795 |
"to a structure that has at least the following fields (in unspecified order)." |
| 796 |
msgstr "" |
| 797 |
"B<F_SETLK>, B<F_SETLKW> i B<F_GETLK> służą do zakładania, zwalniania i " |
| 798 |
"sprawdzania obecności blokad rekordów (znanych również jako blokady zakresu " |
| 799 |
"bajtów, segmentów pliku lub obszarów pliku). Trzeci argument, I<lock>, jest " |
| 800 |
"wskaźnikiem do struktury zawierającej co najmniej następujące pola " |
| 801 |
"(kolejność nie jest określona)." |
| 802 |
|
| 803 |
#. type: Plain text |
| 804 |
#: debian-trixie fedora-44 fedora-rawhide |
| 805 |
#, no-wrap |
| 806 |
msgid "" |
| 807 |
"struct flock {\n" |
| 808 |
" ...\n" |
| 809 |
" short l_type; /* Type of lock: F_RDLCK,\n" |
| 810 |
" F_WRLCK, F_UNLCK */\n" |
| 811 |
" short l_whence; /* How to interpret l_start:\n" |
| 812 |
" SEEK_SET, SEEK_CUR, SEEK_END */\n" |
| 813 |
" off_t l_start; /* Starting offset for lock */\n" |
| 814 |
" off_t l_len; /* Number of bytes to lock */\n" |
| 815 |
" pid_t l_pid; /* PID of process blocking our lock\n" |
| 816 |
" (set by F_GETLK and F_OFD_GETLK) */\n" |
| 817 |
" ...\n" |
| 818 |
"};\n" |
| 819 |
msgstr "" |
| 820 |
"struct flock {\n" |
| 821 |
" ...\n" |
| 822 |
" short l_type; /* Rodzaj blokady: F_RDLCK,\n" |
| 823 |
" F_WRLCK, F_UNLCK */\n" |
| 824 |
" short l_whence; /* Sposób interpretacji l_start:\n" |
| 825 |
" SEEK_SET, SEEK_CUR, SEEK_END */\n" |
| 826 |
" off_t l_start; /* Początek (przesunięcie) blokady */\n" |
| 827 |
" off_t l_len; /* Liczba blokowanych bajtów */\n" |
| 828 |
" pid_t l_pid; /* PID procesu uniemożliwiającego blokadę\n" |
| 829 |
" (ustawiane przez F_GETLK i F_OFD_GETLK) */\n" |
| 830 |
" ...\n" |
| 831 |
"};\n" |
| 832 |
|
| 833 |
#. type: Plain text |
| 834 |
#: debian-trixie fedora-44 fedora-rawhide |
| 835 |
msgid "" |
| 836 |
"The I<l_whence>, I<l_start>, and I<l_len> fields of this structure specify " |
| 837 |
"the range of bytes we wish to lock. Bytes past the end of the file may be " |
| 838 |
"locked, but not bytes before the start of the file." |
| 839 |
msgstr "" |
| 840 |
"Pola I<l_whence>, I<l_start> i I<l_len> w tej strukturze określają zakres " |
| 841 |
"bajtów, które mają ulec zablokowaniu. Bajty po końcu pliku mogą być " |
| 842 |
"blokowane, nie mogą to być natomiast bajty przed jego początkiem." |
| 843 |
|
| 844 |
#. type: Plain text |
| 845 |
#: debian-trixie fedora-44 fedora-rawhide |
| 846 |
msgid "" |
| 847 |
"I<l_start> is the starting offset for the lock, and is interpreted relative " |
| 848 |
"to either: the start of the file (if I<l_whence> is B<SEEK_SET>); the " |
| 849 |
"current file offset (if I<l_whence> is B<SEEK_CUR>); or the end of the file " |
| 850 |
"(if I<l_whence> is B<SEEK_END>). In the final two cases, I<l_start> can be " |
| 851 |
"a negative number provided the offset does not lie before the start of the " |
| 852 |
"file." |
| 853 |
msgstr "" |
| 854 |
"I<l_start> jest początkowym przesunięciem blokady i jest interpretowane w " |
| 855 |
"odniesieniu do: początku pliku (gdy I<l_whence> wynosi B<SEEK_SET>), " |
| 856 |
"bieżącego przesunięcia pliku (gdy I<l_whence> wynosi B<SEEK_CUR>) albo końca " |
| 857 |
"pliku (gdy I<l_whence> wynosi B<SEEK_END>). W ostatnich dwóch przypadkach, " |
| 858 |
"I<l_start> może być liczbą ujemną zakładając, że przesunięcie nie prowadzi " |
| 859 |
"przed początek pliku." |
| 860 |
|
| 861 |
#. type: Plain text |
| 862 |
#: debian-trixie fedora-44 fedora-rawhide |
| 863 |
msgid "" |
| 864 |
"I<l_len> specifies the number of bytes to be locked. If I<l_len> is " |
| 865 |
"positive, then the range to be locked covers bytes I<l_start> up to and " |
| 866 |
"including I<l_start>+I<l_len>-1. Specifying 0 for I<l_len> has the special " |
| 867 |
"meaning: lock all bytes starting at the location specified by I<l_whence> " |
| 868 |
"and I<l_start> through to the end of file, no matter how large the file " |
| 869 |
"grows." |
| 870 |
msgstr "" |
| 871 |
"I<l_len> określa liczbę bajtów do zablokowania. Jeśli I<l_len> jest " |
| 872 |
"dodatnie, to przedział do zablokowania pokrywa bajty od I<l_start> do " |
| 873 |
"I<l_start>+I<l_len>-1 włącznie. Podanie 0 w I<l_len> ma specjalne znaczenie: " |
| 874 |
"blokowane są wszystkie bajty od położenia określonego przez I<l_whence> i " |
| 875 |
"I<l_start>, aż do końca pliku, niezależnie od tego, jak duży staje się plik." |
| 876 |
|
| 877 |
#. type: Plain text |
| 878 |
#: debian-trixie fedora-44 fedora-rawhide |
| 879 |
msgid "" |
| 880 |
"POSIX.1-2001 allows (but does not require) an implementation to support a " |
| 881 |
"negative I<l_len> value; if I<l_len> is negative, the interval described by " |
| 882 |
"I<lock> covers bytes I<l_start>+I<l_len> up to and including I<l_start>-1. " |
| 883 |
"This is supported since Linux 2.4.21 and Linux 2.5.49." |
| 884 |
msgstr "" |
| 885 |
"POSIX.1-2001 zezwala implementacji (lecz tego nie wymaga) na obsługę " |
| 886 |
"ujemnych wartości I<l_len>; jeśli I<l_len> jest ujemna, to przedział, " |
| 887 |
"którego dotyczy I<lock> obejmuje bajty od I<l_start>+I<l_len> do " |
| 888 |
"I<l_start>-1 włącznie. Jest to obsługiwane od Linuksa 2.4.21 i Linuksa " |
| 889 |
"2.5.49." |
| 890 |
|
| 891 |
#. type: Plain text |
| 892 |
#: debian-trixie fedora-44 fedora-rawhide |
| 893 |
msgid "" |
| 894 |
"The I<l_type> field can be used to place a read (B<F_RDLCK>) or a write " |
| 895 |
"(B<F_WRLCK>) lock on a file. Any number of processes may hold a read lock " |
| 896 |
"(shared lock) on a file region, but only one process may hold a write lock " |
| 897 |
"(exclusive lock). An exclusive lock excludes all other locks, both shared " |
| 898 |
"and exclusive. A single process can hold only one type of lock on a file " |
| 899 |
"region; if a new lock is applied to an already-locked region, then the " |
| 900 |
"existing lock is converted to the new lock type. (Such conversions may " |
| 901 |
"involve splitting, shrinking, or coalescing with an existing lock if the " |
| 902 |
"byte range specified by the new lock does not precisely coincide with the " |
| 903 |
"range of the existing lock.)" |
| 904 |
msgstr "" |
| 905 |
"Pole I<l_type> może służyć do założenia blokady dla odczytu (B<F_RDLCK>) lub " |
| 906 |
"dla zapisu (B<F_WRLCK>) do pliku. Dowolna liczba procesów może utrzymywać " |
| 907 |
"blokadę dla odczytu pliku (blokada wspólna) w pewnym jego obszarze, ale " |
| 908 |
"tylko jeden proces może utrzymywać blokadę dla zapisu do pliku (blokada " |
| 909 |
"wyłączna). Blokada wyłączna wyklucza wszelkie inne blokady, zarówno wspólne, " |
| 910 |
"jak i wyłączne. Pojedynczy proces może w danym obszarze pliku utrzymywać " |
| 911 |
"blokadę tylko jednego rodzaju; gdy w aktualnie zablokowanym obszarze " |
| 912 |
"zakładana jest nowa blokada, to istniejąca blokada jest przekształcana w " |
| 913 |
"blokadę nowego typu (takie przekształcenie może pociągać za sobą podział, " |
| 914 |
"skrócenie lub połączenie z istniejącą blokadą, gdy zakres bajtów podany dla " |
| 915 |
"nowej blokady nie pokrywa się dokładnie z zakresem istniejącej blokady)." |
| 916 |
|
| 917 |
#. type: TP |
| 918 |
#: debian-trixie fedora-44 fedora-rawhide |
| 919 |
#, no-wrap |
| 920 |
msgid "B<F_SETLK> (I<struct flock *>)" |
| 921 |
msgstr "B<F_SETLK> (I<struct flock *>)" |
| 922 |
|
| 923 |
#. type: Plain text |
| 924 |
#: debian-trixie fedora-44 fedora-rawhide |
| 925 |
msgid "" |
| 926 |
"Acquire a lock (when I<l_type> is B<F_RDLCK> or B<F_WRLCK>) or release a " |
| 927 |
"lock (when I<l_type> is B<F_UNLCK>) on the bytes specified by the " |
| 928 |
"I<l_whence>, I<l_start>, and I<l_len> fields of I<lock>. If a conflicting " |
| 929 |
"lock is held by another process, this call returns -1 and sets I<errno> to " |
| 930 |
"B<EACCES> or B<EAGAIN>. (The error returned in this case differs across " |
| 931 |
"implementations, so POSIX requires a portable application to check for both " |
| 932 |
"errors.)" |
| 933 |
msgstr "" |
| 934 |
"Ustawienie blokady dla zakresu bajtów określonego przez pola I<l_whence>, " |
| 935 |
"I<l_start> i I<l_len> I<lock> (gdy B<l_type> jest równe B<F_RDLCK> lub " |
| 936 |
"B<F_WRLCK>) albo jej zwolnienie (gdy B<l_type> jest równe B<F_UNLCK>). Jeśli " |
| 937 |
"kolidująca blokada jest utrzymywana przez inny proces, funkcja ta zwraca -1 " |
| 938 |
"i ustawia I<errno> na B<EACCES> lub B<EAGAIN> (zwracany w tym przypadku " |
| 939 |
"błąd różni się pomiędzy implementacjami, dlatego POSIX wymaga sprawdzania " |
| 940 |
"przez przenośne aplikacje obu wartości błędów)." |
| 941 |
|
| 942 |
#. type: TP |
| 943 |
#: debian-trixie fedora-44 fedora-rawhide |
| 944 |
#, no-wrap |
| 945 |
msgid "B<F_SETLKW> (I<struct flock *>)" |
| 946 |
msgstr "B<F_SETLKW> (I<struct flock *>)" |
| 947 |
|
| 948 |
#. type: Plain text |
| 949 |
#: debian-trixie fedora-44 fedora-rawhide |
| 950 |
msgid "" |
| 951 |
"As for B<F_SETLK>, but if a conflicting lock is held on the file, then wait " |
| 952 |
"for that lock to be released. If a signal is caught while waiting, then the " |
| 953 |
"call is interrupted and (after the signal handler has returned) returns " |
| 954 |
"immediately (with return value -1 and I<errno> set to B<EINTR>; see " |
| 955 |
"B<signal>(7))." |
| 956 |
msgstr "" |
| 957 |
"Podobne do B<F_SETLK>, lecz w sytuacji, gdy na pliku założona jest " |
| 958 |
"kolidująca blokada czeka na zwolnienie tej blokady. Jeśli podczas " |
| 959 |
"oczekiwania zostanie przechwycony sygnał, funkcja jest przerywana i (po " |
| 960 |
"powrocie z funkcji obsługi sygnału) powraca natychmiast (zwracając wartość " |
| 961 |
"-1 i ustawiając I<errno> na B<EINTR>; zob. B<signal>(7))." |
| 962 |
|
| 963 |
#. type: TP |
| 964 |
#: debian-trixie fedora-44 fedora-rawhide |
| 965 |
#, no-wrap |
| 966 |
msgid "B<F_GETLK> (I<struct flock *>)" |
| 967 |
msgstr "B<F_GETLK> (I<struct flock *>)" |
| 968 |
|
| 969 |
#. type: Plain text |
| 970 |
#: debian-trixie fedora-44 fedora-rawhide |
| 971 |
msgid "" |
| 972 |
"On input to this call, I<lock> describes a lock we would like to place on " |
| 973 |
"the file. If the lock could be placed, B<fcntl>() does not actually place " |
| 974 |
"it, but returns B<F_UNLCK> in the I<l_type> field of I<lock> and leaves the " |
| 975 |
"other fields of the structure unchanged." |
| 976 |
msgstr "" |
| 977 |
"Jako argument I<lock> tej funkcji określa blokadę, jaką chcielibyśmy założyć " |
| 978 |
"na pliku. Gdy założenie blokady jest możliwe, B<fcntl>() w rzeczywistości " |
| 979 |
"jej nie zakłada, lecz zwraca B<F_UNLCK> w polu I<l_type> struktury I<lock> " |
| 980 |
"pozostawiając inne pola tej struktury niezmienione." |
| 981 |
|
| 982 |
#. type: Plain text |
| 983 |
#: debian-trixie fedora-44 fedora-rawhide |
| 984 |
msgid "" |
| 985 |
"If one or more incompatible locks would prevent this lock being placed, then " |
| 986 |
"B<fcntl>() returns details about one of those locks in the I<l_type>, " |
| 987 |
"I<l_whence>, I<l_start>, and I<l_len> fields of I<lock>. If the conflicting " |
| 988 |
"lock is a traditional (process-associated) record lock, then the I<l_pid> " |
| 989 |
"field is set to the PID of the process holding that lock. If the " |
| 990 |
"conflicting lock is an open file description lock, then I<l_pid> is set to " |
| 991 |
"-1. Note that the returned information may already be out of date by the " |
| 992 |
"time the caller inspects it." |
| 993 |
msgstr "" |
| 994 |
"Jeśli jedna lub więcej niezgodnych blokad zapobiegłoby umieszczeniu tej " |
| 995 |
"blokady, to B<fcntl>() zwróci szczegóły o jednej z tych blokad w polach " |
| 996 |
"I<l_type>, I<l_whence>, I<l_start> i I<l_len> w I<lock>. Jeśli niezgodna " |
| 997 |
"blokada jest tradycyjną (związaną z procesem) blokadą rekordu, to pole " |
| 998 |
"I<l_pid> jest ustawiane na PID procesu utrzymującego tę blokadę. Jeśli " |
| 999 |
"niezgodna blokada jest blokadą opisu otwartego pliku (OFD), to I<l_pid> jest " |
| 1000 |
"ustawiane na -1. Proszę zauważyć, że w momencie sprawdzenia zwracanych " |
| 1001 |
"informacji przez wywołującego, mogą być już one nieaktualne." |
| 1002 |
|
| 1003 |
#. type: Plain text |
| 1004 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1005 |
msgid "" |
| 1006 |
"In order to place a read lock, I<fd> must be open for reading. In order to " |
| 1007 |
"place a write lock, I<fd> must be open for writing. To place both types of " |
| 1008 |
"lock, open a file read-write." |
| 1009 |
msgstr "" |
| 1010 |
"Aby założyć blokadę do odczytu, deskryptor I<fd> musi być otwarty do " |
| 1011 |
"odczytu. Aby założyć blokadę do zapisu, deskryptor I<fd> musi być otwarty do " |
| 1012 |
"zapisu. Aby założyć obydwa rodzaje blokad, należy otworzyć plik do odczytu i " |
| 1013 |
"zapisu." |
| 1014 |
|
| 1015 |
#. type: Plain text |
| 1016 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1017 |
msgid "" |
| 1018 |
"When placing locks with B<F_SETLKW>, the kernel detects I<deadlocks>, " |
| 1019 |
"whereby two or more processes have their lock requests mutually blocked by " |
| 1020 |
"locks held by the other processes. For example, suppose process A holds a " |
| 1021 |
"write lock on byte 100 of a file, and process B holds a write lock on byte " |
| 1022 |
"200. If each process then attempts to lock the byte already locked by the " |
| 1023 |
"other process using B<F_SETLKW>, then, without deadlock detection, both " |
| 1024 |
"processes would remain blocked indefinitely. When the kernel detects such " |
| 1025 |
"deadlocks, it causes one of the blocking lock requests to immediately fail " |
| 1026 |
"with the error B<EDEADLK>; an application that encounters such an error " |
| 1027 |
"should release some of its locks to allow other applications to proceed " |
| 1028 |
"before attempting regain the locks that it requires. Circular deadlocks " |
| 1029 |
"involving more than two processes are also detected. Note, however, that " |
| 1030 |
"there are limitations to the kernel's deadlock-detection algorithm; see BUGS." |
| 1031 |
msgstr "" |
| 1032 |
"Przy umieszczaniu blokady z B<F_SETLKW>, jądra wykrywa I<zakleszczenia>, gdy " |
| 1033 |
"żądania blokad dwóch lub więcej procesów są wzajemnie zablokowane przez " |
| 1034 |
"blokady utrzymywane przez inne procesy. Przykładowo, przypuśćmy, że proces A " |
| 1035 |
"utrzymuje blokadę zapisu na bajcie 100. pliku, a proces B utrzymuje blokadę " |
| 1036 |
"zapisu na bajcie 200. Jeśli każdy z procesów spróbuje następnie zablokować " |
| 1037 |
"bajt już zablokowany przez drugie proces za pomocą B<F_SETLKW>, to \\[em] " |
| 1038 |
"bez wykrywania zakleszczeń \\[em] oba procesy pozostałyby stale zablokowane. " |
| 1039 |
"Jeśli jądro wykryje takie zakleszczenie, to spowoduje natychmiastowe " |
| 1040 |
"niepowodzenie jednego z żądań blokady, z błędem B<EDEADLK>; aplikacja " |
| 1041 |
"napotykająca na taki błąd powinna zwolnić niektóre ze swoich blokad, aby " |
| 1042 |
"pozwolić działać inny aplikacjom, przed ponowną próbą odzyskania wymaganych " |
| 1043 |
"blokad. Wykrywane są również koliste zakleszczenia, z więcej niż dwoma " |
| 1044 |
"procesami. Proszę jednak zauważyć, że algorytm wykrywania zakleszczeń jądra " |
| 1045 |
"ma swoje ograniczenia, zob. USTERKI." |
| 1046 |
|
| 1047 |
#. type: Plain text |
| 1048 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1049 |
msgid "" |
| 1050 |
"As well as being removed by an explicit B<F_UNLCK>, record locks are " |
| 1051 |
"automatically released when the process terminates." |
| 1052 |
msgstr "" |
| 1053 |
"Oprócz usunięcia za pomocą wyraźnego B<F_UNLCK>, blokady rekordów są " |
| 1054 |
"zwalniane automatycznie po zakończeniu procesu." |
| 1055 |
|
| 1056 |
#. type: Plain text |
| 1057 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1058 |
msgid "" |
| 1059 |
"Record locks are not inherited by a child created via B<fork>(2), but are " |
| 1060 |
"preserved across an B<execve>(2)." |
| 1061 |
msgstr "" |
| 1062 |
"Blokady rekordów nie są dziedziczone przez procesy potomne poprzez " |
| 1063 |
"B<fork>(2), ale są zachowywane poprzez B<execve>(2)." |
| 1064 |
|
| 1065 |
#. type: Plain text |
| 1066 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1067 |
msgid "" |
| 1068 |
"Because of the buffering performed by the B<stdio>(3) library, the use of " |
| 1069 |
"record locking with routines in that package should be avoided; use " |
| 1070 |
"B<read>(2) and B<write>(2) instead." |
| 1071 |
msgstr "" |
| 1072 |
"Ze względu na wykonywane przez bibliotekę B<stdio>(3) buforowanie, należy " |
| 1073 |
"unikać blokowania rekordów w połączeniu z funkcjami z tego pakietu; zamiast " |
| 1074 |
"tego należy używać B<read>(2) i B<write>(2)." |
| 1075 |
|
| 1076 |
#. type: Plain text |
| 1077 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1078 |
msgid "" |
| 1079 |
"The record locks described above are associated with the process (unlike the " |
| 1080 |
"open file description locks described below). This has some unfortunate " |
| 1081 |
"consequences:" |
| 1082 |
msgstr "" |
| 1083 |
"Opisane wyżej blokady rekordów są związane z procesem (w przeciwieństwie do " |
| 1084 |
"blokad opisu otwartego pliku, opisanych niżej). Ma to pewne niefortunne " |
| 1085 |
"konsekwencje:" |
| 1086 |
|
| 1087 |
#. type: IP |
| 1088 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1089 |
#, no-wrap |
| 1090 |
msgid "\\[bu]" |
| 1091 |
msgstr "\\[bu]" |
| 1092 |
|
| 1093 |
#. (Additional file descriptors referring to the same file |
| 1094 |
#. may have been obtained by calls to |
| 1095 |
#. .BR open "(2), " dup "(2), " dup2 "(2), or " fcntl ().) |
| 1096 |
#. type: Plain text |
| 1097 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1098 |
msgid "" |
| 1099 |
"If a process closes I<any> file descriptor referring to a file, then all of " |
| 1100 |
"the process's locks on that file are released, regardless of the file " |
| 1101 |
"descriptor(s) on which the locks were obtained. This is bad: it means that " |
| 1102 |
"a process can lose its locks on a file such as I</etc/passwd> or I</etc/" |
| 1103 |
"mtab> when for some reason a library function decides to open, read, and " |
| 1104 |
"close the same file." |
| 1105 |
msgstr "" |
| 1106 |
"Jeśli proces zamknie I<dowolny> deskryptor odnoszący się do pliku, to " |
| 1107 |
"zwalniane są wszystkie blokady, niezależnie od tego, na którym z " |
| 1108 |
"deskryptorów pliku blokady te uzyskano. Jest to złe: oznacza, że proces może " |
| 1109 |
"utracić swe blokady na pliku takim jak I</etc/passwd> lub I</etc/mtab> gdy " |
| 1110 |
"jakaś funkcja biblioteczna zdecyduje się z jakiegoś powodu otworzyć, " |
| 1111 |
"odczytać i zamknąć ten sam plik." |
| 1112 |
|
| 1113 |
#. type: Plain text |
| 1114 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1115 |
msgid "" |
| 1116 |
"The threads in a process share locks. In other words, a multithreaded " |
| 1117 |
"program can't use record locking to ensure that threads don't simultaneously " |
| 1118 |
"access the same region of a file." |
| 1119 |
msgstr "" |
| 1120 |
"Wątki procesu dzielą blokady. Innymi słowy, program wielowątkowy nie może " |
| 1121 |
"korzystać z blokad rekordów, aby uniemożliwić jednoczesny dostęp do tego " |
| 1122 |
"samego miejsca pliku przez swoje wątki." |
| 1123 |
|
| 1124 |
#. type: Plain text |
| 1125 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1126 |
msgid "Open file description locks solve both of these problems." |
| 1127 |
msgstr "Blokady opisu otwartego pliku rozwiązują oba te problemy." |
| 1128 |
|
| 1129 |
#. FIXME . Review progress into POSIX |
| 1130 |
#. http://austingroupbugs.net/view.php?id=768 |
| 1131 |
#. type: Plain text |
| 1132 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1133 |
msgid "" |
| 1134 |
"Open file description locks are advisory byte-range locks whose operation is " |
| 1135 |
"in most respects identical to the traditional record locks described above. " |
| 1136 |
"This lock type is Linux-specific, and available since Linux 3.15. (There is " |
| 1137 |
"a proposal with the Austin Group to include this lock type in the next " |
| 1138 |
"revision of POSIX.1.) For an explanation of open file descriptions, see " |
| 1139 |
"B<open>(2)." |
| 1140 |
msgstr "" |
| 1141 |
"Blokady opisu otwartego pliku są blokadami doradczymi, definiowanymi w " |
| 1142 |
"zakresie bajtów, których działanie jest w większości identyczne do " |
| 1143 |
"tradycyjnych blokad rekordów opisanych wyżej. Ten typ blokad jest typowo " |
| 1144 |
"linuksowy i jest dostępny od Linuksa 3.15 (w Austin Group istnieje " |
| 1145 |
"propozycja włączenia tego typu blokady do następnej rewizji POSIX.1). " |
| 1146 |
"Wyjaśnienie opisu otwartego pliku znajduje się w podręczniku B<open>(2)." |
| 1147 |
|
| 1148 |
#. type: Plain text |
| 1149 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1150 |
msgid "" |
| 1151 |
"The principal difference between the two lock types is that whereas " |
| 1152 |
"traditional record locks are associated with a process, open file " |
| 1153 |
"description locks are associated with the open file description on which " |
| 1154 |
"they are acquired, much like locks acquired with B<flock>(2). Consequently " |
| 1155 |
"(and unlike traditional advisory record locks), open file description locks " |
| 1156 |
"are inherited across B<fork>(2) (and B<clone>(2) with B<CLONE_FILES>), and " |
| 1157 |
"are only automatically released on the last close of the open file " |
| 1158 |
"description, instead of being released on any close of the file." |
| 1159 |
msgstr "" |
| 1160 |
"Podstawową różnicą, pomiędzy dwoma typami blokad jest fakt, że o ile " |
| 1161 |
"tradycyjne blokady rekordów są związane z procesem, to blokady opisu " |
| 1162 |
"otwartego pliku są związane z opisem otwartego pliku, na którym je uzyskano, " |
| 1163 |
"podobnie jak to wygląda w przypadku blokad uzyskanych za pomocą B<flock>(2). " |
| 1164 |
"W efekcie (inaczej niż przy tradycyjnych blokadach doradczych rekordów) " |
| 1165 |
"blokady opisu otwartego pliku są dziedziczone przy B<fork>(2) (i B<clone>(2) " |
| 1166 |
"ze znacznikiem B<CLONE_FILES>), a także są automatycznie zwalniane po " |
| 1167 |
"ostatnim zamknięciu opisu otwartego pliku, zamiast zwalniania przy " |
| 1168 |
"jakimkolwiek zamknięciu pliku." |
| 1169 |
|
| 1170 |
#. type: Plain text |
| 1171 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1172 |
msgid "" |
| 1173 |
"Conflicting lock combinations (i.e., a read lock and a write lock or two " |
| 1174 |
"write locks) where one lock is an open file description lock and the other " |
| 1175 |
"is a traditional record lock conflict even when they are acquired by the " |
| 1176 |
"same process on the same file descriptor." |
| 1177 |
msgstr "" |
| 1178 |
"Kolidujące kombinacje blokad (tj. blokada odczytu z blokadą zapisu lub dwie " |
| 1179 |
"blokady zapisu) gdy jedna blokada jest blokadą opisu otwartego pliku, a " |
| 1180 |
"druga jest tradycyjną blokadą rekordu prowadzą do konfliktu nawet wówczas, " |
| 1181 |
"gdy są uzyskane przez ten sam proces na tym samym deskryptorze pliku." |
| 1182 |
|
| 1183 |
#. type: Plain text |
| 1184 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1185 |
msgid "" |
| 1186 |
"Open file description locks placed via the same open file description (i.e., " |
| 1187 |
"via the same file descriptor, or via a duplicate of the file descriptor " |
| 1188 |
"created by B<fork>(2), B<dup>(2), B<fcntl>() B<F_DUPFD>, and so on) are " |
| 1189 |
"always compatible: if a new lock is placed on an already locked region, then " |
| 1190 |
"the existing lock is converted to the new lock type. (Such conversions may " |
| 1191 |
"result in splitting, shrinking, or coalescing with an existing lock as " |
| 1192 |
"discussed above.)" |
| 1193 |
msgstr "" |
| 1194 |
"Blokady opisu otwartego pliku umieszczone na tym samym opisie otwartego " |
| 1195 |
"pliku (tj. za pomocą tego samego deskryptora pliku lub za pomocą duplikatu " |
| 1196 |
"deskryptora pliku utworzonego przez B<fork>(2), B<dup>(2), B<F_DUPFD> z " |
| 1197 |
"B<fcntl>() itp.) są zawsze kompatybilne: jeśli nowa blokada jest umieszczona " |
| 1198 |
"na już zablokowanym rejonie pliku, to istniejące blokada jest konwertowana " |
| 1199 |
"na nowy typ blokady (takie konwersje mogą prowadzić to podziału, " |
| 1200 |
"zmniejszenia lub złączenia z dotychczasową blokadą, jak opisano to wyżej)" |
| 1201 |
|
| 1202 |
#. type: Plain text |
| 1203 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1204 |
msgid "" |
| 1205 |
"On the other hand, open file description locks may conflict with each other " |
| 1206 |
"when they are acquired via different open file descriptions. Thus, the " |
| 1207 |
"threads in a multithreaded program can use open file description locks to " |
| 1208 |
"synchronize access to a file region by having each thread perform its own " |
| 1209 |
"B<open>(2) on the file and applying locks via the resulting file descriptor." |
| 1210 |
msgstr "" |
| 1211 |
"Z drugiej strony, blokady opisu otwartego pliku mogą być w konflikcie, gdy " |
| 1212 |
"są uzyskane przez różne opisy otwartego pliku. Z tego względu, program " |
| 1213 |
"wielowątkowy może korzystać z blokad opisu otwartego pliku do " |
| 1214 |
"synchronizowania dostępu do jakiegoś miejsca w pliku, otwierając " |
| 1215 |
"(B<open>(2)) plik z różnych wątków i zakładając blokady za pomocą wynikowego " |
| 1216 |
"deskryptora pliku." |
| 1217 |
|
| 1218 |
#. type: Plain text |
| 1219 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1220 |
msgid "" |
| 1221 |
"As with traditional advisory locks, the third argument to B<fcntl>(), " |
| 1222 |
"I<lock>, is a pointer to an I<flock> structure. By contrast with " |
| 1223 |
"traditional record locks, the I<l_pid> field of that structure must be set " |
| 1224 |
"to zero when using the operations described below." |
| 1225 |
msgstr "" |
| 1226 |
"Podobnie jak w przypadku tradycyjnych blokad doradczych, trzeci argument do " |
| 1227 |
"B<fcntl>() \\[em] I<lock>, jest wskaźnikiem do struktury I<flock>. W " |
| 1228 |
"odróżnieniu do tradycyjnych blokad rekordów, pole I<l_pid> tej struktury " |
| 1229 |
"musi być ustawione na zero za pomocą operacji opisanych niżej." |
| 1230 |
|
| 1231 |
#. type: Plain text |
| 1232 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1233 |
msgid "" |
| 1234 |
"The operations for working with open file description locks are analogous to " |
| 1235 |
"those used with traditional locks:" |
| 1236 |
msgstr "" |
| 1237 |
"Operacje działające z blokadami opisu otwartego pliku są analogiczne do tych " |
| 1238 |
"używanych z tradycyjnymi blokadami:" |
| 1239 |
|
| 1240 |
#. type: TP |
| 1241 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1242 |
#, no-wrap |
| 1243 |
msgid "B<F_OFD_SETLK> (I<struct flock *>)" |
| 1244 |
msgstr "B<F_OFD_SETLK> (I<struct flock *>)" |
| 1245 |
|
| 1246 |
#. type: Plain text |
| 1247 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1248 |
msgid "" |
| 1249 |
"Acquire an open file description lock (when I<l_type> is B<F_RDLCK> or " |
| 1250 |
"B<F_WRLCK>) or release an open file description lock (when I<l_type> is " |
| 1251 |
"B<F_UNLCK>) on the bytes specified by the I<l_whence>, I<l_start>, and " |
| 1252 |
"I<l_len> fields of I<lock>. If a conflicting lock is held by another " |
| 1253 |
"process, this call returns -1 and sets I<errno> to B<EAGAIN>." |
| 1254 |
msgstr "" |
| 1255 |
"Ustawia blokadę opisu otwartego pliku (gdy B<l_type> jest równe B<F_RDLCK> " |
| 1256 |
"lub B<F_WRLCK>) albo zwalnia blokadę opisu otwartego pliku (gdy B<l_type> " |
| 1257 |
"jest równe B<F_UNLCK>) dla zakresu bajtów określonego przez pola " |
| 1258 |
"I<l_whence>, I<l_start> i I<l_len> I<lock>. Jeśli kolidująca blokada jest " |
| 1259 |
"utrzymywana przez inny proces, funkcja ta zwraca -1 i ustawia I<errno> na " |
| 1260 |
"B<EAGAIN>." |
| 1261 |
|
| 1262 |
#. type: TP |
| 1263 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1264 |
#, no-wrap |
| 1265 |
msgid "B<F_OFD_SETLKW> (I<struct flock *>)" |
| 1266 |
msgstr "B<F_OFD_SETLKW> (I<struct flock *>)" |
| 1267 |
|
| 1268 |
#. type: Plain text |
| 1269 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1270 |
msgid "" |
| 1271 |
"As for B<F_OFD_SETLK>, but if a conflicting lock is held on the file, then " |
| 1272 |
"wait for that lock to be released. If a signal is caught while waiting, " |
| 1273 |
"then the call is interrupted and (after the signal handler has returned) " |
| 1274 |
"returns immediately (with return value -1 and I<errno> set to B<EINTR>; see " |
| 1275 |
"B<signal>(7))." |
| 1276 |
msgstr "" |
| 1277 |
"Podobne do B<F_SETLK>, lecz w sytuacji, gdy na pliku założona jest " |
| 1278 |
"kolidująca blokada, czeka na zwolnienie tej blokady. Jeśli podczas " |
| 1279 |
"oczekiwania zostanie przechwycony sygnał, funkcja jest przerywana i (po " |
| 1280 |
"powrocie z funkcji obsługi sygnału) powraca natychmiast (zwracając wartość " |
| 1281 |
"-1 i ustawiając I<errno> na B<EINTR>; zob. B<signal>(7))." |
| 1282 |
|
| 1283 |
#. type: TP |
| 1284 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1285 |
#, no-wrap |
| 1286 |
msgid "B<F_OFD_GETLK> (I<struct flock *>)" |
| 1287 |
msgstr "B<F_OFD_GETLK> (I<struct flock *>)" |
| 1288 |
|
| 1289 |
#. type: Plain text |
| 1290 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1291 |
msgid "" |
| 1292 |
"On input to this call, I<lock> describes an open file description lock we " |
| 1293 |
"would like to place on the file. If the lock could be placed, B<fcntl>() " |
| 1294 |
"does not actually place it, but returns B<F_UNLCK> in the I<l_type> field of " |
| 1295 |
"I<lock> and leaves the other fields of the structure unchanged. If one or " |
| 1296 |
"more incompatible locks would prevent this lock being placed, then details " |
| 1297 |
"about one of these locks are returned via I<lock>, as described above for " |
| 1298 |
"B<F_GETLK>." |
| 1299 |
msgstr "" |
| 1300 |
"Jako argument I<lock> tej funkcji określa blokadę opisu otwartego pliku, " |
| 1301 |
"jaką chcielibyśmy założyć na pliku. Gdy założenie blokady jest możliwe, " |
| 1302 |
"B<fcntl>() w rzeczywistości jej nie zakłada, lecz zwraca B<F_UNLCK> w polu " |
| 1303 |
"I<l_type> struktury I<lock> pozostawiając inne pola tej struktury " |
| 1304 |
"niezmienione. Jeśli co najmniej jedna niezgodna blokada uniemożliwiłaby " |
| 1305 |
"założenie zadanej blokady, to informacje o jednej z tych blokad są zwracane " |
| 1306 |
"za pomocą I<lock>, jak to opisano powyżej dla B<F_GETLK>." |
| 1307 |
|
| 1308 |
#. commit 57b65325fe34ec4c917bc4e555144b4a94d9e1f7 |
| 1309 |
#. type: Plain text |
| 1310 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1311 |
msgid "" |
| 1312 |
"In the current implementation, no deadlock detection is performed for open " |
| 1313 |
"file description locks. (This contrasts with process-associated record " |
| 1314 |
"locks, for which the kernel does perform deadlock detection.)" |
| 1315 |
msgstr "" |
| 1316 |
"W bieżącej implementacji, dla blokad opisu otwartego pliku nie zachodzi " |
| 1317 |
"wykrywanie zakleszczeń (w odróżnieniu od blokad rekordów związanych z " |
| 1318 |
"procesem, dla których jądro wykonuje wykrywanie zakleszczeń)." |
| 1319 |
|
| 1320 |
#. type: SS |
| 1321 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1322 |
#, no-wrap |
| 1323 |
msgid "Mandatory locking" |
| 1324 |
msgstr "Blokowanie obowiązujące (przymusowe)" |
| 1325 |
|
| 1326 |
#. type: Plain text |
| 1327 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1328 |
msgid "" |
| 1329 |
"I<Warning>: the Linux implementation of mandatory locking is unreliable. " |
| 1330 |
"See BUGS below. Because of these bugs, and the fact that the feature is " |
| 1331 |
"believed to be little used, since Linux 4.5, mandatory locking has been made " |
| 1332 |
"an optional feature, governed by a configuration option " |
| 1333 |
"(B<CONFIG_MANDATORY_FILE_LOCKING>). This feature is no longer supported at " |
| 1334 |
"all in Linux 5.15 and above." |
| 1335 |
msgstr "" |
| 1336 |
"I<Ostrzeżenie>: linuksowa implementacja blokowania obowiązującego jest " |
| 1337 |
"zawodna (zob. USTERKI poniżej). Z powodu opisanych błędów i faktu, że " |
| 1338 |
"funkcjonalność ta nie była często wykorzystywana, od Linuksa 4.5, tego typu " |
| 1339 |
"blokowanie stało się opcjonalne i zależy od ustawienia opcji konfiguracyjnej " |
| 1340 |
"(B<CONFIG_MANDATORY_FILE_LOCKING>). Od Linuksa 5.15 blokowanie obowiązujące " |
| 1341 |
"(przymusowe) nie jest już w ogólne obsługiwane." |
| 1342 |
|
| 1343 |
#. type: Plain text |
| 1344 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1345 |
msgid "" |
| 1346 |
"By default, both traditional (process-associated) and open file description " |
| 1347 |
"record locks are advisory. Advisory locks are not enforced and are useful " |
| 1348 |
"only between cooperating processes." |
| 1349 |
msgstr "" |
| 1350 |
"Domyślnie, zarówno tradycyjne blokady (związane z procesem) jak i blokady " |
| 1351 |
"opisu otwartego pliku (OFD) są doradcze. Blokady doradcze nie są wymuszane i " |
| 1352 |
"są przydatne tylko w przypadku współdziałających procesów." |
| 1353 |
|
| 1354 |
#. type: Plain text |
| 1355 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1356 |
msgid "" |
| 1357 |
"Both lock types can also be mandatory. Mandatory locks are enforced for all " |
| 1358 |
"processes. If a process tries to perform an incompatible access (e.g., " |
| 1359 |
"B<read>(2) or B<write>(2)) on a file region that has an incompatible " |
| 1360 |
"mandatory lock, then the result depends upon whether the B<O_NONBLOCK> flag " |
| 1361 |
"is enabled for its open file description. If the B<O_NONBLOCK> flag is not " |
| 1362 |
"enabled, then the system call is blocked until the lock is removed or " |
| 1363 |
"converted to a mode that is compatible with the access. If the " |
| 1364 |
"B<O_NONBLOCK> flag is enabled, then the system call fails with the error " |
| 1365 |
"B<EAGAIN>." |
| 1366 |
msgstr "" |
| 1367 |
"Oba te typy mogą być również obowiązujące. Blokady obowiązujące są wymuszane " |
| 1368 |
"dla wszystkich procesów. Jeśli proces spróbuje uzyskać niezgodny dostęp (tj. " |
| 1369 |
"odczyt \\[em] B<read>(2) lub zapis \\[em] B<write>(2)) w obszarze pliku, " |
| 1370 |
"który posiada niezgodną blokadę obowiązującą, to wynik zależy od tego, czy " |
| 1371 |
"dla jego opisu otwartego pliku włączono znacznik B<O_NONBLOCK>. Jeśli " |
| 1372 |
"znacznik B<O_NONBLOCK> nie jest włączony, to dane wywołanie systemowe jest " |
| 1373 |
"blokowane do momentu usunięcia blokady lub jej przekształcenia w tryb, który " |
| 1374 |
"jest zgodny z uzyskiwanym dostępem. Jeśli znacznik B<O_NONBLOCK> jest " |
| 1375 |
"włączony, to wywołanie systemowe zawodzi z błędem B<EAGAIN>." |
| 1376 |
|
| 1377 |
#. type: Plain text |
| 1378 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1379 |
msgid "" |
| 1380 |
"To make use of mandatory locks, mandatory locking must be enabled both on " |
| 1381 |
"the filesystem that contains the file to be locked, and on the file itself. " |
| 1382 |
"Mandatory locking is enabled on a filesystem using the \"-o mand\" option to " |
| 1383 |
"B<mount>(8), or the B<MS_MANDLOCK> flag for B<mount>(2). Mandatory locking " |
| 1384 |
"is enabled on a file by disabling group execute permission on the file and " |
| 1385 |
"enabling the set-group-ID permission bit (see B<chmod>(1) and B<chmod>(2))." |
| 1386 |
msgstr "" |
| 1387 |
"Aby skorzystać z obowiązujących blokad, blokowanie obowiązujące musi być " |
| 1388 |
"włączone zarówno na systemie plików zawierającym blokowany plik, jak i na " |
| 1389 |
"samym pliku. Blokowanie obowiązujące w systemie plików włącza się za pomocą " |
| 1390 |
"opcji \\[Bq]-o mand\\[rq] programu B<mount>(8) lub za pomocą znacznika " |
| 1391 |
"B<MS_MANDLOCK> do B<mount>(8). Blokowanie obowiązujące na pliku włącza się " |
| 1392 |
"poprzez wyłączenie prawa uruchamiania dla grupy i włączenie bitu set-group-" |
| 1393 |
"ID (zob. B<chmod>(1) i B<chmod>(2))." |
| 1394 |
|
| 1395 |
#. type: Plain text |
| 1396 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1397 |
msgid "" |
| 1398 |
"Mandatory locking is not specified by POSIX. Some other systems also " |
| 1399 |
"support mandatory locking, although the details of how to enable it vary " |
| 1400 |
"across systems." |
| 1401 |
msgstr "" |
| 1402 |
"Blokowanie obowiązujące nie jest określone normą POSIX. Niektóre inne " |
| 1403 |
"systemy również obsługują blokowanie obowiązujące, choć szczegóły ich " |
| 1404 |
"włączenia również się między systemami." |
| 1405 |
|
| 1406 |
# Uwaga, tłumaczenie wymaga synchronizacji z read(2) - do tej nazwy rozdziału odnosi się opis błędu EIO w tymże podręczniku |
| 1407 |
#. type: SS |
| 1408 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1409 |
#, no-wrap |
| 1410 |
msgid "Lost locks" |
| 1411 |
msgstr "Zagubione blokady" |
| 1412 |
|
| 1413 |
#. type: Plain text |
| 1414 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1415 |
msgid "" |
| 1416 |
"When an advisory lock is obtained on a networked filesystem such as NFS it " |
| 1417 |
"is possible that the lock might get lost. This may happen due to " |
| 1418 |
"administrative action on the server, or due to a network partition (i.e., " |
| 1419 |
"loss of network connectivity with the server) which lasts long enough for " |
| 1420 |
"the server to assume that the client is no longer functioning." |
| 1421 |
msgstr "" |
| 1422 |
"Gdy blokada doradcza jest uzyskiwana na sieciowym systemie plików, takim jak " |
| 1423 |
"NFS, możliwe jest zagubienie blokady. Może się tak stać ze względu na " |
| 1424 |
"działanie administracyjne na serwerze lub z powodu podziału sieci (tzn. " |
| 1425 |
"utraty połączenie z serwerem), które będzie trwało na tyle długo, że serwer " |
| 1426 |
"może przyjąć brak dalszego funkcjonowania przez klienta." |
| 1427 |
|
| 1428 |
#. commit ef1820f9be27b6ad158f433ab38002ab8131db4d |
| 1429 |
#. type: Plain text |
| 1430 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1431 |
msgid "" |
| 1432 |
"When the filesystem determines that a lock has been lost, future B<read>(2) " |
| 1433 |
"or B<write>(2) requests may fail with the error B<EIO>. This error will " |
| 1434 |
"persist until the lock is removed or the file descriptor is closed. Since " |
| 1435 |
"Linux 3.12, this happens at least for NFSv4 (including all minor versions)." |
| 1436 |
msgstr "" |
| 1437 |
"Gdy system plików stwierdzi, że blokada została zagubiona, przyszły odczyt " |
| 1438 |
"(B<read>(2)) lub zapis (B<write>(2)) może zawieść z błędem B<EIO>. Błąd ten " |
| 1439 |
"będzie występował do momentu usunięcia blokady lub zamknięcia deskryptora " |
| 1440 |
"pliku. Od Linuksa 3.12, dzieje się tak przynajmniej w NFSv4 (we wszystkich " |
| 1441 |
"jego pomniejszych wydaniach)." |
| 1442 |
|
| 1443 |
#. type: Plain text |
| 1444 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1445 |
msgid "" |
| 1446 |
"Some versions of UNIX send a signal (B<SIGLOST>) in this circumstance. " |
| 1447 |
"Linux does not define this signal, and does not provide any asynchronous " |
| 1448 |
"notification of lost locks." |
| 1449 |
msgstr "" |
| 1450 |
"Niektóre wersje Uniksa wysyłają w takiej sytuacji sygnał (B<SIGLOST>). Linux " |
| 1451 |
"nie definiuje tego sygnału i nie zapewnia żadnego asynchronicznego " |
| 1452 |
"powiadamiania o zagubionych blokadach." |
| 1453 |
|
| 1454 |
#. type: Plain text |
| 1455 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1456 |
msgid "" |
| 1457 |
"B<F_GETOWN>, B<F_SETOWN>, B<F_GETOWN_EX>, B<F_SETOWN_EX>, B<F_GETSIG>, and " |
| 1458 |
"B<F_SETSIG> are used to manage I/O availability signals:" |
| 1459 |
msgstr "" |
| 1460 |
"B<F_GETOWN>, B<F_SETOWN>, B<F_GETOWN_EX>, B<F_SETOWN_EX>, B<F_GETSIG> i " |
| 1461 |
"B<F_SETSIG> służą do zarządzania sygnałami dostępności wejścia/wyjścia:" |
| 1462 |
|
| 1463 |
#. type: TP |
| 1464 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1465 |
#, no-wrap |
| 1466 |
msgid "B<F_GETOWN> (I<void>)" |
| 1467 |
msgstr "B<F_GETOWN> (I<void>)" |
| 1468 |
|
| 1469 |
#. type: Plain text |
| 1470 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1471 |
msgid "" |
| 1472 |
"Return (as the function result) the process ID or process group ID " |
| 1473 |
"currently receiving B<SIGIO> and B<SIGURG> signals for events on file " |
| 1474 |
"descriptor I<fd>. Process IDs are returned as positive values; process " |
| 1475 |
"group IDs are returned as negative values (but see BUGS below). I<arg> is " |
| 1476 |
"ignored." |
| 1477 |
msgstr "" |
| 1478 |
"Zwraca (jako wynik funkcji) identyfikator procesu lub identyfikator grupy " |
| 1479 |
"procesów aktualnie otrzymujących sygnały B<SIGIO> i B<SIGURG> dla zdarzeń na " |
| 1480 |
"deskryptorze plików I<fd>. Identyfikatory procesów są zwracane jako wartości " |
| 1481 |
"dodatnie, identyfikatory grupy procesów są zwracane jako wartości ujemne " |
| 1482 |
"(lecz zob. USTERKI poniżej). I<arg> jest ignorowane." |
| 1483 |
|
| 1484 |
#. type: TP |
| 1485 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1486 |
#, no-wrap |
| 1487 |
msgid "B<F_SETOWN> (I<int>)" |
| 1488 |
msgstr "B<F_SETOWN> (I<int>)" |
| 1489 |
|
| 1490 |
#. type: Plain text |
| 1491 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1492 |
msgid "" |
| 1493 |
"Set the process ID or process group ID that will receive B<SIGIO> and " |
| 1494 |
"B<SIGURG> signals for events on the file descriptor I<fd>. The target " |
| 1495 |
"process or process group ID is specified in I<arg>. A process ID is " |
| 1496 |
"specified as a positive value; a process group ID is specified as a negative " |
| 1497 |
"value. Most commonly, the calling process specifies itself as the owner " |
| 1498 |
"(that is, I<arg> is specified as B<getpid>(2))." |
| 1499 |
msgstr "" |
| 1500 |
"Ustawia identyfikator procesu lub identyfikator grupy procesów aktualnie " |
| 1501 |
"otrzymujących sygnały B<SIGIO> i B<SIGURG> dla zdarzeń na deskryptorze " |
| 1502 |
"plików I<fd>. Docelowy identyfikator procesu lub grupy procesów podaje się " |
| 1503 |
"jako I<arg>. Identyfikator procesu jest określany jako liczba dodatnia; " |
| 1504 |
"identyfikator grupy procesów jest określany za pomocą wartości ujemnych. " |
| 1505 |
"Najczęściej, proces wywołujący określa się jako właściciel (tj. I<arg> jest " |
| 1506 |
"podawany jak przez B<getpid>(2))." |
| 1507 |
|
| 1508 |
#. type: Plain text |
| 1509 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1510 |
msgid "" |
| 1511 |
"As well as setting the file descriptor owner, one must also enable " |
| 1512 |
"generation of signals on the file descriptor. This is done by using the " |
| 1513 |
"B<fcntl>() B<F_SETFL> operation to set the B<O_ASYNC> file status flag on " |
| 1514 |
"the file descriptor. Subsequently, a B<SIGIO> signal is sent whenever input " |
| 1515 |
"or output becomes possible on the file descriptor. The B<fcntl>() " |
| 1516 |
"B<F_SETSIG> operation can be used to obtain delivery of a signal other than " |
| 1517 |
"B<SIGIO>." |
| 1518 |
msgstr "" |
| 1519 |
"Oprócz ustawiania właściciela deskryptora pliku, konieczne jest również " |
| 1520 |
"włączenie generowania sygnałów na deskryptorze plików. Można to uczynić za " |
| 1521 |
"pomocą operacji B<F_SETFL> B<fcntl>(), ustawiając znacznik stanu pliku " |
| 1522 |
"B<O_ASYNC> na deskryptorze pliku. Co za tym idzie, gdy tylko na deskryptorze " |
| 1523 |
"pliku możliwe stanie się wejście lub wyjście, zostanie wysłany sygnał " |
| 1524 |
"B<SIGIO>. Operację B<F_SETSIG> B<fcntl>() można wykorzystać do uzyskania " |
| 1525 |
"dostarczenia sygnału innego niż B<SIGIO>." |
| 1526 |
|
| 1527 |
#. type: Plain text |
| 1528 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1529 |
msgid "" |
| 1530 |
"Sending a signal to the owner process (group) specified by B<F_SETOWN> is " |
| 1531 |
"subject to the same permissions checks as are described for B<kill>(2), " |
| 1532 |
"where the sending process is the one that employs B<F_SETOWN> (but see BUGS " |
| 1533 |
"below). If this permission check fails, then the signal is silently " |
| 1534 |
"discarded. I<Note>: The B<F_SETOWN> operation records the caller's " |
| 1535 |
"credentials at the time of the B<fcntl>() call, and it is these saved " |
| 1536 |
"credentials that are used for the permission checks." |
| 1537 |
msgstr "" |
| 1538 |
"Wysłanie sygnału do właściciela procesu (grupy) podanego w B<F_SETOWN>, " |
| 1539 |
"podlega takim samym sprawdzeniom uprawnień jak opisano w przypadku " |
| 1540 |
"B<kill>(2), gdy proces wysyłający jest tym, który używa B<F_SETOWN> (lecz " |
| 1541 |
"zob. USTERKI poniżej). Jeśli sprawdzenie uprawnień się nie powiedzie, to " |
| 1542 |
"sygnał jest po cichu odrzucany. I<Uwaga>: Operacja B<F_SETOWN> sprawdza " |
| 1543 |
"poświadczenia wywołującego w chwili wywołania B<fcntl>() i to te zapisane " |
| 1544 |
"poświadczenia są używane do sprawdzenia uprawnień." |
| 1545 |
|
| 1546 |
#. The following appears to be rubbish. It doesn't seem to |
| 1547 |
#. be true according to the kernel source, and I can write |
| 1548 |
#. a program that gets a terminal-generated SIGIO even though |
| 1549 |
#. it is not the foreground process group of the terminal. |
| 1550 |
#. -- MTK, 8 Apr 05 |
| 1551 |
#. If the file descriptor |
| 1552 |
#. .I fd |
| 1553 |
#. refers to a terminal device, then SIGIO |
| 1554 |
#. signals are sent to the foreground process group of the terminal. |
| 1555 |
#. type: Plain text |
| 1556 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1557 |
msgid "" |
| 1558 |
"If the file descriptor I<fd> refers to a socket, B<F_SETOWN> also selects " |
| 1559 |
"the recipient of B<SIGURG> signals that are delivered when out-of-band data " |
| 1560 |
"arrives on that socket. (B<SIGURG> is sent in any situation where " |
| 1561 |
"B<select>(2) would report the socket as having an \"exceptional " |
| 1562 |
"condition\".)" |
| 1563 |
msgstr "" |
| 1564 |
"Jeśli deskryptor pliku I<fd> odnosi się do gniazda, B<F_SETOWN> określa " |
| 1565 |
"również odbiorcę sygnałów B<SIGURG> dostarczanych gdy poprzez gniazdo " |
| 1566 |
"przybędą dane autonomiczne (B<SIGURG> jest wysyłany w sytuacjach, w których " |
| 1567 |
"B<select>(2) zgłosiłby \\[Bq]stan wyjątkowy\\[rq])." |
| 1568 |
|
| 1569 |
#. type: Plain text |
| 1570 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1571 |
msgid "The following was true in Linux 2.6.x up to and including Linux 2.6.11:" |
| 1572 |
msgstr "" |
| 1573 |
"Następujący akapit był prawdziwy w Linuksie 2.6.x do Linuksa 2.6.11 włącznie:" |
| 1574 |
|
| 1575 |
#. The relevant place in the (2.6) kernel source is the |
| 1576 |
#. 'switch' in fs/fcntl.c::send_sigio_to_task() -- MTK, Apr 2005 |
| 1577 |
#. send_sigurg()/send_sigurg_to_task() bypasses |
| 1578 |
#. kill_fasync()/send_sigio()/send_sigio_to_task() |
| 1579 |
#. to directly call send_group_sig_info() |
| 1580 |
#. -- MTK, Apr 2005 (kernel 2.6.11) |
| 1581 |
#. type: Plain text |
| 1582 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1583 |
msgid "" |
| 1584 |
"If a nonzero value is given to B<F_SETSIG> in a multithreaded process " |
| 1585 |
"running with a threading library that supports thread groups (e.g., NPTL), " |
| 1586 |
"then a positive value given to B<F_SETOWN> has a different meaning: instead " |
| 1587 |
"of being a process ID identifying a whole process, it is a thread ID " |
| 1588 |
"identifying a specific thread within a process. Consequently, it may be " |
| 1589 |
"necessary to pass B<F_SETOWN> the result of B<gettid>(2) instead of " |
| 1590 |
"B<getpid>(2) to get sensible results when B<F_SETSIG> is used. (In current " |
| 1591 |
"Linux threading implementations, a main thread's thread ID is the same as " |
| 1592 |
"its process ID. This means that a single-threaded program can equally use " |
| 1593 |
"B<gettid>(2) or B<getpid>(2) in this scenario.) Note, however, that the " |
| 1594 |
"statements in this paragraph do not apply to the B<SIGURG> signal generated " |
| 1595 |
"for out-of-band data on a socket: this signal is always sent to either a " |
| 1596 |
"process or a process group, depending on the value given to B<F_SETOWN>." |
| 1597 |
msgstr "" |
| 1598 |
"Jeśli B<F_SETSIG> przekaże się wartość niezerową w procesie wielowątkowym, " |
| 1599 |
"działającym z biblioteką wątkowania obsługującą grupy wątków (np. NPTL), to " |
| 1600 |
"wartość pozytywna przekazana B<F_SETOWN> ma inne znaczenie: zamiast byciem " |
| 1601 |
"identyfikatorem całego procesu, jest identyfikatorem wątku, który " |
| 1602 |
"identyfikuje dany wątek procesu. W efekcie, może być konieczne podanie " |
| 1603 |
"B<F_SETOWN> wyniku B<gettid>(2), zamiast wyniku B<getpid>(2), aby uzyskać " |
| 1604 |
"rozsądne wyniki, gdy korzysta się z B<F_SETSIG> (w bieżącej, linuksowej " |
| 1605 |
"implementacji wątkowania, identyfikator głównego wątku jest taki sam jak " |
| 1606 |
"jego identyfikator procesu; oznacza to, że programy jednowątkowe mogą w tym " |
| 1607 |
"scenariuszu korzystać z B<gettid>(2) lub B<getpid>(2)). Proszę jednak " |
| 1608 |
"zauważyć, że stwierdzenie w tym akapicie nie dotyczy sygnału B<SIGURG>, " |
| 1609 |
"wygenerowanego dla danych spoza pasma (ang. out-of-band data) na gnieździe: " |
| 1610 |
"ten sygnał zawsze trafia albo do procesu albo do grupy procesu, w zależności " |
| 1611 |
"od wartości przekazanej B<F_SETOWN>." |
| 1612 |
|
| 1613 |
#. type: Plain text |
| 1614 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1615 |
msgid "" |
| 1616 |
"The above behavior was accidentally dropped in Linux 2.6.12, and won't be " |
| 1617 |
"restored. From Linux 2.6.32 onward, use B<F_SETOWN_EX> to target B<SIGIO> " |
| 1618 |
"and B<SIGURG> signals at a particular thread." |
| 1619 |
msgstr "" |
| 1620 |
"Powyższe zachowanie przypadkowo porzucono w Linuksie 2.6.12 i nie zostanie " |
| 1621 |
"przywrócone. Od Linuksa 2.6.32, należy użyć B<F_SETOWN_EX>, aby przeznaczyć " |
| 1622 |
"sygnały B<SIGIO> do określonego wątku." |
| 1623 |
|
| 1624 |
#. type: TP |
| 1625 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1626 |
#, no-wrap |
| 1627 |
msgid "B<F_GETOWN_EX> (I<struct f_owner_ex *>) (since Linux 2.6.32)" |
| 1628 |
msgstr "B<F_GETOWN_EX> (I<struct f_owner_ex *>) (od Linuksa 2.6.32)" |
| 1629 |
|
| 1630 |
#. type: Plain text |
| 1631 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1632 |
msgid "" |
| 1633 |
"Return the current file descriptor owner settings as defined by a previous " |
| 1634 |
"B<F_SETOWN_EX> operation. The information is returned in the structure " |
| 1635 |
"pointed to by I<arg>, which has the following form:" |
| 1636 |
msgstr "" |
| 1637 |
"Zwraca ustawienia aktualnego właściciela deskryptora pliku, jak zdefiniowane " |
| 1638 |
"poprzednią operacją B<F_SETOWN_EX>. Informacja ta jest zwracana przez " |
| 1639 |
"strukturę na którą wskazuje I<arg>, która ma postać:" |
| 1640 |
|
| 1641 |
#. type: Plain text |
| 1642 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1643 |
#, no-wrap |
| 1644 |
msgid "" |
| 1645 |
"struct f_owner_ex {\n" |
| 1646 |
" int type;\n" |
| 1647 |
" pid_t pid;\n" |
| 1648 |
"};\n" |
| 1649 |
msgstr "" |
| 1650 |
"struct f_owner_ex {\n" |
| 1651 |
" int type;\n" |
| 1652 |
" pid_t pid;\n" |
| 1653 |
"};\n" |
| 1654 |
|
| 1655 |
#. type: Plain text |
| 1656 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1657 |
msgid "" |
| 1658 |
"The I<type> field will have one of the values B<F_OWNER_TID>, " |
| 1659 |
"B<F_OWNER_PID>, or B<F_OWNER_PGRP>. The I<pid> field is a positive integer " |
| 1660 |
"representing a thread ID, process ID, or process group ID. See " |
| 1661 |
"B<F_SETOWN_EX> for more details." |
| 1662 |
msgstr "" |
| 1663 |
"Pole I<type> będzie miało jedną z wartości: B<F_OWNER_TID>, B<F_OWNER_PID> " |
| 1664 |
"lub B<F_OWNER_PGRP>. Pole I<pid> jest liczbą dodatnią, reprezentującą " |
| 1665 |
"identyfikator, odpowiednio, wątku, procesu lub grupy procesu. Więcej " |
| 1666 |
"informacji przy B<F_SETOWN_EX>." |
| 1667 |
|
| 1668 |
#. type: TP |
| 1669 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1670 |
#, no-wrap |
| 1671 |
msgid "B<F_SETOWN_EX> (I<struct f_owner_ex *>) (since Linux 2.6.32)" |
| 1672 |
msgstr "B<F_SETOWN_EX> (I<struct f_owner_ex *>) (od Linuksa 2.6.32)" |
| 1673 |
|
| 1674 |
#. type: Plain text |
| 1675 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1676 |
msgid "" |
| 1677 |
"This operation performs a similar task to B<F_SETOWN>. It allows the caller " |
| 1678 |
"to direct I/O availability signals to a specific thread, process, or process " |
| 1679 |
"group. The caller specifies the target of signals via I<arg>, which is a " |
| 1680 |
"pointer to a I<f_owner_ex> structure. The I<type> field has one of the " |
| 1681 |
"following values, which define how I<pid> is interpreted:" |
| 1682 |
msgstr "" |
| 1683 |
"Operacja przeprowadza podobne zadanie do B<F_SETOWN>. Pozwala wywołującemu, " |
| 1684 |
"na kierowanie sygnałów o dostępności wejścia/wyjścia do określonego wątku, " |
| 1685 |
"procesu lub grupy procesu. Wywołujący określa cel sygnału za pomocą I<arg>, " |
| 1686 |
"wskaźnika do struktury I<f_owner_ex>. Pole I<type> ma jedną z następujących " |
| 1687 |
"wartości, definiujących sposób interpretacji I<pid>:" |
| 1688 |
|
| 1689 |
#. type: TP |
| 1690 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1691 |
#, no-wrap |
| 1692 |
msgid "B<F_OWNER_TID>" |
| 1693 |
msgstr "B<F_OWNER_TID>" |
| 1694 |
|
| 1695 |
#. type: Plain text |
| 1696 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1697 |
msgid "" |
| 1698 |
"Send the signal to the thread whose thread ID (the value returned by a call " |
| 1699 |
"to B<clone>(2) or B<gettid>(2)) is specified in I<pid>." |
| 1700 |
msgstr "" |
| 1701 |
"Wysyła sygnał do wątku, którego identyfikator wątku (taki, jak zwracany " |
| 1702 |
"przez wywołanie B<clone>(2) lub B<gettid>(2)) podano w I<pid>." |
| 1703 |
|
| 1704 |
#. type: TP |
| 1705 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1706 |
#, no-wrap |
| 1707 |
msgid "B<F_OWNER_PID>" |
| 1708 |
msgstr "B<F_OWNER_PID>" |
| 1709 |
|
| 1710 |
#. type: Plain text |
| 1711 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1712 |
msgid "Send the signal to the process whose ID is specified in I<pid>." |
| 1713 |
msgstr "Wysyła sygnał do procesu, którego identyfikator podano w I<pid>." |
| 1714 |
|
| 1715 |
#. type: TP |
| 1716 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1717 |
#, no-wrap |
| 1718 |
msgid "B<F_OWNER_PGRP>" |
| 1719 |
msgstr "B<F_OWNER_PGRP>" |
| 1720 |
|
| 1721 |
#. type: Plain text |
| 1722 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1723 |
msgid "" |
| 1724 |
"Send the signal to the process group whose ID is specified in I<pid>. (Note " |
| 1725 |
"that, unlike with B<F_SETOWN>, a process group ID is specified as a positive " |
| 1726 |
"value here.)" |
| 1727 |
msgstr "" |
| 1728 |
"Wysyła sygnał do grupy procesu, której identyfikator podano w I<pid> (proszę " |
| 1729 |
"zauważyć, że w przeciwieństwie do B<F_SETOWN>, identyfikator grupy procesu " |
| 1730 |
"jest tu podawany jako wartość dodatnia)." |
| 1731 |
|
| 1732 |
#. type: TP |
| 1733 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1734 |
#, no-wrap |
| 1735 |
msgid "B<F_GETSIG> (I<void>)" |
| 1736 |
msgstr "B<F_GETSIG> (I<void>)" |
| 1737 |
|
| 1738 |
#. type: Plain text |
| 1739 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1740 |
msgid "" |
| 1741 |
"Return (as the function result) the signal sent when input or output " |
| 1742 |
"becomes possible. A value of zero means B<SIGIO> is sent. Any other value " |
| 1743 |
"(including B<SIGIO>) is the signal sent instead, and in this case " |
| 1744 |
"additional info is available to the signal handler if installed with " |
| 1745 |
"B<SA_SIGINFO>. I<arg> is ignored." |
| 1746 |
msgstr "" |
| 1747 |
"Zwraca (jako wynik funkcji) sygnał wysyłany, gdy wejście lub wyjście stanie " |
| 1748 |
"się możliwe. Wartość zerowa oznacza wysyłanie B<SIGIO>. Dowolna inna wartość " |
| 1749 |
"(łącznie z B<SIGIO>) stanowi numer sygnału wysyłanego zamiast niego. W tych " |
| 1750 |
"sytuacjach dodatkowe informacje mogą być dostępne dla programu obsługi " |
| 1751 |
"sygnału, o ile zostały zainstalowane z użyciem B<SA_SIGINFO>. I<arg> jest " |
| 1752 |
"ignorowane." |
| 1753 |
|
| 1754 |
#. type: TP |
| 1755 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1756 |
#, no-wrap |
| 1757 |
msgid "B<F_SETSIG> (I<int>)" |
| 1758 |
msgstr "B<F_SETSIG> (I<int>)" |
| 1759 |
|
| 1760 |
#. The following was true only up until Linux 2.6.11: |
| 1761 |
#. Additionally, passing a nonzero value to |
| 1762 |
#. .B F_SETSIG |
| 1763 |
#. changes the signal recipient from a whole process to a specific thread |
| 1764 |
#. within a process. |
| 1765 |
#. See the description of |
| 1766 |
#. .B F_SETOWN |
| 1767 |
#. for more details. |
| 1768 |
#. type: Plain text |
| 1769 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1770 |
msgid "" |
| 1771 |
"Set the signal sent when input or output becomes possible to the value given " |
| 1772 |
"in I<arg>. A value of zero means to send the default B<SIGIO> signal. Any " |
| 1773 |
"other value (including B<SIGIO>) is the signal to send instead, and in this " |
| 1774 |
"case additional info is available to the signal handler if installed with " |
| 1775 |
"B<SA_SIGINFO>." |
| 1776 |
msgstr "" |
| 1777 |
"Ustawia sygnał wysyłany, gdy wejście lub wyjście stanie się możliwe na " |
| 1778 |
"wartość podaną w I<arg>. Wartość zerowa oznacza wysyłanie sygnału " |
| 1779 |
"domyślnego, czyli B<SIGIO>. Dowolna inna wartość (łącznie z B<SIGIO>) " |
| 1780 |
"stanowi numer sygnału wysyłanego zamiast niego. W tych sytuacjach dodatkowe " |
| 1781 |
"informacje mogą być dostępne dla programu obsługi sygnału, o ile zostały " |
| 1782 |
"zainstalowane z użyciem B<SA_SIGINFO>." |
| 1783 |
|
| 1784 |
#. type: Plain text |
| 1785 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1786 |
msgid "" |
| 1787 |
"By using B<F_SETSIG> with a nonzero value, and setting B<SA_SIGINFO> for the " |
| 1788 |
"signal handler (see B<sigaction>(2)), extra information about I/O events is " |
| 1789 |
"passed to the handler in a I<siginfo_t> structure. If the I<si_code> field " |
| 1790 |
"indicates the source is B<SI_SIGIO>, the I<si_fd> field gives the file " |
| 1791 |
"descriptor associated with the event. Otherwise, there is no indication " |
| 1792 |
"which file descriptors are pending, and you should use the usual mechanisms " |
| 1793 |
"(B<select>(2), B<poll>(2), B<read>(2) with B<O_NONBLOCK> set etc.) to " |
| 1794 |
"determine which file descriptors are available for I/O." |
| 1795 |
msgstr "" |
| 1796 |
"Za pomocą B<F_SETSIG> z niezerową wartością i przy ustawionym B<SA_SIGINFO> " |
| 1797 |
"dla programu obsługi sygnału (patrz B<sigaction>(2)), można przekazać do " |
| 1798 |
"programu obsługi sygnału w strukturze I<siginfo_t> dodatkowe informacje o " |
| 1799 |
"zdarzeniach wejścia/wyjścia. Jeśli pole I<si_code> wskazuje, że źródłem jest " |
| 1800 |
"B<SI_SIGIO>, to pole I<si_fd> zawiera deskryptor pliku związany ze " |
| 1801 |
"zdarzeniem. W przeciwnym przypadku, brak jest wskazania, które deskryptory " |
| 1802 |
"plików oczekują i do określenia dostępnych dla wejścia/wyjścia deskryptorów " |
| 1803 |
"plików należy używać zwykłych mechanizmów (B<select >(2), B<poll>(2), " |
| 1804 |
"B<read>(2) z ustawionym B<O_NONBLOCK> itd.)." |
| 1805 |
|
| 1806 |
#. type: Plain text |
| 1807 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1808 |
msgid "" |
| 1809 |
"Note that the file descriptor provided in I<si_fd> is the one that was " |
| 1810 |
"specified during the B<F_SETSIG> operation. This can lead to an unusual " |
| 1811 |
"corner case. If the file descriptor is duplicated (B<dup>(2) or similar), " |
| 1812 |
"and the original file descriptor is closed, then I/O events will continue to " |
| 1813 |
"be generated, but the I<si_fd> field will contain the number of the now " |
| 1814 |
"closed file descriptor." |
| 1815 |
msgstr "" |
| 1816 |
"Proszę zauważyć, że deskryptor pliku udostępniony w I<si_fd> jest tym samym, " |
| 1817 |
"który podano podczas operacji B<F_SETSIG>. To może prowadzić do nietypowej " |
| 1818 |
"sytuacji. Gdy deskryptor pliku jest duplikowany (B<dup>(2) lub podobne), a " |
| 1819 |
"pierwotny deskryptor pliku jest zamykany, to zdarzenie wejście/wyjścia wciąż " |
| 1820 |
"będzie tworzone, lecz pole I<si_fd> będzie zawierać deskryptor już " |
| 1821 |
"zamkniętego pliku." |
| 1822 |
|
| 1823 |
#. type: Plain text |
| 1824 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1825 |
msgid "" |
| 1826 |
"By selecting a real time signal (value E<gt>= B<SIGRTMIN>), multiple I/O " |
| 1827 |
"events may be queued using the same signal numbers. (Queuing is dependent " |
| 1828 |
"on available memory.) Extra information is available if B<SA_SIGINFO> is " |
| 1829 |
"set for the signal handler, as above." |
| 1830 |
msgstr "" |
| 1831 |
"Wybierając sygnał czasu rzeczywistego (wartość E<gt>= B<SIGRTMIN>), można, " |
| 1832 |
"używając tych samych numerów sygnałów, spowodować umieszczenie w kolejce " |
| 1833 |
"wielu zdarzeń wejścia/wyjścia (kolejkowanie zależy od dostępnej pamięci). " |
| 1834 |
"Jak powyżej, dodatkowe informacje są dostępne, gdy programy obsługi sygnałów " |
| 1835 |
"zostały zainstalowane z ustawionym B<SA_SIGINFO>." |
| 1836 |
|
| 1837 |
#. See fs/fcntl.c::send_sigio_to_task() (2.4/2.6) sources -- MTK, Apr 05 |
| 1838 |
#. type: Plain text |
| 1839 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1840 |
msgid "" |
| 1841 |
"Note that Linux imposes a limit on the number of real-time signals that may " |
| 1842 |
"be queued to a process (see B<getrlimit>(2) and B<signal>(7)) and if this " |
| 1843 |
"limit is reached, then the kernel reverts to delivering B<SIGIO>, and this " |
| 1844 |
"signal is delivered to the entire process rather than to a specific thread." |
| 1845 |
msgstr "" |
| 1846 |
"Proszę zauważyć, że Linux narzuca limit liczby sygnałów czasu rzeczywistego, " |
| 1847 |
"które mogą oczekiwać w kolejce na proces (zob. B<getrlimit>(2) i " |
| 1848 |
"B<signal>(7)) i jeśli limit ten zostanie osiągnięty, to jądro powraca do " |
| 1849 |
"dostarczania B<SIGIO>, a sygnał ten jest dostarczany do całego procesu, " |
| 1850 |
"zamiast to konkretnego wątku." |
| 1851 |
|
| 1852 |
#. type: Plain text |
| 1853 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1854 |
msgid "" |
| 1855 |
"Using these mechanisms, a program can implement fully asynchronous I/O " |
| 1856 |
"without using B<select>(2) or B<poll>(2) most of the time." |
| 1857 |
msgstr "" |
| 1858 |
"Za pomocą tych mechanizmów program może zaimplementować w pełni " |
| 1859 |
"asynchroniczne wejście/wyjście, nie używając przez większość czasu " |
| 1860 |
"B<select>(2) i B<poll>(2)." |
| 1861 |
|
| 1862 |
#. type: Plain text |
| 1863 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1864 |
msgid "" |
| 1865 |
"The use of B<O_ASYNC> is specific to BSD and Linux. The only use of " |
| 1866 |
"B<F_GETOWN> and B<F_SETOWN> specified in POSIX.1 is in conjunction with the " |
| 1867 |
"use of the B<SIGURG> signal on sockets. (POSIX does not specify the " |
| 1868 |
"B<SIGIO> signal.) B<F_GETOWN_EX>, B<F_SETOWN_EX>, B<F_GETSIG>, and " |
| 1869 |
"B<F_SETSIG> are Linux-specific. POSIX has asynchronous I/O and the " |
| 1870 |
"I<aio_sigevent> structure to achieve similar things; these are also " |
| 1871 |
"available in Linux as part of the GNU C Library (glibc)." |
| 1872 |
msgstr "" |
| 1873 |
"Opisane powyżej korzystanie z B<O_ASYNC> jest specyficzne dla BSD i Linuksa. " |
| 1874 |
"Jedynym użyciem B<F_GETOWN> i B<F_SETOWN> podanym w POSIX.1 jest użycie ich " |
| 1875 |
"w połączeniu z sygnałem B<SIGURG> na gniazdach (POSIX nie określa sygnału " |
| 1876 |
"B<SIGIO>). B<F_GETOWN_EX>, B<F_SETOWN_EX>, B<F_GETSIG> i B<F_SETSIG> są " |
| 1877 |
"typowo linuksowe. POSIX posiada asynchroniczne wejście/wyjście i strukturę " |
| 1878 |
"I<aio_sigevent> służącą do podobnych celów; w Linuksie są one również " |
| 1879 |
"dostępne jako część biblioteki GNU C (glibc)." |
| 1880 |
|
| 1881 |
#. type: Plain text |
| 1882 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1883 |
msgid "" |
| 1884 |
"B<F_SETLEASE> and B<F_GETLEASE> (Linux 2.4 onward) are used to establish a " |
| 1885 |
"new lease, and retrieve the current lease, on the open file description " |
| 1886 |
"referred to by the file descriptor I<fd>. A file lease provides a mechanism " |
| 1887 |
"whereby the process holding the lease (the \"lease holder\") is notified " |
| 1888 |
"(via delivery of a signal) when a process (the \"lease breaker\") tries to " |
| 1889 |
"B<open>(2) or B<truncate>(2) the file referred to by that file descriptor." |
| 1890 |
msgstr "" |
| 1891 |
"B<F_SETLEASE> i B<F_GETLEASE> (od Linuksa 2.4 wzwyż) służą do ustanowienia " |
| 1892 |
"nowe dzierżawy i pobrania aktualnej dzierżawy na opisie otwartego pliku, do " |
| 1893 |
"którego odnosi się deskryptor pliku I<fd>. Dzierżawa pliku zapewnia " |
| 1894 |
"mechanizm, w którym proces utrzymujący dzierżawę (\\[Bq]dzierżawca\\[rq]) " |
| 1895 |
"jest zawiadamiany (poprzez dostarczenie sygnału) o tym, że inny proces (\\" |
| 1896 |
"[Bq]zrywający dzierżawę\\[rq]) próbuje wykonać B<open>(2) lub B<truncate>(2) " |
| 1897 |
"na pliku, do którego odnosi się dany deskryptor pliku." |
| 1898 |
|
| 1899 |
#. type: TP |
| 1900 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1901 |
#, no-wrap |
| 1902 |
msgid "B<F_SETLEASE> (I<int>)" |
| 1903 |
msgstr "B<F_SETLEASE> (I<int>)" |
| 1904 |
|
| 1905 |
#. type: Plain text |
| 1906 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1907 |
msgid "" |
| 1908 |
"Set or remove a file lease according to which of the following values is " |
| 1909 |
"specified in the integer I<arg>:" |
| 1910 |
msgstr "" |
| 1911 |
"Ustawia lub usuwa dzierżawę pliku w zależności od tego, która z " |
| 1912 |
"następujących wartości zostanie podana jako argument I<arg> typu integer :" |
| 1913 |
|
| 1914 |
#. type: TP |
| 1915 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1916 |
#, no-wrap |
| 1917 |
msgid "B<F_RDLCK>" |
| 1918 |
msgstr "B<F_RDLCK>" |
| 1919 |
|
| 1920 |
#. The following became true in Linux 2.6.10: |
| 1921 |
#. See the man-pages-2.09 Changelog for further info. |
| 1922 |
#. type: Plain text |
| 1923 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1924 |
msgid "" |
| 1925 |
"Take out a read lease. This will cause the calling process to be notified " |
| 1926 |
"when the file is opened for writing or is truncated. A read lease can be " |
| 1927 |
"placed only on a file descriptor that is opened read-only." |
| 1928 |
msgstr "" |
| 1929 |
"Ustanawia dzierżawę odczytu. Spowoduje to zawiadamianie procesu wywołującego " |
| 1930 |
"o otwarciu pliku do zapisu lub o obcinaniu go. Dzierżawa odczytu może zostać " |
| 1931 |
"nałożona na deskryptor pliku tylko wtedy, gdy jest on otwarty tylko do " |
| 1932 |
"odczytu." |
| 1933 |
|
| 1934 |
#. type: TP |
| 1935 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1936 |
#, no-wrap |
| 1937 |
msgid "B<F_WRLCK>" |
| 1938 |
msgstr "B<F_WRLCK>" |
| 1939 |
|
| 1940 |
#. type: Plain text |
| 1941 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1942 |
msgid "" |
| 1943 |
"Take out a write lease. This will cause the caller to be notified when the " |
| 1944 |
"file is opened for reading or writing or is truncated. A write lease may be " |
| 1945 |
"placed on a file only if there are no other open file descriptors for the " |
| 1946 |
"file." |
| 1947 |
msgstr "" |
| 1948 |
"Ustanawia dzierżawę zapisu. Spowoduje to zawiadamianie wywołującego o " |
| 1949 |
"otwarciu pliku do odczytu lub do zapisu, lub o obcinaniu go. Dzierżawa " |
| 1950 |
"zapisu może zostać nałożona na plik tylko wtedy, gdy plik nie posiada " |
| 1951 |
"żadnych innych otwartych deskryptorów pliku." |
| 1952 |
|
| 1953 |
#. type: TP |
| 1954 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1955 |
#, no-wrap |
| 1956 |
msgid "B<F_UNLCK>" |
| 1957 |
msgstr "B<F_UNLCK>" |
| 1958 |
|
| 1959 |
#. type: Plain text |
| 1960 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1961 |
msgid "Remove our lease from the file." |
| 1962 |
msgstr "Zdejmuje własną dzierżawę z pliku." |
| 1963 |
|
| 1964 |
#. type: Plain text |
| 1965 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1966 |
msgid "" |
| 1967 |
"Leases are associated with an open file description (see B<open>(2)). This " |
| 1968 |
"means that duplicate file descriptors (created by, for example, B<fork>(2) " |
| 1969 |
"or B<dup>(2)) refer to the same lease, and this lease may be modified or " |
| 1970 |
"released using any of these descriptors. Furthermore, the lease is released " |
| 1971 |
"by either an explicit B<F_UNLCK> operation on any of these duplicate file " |
| 1972 |
"descriptors, or when all such file descriptors have been closed." |
| 1973 |
msgstr "" |
| 1974 |
"Dzierżawy są związane z opisem otwartego pliku (zob. B<open>(2)). Oznacza " |
| 1975 |
"to, że zduplikowane deskryptory pliku (utworzone np. za pomocą B<fork>(2) " |
| 1976 |
"lub B<dup>(2)) odnoszą się do tej samem dzierżawy i można ją zmodyfikować " |
| 1977 |
"lub zwolnić za pomocą dowolnego z tych deskryptorów. Co więcej, dzierżawa " |
| 1978 |
"jest zwalniana przez operację B<F_UNLCK> na dowolnym z tych zduplikowanych " |
| 1979 |
"deskryptorów plików albo gdy wszystkie takie deskryptory pliku zostaną " |
| 1980 |
"zamknięte." |
| 1981 |
|
| 1982 |
#. type: Plain text |
| 1983 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1984 |
msgid "" |
| 1985 |
"Leases may be taken out only on regular files. An unprivileged process may " |
| 1986 |
"take out a lease only on a file whose UID (owner) matches the filesystem UID " |
| 1987 |
"of the process. A process with the B<CAP_LEASE> capability may take out " |
| 1988 |
"leases on arbitrary files." |
| 1989 |
msgstr "" |
| 1990 |
"Dzierżawy można ustanawiać tylko na zwykłych plikach. Proces " |
| 1991 |
"nieuprzywilejowany może ustanawiać jedynie dzierżawy na plikach, których UID " |
| 1992 |
"(właściciela) odpowiada UID-owi systemu plików dla danego procesu. Proces z " |
| 1993 |
"przywilejem B<CAP_LEASE> (ang. capability) może ustanawiać dzierżawy na " |
| 1994 |
"dowolnych plikach." |
| 1995 |
|
| 1996 |
#. type: TP |
| 1997 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1998 |
#, no-wrap |
| 1999 |
msgid "B<F_GETLEASE> (I<void>)" |
| 2000 |
msgstr "B<F_GETLEASE> (I<void>)" |
| 2001 |
|
| 2002 |
#. type: Plain text |
| 2003 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2004 |
msgid "" |
| 2005 |
"Indicates what type of lease is associated with the file descriptor I<fd> by " |
| 2006 |
"returning either B<F_RDLCK>, B<F_WRLCK>, or B<F_UNLCK>, indicating, " |
| 2007 |
"respectively, a read lease , a write lease, or no lease. I<arg> is ignored." |
| 2008 |
msgstr "" |
| 2009 |
"Wskazuje rodzaj dzierżawy związanej z deskryptorem pliku I<fd>, zwracając " |
| 2010 |
"B<F_RDLCK>, B<F_WRLCK>, albo B<F_UNLCK>, wskazując (odpowiednio) dzierżawę: " |
| 2011 |
"odczytu, zapisu lub brak dzierżawy. I<arg> jest ignorowane." |
| 2012 |
|
| 2013 |
#. type: Plain text |
| 2014 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2015 |
msgid "" |
| 2016 |
"When a process (the \"lease breaker\") performs an B<open>(2) or " |
| 2017 |
"B<truncate>(2) that conflicts with a lease established via B<F_SETLEASE>, " |
| 2018 |
"the system call is blocked by the kernel and the kernel notifies the lease " |
| 2019 |
"holder by sending it a signal (B<SIGIO> by default). The lease holder " |
| 2020 |
"should respond to receipt of this signal by doing whatever cleanup is " |
| 2021 |
"required in preparation for the file to be accessed by another process " |
| 2022 |
"(e.g., flushing cached buffers) and then either remove or downgrade its " |
| 2023 |
"lease. A lease is removed by performing an B<F_SETLEASE> operation " |
| 2024 |
"specifying I<arg> as B<F_UNLCK>. If the lease holder currently holds a " |
| 2025 |
"write lease on the file, and the lease breaker is opening the file for " |
| 2026 |
"reading, then it is sufficient for the lease holder to downgrade the lease " |
| 2027 |
"to a read lease. This is done by performing an B<F_SETLEASE> operation " |
| 2028 |
"specifying I<arg> as B<F_RDLCK>." |
| 2029 |
msgstr "" |
| 2030 |
"Gdy proces (\\[Bq]zrywający dzierżawę\\[rq]) wykona operację B<open>(2) lub " |
| 2031 |
"B<truncate>(2) kolidującą z dzierżawą ustanowioną poprzez B<F_SETLEASE>, " |
| 2032 |
"wywołanie funkcji systemowej jest blokowane przez jądro, a jądro zawiadamia " |
| 2033 |
"dzierżawcę poprzez wysłanie sygnału (domyślnie B<SIGIO>). Dzierżawca " |
| 2034 |
"powinien odpowiedzieć na otrzymanie tego sygnału wykonując porządki " |
| 2035 |
"niezbędne dla przygotowania pliku do dostępu przez inny proces (np. " |
| 2036 |
"zrzucenie buforów) a następnie usunięcie lub zmniejszenie swojej dzierżawy. " |
| 2037 |
"Dzierżawa jest usuwana poprzez wykonanie operacji B<F_SETLEASE> podając jako " |
| 2038 |
"I<arg> B<F_UNLCK>. Jeśli dzierżawca aktualnie utrzymuje dzierżawę zapisu na " |
| 2039 |
"pliku, a zrywający dzierżawę otwiera plik do odczytu, to wystarczające jest " |
| 2040 |
"zmniejszenie dzierżawy przez dzierżawcę do dzierżawy odczytu. Dokonuje się " |
| 2041 |
"tego poprzez wykonanie operacji B<F_SETLEASE> podając jako I<arg> B<F_RDLCK>." |
| 2042 |
|
| 2043 |
#. type: Plain text |
| 2044 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2045 |
msgid "" |
| 2046 |
"If the lease holder fails to downgrade or remove the lease within the number " |
| 2047 |
"of seconds specified in I</proc/sys/fs/lease-break-time>, then the kernel " |
| 2048 |
"forcibly removes or downgrades the lease holder's lease." |
| 2049 |
msgstr "" |
| 2050 |
"Jeśli dzierżawca nie zmniejszy lub nie zwolni dzierżawy w ciągu podanej w I</" |
| 2051 |
"proc/sys/fs/lease-break-time> liczby sekund, to jądro przymusowo usunie lub " |
| 2052 |
"zmniejszy dzierżawę dzierżawcy." |
| 2053 |
|
| 2054 |
#. type: Plain text |
| 2055 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2056 |
msgid "" |
| 2057 |
"Once a lease break has been initiated, B<F_GETLEASE> returns the target " |
| 2058 |
"lease type (either B<F_RDLCK> or B<F_UNLCK>, depending on what would be " |
| 2059 |
"compatible with the lease breaker) until the lease holder voluntarily " |
| 2060 |
"downgrades or removes the lease or the kernel forcibly does so after the " |
| 2061 |
"lease break timer expires." |
| 2062 |
msgstr "" |
| 2063 |
"Po zainicjowaniu zerwania dzierżawy, B<F_GETLEASE> zwraca docelowy typ " |
| 2064 |
"dzierżawy (B<F_RDLCK> albo B<F_UNLCK>, w zależności od tego, co byłoby " |
| 2065 |
"zgodne ze zrywającym dzierżawę) do momentu, gdy dzierżawca dobrowolnie nie " |
| 2066 |
"zmniejszy lub nie zwolni dzierżawy albo do momentu, gdy jądro tego nie " |
| 2067 |
"wymusi po upłynięciu czasu zerwania dzierżawy." |
| 2068 |
|
| 2069 |
#. type: Plain text |
| 2070 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2071 |
msgid "" |
| 2072 |
"Once the lease has been voluntarily or forcibly removed or downgraded, and " |
| 2073 |
"assuming the lease breaker has not unblocked its system call, the kernel " |
| 2074 |
"permits the lease breaker's system call to proceed." |
| 2075 |
msgstr "" |
| 2076 |
"Po dobrowolnym lub wymuszonym usunięciu lub zmniejszeniu dzierżawy, przy " |
| 2077 |
"założeniu, że wywołanie funkcji systemowej przez zrywającego dzierżawę nie " |
| 2078 |
"jest nieblokujące, jądro pozwala na kontynuację funkcji systemowej wywołanej " |
| 2079 |
"przez zrywającego dzierżawę." |
| 2080 |
|
| 2081 |
#. type: Plain text |
| 2082 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2083 |
msgid "" |
| 2084 |
"If the lease breaker's blocked B<open>(2) or B<truncate>(2) is interrupted " |
| 2085 |
"by a signal handler, then the system call fails with the error B<EINTR>, but " |
| 2086 |
"the other steps still occur as described above. If the lease breaker is " |
| 2087 |
"killed by a signal while blocked in B<open>(2) or B<truncate>(2), then the " |
| 2088 |
"other steps still occur as described above. If the lease breaker specifies " |
| 2089 |
"the B<O_NONBLOCK> flag when calling B<open>(2), then the call immediately " |
| 2090 |
"fails with the error B<EWOULDBLOCK>, but the other steps still occur as " |
| 2091 |
"described above." |
| 2092 |
msgstr "" |
| 2093 |
"Jeśli zablokowane wywołanie B<open>(2) lub B<truncate>(2) zrywającego " |
| 2094 |
"dzierżawę zostanie przerwane przez procedurę obsługi sygnału, to wywołanie " |
| 2095 |
"systemowe zawiedzie z błędem B<EINTR>, lecz inne kroki opisane wyżej, wciąż " |
| 2096 |
"zostaną przeprowadzone. Jeśli zrywający dzierżawę zostanie zabity sygnałem w " |
| 2097 |
"trakcie blokowania B<open>(2) lub B<truncate>(2), to inne kroki opisane " |
| 2098 |
"wyżej, wciąż zostaną przeprowadzone. Jeśli zrywający dzierżawę poda znacznik " |
| 2099 |
"B<O_NONBLOCK> przy wywoływaniu B<open>(2), to wywołanie zawiedzie " |
| 2100 |
"natychmiast z błędem B<EWOULDBLOCK>, lecz inne kroki opisane wyżej, wciąż " |
| 2101 |
"zostaną przeprowadzone." |
| 2102 |
|
| 2103 |
#. type: Plain text |
| 2104 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2105 |
msgid "" |
| 2106 |
"The default signal used to notify the lease holder is B<SIGIO>, but this can " |
| 2107 |
"be changed using the B<F_SETSIG> operation to B<fcntl>(). If a B<F_SETSIG> " |
| 2108 |
"operation is performed (even one specifying B<SIGIO>), and the signal " |
| 2109 |
"handler is established using B<SA_SIGINFO>, then the handler will receive a " |
| 2110 |
"I<siginfo_t> structure as its second argument, and the I<si_fd> field of " |
| 2111 |
"this argument will hold the file descriptor of the leased file that has been " |
| 2112 |
"accessed by another process. (This is useful if the caller holds leases " |
| 2113 |
"against multiple files.)" |
| 2114 |
msgstr "" |
| 2115 |
"Domyślnym sygnałem stosowanym do zawiadamiania dzierżawcy jest B<SIGIO>, " |
| 2116 |
"lecz można go zmienić za pomocą operacji B<F_SETSIG> w B<fcntl>(). Jeśli " |
| 2117 |
"wydano operację B<F_SETSIG> (nawet podając B<SIGIO>), a funkcja obsługi " |
| 2118 |
"sygnału została określona za pomocą B<SA_SIGINFO>, to ta funkcja obsługi " |
| 2119 |
"otrzyma jako drugi argument strukturę I<siginfo_t>, której pole I<si_fd> " |
| 2120 |
"będzie zawierać deskryptor pliku dzierżawionego pliku, do którego uzyskuje " |
| 2121 |
"dostęp inny proces (jest to przydatne, gdy wywołujący utrzymuje dzierżawy na " |
| 2122 |
"wielu plikach)." |
| 2123 |
|
| 2124 |
#. type: TP |
| 2125 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2126 |
#, no-wrap |
| 2127 |
msgid "B<F_NOTIFY> (I<int>)" |
| 2128 |
msgstr "B<F_NOTIFY> (I<int>)" |
| 2129 |
|
| 2130 |
#. type: Plain text |
| 2131 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2132 |
msgid "" |
| 2133 |
"(Linux 2.4 onward) Provide notification when the directory referred to by " |
| 2134 |
"I<fd> or any of the files that it contains is changed. The events to be " |
| 2135 |
"notified are specified in I<arg>, which is a bit mask specified by ORing " |
| 2136 |
"together zero or more of the following bits:" |
| 2137 |
msgstr "" |
| 2138 |
"(od Linuksa 2.4 wzwyż) Zapewnia powiadamianie o modyfikacji katalogu, do " |
| 2139 |
"którego odnosi się I<fd> lub o modyfikacji któregokolwiek z plików w tym " |
| 2140 |
"katalogu. Zdarzenia, powiadamianie o których ma nastąpić, są określone w " |
| 2141 |
"I<arg>, będącym maską bitową utworzoną jako suma logiczna (OR) zera lub " |
| 2142 |
"więcej spośród następujących bitów:" |
| 2143 |
|
| 2144 |
#. type: TP |
| 2145 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2146 |
#, no-wrap |
| 2147 |
msgid "B<DN_ACCESS>" |
| 2148 |
msgstr "B<DN_ACCESS>" |
| 2149 |
|
| 2150 |
#. type: Plain text |
| 2151 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2152 |
msgid "A file was accessed (B<read>(2), B<pread>(2), B<readv>(2), and similar)" |
| 2153 |
msgstr "" |
| 2154 |
"Uzyskano dostęp do pliku (B<read>(2), B<pread>(2), B<readv>(2) i podobne)" |
| 2155 |
|
| 2156 |
#. type: TP |
| 2157 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2158 |
#, no-wrap |
| 2159 |
msgid "B<DN_MODIFY>" |
| 2160 |
msgstr "B<DN_MODIFY>" |
| 2161 |
|
| 2162 |
#. type: Plain text |
| 2163 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2164 |
msgid "" |
| 2165 |
"A file was modified (B<write>(2), B<pwrite>(2), B<writev>(2), " |
| 2166 |
"B<truncate>(2), B<ftruncate>(2), and similar)." |
| 2167 |
msgstr "" |
| 2168 |
"Plik został zmodyfikowany (B<write>(2), B<pwrite>(2), B<writev>(2), " |
| 2169 |
"B<truncate>(2), B<ftruncate>(2) i podobne)." |
| 2170 |
|
| 2171 |
#. type: TP |
| 2172 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2173 |
#, no-wrap |
| 2174 |
msgid "B<DN_CREATE>" |
| 2175 |
msgstr "B<DN_CREATE>" |
| 2176 |
|
| 2177 |
#. type: Plain text |
| 2178 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2179 |
msgid "" |
| 2180 |
"A file was created (B<open>(2), B<creat>(2), B<mknod>(2), B<mkdir>(2), " |
| 2181 |
"B<link>(2), B<symlink>(2), B<rename>(2) into this directory)." |
| 2182 |
msgstr "" |
| 2183 |
"Utworzono plik (B<open>(2), B<creat>(2), B<mknod>(2), B<mkdir>(2), " |
| 2184 |
"B<link>(2), B<symlink>(2), B<rename>(2) w tym katalogu)." |
| 2185 |
|
| 2186 |
#. type: TP |
| 2187 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2188 |
#, no-wrap |
| 2189 |
msgid "B<DN_DELETE>" |
| 2190 |
msgstr "B<DN_DELETE>" |
| 2191 |
|
| 2192 |
#. type: Plain text |
| 2193 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2194 |
msgid "" |
| 2195 |
"A file was unlinked (B<unlink>(2), B<rename>(2) to another directory, " |
| 2196 |
"B<rmdir>(2))." |
| 2197 |
msgstr "" |
| 2198 |
"Usunięto pliku (B<unlink>(2), B<rename>(2) do innego katalogu, B<rmdir>(2))." |
| 2199 |
|
| 2200 |
#. type: TP |
| 2201 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2202 |
#, no-wrap |
| 2203 |
msgid "B<DN_RENAME>" |
| 2204 |
msgstr "B<DN_RENAME>" |
| 2205 |
|
| 2206 |
#. type: Plain text |
| 2207 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2208 |
msgid "A file was renamed within this directory (B<rename>(2))." |
| 2209 |
msgstr "Zmieniono nazwę w obrębie katalogu (B<rename>(2))." |
| 2210 |
|
| 2211 |
#. type: TP |
| 2212 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2213 |
#, no-wrap |
| 2214 |
msgid "B<DN_ATTRIB>" |
| 2215 |
msgstr "B<DN_ATTRIB>" |
| 2216 |
|
| 2217 |
#. type: Plain text |
| 2218 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2219 |
msgid "" |
| 2220 |
"The attributes of a file were changed (B<chown>(2), B<chmod>(2), " |
| 2221 |
"B<utime>(2), B<utimensat>(2), and similar)." |
| 2222 |
msgstr "" |
| 2223 |
"Zmieniono atrybuty pliku (B<chown>(2), B<chmod>(2), B<utime>(2), " |
| 2224 |
"B<utimensat>(2) i podobne)." |
| 2225 |
|
| 2226 |
#. type: Plain text |
| 2227 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2228 |
msgid "" |
| 2229 |
"(In order to obtain these definitions, the B<_GNU_SOURCE> feature test macro " |
| 2230 |
"must be defined before including I<any> header files.)" |
| 2231 |
msgstr "" |
| 2232 |
"(Uzyskanie tych definicji wymaga zdefiniowania makra sprawdzania cech " |
| 2233 |
"B<_GNU_SOURCE> przed włączeniem I<jakichkolwiek> plików nagłówkowych)." |
| 2234 |
|
| 2235 |
#. type: Plain text |
| 2236 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2237 |
msgid "" |
| 2238 |
"Directory notifications are normally \"one-shot\", and the application must " |
| 2239 |
"reregister to receive further notifications. Alternatively, if " |
| 2240 |
"B<DN_MULTISHOT> is included in I<arg>, then notification will remain in " |
| 2241 |
"effect until explicitly removed." |
| 2242 |
msgstr "" |
| 2243 |
"Powiadomienia dotyczące katalogów są zazwyczaj jednorazowe, więc aplikacja " |
| 2244 |
"musi się ponownie zarejestrować, aby otrzymać dalsze powiadomienia. " |
| 2245 |
"Alternatywnie, jeśli w I<arg> włączono B<DN_MULTISHOT>, to powiadomienia " |
| 2246 |
"będą dokonywane aż do ich jawnego usunięcia." |
| 2247 |
|
| 2248 |
#. The following does seem a poor API-design choice... |
| 2249 |
#. type: Plain text |
| 2250 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2251 |
msgid "" |
| 2252 |
"A series of B<F_NOTIFY> requests is cumulative, with the events in I<arg> " |
| 2253 |
"being added to the set already monitored. To disable notification of all " |
| 2254 |
"events, make an B<F_NOTIFY> call specifying I<arg> as 0." |
| 2255 |
msgstr "" |
| 2256 |
"Szereg wywołań podających B<DN_MULTISHOT> kumuluje się, przy czym zdarzenia " |
| 2257 |
"w I<arg> są dodawane logicznie do już monitorowanych. Aby wyłączyć " |
| 2258 |
"powiadamianie o jakichkolwiek zdarzeniach, należy w wywołaniu B<F_NOTIFY> " |
| 2259 |
"podać I<arg> równe 0." |
| 2260 |
|
| 2261 |
#. type: Plain text |
| 2262 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2263 |
msgid "" |
| 2264 |
"Notification occurs via delivery of a signal. The default signal is " |
| 2265 |
"B<SIGIO>, but this can be changed using the B<F_SETSIG> operation to " |
| 2266 |
"B<fcntl>(). (Note that B<SIGIO> is one of the nonqueuing standard signals; " |
| 2267 |
"switching to the use of a real-time signal means that multiple notifications " |
| 2268 |
"can be queued to the process.) In the latter case, the signal handler " |
| 2269 |
"receives a I<siginfo_t> structure as its second argument (if the handler was " |
| 2270 |
"established using B<SA_SIGINFO>) and the I<si_fd> field of this structure " |
| 2271 |
"contains the file descriptor which generated the notification (useful when " |
| 2272 |
"establishing notification on multiple directories)." |
| 2273 |
msgstr "" |
| 2274 |
"Powiadamianie odbywa się poprzez dostarczenie sygnału. Domyślnym sygnałem " |
| 2275 |
"jest B<SIGIO>, ale można go zmienić za pomocą operacji B<F_SETSIG> w " |
| 2276 |
"B<fcntl>() (proszę zauważyć, że B<SIGIO> jest jednym z sygnałów " |
| 2277 |
"standardowych niepodlegających kolejkowaniu; przełączenie się na sygnały " |
| 2278 |
"czasu rzeczywistego oznacza, że do procesu może być kolejkowane wiele " |
| 2279 |
"zawiadomień). W tym drugim przypadku, funkcja obsługi sygnału otrzymuje jako " |
| 2280 |
"swój drugi argument strukturę I<siginfo_t> (gdy funkcja obsługi sygnału " |
| 2281 |
"została określona za pomocą B<SA_SIGINFO>) a pole I<si_fd> tej struktury " |
| 2282 |
"zawiera deskryptor pliku, który spowodował powiadomienie (przydatne, gdy " |
| 2283 |
"utrzymywane są dzierżawy na wielu katalogach)." |
| 2284 |
|
| 2285 |
#. type: Plain text |
| 2286 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2287 |
msgid "" |
| 2288 |
"Especially when using B<DN_MULTISHOT>, a real time signal should be used for " |
| 2289 |
"notification, so that multiple notifications can be queued." |
| 2290 |
msgstr "" |
| 2291 |
"W szczególności, gdy używa się B<DN_MULTISHOT>, do zawiadamiania powinien " |
| 2292 |
"być stosowany sygnał czasu rzeczywistego, tak aby można było kolejkować " |
| 2293 |
"wiele zmian." |
| 2294 |
|
| 2295 |
#. type: Plain text |
| 2296 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2297 |
msgid "" |
| 2298 |
"B<NOTE:> New applications should use the I<inotify> interface (available " |
| 2299 |
"since Linux 2.6.13), which provides a much superior interface for obtaining " |
| 2300 |
"notifications of filesystem events. See B<inotify>(7)." |
| 2301 |
msgstr "" |
| 2302 |
"B<UWAGA:> Nowe aplikacje powinny korzystać z interfejsu I<inotify> " |
| 2303 |
"(dostępnego od Linuksa 2.6.13), który zapewnia o wiele lepszy interfejs do " |
| 2304 |
"uzyskiwania powiadomień o zdarzeniach w systemie plików. Zob. B<inotify>(7)." |
| 2305 |
|
| 2306 |
#. type: TP |
| 2307 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2308 |
#, no-wrap |
| 2309 |
msgid "B<F_SETPIPE_SZ> (I<int>; since Linux 2.6.35)" |
| 2310 |
msgstr "B<F_SETPIPE_SZ> (I<int>; od Linuksa 2.6.35)" |
| 2311 |
|
| 2312 |
#. type: Plain text |
| 2313 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2314 |
msgid "" |
| 2315 |
"Change the capacity of the pipe referred to by I<fd> to be at least I<arg> " |
| 2316 |
"bytes. An unprivileged process can adjust the pipe capacity to any value " |
| 2317 |
"between the system page size and the limit defined in I</proc/sys/fs/pipe-" |
| 2318 |
"max-size> (see B<proc>(5)). Attempts to set the pipe capacity below the " |
| 2319 |
"page size are silently rounded up to the page size. Attempts by an " |
| 2320 |
"unprivileged process to set the pipe capacity above the limit in I</proc/sys/" |
| 2321 |
"fs/pipe-max-size> yield the error B<EPERM>; a privileged process " |
| 2322 |
"(B<CAP_SYS_RESOURCE>) can override the limit." |
| 2323 |
msgstr "" |
| 2324 |
"Zmienia pojemność potoku, do którego odnosi się I<fd> na co najmniej I<arg> " |
| 2325 |
"bajtów. Proces nieuprzywilejowany może dostosować pojemność potoku na " |
| 2326 |
"dowolną wartość pomiędzy systemowym rozmiarem strony i limitem zdefiniowanym " |
| 2327 |
"w I</proc/sys/fs/pipe-max-size> (zob. B<proc>(5)). Próby ustawienia " |
| 2328 |
"pojemności potoku poniżej rozmiaru strony są po cichu zaokrąglane w górę, do " |
| 2329 |
"rozmiaru strony. Próby ustawienia przez proces nieuprzywilejowany rozmiaru " |
| 2330 |
"potoku powyżej limitu I</proc/sys/fs/pipe-max-size> prowadzą do błędu " |
| 2331 |
"B<EPERM>; proces uprzywilejowany (B<CAP_SYS_RESOURCE>) może przesłonić ten " |
| 2332 |
"limit." |
| 2333 |
|
| 2334 |
#. type: Plain text |
| 2335 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2336 |
msgid "" |
| 2337 |
"When allocating the buffer for the pipe, the kernel may use a capacity " |
| 2338 |
"larger than I<arg>, if that is convenient for the implementation. (In the " |
| 2339 |
"current implementation, the allocation is the next higher power-of-two page-" |
| 2340 |
"size multiple of the requested size.) The actual capacity (in bytes) that " |
| 2341 |
"is set is returned as the function result." |
| 2342 |
msgstr "" |
| 2343 |
"Przy przydzielaniu bufora dla potoku, jądro może użyć pojemności większej " |
| 2344 |
"niż I<arg>, gdy jest to wygodne ze względu na implementację (w bieżącej " |
| 2345 |
"implementacji, przydzielanie następuje do następnej wielokrotności będącej " |
| 2346 |
"potęgą dwójki, w stosunku do żądanego rozmiaru). Rzeczywista ustawiona " |
| 2347 |
"pojemność (w bajtach) jest zwracana jako wynik funkcji." |
| 2348 |
|
| 2349 |
#. type: Plain text |
| 2350 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2351 |
msgid "" |
| 2352 |
"Attempting to set the pipe capacity smaller than the amount of buffer space " |
| 2353 |
"currently used to store data produces the error B<EBUSY>." |
| 2354 |
msgstr "" |
| 2355 |
"Próby ustawienia pojemności potoku poniżej aktualnie używanego rozmiaru " |
| 2356 |
"bufora, używanego do przechowywania jego danych, poskutkuje błędem B<EBUSY>." |
| 2357 |
|
| 2358 |
#. type: Plain text |
| 2359 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2360 |
msgid "" |
| 2361 |
"Note that because of the way the pages of the pipe buffer are employed when " |
| 2362 |
"data is written to the pipe, the number of bytes that can be written may be " |
| 2363 |
"less than the nominal size, depending on the size of the writes." |
| 2364 |
msgstr "" |
| 2365 |
"Proszę zauważyć, że ze względu na sposób, w jaki wykorzystywane są strony " |
| 2366 |
"bufora potoku, przy zapisywaniu danych do potoku, liczba możliwych do " |
| 2367 |
"zapisanych bajtów może być mniejsza, niż jego nominalny rozmiar, zależnie od " |
| 2368 |
"rozmiaru zapisów." |
| 2369 |
|
| 2370 |
#. type: TP |
| 2371 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2372 |
#, no-wrap |
| 2373 |
msgid "B<F_GETPIPE_SZ> (I<void>; since Linux 2.6.35)" |
| 2374 |
msgstr "B<F_GETPIPE_SZ> (I<void>; od Linuksa 2.6.35)" |
| 2375 |
|
| 2376 |
#. type: Plain text |
| 2377 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2378 |
msgid "" |
| 2379 |
"Return (as the function result) the capacity of the pipe referred to by " |
| 2380 |
"I<fd>." |
| 2381 |
msgstr "" |
| 2382 |
"Zwraca (jako wynik funkcji) rozmiar potoku, do którego odnosi się I<fd>." |
| 2383 |
|
| 2384 |
#. type: Plain text |
| 2385 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2386 |
msgid "" |
| 2387 |
"File seals limit the set of allowed operations on a given file. For each " |
| 2388 |
"seal that is set on a file, a specific set of operations will fail with " |
| 2389 |
"B<EPERM> on this file from now on. The file is said to be sealed. The " |
| 2390 |
"default set of seals depends on the type of the underlying file and " |
| 2391 |
"filesystem. For an overview of file sealing, a discussion of its purpose, " |
| 2392 |
"and some code examples, see B<memfd_create>(2)." |
| 2393 |
msgstr "" |
| 2394 |
"Pieczęcie pliku ograniczają zestaw dozwolonych operacji na danym pliku. Od " |
| 2395 |
"momentu ustawienia pieczęci na pliku, określony zestaw operacji na tym pliku " |
| 2396 |
"zawiedzie z błędem B<EPERM>. Taki plik określany jest jako zapieczętowany " |
| 2397 |
"(ang. sealed). Domyślny zestaw pieczęci zależy od typu pliku i systemu " |
| 2398 |
"plików. Przegląd pieczętowania plików, opis celowości i nieco przykładów " |
| 2399 |
"kodu zawarto w podręczniku B<memfd_create>(2)." |
| 2400 |
|
| 2401 |
#. type: Plain text |
| 2402 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2403 |
msgid "" |
| 2404 |
"Currently, file seals can be applied only to a file descriptor returned by " |
| 2405 |
"B<memfd_create>(2) (if the B<MFD_ALLOW_SEALING> was employed). On other " |
| 2406 |
"filesystems, all B<fcntl>() operations that operate on seals will return " |
| 2407 |
"B<EINVAL>." |
| 2408 |
msgstr "" |
| 2409 |
"Obecnie, pieczęcie pliku można zastosować tylko na deskryptorze pliku " |
| 2410 |
"zwróconym przez B<memfd_create>(2) (jeśli użyto B<MFD_ALLOW_SEALING>). W " |
| 2411 |
"innych systemach plików, wszystkie operacje B<fcntl>() działające na " |
| 2412 |
"pieczęciach zwrócą B<EINVAL>." |
| 2413 |
|
| 2414 |
#. type: Plain text |
| 2415 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2416 |
msgid "" |
| 2417 |
"Seals are a property of an inode. Thus, all open file descriptors referring " |
| 2418 |
"to the same inode share the same set of seals. Furthermore, seals can never " |
| 2419 |
"be removed, only added." |
| 2420 |
msgstr "" |
| 2421 |
"Pieczęcie są właściwością i-węzła. Z tego powodu, wszystkie opisy otwartego " |
| 2422 |
"pliku (OFD) odnoszące się do tego samego i-węzła dzielą ten sam zestaw " |
| 2423 |
"pieczęci. Co więcej, pieczęci nigdy nie można usunąć, można je jedynie " |
| 2424 |
"dodawać." |
| 2425 |
|
| 2426 |
#. type: TP |
| 2427 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2428 |
#, no-wrap |
| 2429 |
msgid "B<F_ADD_SEALS> (I<int>; since Linux 3.17)" |
| 2430 |
msgstr "B<F_ADD_SEALS> (I<int>; od Linuksa 3.17)" |
| 2431 |
|
| 2432 |
#. type: Plain text |
| 2433 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2434 |
msgid "" |
| 2435 |
"Add the seals given in the bit-mask argument I<arg> to the set of seals of " |
| 2436 |
"the inode referred to by the file descriptor I<fd>. Seals cannot be removed " |
| 2437 |
"again. Once this call succeeds, the seals are enforced by the kernel " |
| 2438 |
"immediately. If the current set of seals includes B<F_SEAL_SEAL> (see " |
| 2439 |
"below), then this call will be rejected with B<EPERM>. Adding a seal that " |
| 2440 |
"is already set is a no-op, in case B<F_SEAL_SEAL> is not set already. In " |
| 2441 |
"order to place a seal, the file descriptor I<fd> must be writable." |
| 2442 |
msgstr "" |
| 2443 |
"Dodaje pieczęcie przekazane w argumencie I<arg>, będącym maską bitową, do " |
| 2444 |
"zestawu pieczęci i-węzła, do którego odnosi się deskryptor pliku I<fd>. " |
| 2445 |
"Pieczęci nie można usunąć. Jeśli wywołanie się powiedzie, pieczęcie są " |
| 2446 |
"natychmiast stosowane przez jądro. Jeśli aktualny zestaw pieczęci obejmuje " |
| 2447 |
"B<F_SEAL_SEAL> (zob. niżej), to wywołanie to zostanie odrzucone z błędem " |
| 2448 |
"B<EPERM>. Dodanie pieczęci, która jest już ustawiona nie ma skutku, o ile " |
| 2449 |
"nie ustawiono B<F_SEAL_SEAL>. Do umieszczenia pieczęci, deskryptor pliku " |
| 2450 |
"I<fd> musi być zapisywalny." |
| 2451 |
|
| 2452 |
#. type: TP |
| 2453 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2454 |
#, no-wrap |
| 2455 |
msgid "B<F_GET_SEALS> (I<void>; since Linux 3.17)" |
| 2456 |
msgstr "B<F_GET_SEALS> (I<void>; od Linuksa 3.17)" |
| 2457 |
|
| 2458 |
#. type: Plain text |
| 2459 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2460 |
msgid "" |
| 2461 |
"Return (as the function result) the current set of seals of the inode " |
| 2462 |
"referred to by I<fd>. If no seals are set, 0 is returned. If the file does " |
| 2463 |
"not support sealing, -1 is returned and I<errno> is set to B<EINVAL>." |
| 2464 |
msgstr "" |
| 2465 |
"Zwraca (jako wynik funkcji) bieżący zestaw pieczęci i-węzła, do którego " |
| 2466 |
"odnosi się I<fd>. Jeśli nie ma ustawionych pieczęci, zwracane jest 0. Jeśli " |
| 2467 |
"plik nie obsługuje pieczętowania, zwracane jest -1, a I<errno> jest " |
| 2468 |
"ustawiane na B<EINVAL>." |
| 2469 |
|
| 2470 |
#. type: Plain text |
| 2471 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2472 |
msgid "The following seals are available:" |
| 2473 |
msgstr "Dostępne są następujące pieczęcie:" |
| 2474 |
|
| 2475 |
#. type: TP |
| 2476 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2477 |
#, no-wrap |
| 2478 |
msgid "B<F_SEAL_SEAL>" |
| 2479 |
msgstr "B<F_SEAL_SEAL>" |
| 2480 |
|
| 2481 |
#. type: Plain text |
| 2482 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2483 |
msgid "" |
| 2484 |
"If this seal is set, any further call to B<fcntl>() with B<F_ADD_SEALS> " |
| 2485 |
"fails with the error B<EPERM>. Therefore, this seal prevents any " |
| 2486 |
"modifications to the set of seals itself. If the initial set of seals of a " |
| 2487 |
"file includes B<F_SEAL_SEAL>, then this effectively causes the set of seals " |
| 2488 |
"to be constant and locked." |
| 2489 |
msgstr "" |
| 2490 |
"Jeśli ta pieczęć jest ustawiona, każde kolejne wywołanie B<fcntl>() z " |
| 2491 |
"B<F_ADD_SEALS> zawiedzie z błędem B<EPERM>. Ta pieczęć zapobiega zatem " |
| 2492 |
"wszelkim modyfikacjom samego zestawu pieczęci. Jeśli początkowy zestaw " |
| 2493 |
"pieczęci pliku obejmuje B<F_SEAL_SEAL>, to powoduje to efektywne ustawienie " |
| 2494 |
"stałego i zablokowanego zestawu pieczęci." |
| 2495 |
|
| 2496 |
#. type: TP |
| 2497 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2498 |
#, no-wrap |
| 2499 |
msgid "B<F_SEAL_SHRINK>" |
| 2500 |
msgstr "B<F_SEAL_SHRINK>" |
| 2501 |
|
| 2502 |
#. type: Plain text |
| 2503 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2504 |
msgid "" |
| 2505 |
"If this seal is set, the file in question cannot be reduced in size. This " |
| 2506 |
"affects B<open>(2) with the B<O_TRUNC> flag as well as B<truncate>(2) and " |
| 2507 |
"B<ftruncate>(2). Those calls fail with B<EPERM> if you try to shrink the " |
| 2508 |
"file in question. Increasing the file size is still possible." |
| 2509 |
msgstr "" |
| 2510 |
"Jeśli ta pieczęć jest ustawiona, rozmiar przedmiotowego pliku nie może ulec " |
| 2511 |
"zmniejszeniu. Dotyczy to B<open>(2) ze znacznikiem B<O_TRUNC>, jak również " |
| 2512 |
"B<truncate>(2) i B<ftruncate>(2). Jeśli spróbuje się zmniejszyć " |
| 2513 |
"zapieczętowany w ten sposób plik, wywołania te zawiodą z błędem B<EPERM>. " |
| 2514 |
"Zwiększenie rozmiaru pliku jest wciąż możliwe." |
| 2515 |
|
| 2516 |
#. type: TP |
| 2517 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2518 |
#, no-wrap |
| 2519 |
msgid "B<F_SEAL_GROW>" |
| 2520 |
msgstr "B<F_SEAL_GROW>" |
| 2521 |
|
| 2522 |
#. type: Plain text |
| 2523 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2524 |
msgid "" |
| 2525 |
"If this seal is set, the size of the file in question cannot be increased. " |
| 2526 |
"This affects B<write>(2) beyond the end of the file, B<truncate>(2), " |
| 2527 |
"B<ftruncate>(2), and B<fallocate>(2). These calls fail with B<EPERM> if you " |
| 2528 |
"use them to increase the file size. If you keep the size or shrink it, " |
| 2529 |
"those calls still work as expected." |
| 2530 |
msgstr "" |
| 2531 |
"Jeśli ta pieczęć jest ustawiona, rozmiar przedmiotowego pliku nie może ulec " |
| 2532 |
"zwiększeniu. Dotyczy to zapisu za pomocą B<write>(2) poza koniec pliku, " |
| 2533 |
"B<truncate>(2), B<ftruncate>(2) oraz B<fallocate>(2). Jeśli spróbuje się " |
| 2534 |
"zwiększyć zapieczętowany w ten sposób plik, wywołania te zawiodą z błędem " |
| 2535 |
"B<EPERM>. Jeśli rozmiar pliku nie zmieni się lub ulegnie zmniejszeniu, " |
| 2536 |
"opisywane wywołania będą działać zgodnie z oczekiwaniami." |
| 2537 |
|
| 2538 |
#. type: TP |
| 2539 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2540 |
#, no-wrap |
| 2541 |
msgid "B<F_SEAL_WRITE>" |
| 2542 |
msgstr "B<F_SEAL_WRITE>" |
| 2543 |
|
| 2544 |
#. One or more other seals are typically used with F_SEAL_WRITE |
| 2545 |
#. because, given a file with the F_SEAL_WRITE seal set, then, |
| 2546 |
#. while it would no longer be possible to (say) write zeros into |
| 2547 |
#. the last 100 bytes of a file, it would still be possible |
| 2548 |
#. to (say) shrink the file by 100 bytes using ftruncate(), and |
| 2549 |
#. then increase the file size by 100 bytes, which would have |
| 2550 |
#. the effect of replacing the last hundred bytes by zeros. |
| 2551 |
#. type: Plain text |
| 2552 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2553 |
msgid "" |
| 2554 |
"If this seal is set, you cannot modify the contents of the file. Note that " |
| 2555 |
"shrinking or growing the size of the file is still possible and allowed. " |
| 2556 |
"Thus, this seal is normally used in combination with one of the other " |
| 2557 |
"seals. This seal affects B<write>(2) and B<fallocate>(2) (only in " |
| 2558 |
"combination with the B<FALLOC_FL_PUNCH_HOLE> flag). Those calls fail with " |
| 2559 |
"B<EPERM> if this seal is set. Furthermore, trying to create new shared, " |
| 2560 |
"writable memory-mappings via B<mmap>(2) will also fail with B<EPERM>." |
| 2561 |
msgstr "" |
| 2562 |
"Jeśli ta pieczęć jest ustawiona, nie można modyfikować zawartości pliku. " |
| 2563 |
"Proszę zwrócić uwagę, że zmniejszenie lub zwiększenie rozmiaru pliku jest " |
| 2564 |
"wciąż możliwe i dozwolone. Z tego względu, pieczęć ta jest zwykle używana w " |
| 2565 |
"połączeniu z innymi pieczęciami. Pieczęć wpływa na B<write>(2) i " |
| 2566 |
"B<fallocate>(2) (tylko w połączeniu ze znacznikiem B<FALLOC_FL_PUNCH_HOLE>). " |
| 2567 |
"Jeśli pieczęć jest ustawiona, wywołania te zawiodą z błędem B<EPERM>. Co " |
| 2568 |
"więcej, utworzenie nowego wspólnego, zapisywalnego przypisania pamięci za " |
| 2569 |
"pomocą B<mmap>(2) również zawiedzie z błędem B<EPERM>." |
| 2570 |
|
| 2571 |
#. type: Plain text |
| 2572 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2573 |
msgid "" |
| 2574 |
"Using the B<F_ADD_SEALS> operation to set the B<F_SEAL_WRITE> seal fails " |
| 2575 |
"with B<EBUSY> if any writable, shared mapping exists. Such mappings must be " |
| 2576 |
"unmapped before you can add this seal. Furthermore, if there are any " |
| 2577 |
"asynchronous I/O operations (B<io_submit>(2)) pending on the file, all " |
| 2578 |
"outstanding writes will be discarded." |
| 2579 |
msgstr "" |
| 2580 |
"Użycie operacji B<F_ADD_SEALS> do ustawienia pieczęci B<F_SEAL_WRITE> " |
| 2581 |
"zawiedzie z błędem B<EBUSY>, jeśli istnieją zapisywalne, wspólne przypisania " |
| 2582 |
"pamięci. Przed dodaniem tej pieczęci konieczne jest ich odmapowanie. " |
| 2583 |
"Ponadto, jeśli wobec pliku istnieją jakieś oczekujące asynchroniczne " |
| 2584 |
"operacje wejścia/wyjścia (B<io_submit>(2)), to wszystkie pozostałe zapisy " |
| 2585 |
"zostaną odrzucone." |
| 2586 |
|
| 2587 |
#. type: TP |
| 2588 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2589 |
#, no-wrap |
| 2590 |
msgid "B<F_SEAL_FUTURE_WRITE> (since Linux 5.1)" |
| 2591 |
msgstr "B<F_SEAL_FUTURE_WRITE> (od Linuksa 5.1)" |
| 2592 |
|
| 2593 |
#. type: Plain text |
| 2594 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2595 |
msgid "" |
| 2596 |
"The effect of this seal is similar to B<F_SEAL_WRITE>, but the contents of " |
| 2597 |
"the file can still be modified via shared writable mappings that were " |
| 2598 |
"created prior to the seal being set. Any attempt to create a new writable " |
| 2599 |
"mapping on the file via B<mmap>(2) will fail with B<EPERM>. Likewise, an " |
| 2600 |
"attempt to write to the file via B<write>(2) will fail with B<EPERM>." |
| 2601 |
msgstr "" |
| 2602 |
"Skutek zastosowania tej pieczęci jest podobny do B<F_SEAL_WRITE>, lecz " |
| 2603 |
"zawartość pliku można wciąż zmodyfikować za pomocą wspólnych, zapisywalnych " |
| 2604 |
"przypisań pamięci, które utworzono przed ustawieniem pieczęci. Próba " |
| 2605 |
"utworzenia nowego zapisywalnego przypisania na pliku za pomocą B<mmap>(2), " |
| 2606 |
"zawiedzie z błędem B<EPERM>. Podobnie, próba zapisu do pliku za pomocą " |
| 2607 |
"B<write>(2) również zawiedzie z błędem B<EPERM>." |
| 2608 |
|
| 2609 |
#. type: Plain text |
| 2610 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2611 |
msgid "" |
| 2612 |
"Using this seal, one process can create a memory buffer that it can continue " |
| 2613 |
"to modify while sharing that buffer on a \"read-only\" basis with other " |
| 2614 |
"processes." |
| 2615 |
msgstr "" |
| 2616 |
"Korzystając z tej pieczęci, proces może utworzyć bufor pamięci, który będzie " |
| 2617 |
"mógł wciąż modyfikować, dzieląc go jednocześnie na zasadzie \\[Bq]tylko do " |
| 2618 |
"odczytu\\[rq] z innymi procesami." |
| 2619 |
|
| 2620 |
#. type: Plain text |
| 2621 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2622 |
msgid "" |
| 2623 |
"Write lifetime hints can be used to inform the kernel about the relative " |
| 2624 |
"expected lifetime of writes on a given inode or via a particular open file " |
| 2625 |
"description. (See B<open>(2) for an explanation of open file " |
| 2626 |
"descriptions.) In this context, the term \"write lifetime\" means the " |
| 2627 |
"expected time the data will live on media, before being overwritten or " |
| 2628 |
"erased." |
| 2629 |
msgstr "" |
| 2630 |
"Do poinformowania jądra o oczekiwanym, względnym czasie istnienia zapisów do " |
| 2631 |
"danego i-węzła lub za pomocą opisu otwartego pliku (OFD; więcej informacji o " |
| 2632 |
"opisach otwartego pliku w podręczniku B<open>(2)) można użyć wskazówek czasu " |
| 2633 |
"istnienia zapisu. W tym kontekście, pojęcie \\[Bq]czas istnienia zapisu\\" |
| 2634 |
"[rq] oznacza oczekiwany czas, jaki dane będą istniały na nośniku, przed ich " |
| 2635 |
"nadpisaniem lub usunięciem." |
| 2636 |
|
| 2637 |
#. type: Plain text |
| 2638 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2639 |
msgid "" |
| 2640 |
"An application may use the different hint values specified below to separate " |
| 2641 |
"writes into different write classes, so that multiple users or applications " |
| 2642 |
"running on a single storage back-end can aggregate their I/O patterns in a " |
| 2643 |
"consistent manner. However, there are no functional semantics implied by " |
| 2644 |
"these flags, and different I/O classes can use the write lifetime hints in " |
| 2645 |
"arbitrary ways, so long as the hints are used consistently." |
| 2646 |
msgstr "" |
| 2647 |
"Aplikacja może korzystać z różnych, podanych niżej, wartości wskazówek, aby " |
| 2648 |
"podzielić zapisy na różne klasy zapisów, dzięki czemu wielu użytkowników lub " |
| 2649 |
"aplikacji działających na stacji z pojedynczym nośnikiem może zbierać swoje " |
| 2650 |
"wejścia/wyjścia w spójny sposób. Jednak znaczniki te nie udostępniają " |
| 2651 |
"żadnego funkcjonalnego zachowania, a różne klasy wejścia/wyjścia mogą używać " |
| 2652 |
"wskazówek o czasie trwania zapisu w arbitralny sposób dopóki tylko wskazówki " |
| 2653 |
"są stosowane konsekwentnie." |
| 2654 |
|
| 2655 |
#. type: Plain text |
| 2656 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2657 |
msgid "The following operations can be applied to the file descriptor, I<fd>:" |
| 2658 |
msgstr "Do deskryptora I<fd> można zastosować następujące operacje:" |
| 2659 |
|
| 2660 |
#. type: TP |
| 2661 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2662 |
#, no-wrap |
| 2663 |
msgid "B<F_GET_RW_HINT> (I<uint64_t *>; since Linux 4.13)" |
| 2664 |
msgstr "B<F_GET_RW_HINT> (I<uint64_t *>; od Linuksa 4.13)" |
| 2665 |
|
| 2666 |
#. type: Plain text |
| 2667 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2668 |
msgid "" |
| 2669 |
"Returns the value of the read/write hint associated with the underlying " |
| 2670 |
"inode referred to by I<fd>." |
| 2671 |
msgstr "" |
| 2672 |
"Zwraca wartość wskazówki odczytu/zapisu powiązanej z i-węzłem, do którego " |
| 2673 |
"odnosi się I<fd>." |
| 2674 |
|
| 2675 |
#. type: TP |
| 2676 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2677 |
#, no-wrap |
| 2678 |
msgid "B<F_SET_RW_HINT> (I<uint64_t *>; since Linux 4.13)" |
| 2679 |
msgstr "B<F_SET_RW_HINT> (I<uint64_t *>; od Linuksa 4.13)" |
| 2680 |
|
| 2681 |
#. type: Plain text |
| 2682 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2683 |
msgid "" |
| 2684 |
"Sets the read/write hint value associated with the underlying inode referred " |
| 2685 |
"to by I<fd>. This hint persists until either it is explicitly modified or " |
| 2686 |
"the underlying filesystem is unmounted." |
| 2687 |
msgstr "" |
| 2688 |
"Ustawia wartość wskazówki odczytu/zapisu powiązanej z i-węzłem, do którego " |
| 2689 |
"odnosi się I<fd>. Wskazówka ta będzie istniała do momentu jej jawnej " |
| 2690 |
"modyfikacji lub do momentu odmontowania przedmiotowego systemu plików." |
| 2691 |
|
| 2692 |
#. type: TP |
| 2693 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2694 |
#, no-wrap |
| 2695 |
msgid "B<F_GET_FILE_RW_HINT> (I<uint64_t *>; since Linux 4.13)" |
| 2696 |
msgstr "B<F_GET_FILE_RW_HINT> (I<uint64_t *>; od Linuksa 4.13)" |
| 2697 |
|
| 2698 |
#. type: Plain text |
| 2699 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2700 |
msgid "" |
| 2701 |
"Returns the value of the read/write hint associated with the open file " |
| 2702 |
"description referred to by I<fd>." |
| 2703 |
msgstr "" |
| 2704 |
"Zwraca wartość wskazówki odczytu/zapisu powiązanej z opisem otwartego pliku " |
| 2705 |
"(OFD), do którego odnosi się I<fd>." |
| 2706 |
|
| 2707 |
#. type: TP |
| 2708 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2709 |
#, no-wrap |
| 2710 |
msgid "B<F_SET_FILE_RW_HINT> (I<uint64_t *>; since Linux 4.13)" |
| 2711 |
msgstr "B<F_SET_FILE_RW_HINT> (I<uint64_t *>; od Linuksa 4.13)" |
| 2712 |
|
| 2713 |
#. type: Plain text |
| 2714 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2715 |
msgid "" |
| 2716 |
"Sets the read/write hint value associated with the open file description " |
| 2717 |
"referred to by I<fd>." |
| 2718 |
msgstr "" |
| 2719 |
"Ustawia wartość wskazówki odczytu/zapisu powiązanej z opisem otwartego pliku " |
| 2720 |
"(OFD), do którego odnosi się I<fd>." |
| 2721 |
|
| 2722 |
#. type: Plain text |
| 2723 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2724 |
msgid "" |
| 2725 |
"If an open file description has not been assigned a read/write hint, then it " |
| 2726 |
"shall use the value assigned to the inode, if any." |
| 2727 |
msgstr "" |
| 2728 |
"Jeśli opisowi otwartego pliku nie przypisano wskazówki odczytu/zapisu, " |
| 2729 |
"powinien on użyć wartości przypisanej i-węzłowi, jeśli taka istnieje." |
| 2730 |
|
| 2731 |
#. type: Plain text |
| 2732 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2733 |
msgid "The following read/write hints are valid since Linux 4.13:" |
| 2734 |
msgstr "Od Linuksa 4.13 prawidłowe są następujące wskazówki odczytu/zapisu:" |
| 2735 |
|
| 2736 |
#. type: TP |
| 2737 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2738 |
#, no-wrap |
| 2739 |
msgid "B<RWH_WRITE_LIFE_NOT_SET>" |
| 2740 |
msgstr "B<RWH_WRITE_LIFE_NOT_SET>" |
| 2741 |
|
| 2742 |
#. type: Plain text |
| 2743 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2744 |
msgid "No specific hint has been set. This is the default value." |
| 2745 |
msgstr "Nie ustawiono żadnej wskazówki. Jest to wartość domyślna." |
| 2746 |
|
| 2747 |
#. type: TP |
| 2748 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2749 |
#, no-wrap |
| 2750 |
msgid "B<RWH_WRITE_LIFE_NONE>" |
| 2751 |
msgstr "B<RWH_WRITE_LIFE_NONE>" |
| 2752 |
|
| 2753 |
#. type: Plain text |
| 2754 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2755 |
msgid "No specific write lifetime is associated with this file or inode." |
| 2756 |
msgstr "Nie ustawiono wskazówki zapisu z danym plikiem lub i-węzłem." |
| 2757 |
|
| 2758 |
#. type: TP |
| 2759 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2760 |
#, no-wrap |
| 2761 |
msgid "B<RWH_WRITE_LIFE_SHORT>" |
| 2762 |
msgstr "B<RWH_WRITE_LIFE_SHORT>" |
| 2763 |
|
| 2764 |
#. type: Plain text |
| 2765 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2766 |
msgid "" |
| 2767 |
"Data written to this inode or via this open file description is expected to " |
| 2768 |
"have a short lifetime." |
| 2769 |
msgstr "" |
| 2770 |
"Oczekuje się, że dane zapisane do tego i-węzła lub za pomocą tego opisu " |
| 2771 |
"otwartego pliku, będą istniały krótko." |
| 2772 |
|
| 2773 |
#. type: TP |
| 2774 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2775 |
#, no-wrap |
| 2776 |
msgid "B<RWH_WRITE_LIFE_MEDIUM>" |
| 2777 |
msgstr "B<RWH_WRITE_LIFE_MEDIUM>" |
| 2778 |
|
| 2779 |
#. type: Plain text |
| 2780 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2781 |
msgid "" |
| 2782 |
"Data written to this inode or via this open file description is expected to " |
| 2783 |
"have a lifetime longer than data written with B<RWH_WRITE_LIFE_SHORT>." |
| 2784 |
msgstr "" |
| 2785 |
"Oczekuje się, że dane zapisane do tego i-węzła lub za pomocą tego opisu " |
| 2786 |
"otwartego pliku, będą istniały dłużej, niż dane zapisane ze wskazówką " |
| 2787 |
"B<RWH_WRITE_LIFE_SHORT>." |
| 2788 |
|
| 2789 |
#. type: TP |
| 2790 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2791 |
#, no-wrap |
| 2792 |
msgid "B<RWH_WRITE_LIFE_LONG>" |
| 2793 |
msgstr "B<RWH_WRITE_LIFE_LONG>" |
| 2794 |
|
| 2795 |
#. type: Plain text |
| 2796 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2797 |
msgid "" |
| 2798 |
"Data written to this inode or via this open file description is expected to " |
| 2799 |
"have a lifetime longer than data written with B<RWH_WRITE_LIFE_MEDIUM>." |
| 2800 |
msgstr "" |
| 2801 |
"Oczekuje się, że dane zapisane do tego i-węzła lub za pomocą tego opisu " |
| 2802 |
"otwartego pliku, będą istniały dłużej, niż dane zapisane ze wskazówką " |
| 2803 |
"B<RWH_WRITE_LIFE_MEDIUM>." |
| 2804 |
|
| 2805 |
#. type: TP |
| 2806 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2807 |
#, no-wrap |
| 2808 |
msgid "B<RWH_WRITE_LIFE_EXTREME>" |
| 2809 |
msgstr "B<RWH_WRITE_LIFE_EXTREME>" |
| 2810 |
|
| 2811 |
#. type: Plain text |
| 2812 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2813 |
msgid "" |
| 2814 |
"Data written to this inode or via this open file description is expected to " |
| 2815 |
"have a lifetime longer than data written with B<RWH_WRITE_LIFE_LONG>." |
| 2816 |
msgstr "" |
| 2817 |
"Oczekuje się, że dane zapisane do tego i-węzła lub za pomocą tego opisu " |
| 2818 |
"otwartego pliku, będą istniały dłużej, niż dane zapisane ze wskazówką " |
| 2819 |
"B<RWH_WRITE_LIFE_LONG>." |
| 2820 |
|
| 2821 |
#. type: Plain text |
| 2822 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2823 |
msgid "" |
| 2824 |
"All the write-specific hints are relative to each other, and no individual " |
| 2825 |
"absolute meaning should be attributed to them." |
| 2826 |
msgstr "" |
| 2827 |
"Wszystkie wskazówki dotyczące zapisu są jedynie relatywne względem siebie i " |
| 2828 |
"nie należy przypisywać im bezwzględnego znaczenia." |
| 2829 |
|
| 2830 |
#. type: Plain text |
| 2831 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2832 |
msgid "For a successful call, the return value depends on the operation:" |
| 2833 |
msgstr "Wartość zwracana po pomyślnym zakończeniu funkcji zależy od operacji:" |
| 2834 |
|
| 2835 |
#. type: TP |
| 2836 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2837 |
#, no-wrap |
| 2838 |
msgid "B<F_DUPFD>" |
| 2839 |
msgstr "B<F_DUPFD>" |
| 2840 |
|
| 2841 |
#. type: Plain text |
| 2842 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2843 |
msgid "The new file descriptor." |
| 2844 |
msgstr "Nowy deskryptor pliku." |
| 2845 |
|
| 2846 |
#. type: TP |
| 2847 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2848 |
#, no-wrap |
| 2849 |
msgid "B<F_GETFD>" |
| 2850 |
msgstr "B<F_GETFD>" |
| 2851 |
|
| 2852 |
#. type: Plain text |
| 2853 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2854 |
msgid "Value of file descriptor flags." |
| 2855 |
msgstr "Wartość znaczników deskryptora pliku." |
| 2856 |
|
| 2857 |
#. type: TP |
| 2858 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2859 |
#, no-wrap |
| 2860 |
msgid "B<F_GETFL>" |
| 2861 |
msgstr "B<F_GETFL>" |
| 2862 |
|
| 2863 |
#. type: Plain text |
| 2864 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2865 |
msgid "Value of file status flags." |
| 2866 |
msgstr "Wartość znaczników stanu pliku" |
| 2867 |
|
| 2868 |
#. type: TP |
| 2869 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2870 |
#, no-wrap |
| 2871 |
msgid "B<F_GETLEASE>" |
| 2872 |
msgstr "B<F_GETLEASE>" |
| 2873 |
|
| 2874 |
#. type: Plain text |
| 2875 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2876 |
msgid "Type of lease held on file descriptor." |
| 2877 |
msgstr "Typ dzierżawy ustanowionej na deskryptorze pliku." |
| 2878 |
|
| 2879 |
#. type: TP |
| 2880 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2881 |
#, no-wrap |
| 2882 |
msgid "B<F_GETOWN>" |
| 2883 |
msgstr "B<F_GETOWN>" |
| 2884 |
|
| 2885 |
#. type: Plain text |
| 2886 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2887 |
msgid "Value of file descriptor owner." |
| 2888 |
msgstr "Wartość właściciela deskryptora pliku." |
| 2889 |
|
| 2890 |
#. type: TP |
| 2891 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2892 |
#, no-wrap |
| 2893 |
msgid "B<F_GETSIG>" |
| 2894 |
msgstr "B<F_GETSIG>" |
| 2895 |
|
| 2896 |
#. type: Plain text |
| 2897 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2898 |
msgid "" |
| 2899 |
"Value of signal sent when read or write becomes possible, or zero for " |
| 2900 |
"traditional B<SIGIO> behavior." |
| 2901 |
msgstr "" |
| 2902 |
"Wartość sygnału wysłanego, gdy odczyt lub zapis staną się możliwe, lub zero, " |
| 2903 |
"dla tradycyjnego zachowania B<SIGIO>." |
| 2904 |
|
| 2905 |
#. type: TP |
| 2906 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2907 |
#, no-wrap |
| 2908 |
msgid "B<F_GETPIPE_SZ>" |
| 2909 |
msgstr "B<F_GETPIPE_SZ>" |
| 2910 |
|
| 2911 |
#. type: TQ |
| 2912 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2913 |
#, no-wrap |
| 2914 |
msgid "B<F_SETPIPE_SZ>" |
| 2915 |
msgstr "B<F_SETPIPE_SZ>" |
| 2916 |
|
| 2917 |
#. type: Plain text |
| 2918 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2919 |
msgid "The pipe capacity." |
| 2920 |
msgstr "Pojemność potoku." |
| 2921 |
|
| 2922 |
#. type: TP |
| 2923 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2924 |
#, no-wrap |
| 2925 |
msgid "B<F_GET_SEALS>" |
| 2926 |
msgstr "B<F_GET_SEALS>" |
| 2927 |
|
| 2928 |
#. type: Plain text |
| 2929 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2930 |
msgid "" |
| 2931 |
"A bit mask identifying the seals that have been set for the inode referred " |
| 2932 |
"to by I<fd>." |
| 2933 |
msgstr "" |
| 2934 |
"Mapa bitowa identyfikująca pieczęcie, które ustawiono dla i-węzła, do " |
| 2935 |
"którego odnosi się I<fd>." |
| 2936 |
|
| 2937 |
#. type: TP |
| 2938 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2939 |
#, no-wrap |
| 2940 |
msgid "All other operations" |
| 2941 |
msgstr "Wszystkie pozostałe operacje" |
| 2942 |
|
| 2943 |
#. type: Plain text |
| 2944 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2945 |
msgid "Zero." |
| 2946 |
msgstr "Zero." |
| 2947 |
|
| 2948 |
#. type: Plain text |
| 2949 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2950 |
msgid "" |
| 2951 |
"I<op> is B<F_SETLK> or B<F_SETLKW> and the file descriptor open mode doesn't " |
| 2952 |
"match with the type of lock requested." |
| 2953 |
msgstr "" |
| 2954 |
"I<op> wynosi B<F_SETLK> lub B<F_SETLKW> a tryb otwarcia deskryptora pliku " |
| 2955 |
"nie odpowiada rodzajowi żądanej blokady." |
| 2956 |
|
| 2957 |
#. type: TP |
| 2958 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2959 |
#, no-wrap |
| 2960 |
msgid "B<EBUSY>" |
| 2961 |
msgstr "B<EBUSY>" |
| 2962 |
|
| 2963 |
#. type: Plain text |
| 2964 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2965 |
msgid "" |
| 2966 |
"I<op> is B<F_SETPIPE_SZ> and the new pipe capacity specified in I<arg> is " |
| 2967 |
"smaller than the amount of buffer space currently used to store data in the " |
| 2968 |
"pipe." |
| 2969 |
msgstr "" |
| 2970 |
"I<op> wynosi B<F_SETPIPE_SZ>, a nowa pojemność potoku określona w I<arg> " |
| 2971 |
"jest mniejsza, niż przestrzeń bufora aktualnie zajęta do przechowywania " |
| 2972 |
"danych w potoku." |
| 2973 |
|
| 2974 |
#. type: Plain text |
| 2975 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2976 |
msgid "" |
| 2977 |
"I<op> is B<F_ADD_SEALS>, I<arg> includes B<F_SEAL_WRITE>, and there exists a " |
| 2978 |
"writable, shared mapping on the file referred to by I<fd>." |
| 2979 |
msgstr "" |
| 2980 |
"I<op> wynosi B<F_ADD_SEALS>, I<arg> zawiera B<F_SEAL_WRITE> i istnieje " |
| 2981 |
"zapisywalne, dzielone przypisanie pliku, do którego odnosi się I<fd>." |
| 2982 |
|
| 2983 |
#. type: TP |
| 2984 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2985 |
#, no-wrap |
| 2986 |
msgid "B<EDEADLK>" |
| 2987 |
msgstr "B<EDEADLK>" |
| 2988 |
|
| 2989 |
#. type: Plain text |
| 2990 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2991 |
msgid "" |
| 2992 |
"It was detected that the specified B<F_SETLKW> operation would cause a " |
| 2993 |
"deadlock." |
| 2994 |
msgstr "" |
| 2995 |
"Stwierdzono, że podana operacja B<F_SETLKW> spowodowałoby zakleszczenie " |
| 2996 |
"blokad." |
| 2997 |
|
| 2998 |
#. type: TP |
| 2999 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3000 |
#, no-wrap |
| 3001 |
msgid "B<EFAULT>" |
| 3002 |
msgstr "B<EFAULT>" |
| 3003 |
|
| 3004 |
#. type: Plain text |
| 3005 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3006 |
msgid "I<lock> is outside your accessible address space." |
| 3007 |
msgstr "" |
| 3008 |
"I<lock> znajduje się poza dostępną dla użytkownika przestrzenią adresową." |
| 3009 |
|
| 3010 |
#. type: TP |
| 3011 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3012 |
#, no-wrap |
| 3013 |
msgid "B<EINTR>" |
| 3014 |
msgstr "B<EINTR>" |
| 3015 |
|
| 3016 |
#. type: Plain text |
| 3017 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3018 |
msgid "" |
| 3019 |
"I<op> is B<F_SETLKW> or B<F_OFD_SETLKW> and the operation was interrupted by " |
| 3020 |
"a signal; see B<signal>(7)." |
| 3021 |
msgstr "" |
| 3022 |
"I<op> wynosi B<F_SETLKW> lub B<F_OFD_SETLKW> i operacja została przerwana " |
| 3023 |
"sygnałem; zob. B<signal>(7)." |
| 3024 |
|
| 3025 |
#. type: Plain text |
| 3026 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3027 |
msgid "" |
| 3028 |
"I<op> is B<F_GETLK>, B<F_SETLK>, B<F_OFD_GETLK>, or B<F_OFD_SETLK>, and the " |
| 3029 |
"operation was interrupted by a signal before the lock was checked or " |
| 3030 |
"acquired. Most likely when locking a remote file (e.g., locking over NFS), " |
| 3031 |
"but can sometimes happen locally." |
| 3032 |
msgstr "" |
| 3033 |
"I<op> wynosi B<F_GETLK>, B<F_SETLK>, B<F_OFD_GETLK> lub B<F_OFD_SETLK>, a " |
| 3034 |
"operacja została przerwana przez sygnał, zanim blokada została sprawdzona " |
| 3035 |
"lub ustawiona. Najbardziej prawdopodobne podczas blokowania zdalnego pliku " |
| 3036 |
"(np. blokowanie przez NFS), ale czasami zdarza się lokalnie." |
| 3037 |
|
| 3038 |
#. type: Plain text |
| 3039 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3040 |
msgid "" |
| 3041 |
"I<op> is B<F_ADD_SEALS> and I<arg> includes an unrecognized sealing bit." |
| 3042 |
msgstr "" |
| 3043 |
"I<op> wynosi B<F_ADD_SEALS>, a I<arg> obejmuje nierozpoznany bit pieczęci." |
| 3044 |
|
| 3045 |
#. type: Plain text |
| 3046 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3047 |
msgid "" |
| 3048 |
"I<op> is B<F_ADD_SEALS> or B<F_GET_SEALS> and the filesystem containing the " |
| 3049 |
"inode referred to by I<fd> does not support sealing." |
| 3050 |
msgstr "" |
| 3051 |
"I<op> wynosi B<F_ADD_SEALS> lub B<F_GET_SEALS>, a system plików zawierający " |
| 3052 |
"i-węzeł, do którego odnosi się I<fd>, nie obsługuje pieczętowania." |
| 3053 |
|
| 3054 |
#. type: Plain text |
| 3055 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3056 |
msgid "" |
| 3057 |
"I<op> is B<F_DUPFD> and I<arg> is negative or is greater than the maximum " |
| 3058 |
"allowable value (see the discussion of B<RLIMIT_NOFILE> in B<getrlimit>(2))." |
| 3059 |
msgstr "" |
| 3060 |
"I<op> wynosi B<F_DUPFD>, a I<arg> jest ujemny lub większy od maksymalnej " |
| 3061 |
"dozwolonej wartości (więcej informacji w opisie B<RLIMIT_NOFILE> w " |
| 3062 |
"podręczniku B<getrlimit>(2))." |
| 3063 |
|
| 3064 |
#. type: Plain text |
| 3065 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3066 |
msgid "I<op> is B<F_SETSIG> and I<arg> is not an allowable signal number." |
| 3067 |
msgstr "" |
| 3068 |
"I<op> wynosi B<F_SETSIG>, a I<arg> nie jest dozwolonym numerem sygnału." |
| 3069 |
|
| 3070 |
#. type: Plain text |
| 3071 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3072 |
msgid "" |
| 3073 |
"I<op> is B<F_OFD_SETLK>, B<F_OFD_SETLKW>, or B<F_OFD_GETLK>, and I<l_pid> " |
| 3074 |
"was not specified as zero." |
| 3075 |
msgstr "" |
| 3076 |
"I<op> wynosi B<F_OFD_SETLK>, B<F_OFD_SETLKW> lub B<F_OFD_GETLK>, a I<l_pid> " |
| 3077 |
"nie podano jako zero." |
| 3078 |
|
| 3079 |
#. type: TP |
| 3080 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3081 |
#, no-wrap |
| 3082 |
msgid "B<EMFILE>" |
| 3083 |
msgstr "B<EMFILE>" |
| 3084 |
|
| 3085 |
#. type: Plain text |
| 3086 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3087 |
msgid "" |
| 3088 |
"I<op> is B<F_DUPFD> and the per-process limit on the number of open file " |
| 3089 |
"descriptors has been reached." |
| 3090 |
msgstr "" |
| 3091 |
"I<op> wynosi B<F_DUPFD>, a osiągnięto już maksymalną liczbę otwartych " |
| 3092 |
"deskryptorów plików na proces." |
| 3093 |
|
| 3094 |
#. type: TP |
| 3095 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3096 |
#, no-wrap |
| 3097 |
msgid "B<ENOLCK>" |
| 3098 |
msgstr "B<ENOLCK>" |
| 3099 |
|
| 3100 |
#. type: Plain text |
| 3101 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3102 |
msgid "" |
| 3103 |
"Too many segment locks open, lock table is full, or a remote locking " |
| 3104 |
"protocol failed (e.g., locking over NFS)." |
| 3105 |
msgstr "" |
| 3106 |
"Zbyt wiele otwartych blokad segmentowych, tablica blokad jest pełna lub " |
| 3107 |
"zawiódł protokół blokowania zdalnego (np. dla blokad przez NFS)." |
| 3108 |
|
| 3109 |
#. type: TP |
| 3110 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3111 |
#, no-wrap |
| 3112 |
msgid "B<ENOTDIR>" |
| 3113 |
msgstr "B<ENOTDIR>" |
| 3114 |
|
| 3115 |
#. type: Plain text |
| 3116 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3117 |
msgid "" |
| 3118 |
"B<F_NOTIFY> was specified in I<op>, but I<fd> does not refer to a directory." |
| 3119 |
msgstr "W I<op> podano B<F_NOTIFY>, lecz I<fd> nie odnosi się do katalogu." |
| 3120 |
|
| 3121 |
#. type: TP |
| 3122 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3123 |
#, no-wrap |
| 3124 |
msgid "B<EPERM>" |
| 3125 |
msgstr "B<EPERM>" |
| 3126 |
|
| 3127 |
#. type: Plain text |
| 3128 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3129 |
msgid "" |
| 3130 |
"I<op> is B<F_SETPIPE_SZ> and the soft or hard user pipe limit has been " |
| 3131 |
"reached; see B<pipe>(7)." |
| 3132 |
msgstr "" |
| 3133 |
"I<op> wynosi B<F_SETPIPE_SZ> i osiągnięto miękki lub sztywny limit potoku; " |
| 3134 |
"zob. B<pipe>(7)." |
| 3135 |
|
| 3136 |
#. type: Plain text |
| 3137 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3138 |
msgid "" |
| 3139 |
"Attempted to clear the B<O_APPEND> flag on a file that has the append-only " |
| 3140 |
"attribute set." |
| 3141 |
msgstr "" |
| 3142 |
"Próbowano wyzerować znacznik B<O_APPEND> na pliku posiadającym ustawiony " |
| 3143 |
"atrybut \\[Bq]append-only\\[rq]." |
| 3144 |
|
| 3145 |
#. type: Plain text |
| 3146 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3147 |
msgid "" |
| 3148 |
"I<op> was B<F_ADD_SEALS>, but I<fd> was not open for writing or the current " |
| 3149 |
"set of seals on the file already includes B<F_SEAL_SEAL>." |
| 3150 |
msgstr "" |
| 3151 |
"I<op> wynosiło B<F_ADD_SEALS>, lecz I<fd> nie był otwarty do zapisu albo " |
| 3152 |
"bieżący zestaw pieczęci już obejmuje B<F_SEAL_SEAL>." |
| 3153 |
|
| 3154 |
#. type: Plain text |
| 3155 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3156 |
msgid "POSIX.1-2008." |
| 3157 |
msgstr "POSIX.1-2008." |
| 3158 |
|
| 3159 |
#. .P |
| 3160 |
#. SVr4 documents additional EIO, ENOLINK and EOVERFLOW error conditions. |
| 3161 |
#. type: Plain text |
| 3162 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3163 |
msgid "" |
| 3164 |
"B<F_GETOWN_EX>, B<F_SETOWN_EX>, B<F_SETPIPE_SZ>, B<F_GETPIPE_SZ>, " |
| 3165 |
"B<F_GETSIG>, B<F_SETSIG>, B<F_NOTIFY>, B<F_GETLEASE>, and B<F_SETLEASE> are " |
| 3166 |
"Linux-specific. (Define the B<_GNU_SOURCE> macro to obtain these " |
| 3167 |
"definitions.)" |
| 3168 |
msgstr "" |
| 3169 |
"B<F_GETOWN_EX>, B<F_SETOWN_EX>, B<F_SETPIPE_SZ>, B<F_GETPIPE_SZ>, " |
| 3170 |
"B<F_GETSIG>, B<F_SETSIG>, B<F_NOTIFY>, B<F_GETLEASE> i B<F_SETLEASE> są " |
| 3171 |
"typowo linuksowe (należy zdefiniować makro B<_GNU_SOURCE> aby pozyskać te " |
| 3172 |
"definicje)." |
| 3173 |
|
| 3174 |
#. type: Plain text |
| 3175 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3176 |
msgid "" |
| 3177 |
"B<F_OFD_SETLK>, B<F_OFD_SETLKW>, and B<F_OFD_GETLK> are Linux-specific (and " |
| 3178 |
"one must define B<_GNU_SOURCE> to obtain their definitions), but work is " |
| 3179 |
"being done to have them included in the next version of POSIX.1." |
| 3180 |
msgstr "" |
| 3181 |
"B<F_OFD_SETLK>, B<F_OFD_SETLKW> i B<F_OFD_GETLK> są typowo linuksowe (i " |
| 3182 |
"konieczne jest zdefiniowanie B<_GNU_SOURCE> do pozyskania ich definicji), " |
| 3183 |
"lecz trwają prace nad włączeniem ich do następnej wersji POSIX.1." |
| 3184 |
|
| 3185 |
#. FIXME . Once glibc adds support, add a note about FTM requirements |
| 3186 |
#. type: Plain text |
| 3187 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3188 |
msgid "B<F_ADD_SEALS> and B<F_GET_SEALS> are Linux-specific." |
| 3189 |
msgstr "B<F_ADD_SEALS> i B<F_GET_SEALS> są typowo linuksowe." |
| 3190 |
|
| 3191 |
#. type: Plain text |
| 3192 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3193 |
msgid "SVr4, 4.3BSD, POSIX.1-2001." |
| 3194 |
msgstr "SVr4, 4.3BSD, POSIX.1-2001." |
| 3195 |
|
| 3196 |
#. type: Plain text |
| 3197 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3198 |
msgid "" |
| 3199 |
"Only the operations B<F_DUPFD>, B<F_GETFD>, B<F_SETFD>, B<F_GETFL>, " |
| 3200 |
"B<F_SETFL>, B<F_GETLK>, B<F_SETLK>, and B<F_SETLKW> are specified in " |
| 3201 |
"POSIX.1-2001." |
| 3202 |
msgstr "" |
| 3203 |
"Jedynie operacje B<F_DUPFD>, B<F_GETFD>, B<F_SETFD>, B<F_GETFL>, B<F_SETFL>, " |
| 3204 |
"B<F_GETLK>, B<F_SETLK> i B<F_SETLKW> są określone w POSIX.1-2001." |
| 3205 |
|
| 3206 |
#. .BR _BSD_SOURCE , |
| 3207 |
#. or |
| 3208 |
#. type: Plain text |
| 3209 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3210 |
msgid "" |
| 3211 |
"B<F_GETOWN> and B<F_SETOWN> are specified in POSIX.1-2001. (To get their " |
| 3212 |
"definitions, define either B<_XOPEN_SOURCE> with the value 500 or greater, " |
| 3213 |
"or B<_POSIX_C_SOURCE> with the value 200809L or greater.)" |
| 3214 |
msgstr "" |
| 3215 |
"B<F_GETOWN> i B<F_SETOWN> są określone w POSIX.1-2001 (do pozyskania ich " |
| 3216 |
"definicji konieczne jest zdefiniowanie B<_XOPEN_SOURCE> z wartością 500 lub " |
| 3217 |
"większą albo B<_POSIX_C_SOURCE> z wartością 200809L lub większą)." |
| 3218 |
|
| 3219 |
#. type: Plain text |
| 3220 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3221 |
msgid "" |
| 3222 |
"B<F_DUPFD_CLOEXEC> is specified in POSIX.1-2008. (To get this definition, " |
| 3223 |
"define B<_POSIX_C_SOURCE> with the value 200809L or greater, or " |
| 3224 |
"B<_XOPEN_SOURCE> with the value 700 or greater.)" |
| 3225 |
msgstr "" |
| 3226 |
"B<F_DUPFD_CLOEXEC> jest określone w POSIX.1-2008 (do pozyskania jego " |
| 3227 |
"definicji konieczne jest zdefiniowanie B<_POSIX_C_SOURCE> z wartością " |
| 3228 |
"200809L lub większą albo B<_XOPEN_SOURCE> z wartością 700 lub większą)." |
| 3229 |
|
| 3230 |
#. type: SH |
| 3231 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3232 |
#, no-wrap |
| 3233 |
msgid "NOTES" |
| 3234 |
msgstr "UWAGI" |
| 3235 |
|
| 3236 |
#. type: Plain text |
| 3237 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3238 |
msgid "" |
| 3239 |
"The errors returned by B<dup2>(2) are different from those returned by " |
| 3240 |
"B<F_DUPFD>." |
| 3241 |
msgstr "Błędy zwracane przez B<dup2>(2) są inne niż zwracane przez B<F_DUPFD>." |
| 3242 |
|
| 3243 |
#. type: SS |
| 3244 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3245 |
#, no-wrap |
| 3246 |
msgid "File locking" |
| 3247 |
msgstr "Blokowanie plików" |
| 3248 |
|
| 3249 |
#. type: Plain text |
| 3250 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3251 |
msgid "" |
| 3252 |
"The original Linux B<fcntl>() system call was not designed to handle large " |
| 3253 |
"file offsets (in the I<flock> structure). Consequently, an B<fcntl64>() " |
| 3254 |
"system call was added in Linux 2.4. The newer system call employs a " |
| 3255 |
"different structure for file locking, I<flock64>, and corresponding " |
| 3256 |
"operations, B<F_GETLK64>, B<F_SETLK64>, and B<F_SETLKW64>. However, these " |
| 3257 |
"details can be ignored by applications using glibc, whose B<fcntl>() " |
| 3258 |
"wrapper function transparently employs the more recent system call where it " |
| 3259 |
"is available." |
| 3260 |
msgstr "" |
| 3261 |
"Pierwotne linuksowe wywołanie systemowego B<fcntl>() nie było zaprojektowane " |
| 3262 |
"do obsługi dużych przesunięć plików (w strukturze I<flock>). W konsekwencji, " |
| 3263 |
"Linux 2.4 dodał wywołanie systemowe B<fcntl64>(). Nowsze wywołanie systemowe " |
| 3264 |
"korzysta z odmiennej struktury do blokowania plików, I<flock64> i " |
| 3265 |
"odpowiadających operacji, B<F_GETLK64>, B<F_SETLK64> i B<F_SETLKW64>. Detale " |
| 3266 |
"te mogą być jednak zignorowane przez aplikacje używające glibc, ponieważ jej " |
| 3267 |
"funkcja opakowująca B<fcntl>() obsługuje nowsze wywołanie systemowe, gdy " |
| 3268 |
"tylko jest dostępne, w sposób przezroczysty." |
| 3269 |
|
| 3270 |
#. type: SS |
| 3271 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3272 |
#, no-wrap |
| 3273 |
msgid "Record locks" |
| 3274 |
msgstr "Blokady rekordów" |
| 3275 |
|
| 3276 |
#. type: Plain text |
| 3277 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3278 |
msgid "" |
| 3279 |
"Since Linux 2.0, there is no interaction between the types of lock placed by " |
| 3280 |
"B<flock>(2) and B<fcntl>()." |
| 3281 |
msgstr "" |
| 3282 |
"Od Linuksa 2.0, nie ma oddziaływania pomiędzy typami blokad zakładanych " |
| 3283 |
"przez B<flock>(2) i przez B<fcntl>()." |
| 3284 |
|
| 3285 |
#. e.g., Solaris 8 documents this field in fcntl(2), and Irix 6.5 |
| 3286 |
#. documents it in fcntl(5). mtk, May 2007 |
| 3287 |
#. Also, FreeBSD documents it (Apr 2014). |
| 3288 |
#. type: Plain text |
| 3289 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3290 |
msgid "" |
| 3291 |
"Several systems have more fields in I<struct flock> such as, for example, " |
| 3292 |
"I<l_sysid> (to identify the machine where the lock is held). Clearly, " |
| 3293 |
"I<l_pid> alone is not going to be very useful if the process holding the " |
| 3294 |
"lock may live on a different machine; on Linux, while present on some " |
| 3295 |
"architectures (such as MIPS32), this field is not used." |
| 3296 |
msgstr "" |
| 3297 |
"W niektórych systemach struktura I<struct flock> zawiera dodatkowe pola, " |
| 3298 |
"takie jak np. I<l_sysid> (do identyfikacji komputera, na którym utrzymywana " |
| 3299 |
"jest blokada). Oczywiście, samo I<l_pid> jest mało przydatne, gdy proces " |
| 3300 |
"utrzymujący blokadę może działać na innym komputerze; w Linuksie, choć pole " |
| 3301 |
"to jest obecne na niektórych architekturach (np. MIPS32), to jednak nie jest " |
| 3302 |
"używane." |
| 3303 |
|
| 3304 |
#. type: SS |
| 3305 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3306 |
#, no-wrap |
| 3307 |
msgid "Record locking and NFS" |
| 3308 |
msgstr "Blokowanie rekordów i NFS" |
| 3309 |
|
| 3310 |
# |
| 3311 |
# |
| 3312 |
# |
| 3313 |
#. Neil Brown: With NFSv3 the failure mode is the reverse. If |
| 3314 |
#. the server loses contact with a client then any lock stays in place |
| 3315 |
#. indefinitely ("why can't I read my mail"... I remember it well). |
| 3316 |
#. Jeff Layton: |
| 3317 |
#. Note that this is not a firm timeout. The server runs a job |
| 3318 |
#. periodically to clean out expired stateful objects, and it's likely |
| 3319 |
#. that there is some time (maybe even up to another whole lease period) |
| 3320 |
#. between when the timeout expires and the job actually runs. If the |
| 3321 |
#. client gets a RENEW in there within that window, its lease will be |
| 3322 |
#. renewed and its state preserved. |
| 3323 |
#. type: Plain text |
| 3324 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3325 |
msgid "" |
| 3326 |
"Before Linux 3.12, if an NFSv4 client loses contact with the server for a " |
| 3327 |
"period of time (defined as more than 90 seconds with no communication), it " |
| 3328 |
"might lose and regain a lock without ever being aware of the fact. (The " |
| 3329 |
"period of time after which contact is assumed lost is known as the NFSv4 " |
| 3330 |
"leasetime. On a Linux NFS server, this can be determined by looking at I</" |
| 3331 |
"proc/fs/nfsd/nfsv4leasetime>, which expresses the period in seconds. The " |
| 3332 |
"default value for this file is 90.) This scenario potentially risks data " |
| 3333 |
"corruption, since another process might acquire a lock in the intervening " |
| 3334 |
"period and perform file I/O." |
| 3335 |
msgstr "" |
| 3336 |
"Przed Linuksem 3.12, jeśli klient NFSv4 utraci kontakt z serwerem na pewien " |
| 3337 |
"czas (zdefiniowany jako ponad 90 sekund bez żadnej komunikacji), to może " |
| 3338 |
"utracić i odzyskać blokadę bez uświadamiania sobie tego faktu (czas, po " |
| 3339 |
"którym przyjmuje się utratę połączenia jest znany jako czas dzierżawy NFSv4 " |
| 3340 |
"(leasetime); na serwerze NFS można go sprawdzić w pliku I</proc/fs/nfsd/" |
| 3341 |
"nfsv4leasetime>, który podaje go w sekundach; domyślną wartością w pliku " |
| 3342 |
"jest 90). Ten scenariusz grozi uszkodzeniem danych, ponieważ inny proces " |
| 3343 |
"mógł w międzyczasie posiąść blokadę i dokonać operacji wejścia/wyjścia na " |
| 3344 |
"pliku." |
| 3345 |
|
| 3346 |
#. commit ef1820f9be27b6ad158f433ab38002ab8131db4d |
| 3347 |
#. commit f6de7a39c181dfb8a2c534661a53c73afb3081cd |
| 3348 |
#. type: Plain text |
| 3349 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3350 |
msgid "" |
| 3351 |
"Since Linux 3.12, if an NFSv4 client loses contact with the server, any I/O " |
| 3352 |
"to the file by a process which \"thinks\" it holds a lock will fail until " |
| 3353 |
"that process closes and reopens the file. A kernel parameter, " |
| 3354 |
"I<nfs.recover_lost_locks>, can be set to 1 to obtain the pre-3.12 behavior, " |
| 3355 |
"whereby the client will attempt to recover lost locks when contact is " |
| 3356 |
"reestablished with the server. Because of the attendant risk of data " |
| 3357 |
"corruption, this parameter defaults to 0 (disabled)." |
| 3358 |
msgstr "" |
| 3359 |
"Od Linuksa 3.12, jeśli klient NFSv4 utraci połączenie z serwerem, każda " |
| 3360 |
"operacja wejścia/wyjścia na pliku, przez proces który \\[Bq]sądzi\\[rq], że " |
| 3361 |
"utrzymuje blokadę zawiedzie, dopóki ten proces nie zamknie i nie otworzy " |
| 3362 |
"pliku ponownie. Można ustawić parametr jądra I<nfs.recover_lost_locks> na 1, " |
| 3363 |
"aby powrócić do zachowania sprzed wersji 3.12, gdy klient próbuje odzyskać " |
| 3364 |
"zagubione blokady po odzyskaniu połączenia z serwerem. Ze względu na " |
| 3365 |
"towarzyszące temu ryzyko uszkodzenia danych, domyślnie parametr ten wynosi 0 " |
| 3366 |
"(jest wyłączony)." |
| 3367 |
|
| 3368 |
#. type: SH |
| 3369 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3370 |
#, no-wrap |
| 3371 |
msgid "BUGS" |
| 3372 |
msgstr "USTERKI" |
| 3373 |
|
| 3374 |
#. type: SS |
| 3375 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3376 |
#, no-wrap |
| 3377 |
msgid "F_SETFL" |
| 3378 |
msgstr "F_SETFL" |
| 3379 |
|
| 3380 |
#. FIXME . According to POSIX.1-2001, O_SYNC should also be modifiable |
| 3381 |
#. via fcntl(2), but currently Linux does not permit this |
| 3382 |
#. See http://bugzilla.kernel.org/show_bug.cgi?id=5994 |
| 3383 |
#. type: Plain text |
| 3384 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3385 |
msgid "" |
| 3386 |
"It is not possible to use B<F_SETFL> to change the state of the B<O_DSYNC> " |
| 3387 |
"and B<O_SYNC> flags. Attempts to change the state of these flags are " |
| 3388 |
"silently ignored." |
| 3389 |
msgstr "" |
| 3390 |
"Nie da się użyć B<F_SETFL> do zmiany statusu znaczników B<O_DSYNC> i " |
| 3391 |
"B<O_SYNC>. Takie próby zostaną po cichu zignorowane." |
| 3392 |
|
| 3393 |
#. type: SS |
| 3394 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3395 |
#, no-wrap |
| 3396 |
msgid "F_GETOWN" |
| 3397 |
msgstr "F_GETOWN" |
| 3398 |
|
| 3399 |
#. glibc source: sysdeps/unix/sysv/linux/i386/sysdep.h |
| 3400 |
#. mtk, Dec 04: some limited testing on alpha and ia64 seems to |
| 3401 |
#. indicate that ANY negative PGID value will cause F_GETOWN |
| 3402 |
#. to misinterpret the return as an error. Some other architectures |
| 3403 |
#. seem to have the same range check as i386. |
| 3404 |
#. type: Plain text |
| 3405 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3406 |
msgid "" |
| 3407 |
"A limitation of the Linux system call conventions on some architectures " |
| 3408 |
"(notably i386) means that if a (negative) process group ID to be returned " |
| 3409 |
"by B<F_GETOWN> falls in the range -1 to -4095, then the return value is " |
| 3410 |
"wrongly interpreted by glibc as an error in the system call; that is, the " |
| 3411 |
"return value of B<fcntl>() will be -1, and I<errno> will contain the " |
| 3412 |
"(positive) process group ID. The Linux-specific B<F_GETOWN_EX> operation " |
| 3413 |
"avoids this problem. Since glibc 2.11, glibc makes the kernel B<F_GETOWN> " |
| 3414 |
"problem invisible by implementing B<F_GETOWN> using B<F_GETOWN_EX>." |
| 3415 |
msgstr "" |
| 3416 |
"Ograniczenie konwencji linuksowego wywołania systemowego na niektórych " |
| 3417 |
"architekturach (przede wszystkim i386) oznacza, że jeśli (ujemny) " |
| 3418 |
"identyfikator grupy procesu mający być zwrócony przez B<F_GETOWN> znajduje " |
| 3419 |
"się w przedziale od -1 do -4095, to zwracana wartość jest przez glibc " |
| 3420 |
"nieprawidłowo interpretowana jako błąd w wywołaniu systemowym; to jest " |
| 3421 |
"zwrócona przez B<fcntl>() wartość będzie wynosiła -1, a I<errno> będzie " |
| 3422 |
"zawierać (dodatni) identyfikator grupy procesu. Typowo linuksowa operacja " |
| 3423 |
"B<F_GETOWN_EX> unika tego problemu. Od glibc 2.11, glibc czyni problem jądra " |
| 3424 |
"B<F_GETOWN> niewidzialnym, przez zaimplementowanie B<F_GETOWN> za pomocą " |
| 3425 |
"B<F_GETOWN_EX>." |
| 3426 |
|
| 3427 |
#. type: SS |
| 3428 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3429 |
#, no-wrap |
| 3430 |
msgid "F_SETOWN" |
| 3431 |
msgstr "F_SETOWN" |
| 3432 |
|
| 3433 |
#. type: Plain text |
| 3434 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3435 |
msgid "" |
| 3436 |
"In Linux 2.4 and earlier, there is bug that can occur when an unprivileged " |
| 3437 |
"process uses B<F_SETOWN> to specify the owner of a socket file descriptor as " |
| 3438 |
"a process (group) other than the caller. In this case, B<fcntl>() can " |
| 3439 |
"return -1 with I<errno> set to B<EPERM>, even when the owner process (group) " |
| 3440 |
"is one that the caller has permission to send signals to. Despite this " |
| 3441 |
"error return, the file descriptor owner is set, and signals will be sent to " |
| 3442 |
"the owner." |
| 3443 |
msgstr "" |
| 3444 |
"W Linuksie 2.4 i wcześniejszych istnieje błąd, który może się ujawnić, gdy " |
| 3445 |
"proces nieuprzywilejowany używa B<F_SETOWN> do podania właściciela " |
| 3446 |
"deskryptora pliku gniazda, będące procesem (grupą) inną niż wywołujący. W " |
| 3447 |
"tym przypadku B<fcntl>() może zwrócić -1 z I<errno> ustawionym na B<EPERM> " |
| 3448 |
"nawet wówczas, gdy właściciel procesu (grupy) był tym, do którego wywołujący " |
| 3449 |
"ma prawo wysyłania sygnałów. Pomimo zwracania błędu, własność deskryptora " |
| 3450 |
"pliku jest ustawiana, a sygnały będą wysyłane do właściciela." |
| 3451 |
|
| 3452 |
#. type: SS |
| 3453 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3454 |
#, no-wrap |
| 3455 |
msgid "Deadlock detection" |
| 3456 |
msgstr "Wykrywanie zakleszczeń" |
| 3457 |
|
| 3458 |
#. type: Plain text |
| 3459 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3460 |
msgid "" |
| 3461 |
"The deadlock-detection algorithm employed by the kernel when dealing with " |
| 3462 |
"B<F_SETLKW> requests can yield both false negatives (failures to detect " |
| 3463 |
"deadlocks, leaving a set of deadlocked processes blocked indefinitely) and " |
| 3464 |
"false positives (B<EDEADLK> errors when there is no deadlock). For example, " |
| 3465 |
"the kernel limits the lock depth of its dependency search to 10 steps, " |
| 3466 |
"meaning that circular deadlock chains that exceed that size will not be " |
| 3467 |
"detected. In addition, the kernel may falsely indicate a deadlock when two " |
| 3468 |
"or more processes created using the B<clone>(2) B<CLONE_FILES> flag place " |
| 3469 |
"locks that appear (to the kernel) to conflict." |
| 3470 |
msgstr "" |
| 3471 |
"Algorytm wykrywania zakleszczeń używany przez jądro przy przetwarzaniu żądań " |
| 3472 |
"B<F_SETLKW> może skutkować wykryciami zarówno fałszywie negatywnymi " |
| 3473 |
"(niewykryciem zakleszczeń, pozostawiając zestaw zakleszczonych procesów " |
| 3474 |
"stale zablokowanymi), jak i fałszywie pozytywnymi (błąd B<EDEADLK>, gdy " |
| 3475 |
"zakleszczenie nie występuje). Przykładowo, jądro ogranicza głębokość " |
| 3476 |
"poszukiwania zależności blokad do 10 kroków co oznacza, że łańcuch kolistych " |
| 3477 |
"zakleszczeń większy od tego rozmiaru nie zostanie wykryty. Dodatkowo, jądro " |
| 3478 |
"może nieprawidłowo wskazywać zakleszczenie, gdy dwa lub więcej procesów " |
| 3479 |
"utworzonych za pomocą znacznika B<CLONE_FILES> z B<clone>(2), wyglądają " |
| 3480 |
"(dla jądra) na będące w konflikcie." |
| 3481 |
|
| 3482 |
# |
| 3483 |
#. http://marc.info/?l=linux-kernel&m=119013491707153&w=2 |
| 3484 |
#. Reconfirmed by Jeff Layton |
| 3485 |
#. From: Jeff Layton <jlayton <at> redhat.com> |
| 3486 |
#. Subject: Re: Status of fcntl() mandatory locking |
| 3487 |
#. Newsgroups: gmane.linux.file-systems |
| 3488 |
#. Date: 2014-04-28 10:07:57 GMT |
| 3489 |
#. http://thread.gmane.org/gmane.linux.file-systems/84481/focus=84518 |
| 3490 |
#. type: Plain text |
| 3491 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3492 |
msgid "" |
| 3493 |
"The Linux implementation of mandatory locking is subject to race conditions " |
| 3494 |
"which render it unreliable: a B<write>(2) call that overlaps with a lock " |
| 3495 |
"may modify data after the mandatory lock is acquired; a B<read>(2) call " |
| 3496 |
"that overlaps with a lock may detect changes to data that were made only " |
| 3497 |
"after a write lock was acquired. Similar races exist between mandatory " |
| 3498 |
"locks and B<mmap>(2). It is therefore inadvisable to rely on mandatory " |
| 3499 |
"locking." |
| 3500 |
msgstr "" |
| 3501 |
"Linuksowa implementacja blokowania obowiązującego (przymusowego) jest " |
| 3502 |
"podatna na sytuację wyścigu, co czyni ją nierzetelną: wywołanie B<write>(2), " |
| 3503 |
"które nachodzi na blokadę może zmodyfikować dane po uzyskaniu blokady, " |
| 3504 |
"wywołanie B<read>(2) które nachodzi na blokadę może wykryć zmianę danych, " |
| 3505 |
"dokonaną jedynie po uzyskaniu blokady zapisu. Podobny wyścig istnieje " |
| 3506 |
"pomiędzy blokadami obowiązującymi a B<mmap>(2). Z tego powodu nie należy " |
| 3507 |
"polegać na blokowaniu obowiązującym." |
| 3508 |
|
| 3509 |
#. type: Plain text |
| 3510 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3511 |
msgid "" |
| 3512 |
"I<locks.txt>, I<mandatory-locking.txt>, and I<dnotify.txt> in the Linux " |
| 3513 |
"kernel source directory I<Documentation/filesystems/> (on older kernels, " |
| 3514 |
"these files are directly under the I<Documentation/> directory, and " |
| 3515 |
"I<mandatory-locking.txt> is called I<mandatory.txt>)" |
| 3516 |
msgstr "" |
| 3517 |
"I<locks.txt>, I<mandatory-locking.txt> i I<dnotify.txt> w katalogu " |
| 3518 |
"I<Documentation/filesystems/> źródeł jądra Linux (w starszych jądrach pliki " |
| 3519 |
"te znajdują się bezpośrednio w katalogu I<Documentation/>, a plik " |
| 3520 |
"I<mandatory-locking.txt> ma nazwę I<mandatory.txt>)" |
| 3521 |
|
| 3522 |
#. type: TH |
| 3523 |
#: fedora-44 fedora-rawhide |
| 3524 |
#, no-wrap |
| 3525 |
msgid "2024-07-23" |
| 3526 |
msgstr "23 lipca 2024 r." |
| 3527 |
|
| 3528 |
#. type: TH |
| 3529 |
#: fedora-44 fedora-rawhide |
| 3530 |
#, no-wrap |
| 3531 |
msgid "Linux man-pages 6.13" |
| 3532 |
msgstr "Linux man-pages 6.13" |
| 3533 |
|
| 3534 |
#. type: TH |
| 3535 |
#: mageia-cauldron |
| 3536 |
#, no-wrap |
| 3537 |
msgid "Linux man-pages 6.17" |
| 3538 |
msgstr "Linux man-pages 6.17" |
| 3539 |
|
| 3540 |
#. type: TH |
| 3541 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 3542 |
#, no-wrap |
| 3543 |
msgid "Linux man-pages (unreleased)" |
| 3544 |
msgstr "Linux man-pages (niewydane)" |