| 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:31+0200\n" |
| 11 |
"PO-Revision-Date: 2026-06-22 21:49+0200\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 |
"X-Generator: Lokalize 25.04.0\n" |
| 19 |
"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 " |
| 20 |
"|| n%100>14) ? 1 : 2);\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 "mmap" |
| 27 |
msgstr "mmap" |
| 28 |
|
| 29 |
#. type: TH |
| 30 |
#: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed |
| 31 |
#, no-wrap |
| 32 |
msgid "2026-03-19" |
| 33 |
msgstr "19 marca 2026 r." |
| 34 |
|
| 35 |
#. type: TH |
| 36 |
#: archlinux debian-unstable |
| 37 |
#, no-wrap |
| 38 |
msgid "Linux man-pages 6.18" |
| 39 |
msgstr "Linux man-pages 6.18" |
| 40 |
|
| 41 |
#. type: SH |
| 42 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 43 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 44 |
#, no-wrap |
| 45 |
msgid "NAME" |
| 46 |
msgstr "NAZWA" |
| 47 |
|
| 48 |
#. type: Plain text |
| 49 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 50 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 51 |
msgid "mmap, munmap - map or unmap files or devices into memory" |
| 52 |
msgstr "" |
| 53 |
"mmap, munmap - mapuje lub usuwa mapowanie plików lub urządzeń w pamięci" |
| 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>sys/mman.hE<gt>>\n" |
| 80 |
msgstr "B<#include E<lt>sys/mman.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 "" |
| 87 |
"B<void *mmap(>size_t length;\n" |
| 88 |
"B< void >I<addr>B<[>I<length>B<], size_t >I<length>B<, int >I<prot>B<, int >I<flags>B<,>\n" |
| 89 |
"B< int >I<fd>B<, off_t >I<offset>B<);>\n" |
| 90 |
"B<int munmap(>size_t length;\n" |
| 91 |
"B< void >I<addr>B<[>I<length>B<], size_t >I<length>B<);>\n" |
| 92 |
msgstr "" |
| 93 |
"B<void *mmap(>size_t length;\n" |
| 94 |
"B< void >I<addr>B<[>I<length>B<], size_t >I<length>B<, int >I<prot>B<, int >I<flags>B<,>\n" |
| 95 |
"B< int >I<fd>B<, off_t >I<offset>B<);>\n" |
| 96 |
"B<int munmap(>size_t length;\n" |
| 97 |
"B< void >I<addr>B<[>I<length>B<], size_t >I<length>B<);>\n" |
| 98 |
|
| 99 |
#. type: Plain text |
| 100 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 101 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 102 |
msgid "See VERSIONS for information on feature test macro requirements." |
| 103 |
msgstr "" |
| 104 |
"Informacje o wymaganych makrach sprawdzania cech znajdują się w rozdziale " |
| 105 |
"WERSJE." |
| 106 |
|
| 107 |
#. type: SH |
| 108 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 109 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 110 |
#, no-wrap |
| 111 |
msgid "DESCRIPTION" |
| 112 |
msgstr "OPIS" |
| 113 |
|
| 114 |
#. type: Plain text |
| 115 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 116 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 117 |
msgid "" |
| 118 |
"B<mmap>() creates a new mapping in the virtual address space of the calling " |
| 119 |
"process. The starting address for the new mapping is specified in I<addr>. " |
| 120 |
"The I<length> argument specifies the length of the mapping (which must be " |
| 121 |
"greater than 0)." |
| 122 |
msgstr "" |
| 123 |
"B<mmap>() tworzy nowe mapowanie w wirtualnej przestrzeni adresowej procesu " |
| 124 |
"wywołującego. Początkowy adres nowego mapowania podaje się w I<addr>. " |
| 125 |
"Argument I<length> określa długość mapowania (musi być ono większe niż 0)." |
| 126 |
|
| 127 |
#. Before Linux 2.6.24, the address was rounded up to the next page |
| 128 |
#. boundary; since Linux 2.6.24, it is rounded down! |
| 129 |
#. type: Plain text |
| 130 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 131 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 132 |
msgid "" |
| 133 |
"If I<addr> is NULL, then the kernel chooses the (page-aligned) address at " |
| 134 |
"which to create the mapping; this is the most portable method of creating a " |
| 135 |
"new mapping. If I<addr> is not NULL, then the kernel takes it as a hint " |
| 136 |
"about where to place the mapping; on Linux, the kernel will pick a nearby " |
| 137 |
"page boundary (but always above or equal to the value specified by I</proc/" |
| 138 |
"sys/vm/mmap_min_addr>) and attempt to create the mapping there. If another " |
| 139 |
"mapping already exists there, the kernel picks a new address that may or may " |
| 140 |
"not depend on the hint. The address of the new mapping is returned as the " |
| 141 |
"result of the call." |
| 142 |
msgstr "" |
| 143 |
"Jeśli I<addr> wynosi NULL, to jądro wybiera (wyrównany do strony) adres, na " |
| 144 |
"którym utworzy mapowanie; jest to najbardziej przenośna metoda tworzenia " |
| 145 |
"nowych mapowań. Jeśli I<addr> nie wynosi NULL, to jądro traktuje go jako " |
| 146 |
"wskazówkę na temat miejsca umieszczenia mapowania; w Linuksie, jądro " |
| 147 |
"wybierze najbliższą granicę strony (jednak będzie ona zawsze równa lub " |
| 148 |
"większa wartości określonej w I</proc/sys/vm/mmap_min_addr>) i spróbuje " |
| 149 |
"utworzyć tu nowe mapowanie. Jeśli inne mapowanie już tu istnieje, jądro " |
| 150 |
"wybierze nowy adres, który może, lecz nie musi, zależeć od wskazówki. Adres " |
| 151 |
"nowego mapowania jest zwracany jako wynik wywołania." |
| 152 |
|
| 153 |
#. type: Plain text |
| 154 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 155 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 156 |
msgid "" |
| 157 |
"The contents of a file mapping (as opposed to an anonymous mapping; see " |
| 158 |
"B<MAP_ANONYMOUS> below), are initialized using I<length> bytes starting at " |
| 159 |
"offset I<offset> in the file (or other object) referred to by the file " |
| 160 |
"descriptor I<fd>. I<offset> must be a multiple of the page size as returned " |
| 161 |
"by I<sysconf(_SC_PAGE_SIZE)>." |
| 162 |
msgstr "" |
| 163 |
"Zawartość mapowania pliku (w przeciwieństwie do mapowania anonimowego; zob. " |
| 164 |
"B<MAP_ANONYMOUS> poniżej) jest inicjowana za pomocą I<length> bajtów " |
| 165 |
"zaczynających się w przesunięciu I<offset> w pliku (lub innym obiekcie), do " |
| 166 |
"którego odnosi się deskryptor pliku I<fd>. I<offset> musi być " |
| 167 |
"wielokrotnością rozmiaru strony, jaki zwraca I<sysconf(_SC_PAGE_SIZE)>." |
| 168 |
|
| 169 |
#. type: Plain text |
| 170 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 171 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 172 |
msgid "" |
| 173 |
"After the B<mmap>() call has returned, the file descriptor, I<fd>, can be " |
| 174 |
"closed immediately without invalidating the mapping." |
| 175 |
msgstr "" |
| 176 |
"Po powrocie wywołania B<mmap>(), deskryptor pliku I<fd> może być " |
| 177 |
"niezwłocznie zamknięty, nie unieważniając mapowania." |
| 178 |
|
| 179 |
#. type: Plain text |
| 180 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 181 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 182 |
msgid "" |
| 183 |
"The I<prot> argument describes the desired memory protection of the mapping " |
| 184 |
"(and must not conflict with the open mode of the file). It is either " |
| 185 |
"B<PROT_NONE> or the bitwise OR of one or more of the following flags:" |
| 186 |
msgstr "" |
| 187 |
"Argument I<prot> opisuje oczekiwany sposób ochrony pamięci mapowania (i nie " |
| 188 |
"może być sprzeczny z trybem otwarcia pliku). Może on być równy B<PROT_NONE> " |
| 189 |
"lub może być sumą bitową (OR) jednego lub więcej spośród innych znaczników " |
| 190 |
"PROT_*." |
| 191 |
|
| 192 |
#. type: TP |
| 193 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 194 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 195 |
#, no-wrap |
| 196 |
msgid "B<PROT_EXEC>" |
| 197 |
msgstr "B<PROT_EXEC>" |
| 198 |
|
| 199 |
#. type: Plain text |
| 200 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 201 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 202 |
msgid "Pages may be executed." |
| 203 |
msgstr "Strony mogą być wykonywane." |
| 204 |
|
| 205 |
#. type: TP |
| 206 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 207 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 208 |
#, no-wrap |
| 209 |
msgid "B<PROT_READ>" |
| 210 |
msgstr "B<PROT_READ>" |
| 211 |
|
| 212 |
#. type: Plain text |
| 213 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 214 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 215 |
msgid "Pages may be read." |
| 216 |
msgstr "Strony mogą być odczytywane." |
| 217 |
|
| 218 |
#. type: TP |
| 219 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 220 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 221 |
#, no-wrap |
| 222 |
msgid "B<PROT_WRITE>" |
| 223 |
msgstr "B<PROT_WRITE>" |
| 224 |
|
| 225 |
#. type: Plain text |
| 226 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 227 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 228 |
msgid "Pages may be written." |
| 229 |
msgstr "Strony mogą być zapisywane." |
| 230 |
|
| 231 |
#. type: TP |
| 232 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 233 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 234 |
#, no-wrap |
| 235 |
msgid "B<PROT_NONE>" |
| 236 |
msgstr "B<PROT_NONE>" |
| 237 |
|
| 238 |
#. type: Plain text |
| 239 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 240 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 241 |
msgid "Pages may not be accessed." |
| 242 |
msgstr "Strony mogą nie być dostępne." |
| 243 |
|
| 244 |
#. type: SS |
| 245 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 246 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 247 |
#, no-wrap |
| 248 |
msgid "The flags argument" |
| 249 |
msgstr "Argument flags" |
| 250 |
|
| 251 |
#. type: Plain text |
| 252 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 253 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 254 |
msgid "" |
| 255 |
"The I<flags> argument determines whether updates to the mapping are visible " |
| 256 |
"to other processes mapping the same region, and whether updates are carried " |
| 257 |
"through to the underlying file. This behavior is determined by including " |
| 258 |
"exactly one of the following values in I<flags>:" |
| 259 |
msgstr "" |
| 260 |
"Argument I<flags> określa, czy aktualizacje mapowania są widoczne dla innych " |
| 261 |
"procesów mapowanych do tego samego miejsca i czy aktualizacje są przenoszone " |
| 262 |
"na sam plik. To zachowanie zależy od podanej, dokładnie jednej z poniższych " |
| 263 |
"wartości I<flags>:" |
| 264 |
|
| 265 |
#. type: TP |
| 266 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 267 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 268 |
#, no-wrap |
| 269 |
msgid "B<MAP_SHARED>" |
| 270 |
msgstr "B<MAP_SHARED>" |
| 271 |
|
| 272 |
#. type: Plain text |
| 273 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 274 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 275 |
msgid "" |
| 276 |
"Share this mapping. Updates to the mapping are visible to other processes " |
| 277 |
"mapping the same region, and (in the case of file-backed mappings) are " |
| 278 |
"carried through to the underlying file. (To precisely control when updates " |
| 279 |
"are carried through to the underlying file requires the use of B<msync>(2).)" |
| 280 |
msgstr "" |
| 281 |
"Dzieli zadane mapowanie. Aktualizacje mapowania są widoczne dla innych " |
| 282 |
"procesów mapowanych do tego samego miejsca i (w przypadku mapowań opartych " |
| 283 |
"na pliku) są przenoszone do samego pliku (aby kontrolować dokładnie, kiedy " |
| 284 |
"aktualizacje są przenoszone na sam plik, konieczne jest użycie B<msync>(2))." |
| 285 |
|
| 286 |
#. type: TP |
| 287 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 288 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 289 |
#, no-wrap |
| 290 |
msgid "B<MAP_SHARED_VALIDATE> (since Linux 4.15)" |
| 291 |
msgstr "B<MAP_SHARED_VALIDATE> (od Linuksa 4.15)" |
| 292 |
|
| 293 |
#. type: Plain text |
| 294 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 295 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 296 |
msgid "" |
| 297 |
"This flag provides the same behavior as B<MAP_SHARED> except that " |
| 298 |
"B<MAP_SHARED> mappings ignore unknown flags in I<flags>. By contrast, when " |
| 299 |
"creating a mapping using B<MAP_SHARED_VALIDATE>, the kernel verifies all " |
| 300 |
"passed flags are known and fails the mapping with the error B<EOPNOTSUPP> " |
| 301 |
"for unknown flags. This mapping type is also required to be able to use " |
| 302 |
"some mapping flags (e.g., B<MAP_SYNC>)." |
| 303 |
msgstr "" |
| 304 |
"Znacznik zapewnia takie same zachowanie jak B<MAP_SHARED> z tą różnicą, że " |
| 305 |
"mapowania B<MAP_SHARED> ignorują nieznane znaczniki we I<flags>. Przy " |
| 306 |
"tworzeniu mapowań z użyciem B<MAP_SHARED_VALIDATE>, jądro sprawdza " |
| 307 |
"natomiast, czy wszystkie przekazane znaczniki są znane i odmawia mapowania z " |
| 308 |
"błędem B<EOPNOTSUPP>, jeśli wystąpią nieznane znaczniki. Ten typ mapowania " |
| 309 |
"jest również wymagany, aby móc korzystać z niektórych znaczników mapowań " |
| 310 |
"(np. B<MAP_SYNC>)." |
| 311 |
|
| 312 |
#. type: TP |
| 313 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 314 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 315 |
#, no-wrap |
| 316 |
msgid "B<MAP_PRIVATE>" |
| 317 |
msgstr "B<MAP_PRIVATE>" |
| 318 |
|
| 319 |
#. type: Plain text |
| 320 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 321 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 322 |
msgid "" |
| 323 |
"Create a private copy-on-write mapping. Updates to the mapping are not " |
| 324 |
"visible to other processes mapping the same file, and are not carried " |
| 325 |
"through to the underlying file. It is unspecified whether changes made to " |
| 326 |
"the file after the B<mmap>() call are visible in the mapped region." |
| 327 |
msgstr "" |
| 328 |
"Tworzy prywatne mapowanie, typu \\[Bq]kopiowanie podczas zapisu\\[rq]. " |
| 329 |
"Aktualizacje mapowania nie są widoczne dla innych procesów mapujących ten " |
| 330 |
"sam plik i nie są przenoszone na sam plik. Nie jest określone, czy zmiany " |
| 331 |
"zawartości pliku wykonane po wywołaniu B<mmap>() będą uwidocznione w " |
| 332 |
"mapowanym obszarze." |
| 333 |
|
| 334 |
#. type: Plain text |
| 335 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 336 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 337 |
msgid "" |
| 338 |
"Both B<MAP_SHARED> and B<MAP_PRIVATE> are described in POSIX.1-2001 and " |
| 339 |
"POSIX.1-2008. B<MAP_SHARED_VALIDATE> is a Linux extension." |
| 340 |
msgstr "" |
| 341 |
"B<MAP_SHARED> i B<MAP_PRIVATE> są opisane w POSIX.1-2001 i POSIX.1-2008. " |
| 342 |
"B<MAP_SHARED_VALIDATE> jest rozszerzeniem Linuksa." |
| 343 |
|
| 344 |
#. type: Plain text |
| 345 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 346 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 347 |
msgid "" |
| 348 |
"In addition, zero or more of the following values can be ORed in I<flags>:" |
| 349 |
msgstr "" |
| 350 |
"Ponadto, zero lub więcej poniższych wartości można zsumować bitowo (OR) we " |
| 351 |
"I<flags>:" |
| 352 |
|
| 353 |
#. type: TP |
| 354 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 355 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 356 |
#, no-wrap |
| 357 |
msgid "B<MAP_32BIT> (since Linux 2.4.20, 2.6)" |
| 358 |
msgstr "B<MAP_32BIT> (od Linuksa 2.4.20, 2.6)" |
| 359 |
|
| 360 |
#. See http://lwn.net/Articles/294642 "Tangled up in threads", 19 Aug 08 |
| 361 |
#. type: Plain text |
| 362 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 363 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 364 |
msgid "" |
| 365 |
"Put the mapping into the first 2 Gigabytes of the process address space. " |
| 366 |
"This flag is supported only on x86-64, for 64-bit programs. It was added to " |
| 367 |
"allow thread stacks to be allocated somewhere in the first 2\\ GB of memory, " |
| 368 |
"so as to improve context-switch performance on some early 64-bit " |
| 369 |
"processors. Modern x86-64 processors no longer have this performance " |
| 370 |
"problem, so use of this flag is not required on those systems. The " |
| 371 |
"B<MAP_32BIT> flag is ignored when B<MAP_FIXED> is set." |
| 372 |
msgstr "" |
| 373 |
"Umieszcza mapowanie w pierwszych 2 gigabajtach przestrzeni adresowej " |
| 374 |
"procesu. Znacznik jest obsługiwany tylko na architekturze x86-64, w " |
| 375 |
"przypadku programów 64-bitowych. Znacznik dodano, aby pozwolić stosom wątków " |
| 376 |
"na zaalokowanie w pierwszych 2\\ GB pamięci, co usprawniało wydajność " |
| 377 |
"przełączania kontekstów na pewnych wczesnych procesorach 64-bitowych. " |
| 378 |
"Współczesne procesory x86-64 nie mają takiego problemu z wydajnością, zatem " |
| 379 |
"znacznik ten nie jest wymagany na tych systemach. Znacznik B<MAP_32BIT> jest " |
| 380 |
"ignorowany, gdy ustawiony jest B<MAP_FIXED>." |
| 381 |
|
| 382 |
#. type: TP |
| 383 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 384 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 385 |
#, no-wrap |
| 386 |
msgid "B<MAP_ANON>" |
| 387 |
msgstr "B<MAP_ANON>" |
| 388 |
|
| 389 |
#. type: Plain text |
| 390 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 391 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 392 |
msgid "" |
| 393 |
"Synonym for B<MAP_ANONYMOUS>; provided for compatibility with other " |
| 394 |
"implementations." |
| 395 |
msgstr "" |
| 396 |
"Równoważne B<MAP_ANONYMOUS>; istnieje dla kompatybilności z innymi " |
| 397 |
"implementacjami." |
| 398 |
|
| 399 |
#. type: TP |
| 400 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 401 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 402 |
#, no-wrap |
| 403 |
msgid "B<MAP_ANONYMOUS>" |
| 404 |
msgstr "B<MAP_ANONYMOUS>" |
| 405 |
|
| 406 |
#. See the pgoff overflow check in do_mmap(). |
| 407 |
#. See the offset check in sys_mmap in arch/x86/kernel/sys_x86_64.c. |
| 408 |
#. type: Plain text |
| 409 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 410 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 411 |
msgid "" |
| 412 |
"The mapping is not backed by any file; its contents are initialized to " |
| 413 |
"zero. The I<fd> argument is ignored; however, some implementations require " |
| 414 |
"I<fd> to be -1 if B<MAP_ANONYMOUS> (or B<MAP_ANON>) is specified, and " |
| 415 |
"portable applications should ensure this. The I<offset> argument should be " |
| 416 |
"zero. Support for B<MAP_ANONYMOUS> in conjunction with B<MAP_SHARED> was " |
| 417 |
"added in Linux 2.4." |
| 418 |
msgstr "" |
| 419 |
"Mapowanie nie jest oparte na pliku; jego zawartość jest inicjowana jako " |
| 420 |
"zero. Argument I<fd> jest ignorowany, jednak niektóre implementacje " |
| 421 |
"wymagają, aby I<fd> wynosiło -1 jeśli podano B<MAP_ANONYMOUS> (lub " |
| 422 |
"B<MAP_ANON>), dlatego przenośne aplikacje powinny używać tej wartości. " |
| 423 |
"Argument I<offset> powinien wynosić zero. Obsługę B<MAP_ANONYMOUS> w " |
| 424 |
"połączeniu z B<MAP_SHARED> dodano w Linuksie 2.4." |
| 425 |
|
| 426 |
#. type: TP |
| 427 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 428 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 429 |
#, no-wrap |
| 430 |
msgid "B<MAP_DENYWRITE>" |
| 431 |
msgstr "B<MAP_DENYWRITE>" |
| 432 |
|
| 433 |
#. Introduced in 1.1.36, removed in 1.3.24. |
| 434 |
#. type: Plain text |
| 435 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 436 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 437 |
msgid "" |
| 438 |
"This flag is ignored. (Long ago\\[em]Linux 2.0 and earlier\\[em]it signaled " |
| 439 |
"that attempts to write to the underlying file should fail with B<ETXTBSY>. " |
| 440 |
"But this was a source of denial-of-service attacks.)" |
| 441 |
msgstr "" |
| 442 |
"Ten znacznik jest ignorowany (dawno temu \\[em] Linux 2.0 i wcześniejsze \\" |
| 443 |
"[em] sygnalizował on, że próba zapisu to mapowanego pliku powinna zawieść z " |
| 444 |
"B<ETXTBSY>; było to jednak źródłem ataków blokujących usługę (DoS))." |
| 445 |
|
| 446 |
#. type: TP |
| 447 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 448 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 449 |
#, no-wrap |
| 450 |
msgid "B<MAP_EXECUTABLE>" |
| 451 |
msgstr "B<MAP_EXECUTABLE>" |
| 452 |
|
| 453 |
#. #-#-#-#-# archlinux: mmap.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 454 |
#. Introduced in 1.1.38, removed in 1.3.24. Flag tested in proc_follow_link. |
| 455 |
#. (Long ago, it signaled that the underlying file is an executable. |
| 456 |
#. However, that information was not really used anywhere.) |
| 457 |
#. Linus talked about DOS related to MAP_EXECUTABLE, but he was thinking of |
| 458 |
#. MAP_DENYWRITE? |
| 459 |
#. type: Plain text |
| 460 |
#. #-#-#-#-# debian-trixie: mmap.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 461 |
#. Introduced in 1.1.38, removed in 1.3.24. Flag tested in proc_follow_link. |
| 462 |
#. (Long ago, it signaled that the underlying file is an executable. |
| 463 |
#. However, that information was not really used anywhere.) |
| 464 |
#. Linus talked about DOS related to MAP_EXECUTABLE, but he was thinking of |
| 465 |
#. MAP_DENYWRITE? |
| 466 |
#. type: Plain text |
| 467 |
#. #-#-#-#-# debian-unstable: mmap.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 468 |
#. Introduced in 1.1.38, removed in 1.3.24. Flag tested in proc_follow_link. |
| 469 |
#. (Long ago, it signaled that the underlying file is an executable. |
| 470 |
#. However, that information was not really used anywhere.) |
| 471 |
#. Linus talked about DOS related to MAP_EXECUTABLE, but he was thinking of |
| 472 |
#. MAP_DENYWRITE? |
| 473 |
#. type: Plain text |
| 474 |
#. #-#-#-#-# fedora-44: mmap.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 475 |
#. Introduced in 1.1.38, removed in 1.3.24. Flag tested in proc_follow_link. |
| 476 |
#. (Long ago, it signaled that the underlying file is an executable. |
| 477 |
#. However, that information was not really used anywhere.) |
| 478 |
#. Linus talked about DOS related to MAP_EXECUTABLE, but he was thinking of |
| 479 |
#. MAP_DENYWRITE? |
| 480 |
#. type: Plain text |
| 481 |
#. #-#-#-#-# fedora-rawhide: mmap.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 482 |
#. Introduced in 1.1.38, removed in 1.3.24. Flag tested in proc_follow_link. |
| 483 |
#. (Long ago, it signaled that the underlying file is an executable. |
| 484 |
#. However, that information was not really used anywhere.) |
| 485 |
#. Linus talked about DOS related to MAP_EXECUTABLE, but he was thinking of |
| 486 |
#. MAP_DENYWRITE? |
| 487 |
#. type: Plain text |
| 488 |
#. #-#-#-#-# mageia-cauldron: mmap.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 489 |
#. Introduced in 1.1.38, removed in 1.3.24. Flag tested in proc_follow_link. |
| 490 |
#. (Long ago, it signaled that the underlying file is an executable. |
| 491 |
#. However, that information was not really used anywhere.) |
| 492 |
#. Linus talked about DOS related to MAP_EXECUTABLE, but he was thinking of |
| 493 |
#. MAP_DENYWRITE? |
| 494 |
#. type: Plain text |
| 495 |
#. #-#-#-#-# opensuse-leap-16-1: mmap.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 496 |
#. Introduced in 1.1.38, removed in 1.3.24. Flag tested in proc_follow_link. |
| 497 |
#. (Long ago, it signaled that the underlying file is an executable. |
| 498 |
#. However, that information was not really used anywhere.) |
| 499 |
#. Linus talked about DOS related to MAP_EXECUTABLE, but he was thinking of |
| 500 |
#. MAP_DENYWRITE? |
| 501 |
#. type: Plain text |
| 502 |
#. #-#-#-#-# opensuse-tumbleweed: mmap.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 503 |
#. Introduced in 1.1.38, removed in 1.3.24. Flag tested in proc_follow_link. |
| 504 |
#. (Long ago, it signaled that the underlying file is an executable. |
| 505 |
#. However, that information was not really used anywhere.) |
| 506 |
#. Linus talked about DOS related to MAP_EXECUTABLE, but he was thinking of |
| 507 |
#. MAP_DENYWRITE? |
| 508 |
#. type: Plain text |
| 509 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 510 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 511 |
msgid "This flag is ignored." |
| 512 |
msgstr "Ten znacznik jest ignorowany." |
| 513 |
|
| 514 |
#. type: TP |
| 515 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 516 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 517 |
#, no-wrap |
| 518 |
msgid "B<MAP_FILE>" |
| 519 |
msgstr "B<MAP_FILE>" |
| 520 |
|
| 521 |
#. On some systems, this was required as the opposite of |
| 522 |
#. MAP_ANONYMOUS -- mtk, 1 May 2007 |
| 523 |
#. type: Plain text |
| 524 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 525 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 526 |
msgid "Compatibility flag. Ignored." |
| 527 |
msgstr "Znacznik służący zgodności. Ignorowany." |
| 528 |
|
| 529 |
#. type: TP |
| 530 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 531 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 532 |
#, no-wrap |
| 533 |
msgid "B<MAP_FIXED>" |
| 534 |
msgstr "B<MAP_FIXED>" |
| 535 |
|
| 536 |
#. type: Plain text |
| 537 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 538 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 539 |
msgid "" |
| 540 |
"Don't interpret I<addr> as a hint: place the mapping at exactly that " |
| 541 |
"address. I<addr> must be suitably aligned: for most architectures a " |
| 542 |
"multiple of the page size is sufficient; however, some architectures may " |
| 543 |
"impose additional restrictions. If the memory region specified by I<addr> " |
| 544 |
"and I<length> overlaps pages of any existing mapping(s), then the overlapped " |
| 545 |
"part of the existing mapping(s) will be discarded. If the specified address " |
| 546 |
"cannot be used, B<mmap>() will fail." |
| 547 |
msgstr "" |
| 548 |
"Nie interpretuje I<addr> jako wskazówki: umieszcza mapowanie dokładnie na " |
| 549 |
"podanym adresie. I<addr> musi być właściwie wyrównany: w przypadku " |
| 550 |
"większości architektur, wystarczająca jest wielokrotność rozmiaru strony; " |
| 551 |
"jednak niektóre architektury mogą narzucać dodatkowe ograniczenia. Jeśli " |
| 552 |
"obszar pamięci podany w I<addr> i I<length> nachodzi na strony jakiegoś " |
| 553 |
"istniejącego mapowania, to te nachodzące części istniejącego mapowania " |
| 554 |
"zostaną odrzucone. Jeśli podany adres nie może być użyty, wywołanie " |
| 555 |
"B<mmap>() zawiedzie." |
| 556 |
|
| 557 |
#. type: Plain text |
| 558 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 559 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 560 |
msgid "" |
| 561 |
"Software that aspires to be portable should use the B<MAP_FIXED> flag with " |
| 562 |
"care, keeping in mind that the exact layout of a process's memory mappings " |
| 563 |
"is allowed to change significantly between Linux versions, C library " |
| 564 |
"versions, and operating system releases. I<Carefully read the discussion of " |
| 565 |
"this flag in NOTES!>" |
| 566 |
msgstr "" |
| 567 |
"Oprogramowanie, które ma zamiar być przenośne, powinno bardzo ostrożnie " |
| 568 |
"korzystać ze znacznika B<MAP_FIXED>, mając na względzie, że dokładny schemat " |
| 569 |
"mapowań pamięci procesu może się znacznie zmieniać pomiędzy wersjami " |
| 570 |
"Linuksa, wersjami biblioteki C i wydaniami systemu operacyjnego. I<Proszę " |
| 571 |
"dokładnie przeczytać omówienie tego znacznika w UWAGACH!>" |
| 572 |
|
| 573 |
#. type: TP |
| 574 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 575 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 576 |
#, no-wrap |
| 577 |
msgid "B<MAP_FIXED_NOREPLACE> (since Linux 4.17)" |
| 578 |
msgstr "B<MAP_FIXED_NOREPLACE> (od Linuksa 4.17)" |
| 579 |
|
| 580 |
#. commit a4ff8e8620d3f4f50ac4b41e8067b7d395056843 |
| 581 |
#. type: Plain text |
| 582 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 583 |
#: opensuse-tumbleweed |
| 584 |
msgid "" |
| 585 |
"This flag provides behavior that is similar to B<MAP_FIXED> with respect to " |
| 586 |
"the I<addr> enforcement, but differs in that B<MAP_FIXED_NOREPLACE> never " |
| 587 |
"clobbers a preexisting mapped range. If the requested range would collide " |
| 588 |
"with an existing mapping, then this call fails with the error B<EEXIST.> " |
| 589 |
"This flag can therefore be used as a way to atomically (with respect to " |
| 590 |
"other threads) attempt to map an address range: one thread will succeed; " |
| 591 |
"all others will report failure." |
| 592 |
msgstr "" |
| 593 |
"Znacznik zapewnia zachowanie podobne do B<MAP_FIXED>, jeśli chodzi o " |
| 594 |
"wymuszenie adresu I<addr>, lecz z tą różnicą, że B<MAP_FIXED_NOREPLACE> " |
| 595 |
"nigdy nie narusza wcześniejszego zakresu mapowania. Jeśli żądany zakres " |
| 596 |
"kolidowałby z istniejącym mapowaniem, to wywołanie zawiedzie z błędem " |
| 597 |
"B<EEXIST>. Znacznik ten może zatem posłużyć do niepodzielnej (z " |
| 598 |
"uwzględnieniem innym wątków) próby mapowania zakresu adresowego: u jednego " |
| 599 |
"wątku powiedzie się to, wszystkie inne zawiodą." |
| 600 |
|
| 601 |
#. type: Plain text |
| 602 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 603 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 604 |
msgid "" |
| 605 |
"Note that older kernels which do not recognize the B<MAP_FIXED_NOREPLACE> " |
| 606 |
"flag will typically (upon detecting a collision with a preexisting mapping) " |
| 607 |
"fall back to a \\[lq]non-B<MAP_FIXED>\\[rq] type of behavior: they will " |
| 608 |
"return an address that is different from the requested address. Therefore, " |
| 609 |
"backward-compatible software should check the returned address against the " |
| 610 |
"requested address." |
| 611 |
msgstr "" |
| 612 |
"Proszę zauważyć, że starsze jądra, które nie rozpoznają znacznika " |
| 613 |
"B<MAP_FIXED_NOREPLACE>, zwykle (po wykryciu kolizji z wcześniejszym " |
| 614 |
"mapowaniem) awaryjnie zachowają się jak \\[Bq]nie-B<MAP_FIXED>\\[rq]: zwrócą " |
| 615 |
"adres, który jest odmienny od adresu żądanego. Oprogramowanie, które ma być " |
| 616 |
"kompatybilne wstecznie, powinno zatem sprawdzać zwracany adres z adresem " |
| 617 |
"żądanym." |
| 618 |
|
| 619 |
#. type: TP |
| 620 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 621 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 622 |
#, no-wrap |
| 623 |
msgid "B<MAP_GROWSDOWN>" |
| 624 |
msgstr "B<MAP_GROWSDOWN>" |
| 625 |
|
| 626 |
#. type: Plain text |
| 627 |
#: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed |
| 628 |
msgid "" |
| 629 |
"This flag is used for stacks. It indicates to the kernel virtual memory " |
| 630 |
"system that the mapping should extend downward in memory. Touching an " |
| 631 |
"address in the \"guard\" page below the mapping will cause the mapping to " |
| 632 |
"grow by a page. This growth can be repeated until the mapping grows to " |
| 633 |
"within a page of the high end of the next lower mapping, at which point " |
| 634 |
"touching the \"guard\" page will result in a B<SIGSEGV> signal." |
| 635 |
msgstr "" |
| 636 |
"Znacznik jest używany do stosów. Wskazuje systemowi pamięci wirtualnej " |
| 637 |
"jądra, że mapowanie ma kontynuować się w dół pamięci. Dotknięcie adresu w \\" |
| 638 |
"[Bq]strzeżonej\\[rq] stronie (guard page) poniżej mapowania spowoduje " |
| 639 |
"zwiększenie mapowania o jedną stronę. Ten wzrost można powtarzać do momentu, " |
| 640 |
"gdy mapowanie osiągnie wysoki koniec strony następnego niższego mapowania; " |
| 641 |
"wówczas dotknięcie \\[Bq]strzeżonej\\[rq] strony spowoduje sygnał B<SIGSEGV>." |
| 642 |
|
| 643 |
#. type: TP |
| 644 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 645 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 646 |
#, no-wrap |
| 647 |
msgid "B<MAP_HUGETLB> (since Linux 2.6.32)" |
| 648 |
msgstr "B<MAP_HUGETLB> (od Linuksa 2.6.32)" |
| 649 |
|
| 650 |
#. type: Plain text |
| 651 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 652 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 653 |
msgid "" |
| 654 |
"Allocate the mapping using \"huge\" pages. See the Linux kernel source file " |
| 655 |
"I<Documentation/admin-guide/mm/hugetlbpage.rst> for further information, as " |
| 656 |
"well as NOTES, below." |
| 657 |
msgstr "" |
| 658 |
"Przydziela mapowanie za pomocą dużych (\\[Bq]huge\\[rq]) stron. Więcej " |
| 659 |
"informacji w pliku I<Documentation/admin-guide/mm/hugetlbpage.rst> w " |
| 660 |
"źródłach jądra Linux oraz w UWAGACH poniżej." |
| 661 |
|
| 662 |
#. type: TP |
| 663 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 664 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 665 |
#, no-wrap |
| 666 |
msgid "B<MAP_HUGE_2MB>" |
| 667 |
msgstr "B<MAP_HUGE_2MB>" |
| 668 |
|
| 669 |
#. type: TQ |
| 670 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 671 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 672 |
#, no-wrap |
| 673 |
msgid "B<MAP_HUGE_1GB> (since Linux 3.8)" |
| 674 |
msgstr "B<MAP_HUGE_1GB> (od Linuksa 3.8)" |
| 675 |
|
| 676 |
#. See https://lwn.net/Articles/533499/ |
| 677 |
#. type: Plain text |
| 678 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 679 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 680 |
msgid "" |
| 681 |
"Used in conjunction with B<MAP_HUGETLB> to select alternative hugetlb page " |
| 682 |
"sizes (respectively, 2\\ MB and 1\\ GB) on systems that support multiple " |
| 683 |
"hugetlb page sizes." |
| 684 |
msgstr "" |
| 685 |
"Używane w połączeniu z B<MAP_HUGETLB>, do wybrania alternatywnych rozmiarów " |
| 686 |
"strony hugetlb (odpowiednio, 2\\ MB i 1\\ GB) w systemach, które obsługują " |
| 687 |
"wiele rozmiarów stron hugetlb." |
| 688 |
|
| 689 |
#. type: Plain text |
| 690 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 691 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 692 |
msgid "" |
| 693 |
"More generally, the desired huge page size can be configured by encoding the " |
| 694 |
"base-2 logarithm of the desired page size in the six bits at the offset " |
| 695 |
"B<MAP_HUGE_SHIFT>. (A value of zero in this bit field provides the default " |
| 696 |
"huge page size; the default huge page size can be discovered via the " |
| 697 |
"I<Hugepagesize> field exposed by I</proc/meminfo>.) Thus, the above two " |
| 698 |
"constants are defined as:" |
| 699 |
msgstr "" |
| 700 |
"Ogólniej, żądany rozmiar dużych stron można skonfigurować, podając logarytm " |
| 701 |
"o podstawie 2, żądanego rozmiaru strony, w sześciu bitach na przesunięciu " |
| 702 |
"B<MAP_HUGE_SHIFT> (wartość zero w tym polu bitowym oznacza domyślny rozmiar " |
| 703 |
"dużej strony; można go sprawdzić za pomocą pola I<Hugepagesize> ujawnianego " |
| 704 |
"w I</proc/meminfo>). Zatem, powyższe dwie stałe są zdefiniowane jako:" |
| 705 |
|
| 706 |
#. type: Plain text |
| 707 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 708 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 709 |
#, no-wrap |
| 710 |
msgid "" |
| 711 |
"#define MAP_HUGE_2MB (21 E<lt>E<lt> MAP_HUGE_SHIFT)\n" |
| 712 |
"#define MAP_HUGE_1GB (30 E<lt>E<lt> MAP_HUGE_SHIFT)\n" |
| 713 |
msgstr "" |
| 714 |
"#define MAP_HUGE_2MB (21 E<lt>E<lt> MAP_HUGE_SHIFT)\n" |
| 715 |
"#define MAP_HUGE_1GB (30 E<lt>E<lt> MAP_HUGE_SHIFT)\n" |
| 716 |
|
| 717 |
#. type: Plain text |
| 718 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 719 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 720 |
msgid "" |
| 721 |
"The range of huge page sizes that are supported by the system can be " |
| 722 |
"discovered by listing the subdirectories in I</sys/kernel/mm/hugepages>." |
| 723 |
msgstr "" |
| 724 |
"Zakres obsługiwanych rozmiarów dużych stron w systemie można sprawdzić, " |
| 725 |
"wypisując podkatalogi w katalogu I</sys/kernel/mm/hugepages>." |
| 726 |
|
| 727 |
#. type: TP |
| 728 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 729 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 730 |
#, no-wrap |
| 731 |
msgid "B<MAP_LOCKED> (since Linux 2.5.37)" |
| 732 |
msgstr "B<MAP_LOCKED> (od Linuksa 2.5.37)" |
| 733 |
|
| 734 |
# page fault = chybienie strony za https://www.ia.pw.edu.pl/~tkruk/edu/soib/ |
| 735 |
# wyklad/w05_art.pdf. Używany często termin "błąd stronicowania" jest |
| 736 |
# zdecydowanie mylący. |
| 737 |
#. If set, the mapped pages will not be swapped out. |
| 738 |
#. type: Plain text |
| 739 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 740 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 741 |
msgid "" |
| 742 |
"Mark the mapped region to be locked in the same way as B<mlock>(2). This " |
| 743 |
"implementation will try to populate (prefault) the whole range but the " |
| 744 |
"B<mmap>() call doesn't fail with B<ENOMEM> if this fails. Therefore major " |
| 745 |
"faults might happen later on. So the semantic is not as strong as " |
| 746 |
"B<mlock>(2). One should use B<mmap>() plus B<mlock>(2) when major faults " |
| 747 |
"are not acceptable after the initialization of the mapping. The " |
| 748 |
"B<MAP_LOCKED> flag is ignored in older kernels." |
| 749 |
msgstr "" |
| 750 |
"Oznacza mapowany obszar jako zablokowany w ten sam sposób, jak robi to " |
| 751 |
"B<mlock>(2). Ta implementacja postara się wypełnić (prefault) cały zakres, " |
| 752 |
"lecz wywołanie B<mmap>() nie zawodzi z błędem B<ENOMEM> gdy się to nie " |
| 753 |
"powiedzie. Z tego względu później mogą wystąpić główne chybienia stron (ang. " |
| 754 |
"major page fault). Semantyka ta nie jest zatem tak mocna jak B<mlock>(2). " |
| 755 |
"Jeśli po zainicjowaniu mapowania nie są później dopuszczalne główne " |
| 756 |
"chybienia stron, należy korzystać w zamian z B<mmap>() wraz z B<mlock>(2). " |
| 757 |
"Znacznik B<MAP_LOCKED> jest ignorowany przez starsze jądra." |
| 758 |
|
| 759 |
#. type: TP |
| 760 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 761 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 762 |
#, no-wrap |
| 763 |
msgid "B<MAP_NONBLOCK> (since Linux 2.5.46)" |
| 764 |
msgstr "B<MAP_NONBLOCK> (od Linuksa 2.5.46)" |
| 765 |
|
| 766 |
#. commit 54cb8821de07f2ffcd28c380ce9b93d5784b40d7 |
| 767 |
#. type: Plain text |
| 768 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 769 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 770 |
msgid "" |
| 771 |
"This flag is meaningful only in conjunction with B<MAP_POPULATE>. Don't " |
| 772 |
"perform read-ahead: create page tables entries only for pages that are " |
| 773 |
"already present in RAM. Since Linux 2.6.23, this flag causes " |
| 774 |
"B<MAP_POPULATE> to do nothing. One day, the combination of B<MAP_POPULATE> " |
| 775 |
"and B<MAP_NONBLOCK> may be reimplemented." |
| 776 |
msgstr "" |
| 777 |
"Znacznik ten ma znaczenie tylko w połączeniu z B<MAP_POPULATE>. Nie " |
| 778 |
"przeprowadza odczytu naprzód: wpisy tablicy stron są tworzone tylko w " |
| 779 |
"przypadku stron, które są już obecne w RAM. Od Linuksa 2.6.23, znacznik ten " |
| 780 |
"nie ma wpływu na B<MAP_POPULATE>. W przyszłości, połączenie B<MAP_POPULATE> " |
| 781 |
"z B<MAP_NONBLOCK> może zostać na nowo zaimplementowane." |
| 782 |
|
| 783 |
#. type: TP |
| 784 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 785 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 786 |
#, no-wrap |
| 787 |
msgid "B<MAP_NORESERVE>" |
| 788 |
msgstr "B<MAP_NORESERVE>" |
| 789 |
|
| 790 |
#. type: Plain text |
| 791 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 792 |
#: opensuse-tumbleweed |
| 793 |
msgid "" |
| 794 |
"Do not reserve swap space for this mapping. When swap space is reserved, " |
| 795 |
"one has the guarantee that it is possible to modify the mapping. When swap " |
| 796 |
"space is not reserved one might get B<SIGSEGV> upon a write if no physical " |
| 797 |
"memory is available. See also the discussion of the file I</proc/sys/vm/" |
| 798 |
"overcommit_memory> in B<proc_sys_vm>(5). Before Linux 2.6, this flag had " |
| 799 |
"effect only for private writable mappings." |
| 800 |
msgstr "" |
| 801 |
"Poleca nie rezerwować przestrzeni wymiany dla tego mapowania. Gdy przestrzeń " |
| 802 |
"wymiany jest zarezerwowana, ma się gwarancję, że istnieje możliwość " |
| 803 |
"modyfikacji mapowania. Gdy przestrzeń wymiany nie jest zarezerwowana, można " |
| 804 |
"otrzymać B<SIGSEGV> podczas zapisu, jeśli braknie pamięci fizycznej. Proszę " |
| 805 |
"zapoznać się również z opisem pliku I</proc/sys/vm/overcommit_memory> w " |
| 806 |
"B<proc_sys_fs>(5). Przed Linuksem 2.6, znacznik ten działał tylko dla " |
| 807 |
"prywatnych, zapisywalnych mapowań." |
| 808 |
|
| 809 |
#. type: TP |
| 810 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 811 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 812 |
#, no-wrap |
| 813 |
msgid "B<MAP_POPULATE> (since Linux 2.5.46)" |
| 814 |
msgstr "B<MAP_POPULATE> (od Linuksa 2.5.46)" |
| 815 |
|
| 816 |
# page fault = chybienie strony za https://www.ia.pw.edu.pl/~tkruk/edu/soib/ |
| 817 |
# wyklad/w05_art.pdf. Używany często termin "błąd stronicowania" jest |
| 818 |
# zdecydowanie mylący. |
| 819 |
#. type: Plain text |
| 820 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 821 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 822 |
msgid "" |
| 823 |
"Populate (prefault) page tables for a mapping. For a file mapping, this " |
| 824 |
"causes read-ahead on the file. This will help to reduce blocking on page " |
| 825 |
"faults later. The B<mmap>() call doesn't fail if the mapping cannot be " |
| 826 |
"populated (for example, due to limitations on the number of mapped huge " |
| 827 |
"pages when using B<MAP_HUGETLB>). Support for B<MAP_POPULATE> in " |
| 828 |
"conjunction with private mappings was added in Linux 2.6.23." |
| 829 |
msgstr "" |
| 830 |
"Wypełnia (prefault) tablice strony dla mapowania. W przypadku mapowania " |
| 831 |
"pliku, powoduje to odczyt z wyprzedzeniem pliku. W ten sposób redukuje się " |
| 832 |
"blokowanie, przy późniejszych chybieniach stron (ang. page fault). Wywołanie " |
| 833 |
"B<mmap>() nie zawodzi, jeśli nie da się wypełnić mapowania (np. ze względu " |
| 834 |
"na ograniczenie liczby mapowanych dużych (huge) stron, za pomocą " |
| 835 |
"B<MAP_HUGETLB>). Obsługę B<MAP_POPULATE> w połączeniu z mapowaniami " |
| 836 |
"prywatnymi dodano w Linuksie 2.6.23." |
| 837 |
|
| 838 |
#. type: TP |
| 839 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 840 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 841 |
#, no-wrap |
| 842 |
msgid "B<MAP_STACK> (since Linux 2.6.27)" |
| 843 |
msgstr "B<MAP_STACK> (od Linuksa 2.6.27)" |
| 844 |
|
| 845 |
#. type: Plain text |
| 846 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 847 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 848 |
msgid "" |
| 849 |
"Allocate the mapping at an address suitable for a process or thread stack." |
| 850 |
msgstr "" |
| 851 |
"Przydziela mapowanie na adresie odpowiednim dla stosu: procesu lub wątku." |
| 852 |
|
| 853 |
#. See http://lwn.net/Articles/294642 "Tangled up in threads", 19 Aug 08 |
| 854 |
#. commit cd98a04a59e2f94fa64d5bf1e26498d27427d5e7 |
| 855 |
#. http://thread.gmane.org/gmane.linux.kernel/720412 |
| 856 |
#. "pthread_create() slow for many threads; also time to revisit 64b |
| 857 |
#. context switch optimization?" |
| 858 |
#. type: Plain text |
| 859 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 860 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 861 |
msgid "" |
| 862 |
"This flag is currently a no-op on Linux. However, by employing this flag, " |
| 863 |
"applications can ensure that they transparently obtain support if the flag " |
| 864 |
"is implemented in the future. Thus, it is used in the glibc threading " |
| 865 |
"implementation to allow for the fact that some architectures may (later) " |
| 866 |
"require special treatment for stack allocations. A further reason to employ " |
| 867 |
"this flag is portability: B<MAP_STACK> exists (and has an effect) on some " |
| 868 |
"other systems (e.g., some of the BSDs)." |
| 869 |
msgstr "" |
| 870 |
"Znacznik ten jest w Linuksie instrukcją pustą. Jednak podając go, przenośne " |
| 871 |
"aplikacje mogą zapewnić zyskanie obsługi znacznika, gdy zostanie on w " |
| 872 |
"przyszłości zaimplementowany. Z tego względu jest używany w implementacji " |
| 873 |
"wątkowania glibc, aby uwzględnić fakt, że niektóre architektury mogą (w " |
| 874 |
"przyszłości) wymagać specjalnego traktowania przy alokowaniu stosu. Kolejnym " |
| 875 |
"powodem korzystania z tego znacznika jest przenośność: B<MAP_STACK> istnieje " |
| 876 |
"(i działa) na niektórych innych systemach (np. niektórych BSD)." |
| 877 |
|
| 878 |
#. type: TP |
| 879 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 880 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 881 |
#, no-wrap |
| 882 |
msgid "B<MAP_SYNC> (since Linux 4.15)" |
| 883 |
msgstr "B<MAP_SYNC> (od Linuksa 4.15)" |
| 884 |
|
| 885 |
#. type: Plain text |
| 886 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 887 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 888 |
msgid "" |
| 889 |
"This flag is available only with the B<MAP_SHARED_VALIDATE> mapping type; " |
| 890 |
"mappings of type B<MAP_SHARED> will silently ignore this flag. This flag is " |
| 891 |
"supported only for files supporting DAX (direct mapping of persistent " |
| 892 |
"memory). For other files, creating a mapping with this flag results in an " |
| 893 |
"B<EOPNOTSUPP> error." |
| 894 |
msgstr "" |
| 895 |
"Znacznik ten jest dostępny jedynie z typem mapowania B<MAP_SHARED_VALIDATE>; " |
| 896 |
"mapowania typu B<MAP_SHARED> po cichu go zignorują. Znacznik ten jest " |
| 897 |
"obsługiwany jedynie dla plików obsługujących DAX (bezpośrednie mapowanie do " |
| 898 |
"pamięci trwałej). W przypadku innych plików, utworzenie mapowania z tym " |
| 899 |
"znacznikiem spowoduje wystąpienie błędu B<EOPNOTSUPP>." |
| 900 |
|
| 901 |
#. type: Plain text |
| 902 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 903 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 904 |
msgid "" |
| 905 |
"Shared file mappings with this flag provide the guarantee that while some " |
| 906 |
"memory is mapped writable in the address space of the process, it will be " |
| 907 |
"visible in the same file at the same offset even after the system crashes or " |
| 908 |
"is rebooted. In conjunction with the use of appropriate CPU instructions, " |
| 909 |
"this provides users of such mappings with a more efficient way of making " |
| 910 |
"data modifications persistent." |
| 911 |
msgstr "" |
| 912 |
"Dzielone mapowania pliku z tym znacznikiem zapewniają gwarancję, że choć " |
| 913 |
"pewna część pamięci będzie zmapowana jako zapisywalna w przestrzeni " |
| 914 |
"adresowej procesu, będzie ona widoczna w tym samym pliku, na tym samym " |
| 915 |
"przesunięciu, nawet po załamaniu lub przeładowaniu systemu. W połączeniu z " |
| 916 |
"odpowiednimi instrukcjami procesora, użytkownicy takich mapowań mają " |
| 917 |
"zapewnioną lepszy tryb czynienia modyfikacji danych trwałymi." |
| 918 |
|
| 919 |
#. type: TP |
| 920 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 921 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 922 |
#, no-wrap |
| 923 |
msgid "B<MAP_UNINITIALIZED> (since Linux 2.6.33)" |
| 924 |
msgstr "B<MAP_UNINITIALIZED> (od Linuksa 2.6.33)" |
| 925 |
|
| 926 |
#. type: Plain text |
| 927 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 928 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 929 |
msgid "" |
| 930 |
"Don't clear anonymous pages. This flag is intended to improve performance " |
| 931 |
"on embedded devices. This flag is honored only if the kernel was configured " |
| 932 |
"with the B<CONFIG_MMAP_ALLOW_UNINITIALIZED> option. Because of the security " |
| 933 |
"implications, that option is normally enabled only on embedded devices " |
| 934 |
"(i.e., devices where one has complete control of the contents of user " |
| 935 |
"memory)." |
| 936 |
msgstr "" |
| 937 |
"Nie czyści stron anonimowych. Znacznik ten ma polepszyć wydajność na " |
| 938 |
"urządzeniach wbudowanych. Znacznik jest przestrzegany tylko, gdy jądro " |
| 939 |
"skonfigurowano z opcją B<CONFIG_MMAP_ALLOW_UNINITIALIZED>. Ze względu na " |
| 940 |
"skutki w zakresie bezpieczeństwa, opcja ta jest zwykle włączana wyłącznie na " |
| 941 |
"urządzeniach wbudowanych (tj. mających całkowitą kontrolę nad zawartością " |
| 942 |
"pamięci użytkownika)." |
| 943 |
|
| 944 |
#. FIXME . for later review when Issue 8 is one day released... |
| 945 |
#. POSIX may add MAP_ANON in the future |
| 946 |
#. http://austingroupbugs.net/tag_view_page.php?tag_id=8 |
| 947 |
#. http://austingroupbugs.net/view.php?id=850 |
| 948 |
#. type: Plain text |
| 949 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 950 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 951 |
msgid "" |
| 952 |
"Of the above flags, only B<MAP_FIXED> is specified in POSIX.1-2001 and " |
| 953 |
"POSIX.1-2008. However, most systems also support B<MAP_ANONYMOUS> (or its " |
| 954 |
"synonym B<MAP_ANON>)." |
| 955 |
msgstr "" |
| 956 |
"Z powyższych znaczników, jedynie B<MAP_FIXED> jest określony przez " |
| 957 |
"POSIX.1-2001 i POSIX.1-2008. Większość systemów obsługuje jednak także " |
| 958 |
"B<MAP_ANONYMOUS> (lub jego synonim B<MAP_ANON>)." |
| 959 |
|
| 960 |
#. type: SS |
| 961 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 962 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 963 |
#, no-wrap |
| 964 |
msgid "munmap()" |
| 965 |
msgstr "munmap()" |
| 966 |
|
| 967 |
#. type: Plain text |
| 968 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 969 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 970 |
msgid "" |
| 971 |
"The B<munmap>() system call deletes the mappings for the specified address " |
| 972 |
"range, and causes further references to addresses within the range to " |
| 973 |
"generate invalid memory references. The region is also automatically " |
| 974 |
"unmapped when the process is terminated. On the other hand, closing the " |
| 975 |
"file descriptor does not unmap the region." |
| 976 |
msgstr "" |
| 977 |
"Wywołanie systemowe B<munmap>() usuwa mapowanie z podanego zakresu adresów i " |
| 978 |
"powoduje, że dalsze odwołania do adresów z tego zakresu będą generować " |
| 979 |
"nieprawidłowe odwołania do pamięci. Mapowanie obszaru jest również " |
| 980 |
"automatycznie usuwane, gdy proces się zakończy. Z drugiej strony, zamknięcie " |
| 981 |
"deskryptora pliku nie usuwa mapowania obszaru." |
| 982 |
|
| 983 |
#. type: Plain text |
| 984 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 985 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 986 |
msgid "" |
| 987 |
"The address I<addr> must be a multiple of the page size (but I<length> need " |
| 988 |
"not be). All pages containing a part of the indicated range are unmapped, " |
| 989 |
"and subsequent references to these pages will generate B<SIGSEGV>. It is " |
| 990 |
"not an error if the indicated range does not contain any mapped pages." |
| 991 |
msgstr "" |
| 992 |
"Adres I<addr> musi być wielokrotnością rozmiaru strony (ale I<length> już " |
| 993 |
"nie musi). Usuwane jest mapowanie wszystkich stron zawierających fragmenty " |
| 994 |
"ze wskazanego zakresu, wszystkie późniejsze odwołania do tych stron " |
| 995 |
"wygenerują B<SIGSEGV>. Nie jest błędem, gdy brak w podanym zakresie " |
| 996 |
"zamapowanych stron." |
| 997 |
|
| 998 |
#. type: SH |
| 999 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1000 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1001 |
#, no-wrap |
| 1002 |
msgid "RETURN VALUE" |
| 1003 |
msgstr "WARTOŚĆ ZWRACANA" |
| 1004 |
|
| 1005 |
#. type: Plain text |
| 1006 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1007 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1008 |
msgid "" |
| 1009 |
"On success, B<mmap>() returns a pointer to the mapped area. On error, the " |
| 1010 |
"value B<MAP_FAILED> (that is, I<(void\\ *)\\ -1>) is returned, and I<errno> " |
| 1011 |
"is set to indicate the error." |
| 1012 |
msgstr "" |
| 1013 |
"Po pomyślnym zakończeniu B<mmap>() zwraca wskaźnik do mapowanego obszaru. Po " |
| 1014 |
"błędzie zwracane jest B<MAP_FAILED> (tj. I<(void\\ *)\\ -1>) i ustawiane " |
| 1015 |
"I<errno>, wskazując błąd." |
| 1016 |
|
| 1017 |
#. type: Plain text |
| 1018 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1019 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1020 |
msgid "" |
| 1021 |
"On success, B<munmap>() returns 0. On failure, it returns -1, and I<errno> " |
| 1022 |
"is set to indicate the error (probably to B<EINVAL>)." |
| 1023 |
msgstr "" |
| 1024 |
"Po pomyślnym zakończeniu B<munmap>() zwraca 0. Po błędzie zwracane jest -1 i " |
| 1025 |
"ustawiane I<errno>, wskazując błąd (prawdopodobnie 1B<EINVAL>)." |
| 1026 |
|
| 1027 |
#. type: SH |
| 1028 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1029 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1030 |
#, no-wrap |
| 1031 |
msgid "ERRORS" |
| 1032 |
msgstr "BŁĘDY" |
| 1033 |
|
| 1034 |
#. type: TP |
| 1035 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1036 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1037 |
#, no-wrap |
| 1038 |
msgid "B<EACCES>" |
| 1039 |
msgstr "B<EACCES>" |
| 1040 |
|
| 1041 |
#. type: Plain text |
| 1042 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1043 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1044 |
msgid "" |
| 1045 |
"A file descriptor refers to a non-regular file. Or a file mapping was " |
| 1046 |
"requested, but I<fd> is not open for reading. Or B<MAP_SHARED> was " |
| 1047 |
"requested and B<PROT_WRITE> is set, but I<fd> is not open in read/write " |
| 1048 |
"(B<O_RDWR>) mode. Or B<PROT_WRITE> is set, but the file is append-only." |
| 1049 |
msgstr "" |
| 1050 |
"Deskryptor pliku odnosi się do pliku innego niż zwykły plik. Lub zażądano " |
| 1051 |
"mapowania pliku, lecz I<fd> nie jest otwarty do odczytu. Lub zażądano " |
| 1052 |
"B<MAP_SHARED> i ustawiono B<PROT_WRITE>, lecz I<fd> nie jest otwarte w " |
| 1053 |
"trybie do odczytu i do zapisu (B<O_RDWR>). Lub ustawiono B<PROT_WRITE>, lecz " |
| 1054 |
"plik jest otwarty tylko do dopisywania." |
| 1055 |
|
| 1056 |
#. type: TP |
| 1057 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1058 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1059 |
#, no-wrap |
| 1060 |
msgid "B<EAGAIN>" |
| 1061 |
msgstr "B<EAGAIN>" |
| 1062 |
|
| 1063 |
#. type: Plain text |
| 1064 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1065 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1066 |
msgid "" |
| 1067 |
"The file has been locked, or too much memory has been locked (see " |
| 1068 |
"B<setrlimit>(2))." |
| 1069 |
msgstr "" |
| 1070 |
"Plik został zablokowany lub zablokowano zbyt wiele pamięci (zob. " |
| 1071 |
"B<setrlimit>(2))." |
| 1072 |
|
| 1073 |
#. type: TP |
| 1074 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1075 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1076 |
#, no-wrap |
| 1077 |
msgid "B<EBADF>" |
| 1078 |
msgstr "B<EBADF>" |
| 1079 |
|
| 1080 |
#. type: Plain text |
| 1081 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1082 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1083 |
msgid "" |
| 1084 |
"I<fd> is not a valid file descriptor (and B<MAP_ANONYMOUS> was not set)." |
| 1085 |
msgstr "" |
| 1086 |
"I<fd> nie jest prawidłowym deskryptorem pliku (a nie ustawiono " |
| 1087 |
"B<MAP_ANONYMOUS>)." |
| 1088 |
|
| 1089 |
#. type: TP |
| 1090 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1091 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1092 |
#, no-wrap |
| 1093 |
msgid "B<EEXIST>" |
| 1094 |
msgstr "B<EEXIST>" |
| 1095 |
|
| 1096 |
#. type: Plain text |
| 1097 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1098 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1099 |
msgid "" |
| 1100 |
"B<MAP_FIXED_NOREPLACE> was specified in I<flags>, and the range covered by " |
| 1101 |
"I<addr> and I<length> clashes with an existing mapping." |
| 1102 |
msgstr "" |
| 1103 |
"We I<flags> podano B<MAP_FIXED_NOREPLACE>, a zakres który opisuje I<addr> i " |
| 1104 |
"I<length> koliduje z istniejącym mapowaniem." |
| 1105 |
|
| 1106 |
#. type: TP |
| 1107 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1108 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1109 |
#, no-wrap |
| 1110 |
msgid "B<EINVAL>" |
| 1111 |
msgstr "B<EINVAL>" |
| 1112 |
|
| 1113 |
#. type: Plain text |
| 1114 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1115 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1116 |
msgid "" |
| 1117 |
"We don't like I<addr>, I<length>, or I<offset> (e.g., they are too large, or " |
| 1118 |
"not aligned on a page boundary)." |
| 1119 |
msgstr "" |
| 1120 |
"Niewłaściwe I<addr>, I<length> lub I<offset> (np. mogą być zbyt duże lub " |
| 1121 |
"niewyrównane do granicy strony)." |
| 1122 |
|
| 1123 |
#. type: Plain text |
| 1124 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1125 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1126 |
msgid "(since Linux 2.6.12) I<length> was 0." |
| 1127 |
msgstr "(od Linuksa 2.6.12) I<length> wynosiła 0." |
| 1128 |
|
| 1129 |
#. type: Plain text |
| 1130 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1131 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1132 |
msgid "" |
| 1133 |
"I<flags> contained none of B<MAP_PRIVATE>, B<MAP_SHARED>, or " |
| 1134 |
"B<MAP_SHARED_VALIDATE>." |
| 1135 |
msgstr "" |
| 1136 |
"We I<flags> nie wystąpiło żadne z: B<MAP_PRIVATE>, B<MAP_SHARED> lub " |
| 1137 |
"B<MAP_SHARED_VALIDATE>." |
| 1138 |
|
| 1139 |
#. type: TP |
| 1140 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1141 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1142 |
#, no-wrap |
| 1143 |
msgid "B<ENFILE>" |
| 1144 |
msgstr "B<ENFILE>" |
| 1145 |
|
| 1146 |
#. This is for shared anonymous segments |
| 1147 |
#. [2.6.7] shmem_zero_setup()-->shmem_file_setup()-->get_empty_filp() |
| 1148 |
#. .TP |
| 1149 |
#. .B ENOEXEC |
| 1150 |
#. A file could not be mapped for reading. |
| 1151 |
#. type: Plain text |
| 1152 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1153 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1154 |
msgid "" |
| 1155 |
"The system-wide limit on the total number of open files has been reached." |
| 1156 |
msgstr "" |
| 1157 |
"Zostało osiągnięte systemowe ograniczenie na całkowitą liczbę otwartych " |
| 1158 |
"plików." |
| 1159 |
|
| 1160 |
#. type: TP |
| 1161 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1162 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1163 |
#, no-wrap |
| 1164 |
msgid "B<ENODEV>" |
| 1165 |
msgstr "B<ENODEV>" |
| 1166 |
|
| 1167 |
#. type: Plain text |
| 1168 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1169 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1170 |
msgid "" |
| 1171 |
"The underlying filesystem of the specified file does not support memory " |
| 1172 |
"mapping." |
| 1173 |
msgstr "" |
| 1174 |
"System plików, na którym znajduje się podany plik, nie obsługuje mapowania w " |
| 1175 |
"pamięci." |
| 1176 |
|
| 1177 |
#. type: TP |
| 1178 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1179 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1180 |
#, no-wrap |
| 1181 |
msgid "B<ENOMEM>" |
| 1182 |
msgstr "B<ENOMEM>" |
| 1183 |
|
| 1184 |
#. type: Plain text |
| 1185 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1186 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1187 |
msgid "No memory is available." |
| 1188 |
msgstr "Brak dostępnej pamięci." |
| 1189 |
|
| 1190 |
#. type: Plain text |
| 1191 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1192 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1193 |
msgid "" |
| 1194 |
"The process's maximum number of mappings would have been exceeded. This " |
| 1195 |
"error can also occur for B<munmap>(), when unmapping a region in the middle " |
| 1196 |
"of an existing mapping, since this results in two smaller mappings on either " |
| 1197 |
"side of the region being unmapped." |
| 1198 |
msgstr "" |
| 1199 |
"Doszłoby do przekroczenia maksymalnej liczby mapowań procesu. Błąd ten może " |
| 1200 |
"wystąpić również dla B<munmap>(), przy usuwaniu mapowania z obszaru w środku " |
| 1201 |
"istniejącego mapowania, ponieważ spowodowałoby to powstanie dwóch mniejszych " |
| 1202 |
"mapowań po obu stronach niezmapowanego obszaru." |
| 1203 |
|
| 1204 |
#. type: Plain text |
| 1205 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1206 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1207 |
msgid "" |
| 1208 |
"(since Linux 4.7) The process's B<RLIMIT_DATA> limit, described in " |
| 1209 |
"B<getrlimit>(2), would have been exceeded." |
| 1210 |
msgstr "" |
| 1211 |
"(od Linuksa 4.7) Doszłoby do przekroczenia limitu B<RLIMIT_DATA> procesu, " |
| 1212 |
"opisanego w podręczniku B<getrlimit>(2)." |
| 1213 |
|
| 1214 |
#. type: Plain text |
| 1215 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1216 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1217 |
msgid "" |
| 1218 |
"We don't like I<addr>, because it exceeds the virtual address space of the " |
| 1219 |
"CPU." |
| 1220 |
msgstr "I<addr> przekroczyłoby wirtualną przestrzeń adresową procesora." |
| 1221 |
|
| 1222 |
#. type: TP |
| 1223 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1224 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1225 |
#, no-wrap |
| 1226 |
msgid "B<EOVERFLOW>" |
| 1227 |
msgstr "B<EOVERFLOW>" |
| 1228 |
|
| 1229 |
#. type: Plain text |
| 1230 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1231 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1232 |
msgid "" |
| 1233 |
"On 32-bit architecture together with the large file extension (i.e., using " |
| 1234 |
"64-bit I<off_t>): the number of pages used for I<length> plus number of " |
| 1235 |
"pages used for I<offset> would overflow I<unsigned long> (32 bits)." |
| 1236 |
msgstr "" |
| 1237 |
"Na architekturze 32-bitowej z rozszerzeniem dużych plików (tj. korzystając z " |
| 1238 |
"64-bitowego I<off_t>): liczba stron użytych dla I<length> wraz z liczbą " |
| 1239 |
"stron użytych dla I<offset> przepełniłaby liczbę typu I<unsigned long> (32-" |
| 1240 |
"bitową)." |
| 1241 |
|
| 1242 |
#. type: TP |
| 1243 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1244 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1245 |
#, no-wrap |
| 1246 |
msgid "B<EPERM>" |
| 1247 |
msgstr "B<EPERM>" |
| 1248 |
|
| 1249 |
#. (Since Linux 2.4.25 / Linux 2.6.0.) |
| 1250 |
#. type: Plain text |
| 1251 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1252 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1253 |
msgid "" |
| 1254 |
"The I<prot> argument asks for B<PROT_EXEC> but the mapped area belongs to a " |
| 1255 |
"file on a filesystem that was mounted no-exec." |
| 1256 |
msgstr "" |
| 1257 |
"Argument I<prot> pyta o B<PROT_EXEC> lecz mapowany obszar należy do pliku " |
| 1258 |
"zamontowanego na systemie plików z opcją no-exec (bez zezwolenia na " |
| 1259 |
"wykonywanie)." |
| 1260 |
|
| 1261 |
#. type: Plain text |
| 1262 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1263 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1264 |
msgid "The operation was prevented by a file seal; see B<fcntl>(2)." |
| 1265 |
msgstr "" |
| 1266 |
"Operacja zablokowana, z powodu zapieczętowania pliku (ang. file seal); zob. " |
| 1267 |
"B<fcntl>(2)." |
| 1268 |
|
| 1269 |
#. type: Plain text |
| 1270 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 1271 |
#: opensuse-tumbleweed |
| 1272 |
msgid "" |
| 1273 |
"The B<MAP_HUGETLB> flag was specified, but the caller was not privileged " |
| 1274 |
"(did not have the B<CAP_IPC_LOCK> capability) and is not a member of the " |
| 1275 |
"I<hugetlb_shm_group> group; see the description of I</proc/sys/vm/" |
| 1276 |
"hugetlb_shm_group> in B<proc_sys_vm>(5)." |
| 1277 |
msgstr "" |
| 1278 |
"Podano znacznik B<MAP_HUGETLB>, lecz wywołujący nie był uprzywilejowany (nie " |
| 1279 |
"miał przywileju B<CAP_IPC_LOCK> (ang. capability)) i nie jest członkiem " |
| 1280 |
"grupy I<hugetlb_shm_group>; zob. opis I</proc/sys/vm/hugetlb_shm_group> w " |
| 1281 |
"B<proc_sys_vm>(5)." |
| 1282 |
|
| 1283 |
#. type: TP |
| 1284 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1285 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1286 |
#, no-wrap |
| 1287 |
msgid "B<ETXTBSY>" |
| 1288 |
msgstr "B<ETXTBSY>" |
| 1289 |
|
| 1290 |
#. type: Plain text |
| 1291 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1292 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1293 |
msgid "" |
| 1294 |
"B<MAP_DENYWRITE> was set but the object specified by I<fd> is open for " |
| 1295 |
"writing." |
| 1296 |
msgstr "" |
| 1297 |
"Ustawiono B<MAP_DENYWRITE>, lecz obiekt wskazywany przez I<fd> jest otwarty " |
| 1298 |
"do zapisu." |
| 1299 |
|
| 1300 |
#. type: Plain text |
| 1301 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1302 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1303 |
msgid "Use of a mapped region can result in these signals:" |
| 1304 |
msgstr "" |
| 1305 |
"Użycie zamapowanego obszaru może spowodować wystąpienie następujących " |
| 1306 |
"sygnałów:" |
| 1307 |
|
| 1308 |
#. type: TP |
| 1309 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1310 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1311 |
#, no-wrap |
| 1312 |
msgid "B<SIGSEGV>" |
| 1313 |
msgstr "B<SIGSEGV>" |
| 1314 |
|
| 1315 |
#. type: Plain text |
| 1316 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1317 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1318 |
msgid "Attempted write into a region mapped as read-only." |
| 1319 |
msgstr "Próba zapisu do obszaru zmapowanego tylko do odczytu." |
| 1320 |
|
| 1321 |
#. type: TP |
| 1322 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1323 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1324 |
#, no-wrap |
| 1325 |
msgid "B<SIGBUS>" |
| 1326 |
msgstr "B<SIGBUS>" |
| 1327 |
|
| 1328 |
#. type: Plain text |
| 1329 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1330 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1331 |
msgid "" |
| 1332 |
"Attempted access to a page of the buffer that lies beyond the end of the " |
| 1333 |
"mapped file. For an explanation of the treatment of the bytes in the page " |
| 1334 |
"that corresponds to the end of a mapped file that is not a multiple of the " |
| 1335 |
"page size, see NOTES." |
| 1336 |
msgstr "" |
| 1337 |
"Próba dostępu do strony bufora, która leży poza końcem mapowanego pliku. " |
| 1338 |
"Wyjaśnienie traktowania bajtów w stronie, która odnosi się do końca " |
| 1339 |
"mapowanego pliku i nie jest wielokrotnością rozmiaru strony zamieszczono w " |
| 1340 |
"UWAGACH." |
| 1341 |
|
| 1342 |
#. type: SH |
| 1343 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1344 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1345 |
#, no-wrap |
| 1346 |
msgid "ATTRIBUTES" |
| 1347 |
msgstr "ATRYBUTY" |
| 1348 |
|
| 1349 |
#. type: Plain text |
| 1350 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1351 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1352 |
msgid "" |
| 1353 |
"For an explanation of the terms used in this section, see B<attributes>(7)." |
| 1354 |
msgstr "" |
| 1355 |
"Informacje o pojęciach używanych w tym rozdziale można znaleźć w podręczniku " |
| 1356 |
"B<attributes>(7)." |
| 1357 |
|
| 1358 |
#. type: tbl table |
| 1359 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1360 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1361 |
#, no-wrap |
| 1362 |
msgid "Interface" |
| 1363 |
msgstr "Interfejs" |
| 1364 |
|
| 1365 |
#. type: tbl table |
| 1366 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1367 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1368 |
#, no-wrap |
| 1369 |
msgid "Attribute" |
| 1370 |
msgstr "Atrybut" |
| 1371 |
|
| 1372 |
#. type: tbl table |
| 1373 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1374 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1375 |
#, no-wrap |
| 1376 |
msgid "Value" |
| 1377 |
msgstr "Wartość" |
| 1378 |
|
| 1379 |
#. type: tbl table |
| 1380 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1381 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1382 |
#, no-wrap |
| 1383 |
msgid ".na\n" |
| 1384 |
msgstr ".na\n" |
| 1385 |
|
| 1386 |
#. type: tbl table |
| 1387 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1388 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1389 |
#, no-wrap |
| 1390 |
msgid ".nh\n" |
| 1391 |
msgstr ".nh\n" |
| 1392 |
|
| 1393 |
#. type: tbl table |
| 1394 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1395 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1396 |
#, no-wrap |
| 1397 |
msgid "" |
| 1398 |
"B<mmap>(),\n" |
| 1399 |
"B<munmap>()" |
| 1400 |
msgstr "" |
| 1401 |
"B<mmap>(),\n" |
| 1402 |
"B<munmap>()" |
| 1403 |
|
| 1404 |
#. type: tbl table |
| 1405 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1406 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1407 |
#, no-wrap |
| 1408 |
msgid "Thread safety" |
| 1409 |
msgstr "Bezpieczeństwo wątkowe" |
| 1410 |
|
| 1411 |
#. type: tbl table |
| 1412 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1413 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1414 |
#, no-wrap |
| 1415 |
msgid "MT-Safe" |
| 1416 |
msgstr "MT-bezpieczne" |
| 1417 |
|
| 1418 |
#. type: SH |
| 1419 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1420 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1421 |
#, no-wrap |
| 1422 |
msgid "VERSIONS" |
| 1423 |
msgstr "WERSJE" |
| 1424 |
|
| 1425 |
#. type: Plain text |
| 1426 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1427 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1428 |
msgid "" |
| 1429 |
"On some hardware architectures (e.g., i386), B<PROT_WRITE> implies " |
| 1430 |
"B<PROT_READ>. It is architecture dependent whether B<PROT_READ> implies " |
| 1431 |
"B<PROT_EXEC> or not. Portable programs should always set B<PROT_EXEC> if " |
| 1432 |
"they intend to execute code in the new mapping." |
| 1433 |
msgstr "" |
| 1434 |
"Na niektórych architekturach sprzętowych (np. i386), B<PROT_WRITE> wymusza " |
| 1435 |
"B<PROT_READ>. Od architektury zależy, czy B<PROT_READ> wymusza B<PROT_EXEC>, " |
| 1436 |
"czy nie. Programy przenośne powinny zawsze ustawiać B<PROT_EXEC>, jeśli mają " |
| 1437 |
"zamiar wykonywać kod w nowym mapowaniu." |
| 1438 |
|
| 1439 |
#. type: Plain text |
| 1440 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1441 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1442 |
msgid "" |
| 1443 |
"The portable way to create a mapping is to specify I<addr> as 0 (NULL), and " |
| 1444 |
"omit B<MAP_FIXED> from I<flags>. In this case, the system chooses the " |
| 1445 |
"address for the mapping; the address is chosen so as not to conflict with " |
| 1446 |
"any existing mapping, and will not be 0. If the B<MAP_FIXED> flag is " |
| 1447 |
"specified, and I<addr> is 0 (NULL), then the mapped address will be 0 (NULL)." |
| 1448 |
msgstr "" |
| 1449 |
"Przenośnym sposobem tworzenia mapowań jest podanie I<addr> jako 0 (NULL) i " |
| 1450 |
"pominięcie B<MAP_FIXED> z I<flags>. W takim przypadku to system wybierze " |
| 1451 |
"adres mapowania; wybrany adres uniknie konfliktu z istniejącymi mapowaniami " |
| 1452 |
"i nie będzie wynosił 0. Jeśli podano znacznik B<MAP_FIXED> , a I<addr> " |
| 1453 |
"wynosi 0 (NULL), to mapowany adres będzie wynosił 0 (NULL)." |
| 1454 |
|
| 1455 |
#. type: Plain text |
| 1456 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1457 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1458 |
msgid "" |
| 1459 |
"Certain I<flags> constants are defined only if suitable feature test macros " |
| 1460 |
"are defined (possibly by default): B<_DEFAULT_SOURCE> with glibc 2.19 or " |
| 1461 |
"later; or B<_BSD_SOURCE> or B<_SVID_SOURCE> in glibc 2.19 and earlier. " |
| 1462 |
"(Employing B<_GNU_SOURCE> also suffices, and requiring that macro " |
| 1463 |
"specifically would have been more logical, since these flags are all Linux-" |
| 1464 |
"specific.) The relevant flags are: B<MAP_32BIT>, B<MAP_ANONYMOUS> (and the " |
| 1465 |
"synonym B<MAP_ANON>), B<MAP_DENYWRITE>, B<MAP_EXECUTABLE>, B<MAP_FILE>, " |
| 1466 |
"B<MAP_GROWSDOWN>, B<MAP_HUGETLB>, B<MAP_LOCKED>, B<MAP_NONBLOCK>, " |
| 1467 |
"B<MAP_NORESERVE>, B<MAP_POPULATE>, and B<MAP_STACK>." |
| 1468 |
msgstr "" |
| 1469 |
"Pewne stałe I<flags> są zdefiniowane tylko wtedy, gdy zdefiniowano określone " |
| 1470 |
"makro sprawdzania cech (być może stało się to domyślnie): B<_DEFAULT_SOURCE> " |
| 1471 |
"z glibc 2.19 lub późniejszymi; B<_BSD_SOURCE> lub B<_SVID_SOURCE> w glibc " |
| 1472 |
"2.19 i wcześniejszych (podanie B<_GNU_SOURCE> jest również wystarczające i " |
| 1473 |
"wymaganie właśnie tego makra byłoby logiczniejsze, skoro wszystkie te " |
| 1474 |
"znaczniki są typowo linuksowe). Chodzi tu o znaczniki: B<MAP_32BIT>, " |
| 1475 |
"B<MAP_ANONYMOUS> (i synonim B<MAP_ANON>), B<MAP_DENYWRITE>, " |
| 1476 |
"B<MAP_EXECUTABLE>, B<MAP_FILE>, B<MAP_GROWSDOWN>, B<MAP_HUGETLB>, " |
| 1477 |
"B<MAP_LOCKED>, B<MAP_NONBLOCK>, B<MAP_NORESERVE>, B<MAP_POPULATE> oraz " |
| 1478 |
"B<MAP_STACK>." |
| 1479 |
|
| 1480 |
#. type: SS |
| 1481 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1482 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1483 |
#, no-wrap |
| 1484 |
msgid "C library/kernel differences" |
| 1485 |
msgstr "Różnice biblioteki C/jądra" |
| 1486 |
|
| 1487 |
#. Since around glibc 2.1/2.2, depending on the platform. |
| 1488 |
#. type: Plain text |
| 1489 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1490 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1491 |
msgid "" |
| 1492 |
"This page describes the interface provided by the glibc B<mmap>() wrapper " |
| 1493 |
"function. Originally, this function invoked a system call of the same " |
| 1494 |
"name. Since Linux 2.4, that system call has been superseded by B<mmap2>(2), " |
| 1495 |
"and nowadays the glibc B<mmap>() wrapper function invokes B<mmap2>(2) with " |
| 1496 |
"a suitably adjusted value for I<offset>." |
| 1497 |
msgstr "" |
| 1498 |
"Niniejszy podręcznik opisuje interfejs zapewniany przez funkcję opakowującą " |
| 1499 |
"B<mmap>() z glibc. Pierwotnie, funkcja ta przywoływała wywołanie systemowe o " |
| 1500 |
"tej samej nazwie. Od Linuksa 2.4, to wywołanie zostało zastąpione wywołaniem " |
| 1501 |
"B<mmap2>(2), dlatego obecnie funkcja opakowująca B<mmap>() z glibc " |
| 1502 |
"przywołuje B<mmap2>(2) z odpowiednio dostosowanymi wartościami I<offset>." |
| 1503 |
|
| 1504 |
#. type: SH |
| 1505 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1506 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1507 |
#, no-wrap |
| 1508 |
msgid "STANDARDS" |
| 1509 |
msgstr "STANDARDY" |
| 1510 |
|
| 1511 |
#. type: Plain text |
| 1512 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 1513 |
#: opensuse-tumbleweed |
| 1514 |
msgid "POSIX.1-2024." |
| 1515 |
msgstr "POSIX.1-2024." |
| 1516 |
|
| 1517 |
#. type: SH |
| 1518 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1519 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1520 |
#, no-wrap |
| 1521 |
msgid "HISTORY" |
| 1522 |
msgstr "HISTORIA" |
| 1523 |
|
| 1524 |
#. SVr4 documents additional error codes ENXIO and ENODEV. |
| 1525 |
#. SUSv2 documents additional error codes EMFILE and EOVERFLOW. |
| 1526 |
#. type: Plain text |
| 1527 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 1528 |
#: opensuse-tumbleweed |
| 1529 |
msgid "SVr4, 4.4BSD, SUSv1, POSIX.1-1996." |
| 1530 |
msgstr "SVr4, 4.4BSD, SUSv1, POSIX.1-1996." |
| 1531 |
|
| 1532 |
#. POSIX.1-2001: It shall be defined to -1 or 0 or 200112L. |
| 1533 |
#. -1: unavailable, 0: ask using sysconf(). |
| 1534 |
#. glibc defines it to 1. |
| 1535 |
#. type: Plain text |
| 1536 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1537 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1538 |
msgid "" |
| 1539 |
"On POSIX systems on which B<mmap>(), B<msync>(2), and B<munmap>() are " |
| 1540 |
"available, B<_POSIX_MAPPED_FILES> is defined in I<E<lt>unistd.hE<gt>> to a " |
| 1541 |
"value greater than 0. (See also B<sysconf>(3).)" |
| 1542 |
msgstr "" |
| 1543 |
"W systemach POSIX, na których dostępne są B<mmap>(), B<msync>(2) i " |
| 1544 |
"B<munmap>(), B<_POSIX_MAPPED_FILES> jest zdefiniowane w " |
| 1545 |
"I<E<lt>unistd.hE<gt>> na wartość większą niż 0 (zob. też B<sysconf>(3))." |
| 1546 |
|
| 1547 |
#. type: SH |
| 1548 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1549 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1550 |
#, no-wrap |
| 1551 |
msgid "NOTES" |
| 1552 |
msgstr "UWAGI" |
| 1553 |
|
| 1554 |
#. type: Plain text |
| 1555 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1556 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1557 |
msgid "" |
| 1558 |
"Memory mapped by B<mmap>() is preserved across B<fork>(2), with the same " |
| 1559 |
"attributes." |
| 1560 |
msgstr "" |
| 1561 |
"Pamięć mapowana za pomocą B<mmap>() jest zachowywana poprzez B<fork>(2) z " |
| 1562 |
"tymi samymi atrybutami." |
| 1563 |
|
| 1564 |
#. type: Plain text |
| 1565 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1566 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1567 |
msgid "" |
| 1568 |
"A file is mapped in multiples of the page size. For a file that is not a " |
| 1569 |
"multiple of the page size, the remaining bytes in the partial page at the " |
| 1570 |
"end of the mapping are zeroed when mapped, and modifications to that region " |
| 1571 |
"are not written out to the file. The effect of changing the size of the " |
| 1572 |
"underlying file of a mapping on the pages that correspond to added or " |
| 1573 |
"removed regions of the file is unspecified." |
| 1574 |
msgstr "" |
| 1575 |
"Plik jest mapowany w wielokrotnościach rozmiaru strony. Dla plików, które " |
| 1576 |
"nie są wielokrotnościami rozmiaru strony, pozostałe bajty w częściowej " |
| 1577 |
"stronie na końcu mapowania są zerowane podczas mapowania, a modyfikacje tego " |
| 1578 |
"obszaru nie są zapisywane w pliku. Efekt zmiany rozmiaru zamapowanego pliku " |
| 1579 |
"na zamapowane strony, które odpowiadają dodanym lub usuniętym obszarom " |
| 1580 |
"pliku, jest nieokreślony." |
| 1581 |
|
| 1582 |
#. type: Plain text |
| 1583 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1584 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1585 |
msgid "" |
| 1586 |
"An application can determine which pages of a mapping are currently resident " |
| 1587 |
"in the buffer/page cache using B<mincore>(2)." |
| 1588 |
msgstr "" |
| 1589 |
"Aplikacje mogą sprawdzić, które strony mapowania są aktualnie rezydentne w " |
| 1590 |
"buforze/buforze strony za pomocą B<mincore>(2)." |
| 1591 |
|
| 1592 |
#. type: SS |
| 1593 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1594 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1595 |
#, no-wrap |
| 1596 |
msgid "Using MAP_FIXED safely" |
| 1597 |
msgstr "Bezpieczne korzystanie z MAP_FIXED" |
| 1598 |
|
| 1599 |
#. type: Plain text |
| 1600 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1601 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1602 |
msgid "" |
| 1603 |
"The only safe use for B<MAP_FIXED> is where the address range specified by " |
| 1604 |
"I<addr> and I<length> was previously reserved using another mapping; " |
| 1605 |
"otherwise, the use of B<MAP_FIXED> is hazardous because it forcibly removes " |
| 1606 |
"preexisting mappings, making it easy for a multithreaded process to corrupt " |
| 1607 |
"its own address space." |
| 1608 |
msgstr "" |
| 1609 |
"Jedyne bezpieczne zastosowanie B<MAP_FIXED> jest wtedy, gdy podany za pomocą " |
| 1610 |
"I<addr> i I<length> zakres adresów był uprzednio zarezerwowany przy użyciu " |
| 1611 |
"innego mapowania; w przeciwnym przypadku B<MAP_FIXED> jest niebezpieczne, " |
| 1612 |
"ponieważ przymusowo usuwa wcześniejsze mapowania, przez co w przypadku " |
| 1613 |
"procesów wielowątkowych, łatwe staje się uszkodzenie swojej przestrzeni " |
| 1614 |
"adresowej." |
| 1615 |
|
| 1616 |
#. type: Plain text |
| 1617 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 1618 |
#: opensuse-tumbleweed |
| 1619 |
msgid "" |
| 1620 |
"For example, suppose that thread A looks through I</proc/>pidI</maps> in " |
| 1621 |
"order to locate an unused address range that it can map using B<MAP_FIXED>, " |
| 1622 |
"while thread B simultaneously acquires part or all of that same address " |
| 1623 |
"range. When thread A subsequently employs B<mmap(MAP_FIXED)>, it will " |
| 1624 |
"effectively clobber the mapping that thread B created. In this scenario, " |
| 1625 |
"thread B need not create a mapping directly; simply making a library call " |
| 1626 |
"that, internally, uses B<dlopen>(3) to load some other shared library, will " |
| 1627 |
"suffice. The B<dlopen>(3) call will map the library into the process's " |
| 1628 |
"address space. Furthermore, almost any library call may be implemented in a " |
| 1629 |
"way that adds memory mappings to the address space, either with this " |
| 1630 |
"technique, or by simply allocating memory. Examples include B<brk>(2), " |
| 1631 |
"B<malloc>(3), B<pthread_create>(3), and the PAM libraries E<.UR http:\\://" |
| 1632 |
"www.linux-pam.org> E<.UE .>" |
| 1633 |
msgstr "" |
| 1634 |
"Przykładowo załóżmy, że wątek A przegląda I</proc/>pidI</maps>, aby odszukać " |
| 1635 |
"nieużywany zakres adresów, które można zmapować przy użyciu B<MAP_FIXED>, a " |
| 1636 |
"wątek B w tym samym czasie uzyska część lub całość tego samego zakresu " |
| 1637 |
"adresów. Gdy wątek A następnie użyje B<mmap(MAP_FIXED)>, efektywnie naruszy " |
| 1638 |
"mapowanie, które utworzył wątek B. W opisywanym scenariuszu, wątek B nie " |
| 1639 |
"musi bezpośrednio tworzyć mapowania; wystarczy utworzenie wywołania " |
| 1640 |
"bibliotecznego, które wewnętrznie korzysta z B<dlopen>(3) do załadowania " |
| 1641 |
"jakiejś innej biblioteki współdzielonej. Wywołanie B<dlopen>(3) zmapuje " |
| 1642 |
"bibliotekę do przestrzeni adresowej procesu. Co więcej, niemal każde " |
| 1643 |
"wywołanie biblioteczne może być zaimplementowane w sposób, który dodaje " |
| 1644 |
"mapowania pamięci do przestrzeni adresowej, albo za pomocą tej techniki, " |
| 1645 |
"albo jedynie alokując pamięć. Przykładem mogą być B<brk>(2), B<malloc>(3), " |
| 1646 |
"B<pthread_create>(3) i biblioteki PAM E<.UR http\\://www.linux-pam.org> " |
| 1647 |
"E<.UE .>" |
| 1648 |
|
| 1649 |
#. type: Plain text |
| 1650 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1651 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1652 |
msgid "" |
| 1653 |
"Since Linux 4.17, a multithreaded program can use the B<MAP_FIXED_NOREPLACE> " |
| 1654 |
"flag to avoid the hazard described above when attempting to create a mapping " |
| 1655 |
"at a fixed address that has not been reserved by a preexisting mapping." |
| 1656 |
msgstr "" |
| 1657 |
"Od Linuksa 4.17, program wielowątkowy może skorzystać ze znacznika " |
| 1658 |
"B<MAP_FIXED_NOREPLACE>, aby uniknąć niebezpieczeństwa opisanego wyżej, przy " |
| 1659 |
"tworzeniu mapowania pod konkretnym adresem, który nie został zarezerwowany " |
| 1660 |
"wcześniejszym mapowaniem." |
| 1661 |
|
| 1662 |
#. type: SS |
| 1663 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1664 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1665 |
#, no-wrap |
| 1666 |
msgid "Timestamps changes for file-backed mappings" |
| 1667 |
msgstr "Zmiany znaczników czasu w przypadku mapowań opartych na plikach" |
| 1668 |
|
| 1669 |
#. type: Plain text |
| 1670 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1671 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1672 |
msgid "" |
| 1673 |
"For file-backed mappings, the I<st_atime> field for the mapped file may be " |
| 1674 |
"updated at any time between the B<mmap>() and the corresponding unmapping; " |
| 1675 |
"the first reference to a mapped page will update the field if it has not " |
| 1676 |
"been already." |
| 1677 |
msgstr "" |
| 1678 |
"Dla mapowań opartych na plikach pole I<st_atime> zamapowanego pliku może " |
| 1679 |
"zostać zaktualizowane w dowolnym momencie pomiędzy B<mmap>() i usunięciem " |
| 1680 |
"odpowiedniego mapowania; pierwsze odwołanie do zamapowanej strony spowoduje " |
| 1681 |
"zaktualizowanie tego pola, jeśli nie stało się to wcześniej." |
| 1682 |
|
| 1683 |
#. type: Plain text |
| 1684 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1685 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1686 |
msgid "" |
| 1687 |
"The I<st_ctime> and I<st_mtime> field for a file mapped with B<PROT_WRITE> " |
| 1688 |
"and B<MAP_SHARED> will be updated after a write to the mapped region, and " |
| 1689 |
"before a subsequent B<msync>(2) with the B<MS_SYNC> or B<MS_ASYNC> flag, if " |
| 1690 |
"one occurs." |
| 1691 |
msgstr "" |
| 1692 |
"Pola I<st_ctime> i I<st_mtime> pliku zamapowanego z B<PROT_WRITE> i " |
| 1693 |
"B<MAP_SHARED> zostanie zaktualizowane po zapisie do mapowanego obszaru, a " |
| 1694 |
"przed późniejszym wywołaniem I<msync>(2) ze znacznikiem B<MS_SYNC> lub " |
| 1695 |
"B<MS_ASYNC>, jeśli taki wywołanie wystąpi." |
| 1696 |
|
| 1697 |
#. type: SS |
| 1698 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1699 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1700 |
#, no-wrap |
| 1701 |
msgid "Huge page (Huge TLB) mappings" |
| 1702 |
msgstr "Mapowania dużych stron (Huge TLB)" |
| 1703 |
|
| 1704 |
#. type: Plain text |
| 1705 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1706 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1707 |
msgid "" |
| 1708 |
"For mappings that employ huge pages, the requirements for the arguments of " |
| 1709 |
"B<mmap>() and B<munmap>() differ somewhat from the requirements for " |
| 1710 |
"mappings that use the native system page size." |
| 1711 |
msgstr "" |
| 1712 |
"W przypadku mapowań korzystających z dużych (huge) stron, wymagania " |
| 1713 |
"dotyczące argumentów B<mmap>() i B<munmap>() różnią się nieco, od wymagań " |
| 1714 |
"mapowań, korzystających z natywnego systemowego rozmiaru strony." |
| 1715 |
|
| 1716 |
#. type: Plain text |
| 1717 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1718 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1719 |
msgid "" |
| 1720 |
"For B<mmap>(), I<offset> must be a multiple of the underlying huge page " |
| 1721 |
"size. The system automatically aligns I<length> to be a multiple of the " |
| 1722 |
"underlying huge page size." |
| 1723 |
msgstr "" |
| 1724 |
"W przypadku B<mmap>(), I<offset> musi być wielokrotnością używanego rozmiaru " |
| 1725 |
"dużej strony. System automatycznie wyrówna I<length> do wielokrotności " |
| 1726 |
"używanego rozmiaru dużej strony." |
| 1727 |
|
| 1728 |
#. type: Plain text |
| 1729 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1730 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1731 |
msgid "" |
| 1732 |
"For B<munmap>(), I<addr>, and I<length> must both be a multiple of the " |
| 1733 |
"underlying huge page size." |
| 1734 |
msgstr "" |
| 1735 |
"W przypadku B<munmap>(), I<addr> i I<length> muszą być wielokrotnościami " |
| 1736 |
"używanego systemowego rozmiaru dużej strony." |
| 1737 |
|
| 1738 |
#. type: SH |
| 1739 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 1740 |
#: opensuse-tumbleweed |
| 1741 |
#, no-wrap |
| 1742 |
msgid "CAVEATS" |
| 1743 |
msgstr "ZASTRZEŻENIA" |
| 1744 |
|
| 1745 |
#. type: Plain text |
| 1746 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 1747 |
#: opensuse-tumbleweed |
| 1748 |
msgid "" |
| 1749 |
"Unlike typical B<malloc>(3) implementations, B<mmap>() does not prevent " |
| 1750 |
"creating objects larger than B<PTRDIFF_MAX>. Objects that are larger than " |
| 1751 |
"B<PTRDIFF_MAX> only work in limited ways in C (in particular, pointer " |
| 1752 |
"subtraction results in undefined behavior if the result would be bigger than " |
| 1753 |
"B<PTRDIFF_MAX>). On top of that, GCC also assumes that no object is bigger " |
| 1754 |
"than B<PTRDIFF_MAX>. B<PTRDIFF_MAX> is usually half of the address space " |
| 1755 |
"size; so for 32-bit processes, it is usually B<0x7fffffff> (almost 2 GiB)." |
| 1756 |
msgstr "" |
| 1757 |
"W przeciwieństwie do typowych implementacji B<malloc>(3), B<mmap>() nie " |
| 1758 |
"zapobiega tworzeniu obiektów większych od B<PTRDIFF_MAX>. Obiekty większe od " |
| 1759 |
"B<PTRDIFF_MAX> działają w C jedynie w ograniczony sposób (w szczególności, " |
| 1760 |
"odejmowanie wskaźników daje niezdefiniowane zachowanie, jeśli wynik byłby " |
| 1761 |
"większy niż B<PTRDIFF_MAX>). Dodatkowo, GCC zakłada, że żaden obiekt nie " |
| 1762 |
"jest większy od B<PTRDIFF_MAX>. B<PTRDIFF_MAX> zwykle wynosi połowę rozmiaru " |
| 1763 |
"przestrzeni adresowej, zatem w przypadku procesów 32-bitowych jest to zwykle " |
| 1764 |
"B<0x7fffffff> (niemal 2 GiB)." |
| 1765 |
|
| 1766 |
#. type: SH |
| 1767 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1768 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1769 |
#, no-wrap |
| 1770 |
msgid "BUGS" |
| 1771 |
msgstr "USTERKI" |
| 1772 |
|
| 1773 |
#. type: Plain text |
| 1774 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1775 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1776 |
msgid "" |
| 1777 |
"On Linux, there are no guarantees like those suggested above under " |
| 1778 |
"B<MAP_NORESERVE>. By default, any process can be killed at any moment when " |
| 1779 |
"the system runs out of memory." |
| 1780 |
msgstr "" |
| 1781 |
"W Linuksie, gwarancje zasugerowane powyżej w opisie B<MAP_NORESERVE> nie " |
| 1782 |
"istnieją. Domyślnie, każdy proces może być zabity w dowolnym momencie, gdy " |
| 1783 |
"systemowi wyczerpie się pamięć." |
| 1784 |
|
| 1785 |
#. type: Plain text |
| 1786 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1787 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1788 |
msgid "" |
| 1789 |
"Before Linux 2.6.7, the B<MAP_POPULATE> flag has effect only if I<prot> is " |
| 1790 |
"specified as B<PROT_NONE>." |
| 1791 |
msgstr "" |
| 1792 |
"Przed Linuksem 2.6.7, znacznik B<MAP_POPULATE> działał tylko, gdy I<prot> " |
| 1793 |
"określono jako B<PROT_NONE>." |
| 1794 |
|
| 1795 |
#. type: Plain text |
| 1796 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1797 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1798 |
msgid "" |
| 1799 |
"SUSv3 specifies that B<mmap>() should fail if I<length> is 0. However, " |
| 1800 |
"before Linux 2.6.12, B<mmap>() succeeded in this case: no mapping was " |
| 1801 |
"created and the call returned I<addr>. Since Linux 2.6.12, B<mmap>() fails " |
| 1802 |
"with the error B<EINVAL> for this case." |
| 1803 |
msgstr "" |
| 1804 |
"SUSv3 określa, że B<mmap>() powinno zawieść, gdy I<length> wynosi 0. Jednak " |
| 1805 |
"przed Linuksem 2.6.12, B<mmap>() było w takim przypadku pomyślne: nie " |
| 1806 |
"tworzono mapowania, a wywołanie zwracało I<addr>. Od Linuksa 2.6.12, " |
| 1807 |
"B<mmap>() zawodzi w takim przypadku z błędem B<EINVAL>." |
| 1808 |
|
| 1809 |
#. type: Plain text |
| 1810 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1811 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1812 |
msgid "" |
| 1813 |
"POSIX specifies that the system shall always zero fill any partial page at " |
| 1814 |
"the end of the object and that system will never write any modification of " |
| 1815 |
"the object beyond its end. On Linux, when you write data to such partial " |
| 1816 |
"page after the end of the object, the data stays in the page cache even " |
| 1817 |
"after the file is closed and unmapped and even though the data is never " |
| 1818 |
"written to the file itself, subsequent mappings may see the modified " |
| 1819 |
"content. In some cases, this could be fixed by calling B<msync>(2) before " |
| 1820 |
"the unmap takes place; however, this doesn't work on B<tmpfs>(5) (for " |
| 1821 |
"example, when using the POSIX shared memory interface documented in " |
| 1822 |
"B<shm_overview>(7))." |
| 1823 |
msgstr "" |
| 1824 |
"POSIX określa, ze system powinien zawsze wypełniać zerami wszelkie strony " |
| 1825 |
"częściowe na końcu obiektu, a system nigdy nie zapisze żadnych modyfikacji " |
| 1826 |
"obiektu poza jego końcem. W Linuksie, jeśli zapisze się dane do takiej " |
| 1827 |
"częściowej strony, poza końcem obiektu, dane pozostają w buforze strony " |
| 1828 |
"nawet po zamknięciu i odmapowaniu pliku, a choć dane nigdy nie są zapisywane " |
| 1829 |
"do samego pliku, kolejne mapowania mogą zobaczyć zmodyfikowaną zawartość. W " |
| 1830 |
"niektórych przypadkach, to zachowanie można poprawić wywołując B<msync>(2) " |
| 1831 |
"przed dokonaniem odmapowania; jednak nie działa to na B<tmpfs>(5) (np. przy " |
| 1832 |
"użyciu interfejsu pamięci dzielonej POSIX opisanego w podręczniku " |
| 1833 |
"B<shm_overview>(7))." |
| 1834 |
|
| 1835 |
#. type: SH |
| 1836 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1837 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1838 |
#, no-wrap |
| 1839 |
msgid "EXAMPLES" |
| 1840 |
msgstr "PRZYKŁADY" |
| 1841 |
|
| 1842 |
#. FIXME . Add an example here that uses an anonymous shared region for |
| 1843 |
#. IPC between parent and child. |
| 1844 |
#. type: Plain text |
| 1845 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1846 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1847 |
msgid "" |
| 1848 |
"The following program prints part of the file specified in its first command-" |
| 1849 |
"line argument to standard output. The range of bytes to be printed is " |
| 1850 |
"specified via offset and length values in the second and third command-line " |
| 1851 |
"arguments. The program creates a memory mapping of the required pages of " |
| 1852 |
"the file and then uses B<write>(2) to output the desired bytes." |
| 1853 |
msgstr "" |
| 1854 |
"Poniższy program wypisuje część pliku, określonego w jego pierwszym " |
| 1855 |
"argumencie wiersza poleceń, na standardowe wyjście. Zakres wypisywanych " |
| 1856 |
"bajtów podaje się za pomocą wartości przesunięcia i długości, w drugim i " |
| 1857 |
"trzecim argumencie wiersza poleceń. Program tworzy mapowania pamięci " |
| 1858 |
"wymaganych stron pliku, a następnie używa B<write>(2) do wypisania żądanych " |
| 1859 |
"bajtów." |
| 1860 |
|
| 1861 |
#. type: SS |
| 1862 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1863 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1864 |
#, no-wrap |
| 1865 |
msgid "Program source" |
| 1866 |
msgstr "Kod źródłowy programu" |
| 1867 |
|
| 1868 |
#. type: Plain text |
| 1869 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 1870 |
#: opensuse-tumbleweed |
| 1871 |
#, no-wrap |
| 1872 |
msgid "" |
| 1873 |
"#include E<lt>err.hE<gt>\n" |
| 1874 |
"#include E<lt>fcntl.hE<gt>\n" |
| 1875 |
"#include E<lt>stdio.hE<gt>\n" |
| 1876 |
"#include E<lt>stdlib.hE<gt>\n" |
| 1877 |
"#include E<lt>sys/mman.hE<gt>\n" |
| 1878 |
"#include E<lt>sys/stat.hE<gt>\n" |
| 1879 |
"#include E<lt>sys/types.hE<gt>\n" |
| 1880 |
"#include E<lt>unistd.hE<gt>\n" |
| 1881 |
"\\&\n" |
| 1882 |
"int\n" |
| 1883 |
"main(int argc, char *argv[])\n" |
| 1884 |
"{\n" |
| 1885 |
" int fd;\n" |
| 1886 |
" char *addr;\n" |
| 1887 |
" off_t offset, pa_offset;\n" |
| 1888 |
" size_t length;\n" |
| 1889 |
" ssize_t s;\n" |
| 1890 |
" struct stat sb;\n" |
| 1891 |
"\\&\n" |
| 1892 |
" if (argc E<lt> 3 || argc E<gt> 4) {\n" |
| 1893 |
" fprintf(stderr, \"%s file offset [length]\\[rs]n\", argv[0]);\n" |
| 1894 |
" exit(EXIT_FAILURE);\n" |
| 1895 |
" }\n" |
| 1896 |
"\\&\n" |
| 1897 |
" fd = open(argv[1], O_RDONLY);\n" |
| 1898 |
" if (fd == -1)\n" |
| 1899 |
" err(EXIT_FAILURE, \"open\");\n" |
| 1900 |
"\\&\n" |
| 1901 |
" if (fstat(fd, &sb) == -1) /* To obtain file size */\n" |
| 1902 |
" err(EXIT_FAILURE, \"fstat\");\n" |
| 1903 |
"\\&\n" |
| 1904 |
" offset = atoi(argv[2]);\n" |
| 1905 |
" pa_offset = offset & \\[ti](sysconf(_SC_PAGE_SIZE) - 1);\n" |
| 1906 |
" /* offset for mmap() must be page aligned */\n" |
| 1907 |
"\\&\n" |
| 1908 |
" if (offset E<gt>= sb.st_size) {\n" |
| 1909 |
" fprintf(stderr, \"offset is past end of file\\[rs]n\");\n" |
| 1910 |
" exit(EXIT_FAILURE);\n" |
| 1911 |
" }\n" |
| 1912 |
"\\&\n" |
| 1913 |
" if (argc == 4) {\n" |
| 1914 |
" length = atoi(argv[3]);\n" |
| 1915 |
" if (offset + length E<gt> sb.st_size)\n" |
| 1916 |
" length = sb.st_size - offset;\n" |
| 1917 |
" /* Can\\[aq]t display bytes past end of file */\n" |
| 1918 |
"\\&\n" |
| 1919 |
" } else { /* No length arg ==E<gt> display to end of file */\n" |
| 1920 |
" length = sb.st_size - offset;\n" |
| 1921 |
" }\n" |
| 1922 |
"\\&\n" |
| 1923 |
" addr = mmap(NULL, length + offset - pa_offset, PROT_READ,\n" |
| 1924 |
" MAP_PRIVATE, fd, pa_offset);\n" |
| 1925 |
" if (addr == MAP_FAILED)\n" |
| 1926 |
" err(EXIT_FAILURE, \"mmap\");\n" |
| 1927 |
"\\&\n" |
| 1928 |
" s = write(STDOUT_FILENO, addr + offset - pa_offset, length);\n" |
| 1929 |
" if (s != length) {\n" |
| 1930 |
" if (s == -1)\n" |
| 1931 |
" err(EXIT_FAILURE, \"write\");\n" |
| 1932 |
"\\&\n" |
| 1933 |
" fprintf(stderr, \"partial write\");\n" |
| 1934 |
" exit(EXIT_FAILURE);\n" |
| 1935 |
" }\n" |
| 1936 |
"\\&\n" |
| 1937 |
" munmap(addr, length + offset - pa_offset);\n" |
| 1938 |
" close(fd);\n" |
| 1939 |
"\\&\n" |
| 1940 |
" exit(EXIT_SUCCESS);\n" |
| 1941 |
"}\n" |
| 1942 |
msgstr "" |
| 1943 |
"#include E<lt>err.hE<gt>\n" |
| 1944 |
"#include E<lt>fcntl.hE<gt>\n" |
| 1945 |
"#include E<lt>stdio.hE<gt>\n" |
| 1946 |
"#include E<lt>stdlib.hE<gt>\n" |
| 1947 |
"#include E<lt>sys/mman.hE<gt>\n" |
| 1948 |
"#include E<lt>sys/stat.hE<gt>\n" |
| 1949 |
"#include E<lt>sys/types.hE<gt>\n" |
| 1950 |
"#include E<lt>unistd.hE<gt>\n" |
| 1951 |
"\\&\n" |
| 1952 |
"int\n" |
| 1953 |
"main(int argc, char *argv[])\n" |
| 1954 |
"{\n" |
| 1955 |
" int fd;\n" |
| 1956 |
" char *addr;\n" |
| 1957 |
" off_t offset, pa_offset;\n" |
| 1958 |
" size_t length;\n" |
| 1959 |
" ssize_t s;\n" |
| 1960 |
" struct stat sb;\n" |
| 1961 |
"\\&\n" |
| 1962 |
" if (argc E<lt> 3 || argc E<gt> 4) {\n" |
| 1963 |
" fprintf(stderr, \"przesunięcie pliku %s [długość]\\[rs]n\", argv[0]);\n" |
| 1964 |
" exit(EXIT_FAILURE);\n" |
| 1965 |
" }\n" |
| 1966 |
"\\&\n" |
| 1967 |
" fd = open(argv[1], O_RDONLY);\n" |
| 1968 |
" if (fd == -1)\n" |
| 1969 |
" err(EXIT_FAILURE, \"open\");\n" |
| 1970 |
"\\&\n" |
| 1971 |
" if (fstat(fd, &sb) == -1) /* Do pobrania rozmiaru pliku */\n" |
| 1972 |
" err(EXIT_FAILURE, \"fstat\");\n" |
| 1973 |
"\\&\n" |
| 1974 |
" offset = atoi(argv[2]);\n" |
| 1975 |
" pa_offset = offset & \\[ti](sysconf(_SC_PAGE_SIZE) - 1);\n" |
| 1976 |
" /* przesunięcie dla mmap() musi być wyrównane do strony */\n" |
| 1977 |
"\\&\n" |
| 1978 |
" if (offset E<gt>= sb.st_size) {\n" |
| 1979 |
" fprintf(stderr, \"przesunięcie za końcem pliku\\[rs]n\");\n" |
| 1980 |
" exit(EXIT_FAILURE);\n" |
| 1981 |
" }\n" |
| 1982 |
"\\&\n" |
| 1983 |
" if (argc == 4) {\n" |
| 1984 |
" length = atoi(argv[3]);\n" |
| 1985 |
" if (offset + length E<gt> sb.st_size)\n" |
| 1986 |
" length = sb.st_size - offset;\n" |
| 1987 |
" /* Nie można wypisać bajtów poza końcem pliku */\n" |
| 1988 |
"\\&\n" |
| 1989 |
" } else { /* Brak arg. długości ==E<gt> wyświetl do końca pliku */\n" |
| 1990 |
" length = sb.st_size - offset;\n" |
| 1991 |
" }\n" |
| 1992 |
"\\&\n" |
| 1993 |
" addr = mmap(NULL, length + offset - pa_offset, PROT_READ,\n" |
| 1994 |
" MAP_PRIVATE, fd, pa_offset);\n" |
| 1995 |
" if (addr == MAP_FAILED)\n" |
| 1996 |
" err(EXIT_FAILURE, \"mmap\");\n" |
| 1997 |
"\\&\n" |
| 1998 |
" s = write(STDOUT_FILENO, addr + offset - pa_offset, length);\n" |
| 1999 |
" if (s != length) {\n" |
| 2000 |
" if (s == -1)\n" |
| 2001 |
" err(EXIT_FAILURE, \"write\");\n" |
| 2002 |
"\\&\n" |
| 2003 |
" fprintf(stderr, \"częściowy zapis\");\n" |
| 2004 |
" exit(EXIT_FAILURE);\n" |
| 2005 |
" }\n" |
| 2006 |
"\\&\n" |
| 2007 |
" munmap(addr, length + offset - pa_offset);\n" |
| 2008 |
" close(fd);\n" |
| 2009 |
"\\&\n" |
| 2010 |
" exit(EXIT_SUCCESS);\n" |
| 2011 |
"}\n" |
| 2012 |
|
| 2013 |
#. SRC END |
| 2014 |
#. type: SH |
| 2015 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2016 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2017 |
#, no-wrap |
| 2018 |
msgid "SEE ALSO" |
| 2019 |
msgstr "ZOBACZ TAKŻE" |
| 2020 |
|
| 2021 |
#. type: Plain text |
| 2022 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2023 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2024 |
msgid "" |
| 2025 |
"B<ftruncate>(2), B<getpagesize>(2), B<memfd_create>(2), B<mincore>(2), " |
| 2026 |
"B<mlock>(2), B<mmap2>(2), B<mprotect>(2), B<mremap>(2), B<msync>(2), " |
| 2027 |
"B<remap_file_pages>(2), B<setrlimit>(2), B<shmat>(2), B<userfaultfd>(2), " |
| 2028 |
"B<shm_open>(3), B<shm_overview>(7)" |
| 2029 |
msgstr "" |
| 2030 |
"B<ftruncate>(2), B<getpagesize>(2), B<memfd_create>(2), B<mincore>(2), " |
| 2031 |
"B<mlock>(2), B<mmap2>(2), B<mprotect>(2), B<mremap>(2), B<msync>(2), " |
| 2032 |
"B<remap_file_pages>(2), B<setrlimit>(2), B<shmat>(2), B<userfaultfd>(2), " |
| 2033 |
"B<shm_open>(3), B<shm_overview>(7)" |
| 2034 |
|
| 2035 |
#. type: Plain text |
| 2036 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2037 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2038 |
msgid "" |
| 2039 |
"The descriptions of the following files in B<proc>(5): I</proc/>pidI</maps>, " |
| 2040 |
"I</proc/>pidI</map_files>, and I</proc/>pidI</smaps>." |
| 2041 |
msgstr "" |
| 2042 |
"Opis poniższych plików w B<proc>(5): I</proc/>pidI</maps>, I</proc/>pidI</" |
| 2043 |
"map_files> i I</proc/>pidI</smaps>." |
| 2044 |
|
| 2045 |
#. type: Plain text |
| 2046 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 2047 |
#: opensuse-tumbleweed |
| 2048 |
msgid "" |
| 2049 |
"B.O.\\& Gallmeister, POSIX.4, O'Reilly, pp.\\& 128\\[en]129 and 389\\[en]391." |
| 2050 |
msgstr "" |
| 2051 |
"B.O.\\& Gallmeister, POSIX.4, O'Reilly, str.\\& 128\\[en]129 i 389\\[en]391." |
| 2052 |
|
| 2053 |
#. type: TH |
| 2054 |
#: debian-trixie |
| 2055 |
#, no-wrap |
| 2056 |
msgid "2024-06-15" |
| 2057 |
msgstr "15 czerwca 2024 r." |
| 2058 |
|
| 2059 |
#. type: TH |
| 2060 |
#: debian-trixie |
| 2061 |
#, no-wrap |
| 2062 |
msgid "Linux man-pages 6.9.1" |
| 2063 |
msgstr "Linux man-pages 6.9.1" |
| 2064 |
|
| 2065 |
#. type: Plain text |
| 2066 |
#: debian-trixie |
| 2067 |
msgid "Standard C library (I<libc>, I<-lc>)" |
| 2068 |
msgstr "Standardowa biblioteka C (I<libc>, I<-lc>)" |
| 2069 |
|
| 2070 |
#. type: Plain text |
| 2071 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2072 |
#, no-wrap |
| 2073 |
msgid "" |
| 2074 |
"B<void *mmap(void >I<addr>B<[.>I<length>B<], size_t >I<length>B<, int >I<prot>B<, int >I<flags>B<,>\n" |
| 2075 |
"B< int >I<fd>B<, off_t >I<offset>B<);>\n" |
| 2076 |
"B<int munmap(void >I<addr>B<[.>I<length>B<], size_t >I<length>B<);>\n" |
| 2077 |
msgstr "" |
| 2078 |
"B<void *mmap(void >I<addr>B<[.>I<length>B<], size_t >I<length>B<, int >I<prot>B<, int >I<flags>B<,>\n" |
| 2079 |
"B< int >I<fd>B<, off_t >I<offset>B<);>\n" |
| 2080 |
"B<int munmap(void >I<addr>B<[.>I<length>B<], size_t >I<length>B<);>\n" |
| 2081 |
|
| 2082 |
#. type: Plain text |
| 2083 |
#: debian-trixie |
| 2084 |
msgid "See NOTES for information on feature test macro requirements." |
| 2085 |
msgstr "" |
| 2086 |
"Informacje o wymaganych makrach sprawdzania cech znajdują się w rozdziale " |
| 2087 |
"UWAGI." |
| 2088 |
|
| 2089 |
#. commit a4ff8e8620d3f4f50ac4b41e8067b7d395056843 |
| 2090 |
#. type: Plain text |
| 2091 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2092 |
msgid "" |
| 2093 |
"This flag provides behavior that is similar to B<MAP_FIXED> with respect to " |
| 2094 |
"the I<addr> enforcement, but differs in that B<MAP_FIXED_NOREPLACE> never " |
| 2095 |
"clobbers a preexisting mapped range. If the requested range would collide " |
| 2096 |
"with an existing mapping, then this call fails with the error B<EEXIST.> " |
| 2097 |
"This flag can therefore be used as a way to atomically (with respect to " |
| 2098 |
"other threads) attempt to map an address range: one thread will succeed; all " |
| 2099 |
"others will report failure." |
| 2100 |
msgstr "" |
| 2101 |
"Znacznik zapewnia zachowanie podobne do B<MAP_FIXED>, jeśli chodzi o " |
| 2102 |
"wymuszenie adresu I<addr>, lecz z tą różnicą, że B<MAP_FIXED_NOREPLACE> " |
| 2103 |
"nigdy nie narusza wcześniejszego zakresu mapowania. Jeśli żądany zakres " |
| 2104 |
"kolidowałby z istniejącym mapowaniem, to wywołanie zawiedzie z błędem " |
| 2105 |
"B<EEXIST>. Znacznik ten może zatem posłużyć do niepodzielnej (z " |
| 2106 |
"uwzględnieniem innym wątków) próby mapowania zakresu adresowego: u jednego " |
| 2107 |
"wątku powiedzie się to, wszystkie inne zawiodą." |
| 2108 |
|
| 2109 |
#. type: Plain text |
| 2110 |
#: debian-trixie fedora-44 fedora-rawhide mageia-cauldron |
| 2111 |
msgid "" |
| 2112 |
"This flag is used for stacks. It indicates to the kernel virtual memory " |
| 2113 |
"system that the mapping should extend downward in memory. The return " |
| 2114 |
"address is one page lower than the memory area that is actually created in " |
| 2115 |
"the process's virtual address space. Touching an address in the \"guard\" " |
| 2116 |
"page below the mapping will cause the mapping to grow by a page. This " |
| 2117 |
"growth can be repeated until the mapping grows to within a page of the high " |
| 2118 |
"end of the next lower mapping, at which point touching the \"guard\" page " |
| 2119 |
"will result in a B<SIGSEGV> signal." |
| 2120 |
msgstr "" |
| 2121 |
"Znacznik jest używany do stosów. Wskazuje systemowi pamięci wirtualnej " |
| 2122 |
"jądra, że mapowanie ma kontynuować się w dół pamięci. Zwracany adres jest o " |
| 2123 |
"jedną stronę niżej, niż obszar pamięci, który jest w rzeczywistości tworzony " |
| 2124 |
"w wirtualnej przestrzeni adresowej procesu. Dotknięcie adresu w \\" |
| 2125 |
"[Bq]strzeżonej\\[rq] stronie (guard page) poniżej mapowania spowoduje " |
| 2126 |
"zwiększenie mapowania o jedną stronę. Ten wzrost można powtarzać do momentu, " |
| 2127 |
"gdy mapowanie osiągnie wysoki koniec strony następnego niższego mapowania; " |
| 2128 |
"wówczas dotknięcie \\[Bq]strzeżonej\\[rq] strony spowoduje sygnał B<SIGSEGV>." |
| 2129 |
|
| 2130 |
#. type: Plain text |
| 2131 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2132 |
msgid "" |
| 2133 |
"Do not reserve swap space for this mapping. When swap space is reserved, " |
| 2134 |
"one has the guarantee that it is possible to modify the mapping. When swap " |
| 2135 |
"space is not reserved one might get B<SIGSEGV> upon a write if no physical " |
| 2136 |
"memory is available. See also the discussion of the file I</proc/sys/vm/" |
| 2137 |
"overcommit_memory> in B<proc>(5). Before Linux 2.6, this flag had effect " |
| 2138 |
"only for private writable mappings." |
| 2139 |
msgstr "" |
| 2140 |
"Poleca nie rezerwować przestrzeni wymiany dla tego mapowania. Gdy przestrzeń " |
| 2141 |
"wymiany jest zarezerwowana, ma się gwarancję, że istnieje możliwość " |
| 2142 |
"modyfikacji mapowania. Gdy przestrzeń wymiany nie jest zarezerwowana, można " |
| 2143 |
"otrzymać B<SIGSEGV> podczas zapisu, jeśli braknie pamięci fizycznej. Proszę " |
| 2144 |
"zapoznać się również z opisem pliku I</proc/sys/vm/overcommit_memory> w " |
| 2145 |
"B<proc>(5). Przed Linuksem 2.6, znacznik ten działał tylko dla prywatnych, " |
| 2146 |
"zapisywalnych mapowań." |
| 2147 |
|
| 2148 |
#. type: Plain text |
| 2149 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2150 |
msgid "" |
| 2151 |
"The B<MAP_HUGETLB> flag was specified, but the caller was not privileged " |
| 2152 |
"(did not have the B<CAP_IPC_LOCK> capability) and is not a member of the " |
| 2153 |
"I<sysctl_hugetlb_shm_group> group; see the description of I</proc/sys/vm/" |
| 2154 |
"sysctl_hugetlb_shm_group> in B<proc_sys>(5)." |
| 2155 |
msgstr "" |
| 2156 |
"Podano znacznik B<MAP_HUGETLB>, lecz wywołujący nie był uprzywilejowany (nie " |
| 2157 |
"miał przywileju B<CAP_IPC_LOCK> (ang. capability)) i nie jest członkiem " |
| 2158 |
"grupy I<sysctl_hugetlb_shm_group>; zob. opis I</proc/sys/vm/" |
| 2159 |
"sysctl_hugetlb_shm_group> w B<proc_sys>(5)." |
| 2160 |
|
| 2161 |
#. type: Plain text |
| 2162 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2163 |
msgid "POSIX.1-2008." |
| 2164 |
msgstr "POSIX.1-2008." |
| 2165 |
|
| 2166 |
#. SVr4 documents additional error codes ENXIO and ENODEV. |
| 2167 |
#. SUSv2 documents additional error codes EMFILE and EOVERFLOW. |
| 2168 |
#. type: Plain text |
| 2169 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2170 |
msgid "POSIX.1-2001, SVr4, 4.4BSD." |
| 2171 |
msgstr "POSIX.1-2001, SVr4, 4.4BSD." |
| 2172 |
|
| 2173 |
#. type: Plain text |
| 2174 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2175 |
msgid "" |
| 2176 |
"For example, suppose that thread A looks through I</proc/>pidI</maps> in " |
| 2177 |
"order to locate an unused address range that it can map using B<MAP_FIXED>, " |
| 2178 |
"while thread B simultaneously acquires part or all of that same address " |
| 2179 |
"range. When thread A subsequently employs B<mmap(MAP_FIXED)>, it will " |
| 2180 |
"effectively clobber the mapping that thread B created. In this scenario, " |
| 2181 |
"thread B need not create a mapping directly; simply making a library call " |
| 2182 |
"that, internally, uses B<dlopen>(3) to load some other shared library, will " |
| 2183 |
"suffice. The B<dlopen>(3) call will map the library into the process's " |
| 2184 |
"address space. Furthermore, almost any library call may be implemented in a " |
| 2185 |
"way that adds memory mappings to the address space, either with this " |
| 2186 |
"technique, or by simply allocating memory. Examples include B<brk>(2), " |
| 2187 |
"B<malloc>(3), B<pthread_create>(3), and the PAM libraries E<.UR http://" |
| 2188 |
"www.linux-pam.org> E<.UE .>" |
| 2189 |
msgstr "" |
| 2190 |
"Przykładowo załóżmy, że wątek A przegląda I</proc/>pidI</maps>, aby odszukać " |
| 2191 |
"nieużywany zakres adresów, które można zmapować przy użyciu B<MAP_FIXED>, a " |
| 2192 |
"wątek B w tym samym czasie uzyska część lub całość tego samego zakresu " |
| 2193 |
"adresów. Gdy wątek A następnie użyje B<mmap(MAP_FIXED)>, efektywnie naruszy " |
| 2194 |
"mapowanie, które utworzył wątek B. W opisywanym scenariuszu, wątek B nie " |
| 2195 |
"musi bezpośrednio tworzyć mapowania; wystarczy utworzenie wywołania " |
| 2196 |
"bibliotecznego, które wewnętrznie korzysta z B<dlopen>(3) do załadowania " |
| 2197 |
"jakiejś innej biblioteki współdzielonej. Wywołanie B<dlopen>(3) zmapuje " |
| 2198 |
"bibliotekę do przestrzeni adresowej procesu. Co więcej, niemal każde " |
| 2199 |
"wywołanie biblioteczne może być zaimplementowane w sposób, który dodaje " |
| 2200 |
"mapowania pamięci do przestrzeni adresowej, albo za pomocą tej techniki, " |
| 2201 |
"albo jedynie alokując pamięć. Przykładem mogą być B<brk>(2), B<malloc>(3), " |
| 2202 |
"B<pthread_create>(3) i biblioteki PAM E<.UR http://www.linux-pam.org> " |
| 2203 |
"E<.UE .>" |
| 2204 |
|
| 2205 |
#. type: Plain text |
| 2206 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2207 |
#, no-wrap |
| 2208 |
msgid "" |
| 2209 |
"#include E<lt>fcntl.hE<gt>\n" |
| 2210 |
"#include E<lt>stdio.hE<gt>\n" |
| 2211 |
"#include E<lt>stdlib.hE<gt>\n" |
| 2212 |
"#include E<lt>sys/mman.hE<gt>\n" |
| 2213 |
"#include E<lt>sys/stat.hE<gt>\n" |
| 2214 |
"#include E<lt>sys/types.hE<gt>\n" |
| 2215 |
"#include E<lt>unistd.hE<gt>\n" |
| 2216 |
"\\&\n" |
| 2217 |
"#define handle_error(msg) \\[rs]\n" |
| 2218 |
" do { perror(msg); exit(EXIT_FAILURE); } while (0)\n" |
| 2219 |
"\\&\n" |
| 2220 |
"int\n" |
| 2221 |
"main(int argc, char *argv[])\n" |
| 2222 |
"{\n" |
| 2223 |
" int fd;\n" |
| 2224 |
" char *addr;\n" |
| 2225 |
" off_t offset, pa_offset;\n" |
| 2226 |
" size_t length;\n" |
| 2227 |
" ssize_t s;\n" |
| 2228 |
" struct stat sb;\n" |
| 2229 |
"\\&\n" |
| 2230 |
" if (argc E<lt> 3 || argc E<gt> 4) {\n" |
| 2231 |
" fprintf(stderr, \"%s file offset [length]\\[rs]n\", argv[0]);\n" |
| 2232 |
" exit(EXIT_FAILURE);\n" |
| 2233 |
" }\n" |
| 2234 |
"\\&\n" |
| 2235 |
" fd = open(argv[1], O_RDONLY);\n" |
| 2236 |
" if (fd == -1)\n" |
| 2237 |
" handle_error(\"open\");\n" |
| 2238 |
"\\&\n" |
| 2239 |
" if (fstat(fd, &sb) == -1) /* To obtain file size */\n" |
| 2240 |
" handle_error(\"fstat\");\n" |
| 2241 |
"\\&\n" |
| 2242 |
" offset = atoi(argv[2]);\n" |
| 2243 |
" pa_offset = offset & \\[ti](sysconf(_SC_PAGE_SIZE) - 1);\n" |
| 2244 |
" /* offset for mmap() must be page aligned */\n" |
| 2245 |
"\\&\n" |
| 2246 |
" if (offset E<gt>= sb.st_size) {\n" |
| 2247 |
" fprintf(stderr, \"offset is past end of file\\[rs]n\");\n" |
| 2248 |
" exit(EXIT_FAILURE);\n" |
| 2249 |
" }\n" |
| 2250 |
"\\&\n" |
| 2251 |
" if (argc == 4) {\n" |
| 2252 |
" length = atoi(argv[3]);\n" |
| 2253 |
" if (offset + length E<gt> sb.st_size)\n" |
| 2254 |
" length = sb.st_size - offset;\n" |
| 2255 |
" /* Can\\[aq]t display bytes past end of file */\n" |
| 2256 |
"\\&\n" |
| 2257 |
" } else { /* No length arg ==E<gt> display to end of file */\n" |
| 2258 |
" length = sb.st_size - offset;\n" |
| 2259 |
" }\n" |
| 2260 |
"\\&\n" |
| 2261 |
" addr = mmap(NULL, length + offset - pa_offset, PROT_READ,\n" |
| 2262 |
" MAP_PRIVATE, fd, pa_offset);\n" |
| 2263 |
" if (addr == MAP_FAILED)\n" |
| 2264 |
" handle_error(\"mmap\");\n" |
| 2265 |
"\\&\n" |
| 2266 |
" s = write(STDOUT_FILENO, addr + offset - pa_offset, length);\n" |
| 2267 |
" if (s != length) {\n" |
| 2268 |
" if (s == -1)\n" |
| 2269 |
" handle_error(\"write\");\n" |
| 2270 |
"\\&\n" |
| 2271 |
" fprintf(stderr, \"partial write\");\n" |
| 2272 |
" exit(EXIT_FAILURE);\n" |
| 2273 |
" }\n" |
| 2274 |
"\\&\n" |
| 2275 |
" munmap(addr, length + offset - pa_offset);\n" |
| 2276 |
" close(fd);\n" |
| 2277 |
"\\&\n" |
| 2278 |
" exit(EXIT_SUCCESS);\n" |
| 2279 |
"}\n" |
| 2280 |
msgstr "" |
| 2281 |
"#include E<lt>fcntl.hE<gt>\n" |
| 2282 |
"#include E<lt>stdio.hE<gt>\n" |
| 2283 |
"#include E<lt>stdlib.hE<gt>\n" |
| 2284 |
"#include E<lt>sys/mman.hE<gt>\n" |
| 2285 |
"#include E<lt>sys/stat.hE<gt>\n" |
| 2286 |
"#include E<lt>sys/types.hE<gt>\n" |
| 2287 |
"#include E<lt>unistd.hE<gt>\n" |
| 2288 |
"\\&\n" |
| 2289 |
"#define handle_error(msg) \\[rs]\n" |
| 2290 |
" do { perror(msg); exit(EXIT_FAILURE); } while (0)\n" |
| 2291 |
"\\&\n" |
| 2292 |
"int\n" |
| 2293 |
"main(int argc, char *argv[])\n" |
| 2294 |
"{\n" |
| 2295 |
" int fd;\n" |
| 2296 |
" char *addr;\n" |
| 2297 |
" off_t offset, pa_offset;\n" |
| 2298 |
" size_t length;\n" |
| 2299 |
" ssize_t s;\n" |
| 2300 |
" struct stat sb;\n" |
| 2301 |
"\\&\n" |
| 2302 |
" if (argc E<lt> 3 || argc E<gt> 4) {\n" |
| 2303 |
" fprintf(stderr, \"przesunięcie pliku %s [długość]\\[rs]n\", argv[0]);\n" |
| 2304 |
" exit(EXIT_FAILURE);\n" |
| 2305 |
" }\n" |
| 2306 |
"\\&\n" |
| 2307 |
" fd = open(argv[1], O_RDONLY);\n" |
| 2308 |
" if (fd == -1)\n" |
| 2309 |
" handle_error(\"open\");\n" |
| 2310 |
"\\&\n" |
| 2311 |
" if (fstat(fd, &sb) == -1) /* Do pobrania rozmiaru pliku */\n" |
| 2312 |
" handle_error(\"fstat\");\n" |
| 2313 |
"\\&\n" |
| 2314 |
" offset = atoi(argv[2]);\n" |
| 2315 |
" pa_offset = offset & \\[ti](sysconf(_SC_PAGE_SIZE) - 1);\n" |
| 2316 |
" /* przesunięcie dla mmap() musi być wyrównane do strony */\n" |
| 2317 |
"\\&\n" |
| 2318 |
" if (offset E<gt>= sb.st_size) {\n" |
| 2319 |
" fprintf(stderr, \"przesunięcie za końcem pliku\\[rs]n\");\n" |
| 2320 |
" exit(EXIT_FAILURE);\n" |
| 2321 |
" }\n" |
| 2322 |
"\\&\n" |
| 2323 |
" if (argc == 4) {\n" |
| 2324 |
" length = atoi(argv[3]);\n" |
| 2325 |
" if (offset + length E<gt> sb.st_size)\n" |
| 2326 |
" length = sb.st_size - offset;\n" |
| 2327 |
" /* Nie można wypisać bajtów poza końcem pliku */\n" |
| 2328 |
"\\&\n" |
| 2329 |
" } else { /* Brak arg. długości ==E<gt> wyświetl do końca pliku */\n" |
| 2330 |
" length = sb.st_size - offset;\n" |
| 2331 |
" }\n" |
| 2332 |
"\\&\n" |
| 2333 |
" addr = mmap(NULL, length + offset - pa_offset, PROT_READ,\n" |
| 2334 |
" MAP_PRIVATE, fd, pa_offset);\n" |
| 2335 |
" if (addr == MAP_FAILED)\n" |
| 2336 |
" handle_error(\"mmap\");\n" |
| 2337 |
"\\&\n" |
| 2338 |
" s = write(STDOUT_FILENO, addr + offset - pa_offset, length);\n" |
| 2339 |
" if (s != length) {\n" |
| 2340 |
" if (s == -1)\n" |
| 2341 |
" handle_error(\"write\");\n" |
| 2342 |
"\\&\n" |
| 2343 |
" fprintf(stderr, \"częściowy zapis\");\n" |
| 2344 |
" exit(EXIT_FAILURE);\n" |
| 2345 |
" }\n" |
| 2346 |
"\\&\n" |
| 2347 |
" munmap(addr, length + offset - pa_offset);\n" |
| 2348 |
" close(fd);\n" |
| 2349 |
"\\&\n" |
| 2350 |
" exit(EXIT_SUCCESS);\n" |
| 2351 |
"}\n" |
| 2352 |
|
| 2353 |
#. type: Plain text |
| 2354 |
#: debian-trixie fedora-44 fedora-rawhide |
| 2355 |
msgid "B.O. Gallmeister, POSIX.4, O'Reilly, pp. 128\\[en]129 and 389\\[en]391." |
| 2356 |
msgstr "B.O. Gallmeister, POSIX.4, O'Reilly, str. 128\\[en]129 i 389\\[en]391." |
| 2357 |
|
| 2358 |
#. type: TH |
| 2359 |
#: fedora-44 fedora-rawhide |
| 2360 |
#, no-wrap |
| 2361 |
msgid "2024-07-23" |
| 2362 |
msgstr "23 lipca 2024 r." |
| 2363 |
|
| 2364 |
#. type: TH |
| 2365 |
#: fedora-44 fedora-rawhide |
| 2366 |
#, no-wrap |
| 2367 |
msgid "Linux man-pages 6.13" |
| 2368 |
msgstr "Linux man-pages 6.13" |
| 2369 |
|
| 2370 |
#. type: TH |
| 2371 |
#: mageia-cauldron |
| 2372 |
#, no-wrap |
| 2373 |
msgid "2026-02-11" |
| 2374 |
msgstr "11 lutego 2026 r." |
| 2375 |
|
| 2376 |
#. type: TH |
| 2377 |
#: mageia-cauldron |
| 2378 |
#, no-wrap |
| 2379 |
msgid "Linux man-pages 6.17" |
| 2380 |
msgstr "Linux man-pages 6.17" |
| 2381 |
|
| 2382 |
#. type: TH |
| 2383 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 2384 |
#, no-wrap |
| 2385 |
msgid "Linux man-pages (unreleased)" |
| 2386 |
msgstr "Linux man-pages (niewydane)" |