Debian Codegraph @

po/de/man2/mmap.2.po

raw
1 # German translation of manpages
2 # This file is distributed under the same license as the manpages-l10n package.
3 # Copyright © of this file:
4 # Johnny Teveßen <[email protected]>, 1998.
5 # Martin Schulze <[email protected]>, 1998.
6 # Dr. Tobias Quathamer <[email protected]>, 2016.
7 # Helge Kreutzmann <[email protected]>, 2016, 2019-2022,2025.
8 msgid ""
9 msgstr ""
10 "Project-Id-Version: manpages-l10n 4.30.1\n"
11 "POT-Creation-Date: 2026-06-05 06:31+0200\n"
12 "PO-Revision-Date: 2026-05-01 10:05+0200\n"
13 "Last-Translator: Helge Kreutzmann <[email protected]>\n"
14 "Language-Team: German <[email protected]>\n"
15 "Language: de\n"
16 "MIME-Version: 1.0\n"
17 "Content-Type: text/plain; charset=UTF-8\n"
18 "Content-Transfer-Encoding: 8bit\n"
19 "Plural-Forms: nplurals=2; plural=(n != 1);\n"
20
21 #. type: TH
22 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
23 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
24 #, no-wrap
25 msgid "mmap"
26 msgstr "mmap"
27
28 #. type: TH
29 #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed
30 #, no-wrap
31 msgid "2026-03-19"
32 msgstr "19. März 2026"
33
34 #. type: TH
35 #: archlinux debian-unstable
36 #, no-wrap
37 msgid "Linux man-pages 6.18"
38 msgstr "Linux man-pages 6.18"
39
40 #. type: SH
41 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
42 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
43 #, no-wrap
44 msgid "NAME"
45 msgstr "BEZEICHNUNG"
46
47 #. type: Plain text
48 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
49 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
50 msgid "mmap, munmap - map or unmap files or devices into memory"
51 msgstr "mmap, munmap - (un)mapt Dateien oder Geräte im Speicher"
52
53 #. type: SH
54 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
55 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
56 #, no-wrap
57 msgid "LIBRARY"
58 msgstr "BIBLIOTHEK"
59
60 #. type: Plain text
61 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
62 #: opensuse-leap-16-1 opensuse-tumbleweed
63 msgid "Standard C library (I<libc>,\\ I<-lc>)"
64 msgstr "Standard-C-Bibliothek (I<libc>,\\ I<-lc>)"
65
66 #. type: SH
67 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
68 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
69 #, no-wrap
70 msgid "SYNOPSIS"
71 msgstr "ÜBERSICHT"
72
73 #. type: Plain text
74 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
75 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
76 #, no-wrap
77 msgid "B<#include E<lt>sys/mman.hE<gt>>\n"
78 msgstr "B<#include E<lt>sys/mman.hE<gt>>\n"
79
80 # WONTFIX B<…>size_t length → B<…size_t> I<length> // forward declaration
81 #. type: Plain text
82 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
83 #: opensuse-tumbleweed
84 #, no-wrap
85 msgid ""
86 "B<void *mmap(>size_t length;\n"
87 "B< void >I<addr>B<[>I<length>B<], size_t >I<length>B<, int >I<prot>B<, int >I<flags>B<,>\n"
88 "B< int >I<fd>B<, off_t >I<offset>B<);>\n"
89 "B<int munmap(>size_t length;\n"
90 "B< void >I<addr>B<[>I<length>B<], size_t >I<length>B<);>\n"
91 msgstr ""
92 "B<void *mmap(>size_t laenge;\n"
93 "B< void >I<Adr>B<[>I<laenge>B<], size_t >I<laenge>B<, int >I<prot>B<, int >I<Schalter>B<,>\n"
94 "B< int >I<dd>B<, off_t >I<Versatz>B<);>\n"
95 "B<int munmap(>size_t laenge;\n"
96 "B< void >I<Adr>B<[>I<laenge>B<], size_t >I<laenge>B<);>\n"
97
98 #. type: Plain text
99 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
100 #: opensuse-leap-16-1 opensuse-tumbleweed
101 msgid "See VERSIONS for information on feature test macro requirements."
102 msgstr ""
103 "Siehe VERSIONEN für Informationen über Feature-Test-Makros-Anforderungen."
104
105 #. type: SH
106 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
107 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
108 #, no-wrap
109 msgid "DESCRIPTION"
110 msgstr "BESCHREIBUNG"
111
112 #. type: Plain text
113 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
114 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
115 msgid ""
116 "B<mmap>() creates a new mapping in the virtual address space of the calling "
117 "process. The starting address for the new mapping is specified in I<addr>. "
118 "The I<length> argument specifies the length of the mapping (which must be "
119 "greater than 0)."
120 msgstr ""
121 "B<mmap>() erstellt ein neues Mapping in den virtuellen Adressraum des "
122 "aufrufenden Prozesses. Die Anfangsadresse für dieses neue Mapping wird in "
123 "I<Adr> angegeben. Das Argument I<laenge> gibt an, welche Größe das Mapping "
124 "haben soll (dies muss größer als 0 sein)."
125
126 #. Before Linux 2.6.24, the address was rounded up to the next page
127 #. boundary; since Linux 2.6.24, it is rounded down!
128 #. type: Plain text
129 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
130 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
131 msgid ""
132 "If I<addr> is NULL, then the kernel chooses the (page-aligned) address at "
133 "which to create the mapping; this is the most portable method of creating a "
134 "new mapping. If I<addr> is not NULL, then the kernel takes it as a hint "
135 "about where to place the mapping; on Linux, the kernel will pick a nearby "
136 "page boundary (but always above or equal to the value specified by I</proc/"
137 "sys/vm/mmap_min_addr>) and attempt to create the mapping there. If another "
138 "mapping already exists there, the kernel picks a new address that may or may "
139 "not depend on the hint. The address of the new mapping is returned as the "
140 "result of the call."
141 msgstr ""
142 "Falls I<Adr> NULL ist, wählt der Kernel die (Seiten-ausgerichtete) Adresse "
143 "aus, an der das Mapping erstellt wird. Dies ist die portabelste Methode, ein "
144 "neues Mapping zu erstellen. Falls I<Adr> nicht NULL ist, wertet der Kernel "
145 "die Adresse als Hinweis, wo das Mapping erstellt werden soll. Unter Linux "
146 "wird das Mapping dann eine Speicherseitengrenze in der Nähe auswählen "
147 "(allerdings immer identisch zu oder oberhalb von dem durch I</proc/sys/vm/"
148 "mmap_min_addr> festgelegten Wert) und versuchen, dort ein Mapping zu "
149 "erstellen. Falls dort bereits ein anderes Mapping existiert, dann wählt der "
150 "Kernel eine neue Adresse, die den Hinweis berücksichtigen kann, aber nicht "
151 "muss. Die Adresse des neuen Mappings wird als Ergebnis des Aufrufs "
152 "zurückgegeben."
153
154 #. type: Plain text
155 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
156 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
157 msgid ""
158 "The contents of a file mapping (as opposed to an anonymous mapping; see "
159 "B<MAP_ANONYMOUS> below), are initialized using I<length> bytes starting at "
160 "offset I<offset> in the file (or other object) referred to by the file "
161 "descriptor I<fd>. I<offset> must be a multiple of the page size as returned "
162 "by I<sysconf(_SC_PAGE_SIZE)>."
163 msgstr ""
164 "Die Inhalte eines Datei-Mappings werden initialisiert, indem I<laenge> Byte "
165 "aus der Datei (oder einem anderen Objekt), die durch den Dateideskriptor "
166 "I<dd> beschrieben wird, ab dem Versatz I<Versatz> verwendet werden. Dies ist "
167 "anders als beim anonymen Mapping, siehe B<MAP_ANONYMOUS> unten. I<Versatz> "
168 "muss ein Vielfaches der Seitengröße sein, die von I<sysconf(_SC_PAGE_SIZE)> "
169 "zurückgegeben wird."
170
171 #. type: Plain text
172 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
173 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
174 msgid ""
175 "After the B<mmap>() call has returned, the file descriptor, I<fd>, can be "
176 "closed immediately without invalidating the mapping."
177 msgstr ""
178 "Nachdem der B<mmap>()-Aufruf zurückgekehrt ist, kann der Dateideskriptor "
179 "I<dd> sofort geschlossen werden, ohne dass das Mapping ungültig wird."
180
181 #. type: Plain text
182 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
183 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
184 msgid ""
185 "The I<prot> argument describes the desired memory protection of the mapping "
186 "(and must not conflict with the open mode of the file). It is either "
187 "B<PROT_NONE> or the bitwise OR of one or more of the following flags:"
188 msgstr ""
189 "Das Argument I<prot> beschreibt den gewünschten Speicherschutz des Mappings "
190 "(und darf nicht im Widerspruch zum Öffnungsmodus der Datei stehen). Es ist "
191 "entweder B<PROT_NONE> oder das bitweise ODER von einem oder mehreren der "
192 "folgenden Schalter:"
193
194 #. type: TP
195 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
196 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
197 #, no-wrap
198 msgid "B<PROT_EXEC>"
199 msgstr "B<PROT_EXEC>"
200
201 #. type: Plain text
202 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
203 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
204 msgid "Pages may be executed."
205 msgstr "Seiten können ausgeführt werden."
206
207 #. type: TP
208 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
209 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
210 #, no-wrap
211 msgid "B<PROT_READ>"
212 msgstr "B<PROT_READ>"
213
214 #. type: Plain text
215 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
216 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
217 msgid "Pages may be read."
218 msgstr "Seiten dürfen gelesen werden."
219
220 #. type: TP
221 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
222 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
223 #, no-wrap
224 msgid "B<PROT_WRITE>"
225 msgstr "B<PROT_WRITE>"
226
227 #. type: Plain text
228 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
229 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
230 msgid "Pages may be written."
231 msgstr "Seiten dürfen beschrieben werden."
232
233 #. type: TP
234 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
235 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
236 #, no-wrap
237 msgid "B<PROT_NONE>"
238 msgstr "B<PROT_NONE>"
239
240 #. type: Plain text
241 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
242 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
243 msgid "Pages may not be accessed."
244 msgstr "Auf die Seiten darf nicht zugegriffen werden."
245
246 #. type: SS
247 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
248 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
249 #, no-wrap
250 msgid "The flags argument"
251 msgstr "Das Argument »Schalter«"
252
253 #. type: Plain text
254 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
255 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
256 msgid ""
257 "The I<flags> argument determines whether updates to the mapping are visible "
258 "to other processes mapping the same region, and whether updates are carried "
259 "through to the underlying file. This behavior is determined by including "
260 "exactly one of the following values in I<flags>:"
261 msgstr ""
262 "Das Argument I<Schalter> bestimmt, ob Aktualisierungen des Mappings für "
263 "andere Prozesse sichtbar sind, die denselben Bereich mappen und ob "
264 "Aktualisierungen auch in die zugrundeliegende Datei weitergereicht werden. "
265 "Dieses Verhalten wird durch genau einen der folgenden Werte in I<Schalter> "
266 "festgelegt:"
267
268 #. type: TP
269 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
270 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
271 #, no-wrap
272 msgid "B<MAP_SHARED>"
273 msgstr "B<MAP_SHARED>"
274
275 #. type: Plain text
276 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
277 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
278 msgid ""
279 "Share this mapping. Updates to the mapping are visible to other processes "
280 "mapping the same region, and (in the case of file-backed mappings) are "
281 "carried through to the underlying file. (To precisely control when updates "
282 "are carried through to the underlying file requires the use of B<msync>(2).)"
283 msgstr ""
284 "Das Mapping gemeinsam benutzen. Aktualisierungen dieses Mappings sind für "
285 "andere Prozesse in dem gleichen Bereich sichtbar und (falls es sich um Datei-"
286 "basierende Mappings handelt) werden zu der zugrundeliegenden Datei "
287 "weitergereicht. (Um genau zu steuern, wann Aktualisierungen zu der "
288 "zugrundeliegenden Datei weitergereicht werden, muss B<msync>(2) eingesetzt "
289 "werden.)"
290
291 #. type: TP
292 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
293 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
294 #, no-wrap
295 msgid "B<MAP_SHARED_VALIDATE> (since Linux 4.15)"
296 msgstr "B<MAP_SHARED_VALIDATE> (seit Linux 4.15)"
297
298 #. type: Plain text
299 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
300 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
301 msgid ""
302 "This flag provides the same behavior as B<MAP_SHARED> except that "
303 "B<MAP_SHARED> mappings ignore unknown flags in I<flags>. By contrast, when "
304 "creating a mapping using B<MAP_SHARED_VALIDATE>, the kernel verifies all "
305 "passed flags are known and fails the mapping with the error B<EOPNOTSUPP> "
306 "for unknown flags. This mapping type is also required to be able to use "
307 "some mapping flags (e.g., B<MAP_SYNC>)."
308 msgstr ""
309 "Dieser Schalter stellt das gleiche Verhalten wie B<MAP_SHARED> bereit, außer "
310 "dass B<MAP_SHARED>-Mappings unbekannte Schalter in I<Schalter> ignorieren. "
311 "Im Gegensatz überprüft der Kernel, wenn er Mappings mittels "
312 "B<MAP_SHARED_VALIDATE> erstellt, dass alle übergebenen Schalter bekannt sind "
313 "und schlägt mit dem Fehler B<EOPNOTSUPP> bei unbekannten Schaltern fehl. "
314 "Dieser Mapping-Typ wird auch benötigt, um bestimmte Mapping-Schalter (z.B. "
315 "B<MAP_SYNC>) verwenden zu können."
316
317 #. type: TP
318 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
319 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
320 #, no-wrap
321 msgid "B<MAP_PRIVATE>"
322 msgstr "B<MAP_PRIVATE>"
323
324 #. type: Plain text
325 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
326 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
327 msgid ""
328 "Create a private copy-on-write mapping. Updates to the mapping are not "
329 "visible to other processes mapping the same file, and are not carried "
330 "through to the underlying file. It is unspecified whether changes made to "
331 "the file after the B<mmap>() call are visible in the mapped region."
332 msgstr ""
333 "Erstellt ein privates, beim Kopieren zu schreibendes Mapping. "
334 "Aktualisierungen an dem Mapping sind für andere Prozesse, die die gleiche "
335 "Datei mappen, nicht sichtbar, und werden nicht an die zugrundeliegende Datei "
336 "weitergeleitet. Es ist nicht spezifiziert, ob Änderungen an der Datei, die "
337 "nach dem Aufruf von B<mmap>() erfolgen, in der gemappten Region sichtbar "
338 "sind."
339
340 #. type: Plain text
341 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
342 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
343 msgid ""
344 "Both B<MAP_SHARED> and B<MAP_PRIVATE> are described in POSIX.1-2001 and "
345 "POSIX.1-2008. B<MAP_SHARED_VALIDATE> is a Linux extension."
346 msgstr ""
347 "Sowohl B<MAP_SHARED> als auch B<MAP_PRIVATE> werden in POSIX.1-2001 und "
348 "POSIX.1-2008 beschrieben. B<MAP_SHARED_VALIDATE> ist eine Linux-Erweiterung."
349
350 #. type: Plain text
351 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
352 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
353 msgid ""
354 "In addition, zero or more of the following values can be ORed in I<flags>:"
355 msgstr ""
356 "Zusätzlich können null oder mehrere der folgenden Werte mit OR in "
357 "I<Schalter> hinzugefügt werden:"
358
359 #. type: TP
360 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
361 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
362 #, no-wrap
363 msgid "B<MAP_32BIT> (since Linux 2.4.20, 2.6)"
364 msgstr "B<MAP_32BIT> (seit Linux 2.4.20, 2.6)"
365
366 #. See http://lwn.net/Articles/294642 "Tangled up in threads", 19 Aug 08
367 #. type: Plain text
368 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
369 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
370 msgid ""
371 "Put the mapping into the first 2 Gigabytes of the process address space. "
372 "This flag is supported only on x86-64, for 64-bit programs. It was added to "
373 "allow thread stacks to be allocated somewhere in the first 2\\ GB of memory, "
374 "so as to improve context-switch performance on some early 64-bit "
375 "processors. Modern x86-64 processors no longer have this performance "
376 "problem, so use of this flag is not required on those systems. The "
377 "B<MAP_32BIT> flag is ignored when B<MAP_FIXED> is set."
378 msgstr ""
379 "Legt das Mapping in die ersten zwei Gigabyte des Prozessadressraums. Dieser "
380 "Schalter wird nur auf X86-64 für 64-Bit-Programme unterstützt. Er wurde "
381 "hinzugefügt, damit Thread-Stacks irgendwo innerhalb der ersten 2\\ GB "
382 "Speicher zugewiesen werden können, damit die Leistung des Kontext-"
383 "Umschaltens auf einigen der ersten 64-Bit-Prozessoren erhöht wird. Moderne "
384 "X86-64-Prozessoren haben dieses Leistungsproblem nicht mehr, wodurch der "
385 "Einsatz dieses Schalters auf diesen Systemen nicht mehr benötigt wird. Der "
386 "Schalter B<MAP_32BIT> wird ignoriert, wenn B<MAP_FIXED> gesetzt ist."
387
388 #. type: TP
389 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
390 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
391 #, no-wrap
392 msgid "B<MAP_ANON>"
393 msgstr "B<MAP_ANON>"
394
395 #. type: Plain text
396 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
397 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
398 msgid ""
399 "Synonym for B<MAP_ANONYMOUS>; provided for compatibility with other "
400 "implementations."
401 msgstr ""
402 "Synonym für B<MAP_ANONYMOUS>; zur Kompatibilität mit anderen "
403 "Implementierungen bereitgestellt."
404
405 #. type: TP
406 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
407 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
408 #, no-wrap
409 msgid "B<MAP_ANONYMOUS>"
410 msgstr "B<MAP_ANONYMOUS>"
411
412 #. See the pgoff overflow check in do_mmap().
413 #. See the offset check in sys_mmap in arch/x86/kernel/sys_x86_64.c.
414 #. type: Plain text
415 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
416 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
417 msgid ""
418 "The mapping is not backed by any file; its contents are initialized to "
419 "zero. The I<fd> argument is ignored; however, some implementations require "
420 "I<fd> to be -1 if B<MAP_ANONYMOUS> (or B<MAP_ANON>) is specified, and "
421 "portable applications should ensure this. The I<offset> argument should be "
422 "zero. Support for B<MAP_ANONYMOUS> in conjunction with B<MAP_SHARED> was "
423 "added in Linux 2.4."
424 msgstr ""
425 "Diesem Mapping liegt keine Datei zugrunde; ihr Inhalt wird mit Nullen "
426 "initialisiert. Das Argument I<dd> wird ignoriert, einige Implementierungen "
427 "verlangen aber, dass I<dd> -1 ist, falls B<MAP_ANONYMOUS> (oder B<MAP_ANON>) "
428 "festgelegt ist, und portable Anwendungen sollten dies sicherstellen. Das "
429 "Argument I<Versatz> sollte 0 sein. Die Unterstützung für B<MAP_ANONYMOUS> "
430 "mit B<MAP_SHARED> wurde in Linux 2.4 hinzugefügt."
431
432 #. type: TP
433 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
434 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
435 #, no-wrap
436 msgid "B<MAP_DENYWRITE>"
437 msgstr "B<MAP_DENYWRITE>"
438
439 #. Introduced in 1.1.36, removed in 1.3.24.
440 #. type: Plain text
441 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
442 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
443 msgid ""
444 "This flag is ignored. (Long ago\\[em]Linux 2.0 and earlier\\[em]it signaled "
445 "that attempts to write to the underlying file should fail with B<ETXTBSY>. "
446 "But this was a source of denial-of-service attacks.)"
447 msgstr ""
448 "Dieser Schalter wird ignoriert. (Vor langer Zeit \\[en] Linux 2.0 und älter "
449 "\\[en] signalisierte er, dass Schreibversuche auf die zugrundeliegende Datei "
450 "mit B<ETXTBSY> fehlschlagen sollten. Dies war aber eine Quelle von "
451 "Diensteverweigerungsangriffen."
452
453 #. type: TP
454 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
455 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
456 #, no-wrap
457 msgid "B<MAP_EXECUTABLE>"
458 msgstr "B<MAP_EXECUTABLE>"
459
460 #. #-#-#-#-# archlinux: 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-trixie: 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 #. #-#-#-#-# debian-unstable: 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-44: 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 #. #-#-#-#-# fedora-rawhide: 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 #. #-#-#-#-# mageia-cauldron: 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-leap-16-1: 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 #. #-#-#-#-# opensuse-tumbleweed: mmap.2.pot (PACKAGE VERSION) #-#-#-#-#
510 #. Introduced in 1.1.38, removed in 1.3.24. Flag tested in proc_follow_link.
511 #. (Long ago, it signaled that the underlying file is an executable.
512 #. However, that information was not really used anywhere.)
513 #. Linus talked about DOS related to MAP_EXECUTABLE, but he was thinking of
514 #. MAP_DENYWRITE?
515 #. type: Plain text
516 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
517 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
518 msgid "This flag is ignored."
519 msgstr "Dieser Schalter wird ignoriert."
520
521 #. type: TP
522 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
523 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
524 #, no-wrap
525 msgid "B<MAP_FILE>"
526 msgstr "B<MAP_FILE>"
527
528 #. On some systems, this was required as the opposite of
529 #. MAP_ANONYMOUS -- mtk, 1 May 2007
530 #. type: Plain text
531 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
532 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
533 msgid "Compatibility flag. Ignored."
534 msgstr "Kompatibilitätsschalter. Ignoriert."
535
536 #. type: TP
537 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
538 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
539 #, no-wrap
540 msgid "B<MAP_FIXED>"
541 msgstr "B<MAP_FIXED>"
542
543 #. type: Plain text
544 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
545 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
546 msgid ""
547 "Don't interpret I<addr> as a hint: place the mapping at exactly that "
548 "address. I<addr> must be suitably aligned: for most architectures a "
549 "multiple of the page size is sufficient; however, some architectures may "
550 "impose additional restrictions. If the memory region specified by I<addr> "
551 "and I<length> overlaps pages of any existing mapping(s), then the overlapped "
552 "part of the existing mapping(s) will be discarded. If the specified address "
553 "cannot be used, B<mmap>() will fail."
554 msgstr ""
555 "I<Adr> wird nicht als Hinweis interpretiert; legt das Mapping genau an "
556 "dieser Adresse an. I<Adr> muss geeignet ausgerichtet sein: bei den meisten "
557 "Architekturen reicht ein Vielfaches der Seitengröße aus, allerdings könnten "
558 "einige Architekturen zusätzliche Anforderungen stellen. Falls der mit I<Adr> "
559 "und I<laenge> festgelegte Speicherbereich bestehende Mappings überlappt, "
560 "dann wird der überlappende Anteil des bestehenden Mappings verworfen. Falls "
561 "die angegebene Adresse nicht verwandt werden kann, wird B<mmap>() "
562 "fehlschlagen."
563
564 #. type: Plain text
565 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
566 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
567 msgid ""
568 "Software that aspires to be portable should use the B<MAP_FIXED> flag with "
569 "care, keeping in mind that the exact layout of a process's memory mappings "
570 "is allowed to change significantly between Linux versions, C library "
571 "versions, and operating system releases. I<Carefully read the discussion of "
572 "this flag in NOTES!>"
573 msgstr ""
574 "Software, die Portierbarkeit anstrebt, sollte den Schalter B<MAP_FIXED> mit "
575 "Vorsicht verwenden und dabei berücksichtigen, dass sich die genaue Anordnung "
576 "der Mappings des Prozesses im Speicher deutlich zwischen Linuxversionen, C-"
577 "Bibliotheksversionen und Betriebssystemveröffentlichungen unterscheiden "
578 "kann. I<Lesen Sie die Erörterung dieses Schalters im Abschnitt ANMERKUNGEN "
579 "sorgfältig!>"
580
581 #. type: TP
582 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
583 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
584 #, no-wrap
585 msgid "B<MAP_FIXED_NOREPLACE> (since Linux 4.17)"
586 msgstr "B<MAP_FIXED_NOREPLACE> (seit Linux 4.17)"
587
588 #. commit a4ff8e8620d3f4f50ac4b41e8067b7d395056843
589 #. type: Plain text
590 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
591 #: opensuse-tumbleweed
592 msgid ""
593 "This flag provides behavior that is similar to B<MAP_FIXED> with respect to "
594 "the I<addr> enforcement, but differs in that B<MAP_FIXED_NOREPLACE> never "
595 "clobbers a preexisting mapped range. If the requested range would collide "
596 "with an existing mapping, then this call fails with the error B<EEXIST.> "
597 "This flag can therefore be used as a way to atomically (with respect to "
598 "other threads) attempt to map an address range: one thread will succeed; "
599 "all others will report failure."
600 msgstr ""
601 "Dieser Schalter stellt ein Verhalten bereit, das B<MAP_FIXED> im Hinblick "
602 "auf die Erzwingung von I<Adr> ähnelt, sich aber dadurch unterscheidet, dass "
603 "B<MAP_FIXED_NOREPLACE> einen bereits bestehenden, gemappten Bereich "
604 "durcheinanderbringt. Falls der angeforderte Bereich mit einem bestehenden "
605 "Mapping kollidieren würde, dann schlägt dieser Aufruf mit B<EEXIST> fehl. "
606 "Dieser Schalter kann daher für atomare (im Hinblick auf andere Threads) "
607 "Versuche, einen Adressbereich zu mappen, verwandt werden: ein Thread hat "
608 "Erfolg, alle anderen berichten einen Fehlschlag."
609
610 #. type: Plain text
611 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
612 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
613 msgid ""
614 "Note that older kernels which do not recognize the B<MAP_FIXED_NOREPLACE> "
615 "flag will typically (upon detecting a collision with a preexisting mapping) "
616 "fall back to a \\[lq]non-B<MAP_FIXED>\\[rq] type of behavior: they will "
617 "return an address that is different from the requested address. Therefore, "
618 "backward-compatible software should check the returned address against the "
619 "requested address."
620 msgstr ""
621 "Beachten Sie, dass ältere Kernel, die den Schalter B<MAP_FIXED_NOREPLACE> "
622 "nicht erkennen, typischerweise (bei der Erkennung einer Kollision mit einem "
623 "bereits bestehenden Mapping) auf den Verhaltenstyp von »nicht-B<MAP_FIXED>« "
624 "zurückfallen: sie liefern eine Adresse zurück, die sich von der "
625 "angeforderten Adresse unterscheidet. Daher sollte rückwärtskompatible "
626 "Software die zurückgelieferte Adresse mit der angeforderten Adresse "
627 "vergleichen."
628
629 #. type: TP
630 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
631 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
632 #, no-wrap
633 msgid "B<MAP_GROWSDOWN>"
634 msgstr "B<MAP_GROWSDOWN>"
635
636 #. type: Plain text
637 #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed
638 msgid ""
639 "This flag is used for stacks. It indicates to the kernel virtual memory "
640 "system that the mapping should extend downward in memory. Touching an "
641 "address in the \"guard\" page below the mapping will cause the mapping to "
642 "grow by a page. This growth can be repeated until the mapping grows to "
643 "within a page of the high end of the next lower mapping, at which point "
644 "touching the \"guard\" page will result in a B<SIGSEGV> signal."
645 msgstr ""
646 "Dieser Schalter wird für Stacks verwandt. Er zeigt dem Kernelsystem für "
647 "virtuellen Speicher an, dass sich das Mapping nach unten im Speicher "
648 "ausdehnen soll. Wird eine Adresse in der »Wächter«-Seite unterhalb des "
649 "Mappings berührt, dann wächst das Mapping um eine Seite. Dieses Wachstum "
650 "kann wiederholt werden, bis das Mapping bis auf eine Seite innerhalb des "
651 "hohen Endes des nächst-niedrigeren Mappings anwächst - zu diesem Zeitpunkt "
652 "führt das Berühren der »Wächter«-Seite zu einem B<SIGSEGV>-Signal."
653
654 #. type: TP
655 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
656 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
657 #, no-wrap
658 msgid "B<MAP_HUGETLB> (since Linux 2.6.32)"
659 msgstr "B<MAP_HUGETLB> (seit Linux 2.6.32)"
660
661 #. type: Plain text
662 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
663 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
664 msgid ""
665 "Allocate the mapping using \"huge\" pages. See the Linux kernel source file "
666 "I<Documentation/admin-guide/mm/hugetlbpage.rst> for further information, as "
667 "well as NOTES, below."
668 msgstr ""
669 "Reserviert das Mapping mittels »großer« Speicherseiten. Siehe die Linux-"
670 "Kernelquelldatei I<Documentation/admin-guide/mm/hugetlbpage.rst> sowie die "
671 "nachfolgenden ANMERKUNGEN für weitere Details."
672
673 #. type: TP
674 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
675 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
676 #, no-wrap
677 msgid "B<MAP_HUGE_2MB>"
678 msgstr "B<MAP_HUGE_2MB>"
679
680 #. type: TQ
681 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
682 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
683 #, no-wrap
684 msgid "B<MAP_HUGE_1GB> (since Linux 3.8)"
685 msgstr "B<MAP_HUGE_1GB> (seit Linux 3.8)"
686
687 #. See https://lwn.net/Articles/533499/
688 #. type: Plain text
689 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
690 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
691 msgid ""
692 "Used in conjunction with B<MAP_HUGETLB> to select alternative hugetlb page "
693 "sizes (respectively, 2\\ MB and 1\\ GB) on systems that support multiple "
694 "hugetlb page sizes."
695 msgstr ""
696 "Wird in Zusammenhang mit B<MAP_HUGETLB> verwandt, um alternative hugetlb-"
697 "Seitengrößen (respektive 2\\ MB und 1\\ GB) auf Systemen auszuwählen, die "
698 "mehrere hugetlb-Seitengrößen unterstützen."
699
700 #. type: Plain text
701 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
702 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
703 msgid ""
704 "More generally, the desired huge page size can be configured by encoding the "
705 "base-2 logarithm of the desired page size in the six bits at the offset "
706 "B<MAP_HUGE_SHIFT>. (A value of zero in this bit field provides the default "
707 "huge page size; the default huge page size can be discovered via the "
708 "I<Hugepagesize> field exposed by I</proc/meminfo>.) Thus, the above two "
709 "constants are defined as:"
710 msgstr ""
711 "Allgemeiner kann die gewünschte Größe der großen Speicherseiten durch "
712 "Kodierung des Logarithmus zur Basis 2 der gewünschten Seitengröße in den "
713 "sechs Bits am Versatz B<MAP_HUGE_SHIFT> konfiguriert werden. (Ein Wert 0 in "
714 "diesem Bitfeld stellt die standardmäßige große Speicherseitengröße bereit; "
715 "die Vorgabegröße großer Speicherseiten kann mittels des durch I</proc/"
716 "meminfo> offengelegten Feldes I<Hugepagesize> ermittelt werden.) Daher sind "
717 "die obigen zwei Konstanten wie folgt definiert:"
718
719 #. type: Plain text
720 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
721 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
722 #, no-wrap
723 msgid ""
724 "#define MAP_HUGE_2MB (21 E<lt>E<lt> MAP_HUGE_SHIFT)\n"
725 "#define MAP_HUGE_1GB (30 E<lt>E<lt> MAP_HUGE_SHIFT)\n"
726 msgstr ""
727 "#define MAP_HUGE_2MB (21 E<lt>E<lt> MAP_HUGE_SHIFT)\n"
728 "#define MAP_HUGE_1GB (30 E<lt>E<lt> MAP_HUGE_SHIFT)\n"
729
730 #. type: Plain text
731 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
732 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
733 msgid ""
734 "The range of huge page sizes that are supported by the system can be "
735 "discovered by listing the subdirectories in I</sys/kernel/mm/hugepages>."
736 msgstr ""
737 "Der von dem System unterstützte Bereich der Größe der großen Speicherseiten "
738 "kann durch Auflisten der Unterverzeichnisse in I</sys/kernel/mm/hugepages> "
739 "ermittelt werden."
740
741 #. type: TP
742 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
743 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
744 #, no-wrap
745 msgid "B<MAP_LOCKED> (since Linux 2.5.37)"
746 msgstr "B<MAP_LOCKED> (seit Linux 2.5.37)"
747
748 #. If set, the mapped pages will not be swapped out.
749 #. type: Plain text
750 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
751 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
752 msgid ""
753 "Mark the mapped region to be locked in the same way as B<mlock>(2). This "
754 "implementation will try to populate (prefault) the whole range but the "
755 "B<mmap>() call doesn't fail with B<ENOMEM> if this fails. Therefore major "
756 "faults might happen later on. So the semantic is not as strong as "
757 "B<mlock>(2). One should use B<mmap>() plus B<mlock>(2) when major faults "
758 "are not acceptable after the initialization of the mapping. The "
759 "B<MAP_LOCKED> flag is ignored in older kernels."
760 msgstr ""
761 "Markiert den gemappten Bereich auf die gleiche Art wie B<mlock>(2). Diese "
762 "Implementierung wird versuchen, den gesamten Bereich vorzubelegen "
763 "(»prefault«) aber der Aufruf von B<mmap>() wird nicht mit B<ENOMEM> "
764 "fehlschlagen, falls dies nicht gelingt. Daher können später große "
765 "Ausnahmebehandlungen passieren. Daher ist die Semantik nicht so stark wie "
766 "B<mlock>(2). Sie sollten B<mmap>() mit B<mlock>(2) verwenden, wenn große "
767 "Ausnahmebehandlungen nach der Initialisierung des Mappings nicht "
768 "akzeptierbar sind. Der Schalter B<MAP_LOCKED> wird unter älteren Kerneln "
769 "ignoriert."
770
771 #. type: TP
772 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
773 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
774 #, no-wrap
775 msgid "B<MAP_NONBLOCK> (since Linux 2.5.46)"
776 msgstr "B<MAP_NONBLOCK> (seit Linux 2.5.46)"
777
778 #. commit 54cb8821de07f2ffcd28c380ce9b93d5784b40d7
779 #. type: Plain text
780 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
781 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
782 msgid ""
783 "This flag is meaningful only in conjunction with B<MAP_POPULATE>. Don't "
784 "perform read-ahead: create page tables entries only for pages that are "
785 "already present in RAM. Since Linux 2.6.23, this flag causes "
786 "B<MAP_POPULATE> to do nothing. One day, the combination of B<MAP_POPULATE> "
787 "and B<MAP_NONBLOCK> may be reimplemented."
788 msgstr ""
789 "Dieser Schalter ergibt nur im Zusammenhang mit B<MAP_POPULATE> Sinn. Es wird "
790 "kein Vorauslesen durchgeführt, es werden Seitentabelleneinträge nur für "
791 "Seiten erstellt, die bereits im RAM vorhanden sind. Seit Linux 2.6.23 führt "
792 "dieser Schalter dazu, dass B<MAP_POPULATE> nichts macht. Irgendwann könnte "
793 "die Kombination von B<MAP_POPULATE> und B<MAP_NONBLOCK> wieder implementiert "
794 "werden."
795
796 #. type: TP
797 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
798 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
799 #, no-wrap
800 msgid "B<MAP_NORESERVE>"
801 msgstr "B<MAP_NORESERVE>"
802
803 #. type: Plain text
804 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
805 #: opensuse-tumbleweed
806 msgid ""
807 "Do not reserve swap space for this mapping. When swap space is reserved, "
808 "one has the guarantee that it is possible to modify the mapping. When swap "
809 "space is not reserved one might get B<SIGSEGV> upon a write if no physical "
810 "memory is available. See also the discussion of the file I</proc/sys/vm/"
811 "overcommit_memory> in B<proc_sys_vm>(5). Before Linux 2.6, this flag had "
812 "effect only for private writable mappings."
813 msgstr ""
814 "Reserviert für dieses Mapping keinen Auslagerungsspeicher. Wenn "
815 "Auslagerungsspeicher reserviert wird, muss garantiert werden, dass "
816 "Änderungen an dem Mapping möglich sind. Wird kein Auslagerungsspeicher "
817 "reserviert, könnte beim Schreiben ein B<SIGSEGV> empfangen werden, falls "
818 "kein physischer Speicher verfügbar ist. Siehe auch die Diskussion der Datei "
819 "I</proc/sys/vm/overcommit_memory> in B<proc_sys_vm>(5). Vor Linux 2.6 hatte "
820 "dieser Schalter nur für private, schreibbare Mappings eine Wirkung."
821
822 #. type: TP
823 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
824 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
825 #, no-wrap
826 msgid "B<MAP_POPULATE> (since Linux 2.5.46)"
827 msgstr "B<MAP_POPULATE> (seit Linux 2.5.46)"
828
829 #. type: Plain text
830 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
831 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
832 msgid ""
833 "Populate (prefault) page tables for a mapping. For a file mapping, this "
834 "causes read-ahead on the file. This will help to reduce blocking on page "
835 "faults later. The B<mmap>() call doesn't fail if the mapping cannot be "
836 "populated (for example, due to limitations on the number of mapped huge "
837 "pages when using B<MAP_HUGETLB>). Support for B<MAP_POPULATE> in "
838 "conjunction with private mappings was added in Linux 2.6.23."
839 msgstr ""
840 "Belegt (»prefault«) Seitentabellen für ein Mapping. Für ein Datei-Mapping "
841 "führt dies zu einem Vorablesen der Datei. Dies hilft dabei, später "
842 "Blockierungen bei Seitenausnahmebehandlungen zu vermeiden. Der Aufruf "
843 "B<mmap>() schlägt nicht fehl, falls das Mapping nicht belegt werden kann "
844 "(beispielsweise aufgrund von Beschränkungen der Anzahl der gemappten großen "
845 "Seiten bei der Verwendung von B<MAP_HUGETLB>). Die Unterstützung für "
846 "B<MAP_POPULATE> zusammen mit privaten Mappings wurde in Linux 2.6.23 "
847 "hinzugefügt."
848
849 #. type: TP
850 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
851 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
852 #, no-wrap
853 msgid "B<MAP_STACK> (since Linux 2.6.27)"
854 msgstr "B<MAP_STACK> (seit Linux 2.6.27)"
855
856 #. type: Plain text
857 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
858 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
859 msgid ""
860 "Allocate the mapping at an address suitable for a process or thread stack."
861 msgstr ""
862 "Reserverviert ein Mapping an einer Adresse, die für einen Stack eines "
863 "Prozesses oder Threads geeignet ist."
864
865 #. See http://lwn.net/Articles/294642 "Tangled up in threads", 19 Aug 08
866 #. commit cd98a04a59e2f94fa64d5bf1e26498d27427d5e7
867 #. http://thread.gmane.org/gmane.linux.kernel/720412
868 #. "pthread_create() slow for many threads; also time to revisit 64b
869 #. context switch optimization?"
870 #. type: Plain text
871 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
872 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
873 msgid ""
874 "This flag is currently a no-op on Linux. However, by employing this flag, "
875 "applications can ensure that they transparently obtain support if the flag "
876 "is implemented in the future. Thus, it is used in the glibc threading "
877 "implementation to allow for the fact that some architectures may (later) "
878 "require special treatment for stack allocations. A further reason to employ "
879 "this flag is portability: B<MAP_STACK> exists (and has an effect) on some "
880 "other systems (e.g., some of the BSDs)."
881 msgstr ""
882 "Dieser Schalter löst derzeit nichts aus. Durch Einsatz dieses Schalters "
883 "können Anwendungen aber transparent sicherstellen, dass sie die "
884 "Unterstützung erlangen, wenn dieser Schalter in der Zukunft implementiert "
885 "wird. Daher wird er in der Glibc-Threading-Implementierung verwandt, um der "
886 "Tatsache Rechnung zu tragen, dass auf einigen Architekturen (später) eine "
887 "besondere Behandlung von Stack-Zuweisungen nötig sein könnte. Ein weiterer "
888 "Grund, diesen Schalter einzusetzen, ist die Portabilität: B<MAP_STACK> "
889 "existiert (und hat eine Auswirkung) auf einigen anderen Systemen (z.B. "
890 "einigen BSDs)."
891
892 #. type: TP
893 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
894 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
895 #, no-wrap
896 msgid "B<MAP_SYNC> (since Linux 4.15)"
897 msgstr "B<MAP_SYNC> (seit Linux 4.15)"
898
899 #. type: Plain text
900 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
901 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
902 msgid ""
903 "This flag is available only with the B<MAP_SHARED_VALIDATE> mapping type; "
904 "mappings of type B<MAP_SHARED> will silently ignore this flag. This flag is "
905 "supported only for files supporting DAX (direct mapping of persistent "
906 "memory). For other files, creating a mapping with this flag results in an "
907 "B<EOPNOTSUPP> error."
908 msgstr ""
909 "Dieser Schalter ist nur mit dem Mapping-Typ B<MAP_SHARED_VALIDATE> "
910 "verfügbar. Mappings vom Typ B<MAP_SHARED> ignorieren diesen Schalter ohne "
911 "Rückmeldung. Dieser Schalter wird nur für Dateien, die DAX (direktes Mapping "
912 "von dauerhaftem Speicher) unterstützen, unterstützt. Für andere Dateien wird "
913 "das Erstellen eines Mappings mit diesem Schalter zu einem B<EOPNOTSUPP>-"
914 "Fehler führen."
915
916 #. type: Plain text
917 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
918 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
919 msgid ""
920 "Shared file mappings with this flag provide the guarantee that while some "
921 "memory is mapped writable in the address space of the process, it will be "
922 "visible in the same file at the same offset even after the system crashes or "
923 "is rebooted. In conjunction with the use of appropriate CPU instructions, "
924 "this provides users of such mappings with a more efficient way of making "
925 "data modifications persistent."
926 msgstr ""
927 "Gemeinsame Datei-Mappings mit diesem Schalter garantieren, dass der "
928 "schreibbare eingemappte Speicheranteil im Adressraum des Prozesses auch in "
929 "der gleichen Datei an dem gleichen Versatz selbst nach einem Systemabsturz "
930 "oder -neustart sichtbar ist. Im Zusammenhang mit dem Einsatz geeigneter CPU-"
931 "Anweisungen stellt dieses Benutzern solcher Mappings eine effizientere Art "
932 "bereit, solche Datenveränderungen dauerhaft zu machen."
933
934 #. type: TP
935 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
936 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
937 #, no-wrap
938 msgid "B<MAP_UNINITIALIZED> (since Linux 2.6.33)"
939 msgstr "B<MAP_UNINITIALIZED> (seit Linux 2.6.33)"
940
941 #. type: Plain text
942 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
943 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
944 msgid ""
945 "Don't clear anonymous pages. This flag is intended to improve performance "
946 "on embedded devices. This flag is honored only if the kernel was configured "
947 "with the B<CONFIG_MMAP_ALLOW_UNINITIALIZED> option. Because of the security "
948 "implications, that option is normally enabled only on embedded devices "
949 "(i.e., devices where one has complete control of the contents of user "
950 "memory)."
951 msgstr ""
952 "Die anonymen Seiten nicht bereinigen. Dieser Schalter ist für die "
953 "Verbesserung der Leistung auf eingebetteten Systemen gedacht. Dieser "
954 "Schalter wird nur berücksichtigt, falls der Kernel mit der Option "
955 "B<CONFIG_MMAP_ALLOW_UNINITIALIZED> konfiguriert worden war. Aufgrund der "
956 "Sicherheitsauswirkungen wird diese Option normalerweise nur auf "
957 "eingebetteten Geräten (d.h. Geräten, bei denen komplette Kontrolle über die "
958 "Speicherinhalte besteht) aktiviert."
959
960 #. FIXME . for later review when Issue 8 is one day released...
961 #. POSIX may add MAP_ANON in the future
962 #. http://austingroupbugs.net/tag_view_page.php?tag_id=8
963 #. http://austingroupbugs.net/view.php?id=850
964 #. type: Plain text
965 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
966 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
967 msgid ""
968 "Of the above flags, only B<MAP_FIXED> is specified in POSIX.1-2001 and "
969 "POSIX.1-2008. However, most systems also support B<MAP_ANONYMOUS> (or its "
970 "synonym B<MAP_ANON>)."
971 msgstr ""
972 "Von den obigen Schaltern ist nur B<MAP_FIXED> in POSIX.1-2001 und "
973 "POSIX.1-2008 spezifiziert. Allerdings unterstützen die meisten Systeme "
974 "B<MAP_ANONYMOUS> (oder sein Synonym B<MAP_ANON>)."
975
976 #. type: SS
977 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
978 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
979 #, no-wrap
980 msgid "munmap()"
981 msgstr "munmap()"
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 B<munmap>() system call deletes the mappings for the specified address "
988 "range, and causes further references to addresses within the range to "
989 "generate invalid memory references. The region is also automatically "
990 "unmapped when the process is terminated. On the other hand, closing the "
991 "file descriptor does not unmap the region."
992 msgstr ""
993 "Der B<munmap>-Systemaufruf hebt die Mappings im angegebenen Speicherbereich "
994 "auf. Zukünftige Zugriffe auf diesen Adressraum erzeugen dann einen Fehler "
995 "vom Typ »invalid memory reference« - Ungültiger Speicherzugriff. Der "
996 "Adressraum wird außerdem automatisch ausgemappt, wenn der Prozess beendet "
997 "wird. Das Schließen des Dateideskriptors hingegen führt nicht dazu, dass der "
998 "Adress-Mapping aufgehoben wird."
999
1000 #. type: Plain text
1001 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1002 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1003 msgid ""
1004 "The address I<addr> must be a multiple of the page size (but I<length> need "
1005 "not be). All pages containing a part of the indicated range are unmapped, "
1006 "and subsequent references to these pages will generate B<SIGSEGV>. It is "
1007 "not an error if the indicated range does not contain any mapped pages."
1008 msgstr ""
1009 "Die Adresse I<Adr> muss ein Vielfaches der Seitengröße sein (für I<laenge> "
1010 "ist das nicht der Fall). Alle Seiten, die einen Teil des angezeigten "
1011 "Bereichs enthalten, werden ausgemappt, und nachfolgende Referenzen auf diese "
1012 "Seiten führen zu B<SIGSEGV>. Es ist kein Fehler, falls der angezeigte "
1013 "Bereich keine gemappten Seiten enthält."
1014
1015 #. type: SH
1016 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1017 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1018 #, no-wrap
1019 msgid "RETURN VALUE"
1020 msgstr "RÜCKGABEWERT"
1021
1022 #. type: Plain text
1023 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1024 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1025 msgid ""
1026 "On success, B<mmap>() returns a pointer to the mapped area. On error, the "
1027 "value B<MAP_FAILED> (that is, I<(void\\ *)\\ -1>) is returned, and I<errno> "
1028 "is set to indicate the error."
1029 msgstr ""
1030 "Bei Erfolg gibt B<mmap> einen Zeiger auf den gemappten Speicherbereich "
1031 "zurück. Bei Fehlern wird B<MAP_FAILED> (I<(void\\ *)\\ -1>) zurückgegeben "
1032 "und I<errno> gesetzt, um den Fehler anzuzeigen."
1033
1034 #. type: Plain text
1035 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1036 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1037 msgid ""
1038 "On success, B<munmap>() returns 0. On failure, it returns -1, and I<errno> "
1039 "is set to indicate the error (probably to B<EINVAL>)."
1040 msgstr ""
1041 "Bei Erfolg liefert B<munmap>() 0 zurück. Im Fehlerfall liefert es -1 und "
1042 "I<errno> wird gesetzt, um den Fehler (wahrscheinlich B<EINVAL>) anzuzeigen."
1043
1044 #. type: SH
1045 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1046 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1047 #, no-wrap
1048 msgid "ERRORS"
1049 msgstr "FEHLER"
1050
1051 #. type: TP
1052 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1053 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1054 #, no-wrap
1055 msgid "B<EACCES>"
1056 msgstr "B<EACCES>"
1057
1058 #. type: Plain text
1059 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1060 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1061 msgid ""
1062 "A file descriptor refers to a non-regular file. Or a file mapping was "
1063 "requested, but I<fd> is not open for reading. Or B<MAP_SHARED> was "
1064 "requested and B<PROT_WRITE> is set, but I<fd> is not open in read/write "
1065 "(B<O_RDWR>) mode. Or B<PROT_WRITE> is set, but the file is append-only."
1066 msgstr ""
1067 "Ein Dateideskriptor bezieht sich auf eine nicht normale Datei. Oder ein "
1068 "Datei-Mapping wurde angefordert, aber I<dd> ist nicht zum Lesen geöffnet. "
1069 "Oder B<MAP_SHARED> wurde erbeten und B<PROT_WRITE> ist gesetzt, aber I<dd> "
1070 "ist nicht zum Lesen/Schreiben geöffnet (B<O_RDWR>). Oder B<PROT_WRITE> ist "
1071 "angegeben, aber die Datei darf nur am Ende weiter beschrieben werden "
1072 "(»append-only«)."
1073
1074 #. type: TP
1075 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1076 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1077 #, no-wrap
1078 msgid "B<EAGAIN>"
1079 msgstr "B<EAGAIN>"
1080
1081 #. type: Plain text
1082 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1083 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1084 msgid ""
1085 "The file has been locked, or too much memory has been locked (see "
1086 "B<setrlimit>(2))."
1087 msgstr ""
1088 "Die Datei wurde gesperrt oder zuviel Speicher wurde gesperrt (siehe "
1089 "B<setrlimit>(2))."
1090
1091 #. type: TP
1092 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1093 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1094 #, no-wrap
1095 msgid "B<EBADF>"
1096 msgstr "B<EBADF>"
1097
1098 #. type: Plain text
1099 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1100 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1101 msgid ""
1102 "I<fd> is not a valid file descriptor (and B<MAP_ANONYMOUS> was not set)."
1103 msgstr ""
1104 "I<dd> ist kein gültiger Dateideskriptor (und B<MAP_ANONYMOUS> wurde nicht "
1105 "gesetzt)."
1106
1107 #. type: TP
1108 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1109 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1110 #, no-wrap
1111 msgid "B<EEXIST>"
1112 msgstr "B<EEXIST>"
1113
1114 #. type: Plain text
1115 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1116 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1117 msgid ""
1118 "B<MAP_FIXED_NOREPLACE> was specified in I<flags>, and the range covered by "
1119 "I<addr> and I<length> clashes with an existing mapping."
1120 msgstr ""
1121 "B<MAP_FIXED_NOREPLACE> wurde in I<Schalter> angegeben und der durch I<Adr> "
1122 "und I<laenge> abgedeckte Bereich überschneidet sich mit einem bestehenden "
1123 "Mapping."
1124
1125 #. type: TP
1126 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1127 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1128 #, no-wrap
1129 msgid "B<EINVAL>"
1130 msgstr "B<EINVAL>"
1131
1132 #. type: Plain text
1133 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1134 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1135 msgid ""
1136 "We don't like I<addr>, I<length>, or I<offset> (e.g., they are too large, or "
1137 "not aligned on a page boundary)."
1138 msgstr ""
1139 "Die Adressen, die durch I<Adr>, I<laenge> oder I<Versatz> angegeben wurden, "
1140 "sind ungültig. (Z.B. sind sie zu groß oder nicht an einer "
1141 "Speicherseitengröße ausgerichtet.)"
1142
1143 #. type: Plain text
1144 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1145 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1146 msgid "(since Linux 2.6.12) I<length> was 0."
1147 msgstr "(seit Linux 2.6.12) I<laenge> war 0."
1148
1149 #. type: Plain text
1150 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1151 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1152 msgid ""
1153 "I<flags> contained none of B<MAP_PRIVATE>, B<MAP_SHARED>, or "
1154 "B<MAP_SHARED_VALIDATE>."
1155 msgstr ""
1156 "I<Schalter> enthielt weder B<MAP_PRIVATE>, B<MAP_SHARED> noch "
1157 "B<MAP_SHARED_VALIDATE>."
1158
1159 #. type: TP
1160 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1161 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1162 #, no-wrap
1163 msgid "B<ENFILE>"
1164 msgstr "B<ENFILE>"
1165
1166 #. This is for shared anonymous segments
1167 #. [2.6.7] shmem_zero_setup()-->shmem_file_setup()-->get_empty_filp()
1168 #. .TP
1169 #. .B ENOEXEC
1170 #. A file could not be mapped for reading.
1171 #. type: Plain text
1172 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1173 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1174 msgid ""
1175 "The system-wide limit on the total number of open files has been reached."
1176 msgstr ""
1177 "Die systemweite Beschränkung für die Gesamtzahl offener Dateien wurde "
1178 "erreicht."
1179
1180 #. type: TP
1181 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1182 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1183 #, no-wrap
1184 msgid "B<ENODEV>"
1185 msgstr "B<ENODEV>"
1186
1187 #. type: Plain text
1188 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1189 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1190 msgid ""
1191 "The underlying filesystem of the specified file does not support memory "
1192 "mapping."
1193 msgstr ""
1194 "Das zugrundeliegende Dateisystem der angegebenen Datei unterstützt das "
1195 "Speicher-Mapping nicht."
1196
1197 #. type: TP
1198 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1199 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1200 #, no-wrap
1201 msgid "B<ENOMEM>"
1202 msgstr "B<ENOMEM>"
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 "No memory is available."
1208 msgstr "Es ist kein Speicher verfügbar."
1209
1210 #. type: Plain text
1211 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1212 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1213 msgid ""
1214 "The process's maximum number of mappings would have been exceeded. This "
1215 "error can also occur for B<munmap>(), when unmapping a region in the middle "
1216 "of an existing mapping, since this results in two smaller mappings on either "
1217 "side of the region being unmapped."
1218 msgstr ""
1219 "Die maximale Anzahl von Mappings des Prozesses würde überschritten. Dieser "
1220 "Fehler kann auch für B<munmap>() beim Aufheben von Mappings einer Region in "
1221 "der Mitte eines bestehenden Mappings auftreten, da dies zu zwei kleineren "
1222 "Mappings auf jeder Seite des entmappten Bereichs führt."
1223
1224 #. type: Plain text
1225 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1226 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1227 msgid ""
1228 "(since Linux 4.7) The process's B<RLIMIT_DATA> limit, described in "
1229 "B<getrlimit>(2), would have been exceeded."
1230 msgstr ""
1231 "(seit Linux 4.7). Die Prozessbeschränkung B<RLIMIT_DATA>, beschrieben in "
1232 "B<getrlimit>(2), würde überschritten."
1233
1234 #. type: Plain text
1235 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1236 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1237 msgid ""
1238 "We don't like I<addr>, because it exceeds the virtual address space of the "
1239 "CPU."
1240 msgstr ""
1241 "Wir mögen I<Adr> nicht, da es den virtuellen Adressraum der CPU "
1242 "überschreitet."
1243
1244 #. type: TP
1245 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1246 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1247 #, no-wrap
1248 msgid "B<EOVERFLOW>"
1249 msgstr "B<EOVERFLOW>"
1250
1251 #. type: Plain text
1252 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1253 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1254 msgid ""
1255 "On 32-bit architecture together with the large file extension (i.e., using "
1256 "64-bit I<off_t>): the number of pages used for I<length> plus number of "
1257 "pages used for I<offset> would overflow I<unsigned long> (32 bits)."
1258 msgstr ""
1259 "Auf 32-Bit-Architekturen zusammen mit den Erweiterungen für große Dateien "
1260 "(d.h. der Verwendung von 64-Bit I<off_t>): die Anzahl der für I<laenge> "
1261 "sowie die Anzahl der für I<Versatz> verwandten Seiten würde einen Überlauf "
1262 "von I<unsigned long> (32-Bit) hervorrufen."
1263
1264 #. type: TP
1265 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1266 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1267 #, no-wrap
1268 msgid "B<EPERM>"
1269 msgstr "B<EPERM>"
1270
1271 #. (Since Linux 2.4.25 / Linux 2.6.0.)
1272 #. type: Plain text
1273 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1274 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1275 msgid ""
1276 "The I<prot> argument asks for B<PROT_EXEC> but the mapped area belongs to a "
1277 "file on a filesystem that was mounted no-exec."
1278 msgstr ""
1279 "Das Argument I<prot> verlangt B<PROT_EXEC>, aber der gemappte Bereich gehört "
1280 "zu einer Datei auf einem Dateisystem, das ohne Ausführrechte eingehängt "
1281 "wurde (»no-exec«)."
1282
1283 #. type: Plain text
1284 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1285 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1286 msgid "The operation was prevented by a file seal; see B<fcntl>(2)."
1287 msgstr ""
1288 "Die Aktion wurde durch eine Dateiversiegelung verhindert; siehe B<fcntl>(2)."
1289
1290 #. type: Plain text
1291 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1292 #: opensuse-tumbleweed
1293 msgid ""
1294 "The B<MAP_HUGETLB> flag was specified, but the caller was not privileged "
1295 "(did not have the B<CAP_IPC_LOCK> capability) and is not a member of the "
1296 "I<hugetlb_shm_group> group; see the description of I</proc/sys/vm/"
1297 "hugetlb_shm_group> in B<proc_sys_vm>(5)."
1298 msgstr ""
1299 "Der Schalter B<MAP_HUGETLB> wurde angegeben, aber der Aufrufende war nicht "
1300 "privilegiert (verfügte nicht über die Capability B<CAP_IPC_LOCK>) und ist "
1301 "kein Mitglied der Gruppe I<hugetlb_shm_group>; siehe die Beschreibung von I</"
1302 "proc/sys/vm/hugetlb_shm_group> in B<proc_sys_vm>(5)."
1303
1304 #. type: TP
1305 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1306 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1307 #, no-wrap
1308 msgid "B<ETXTBSY>"
1309 msgstr "B<ETXTBSY>"
1310
1311 #. type: Plain text
1312 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1313 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1314 msgid ""
1315 "B<MAP_DENYWRITE> was set but the object specified by I<fd> is open for "
1316 "writing."
1317 msgstr ""
1318 "B<MAP_DENYWRITE> wurde angegeben, aber das durch I<dd> bezeichnete Objekt "
1319 "ist zum Schreiben geöffnet."
1320
1321 #. type: Plain text
1322 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1323 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1324 msgid "Use of a mapped region can result in these signals:"
1325 msgstr ""
1326 "Die Verwendung eines gemappten Bereichs kann diese Signale verursachen:"
1327
1328 #. type: TP
1329 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1330 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1331 #, no-wrap
1332 msgid "B<SIGSEGV>"
1333 msgstr "B<SIGSEGV>"
1334
1335 #. type: Plain text
1336 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1337 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1338 msgid "Attempted write into a region mapped as read-only."
1339 msgstr ""
1340 "Es wurde versucht, in einen Bereich zu schreiben, der nur lesbar gemappt "
1341 "wurde."
1342
1343 #. type: TP
1344 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1345 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1346 #, no-wrap
1347 msgid "B<SIGBUS>"
1348 msgstr "B<SIGBUS>"
1349
1350 #. type: Plain text
1351 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1352 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1353 msgid ""
1354 "Attempted access to a page of the buffer that lies beyond the end of the "
1355 "mapped file. For an explanation of the treatment of the bytes in the page "
1356 "that corresponds to the end of a mapped file that is not a multiple of the "
1357 "page size, see NOTES."
1358 msgstr ""
1359 "Es wurde versucht, auf eine Seite des Puffers zuzugreifen, die hinter dem "
1360 "Ende der gemappten Datei liegt. Für eine Erläuterung der Behandlung von "
1361 "Bytes in der Seite, die dem Ende der gemappten Datei entspricht, die kein "
1362 "Vielfaches der Seitengröße ist, siehe ANMERKUNGEN."
1363
1364 #. type: SH
1365 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1366 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1367 #, no-wrap
1368 msgid "ATTRIBUTES"
1369 msgstr "ATTRIBUTE"
1370
1371 #. type: Plain text
1372 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1373 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1374 msgid ""
1375 "For an explanation of the terms used in this section, see B<attributes>(7)."
1376 msgstr ""
1377 "Siehe B<attributes>(7) für eine Erläuterung der in diesem Abschnitt "
1378 "verwandten Ausdrücke."
1379
1380 #. type: tbl table
1381 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1382 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1383 #, no-wrap
1384 msgid "Interface"
1385 msgstr "Schnittstelle"
1386
1387 #. type: tbl table
1388 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1389 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1390 #, no-wrap
1391 msgid "Attribute"
1392 msgstr "Attribut"
1393
1394 #. type: tbl table
1395 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1396 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1397 #, no-wrap
1398 msgid "Value"
1399 msgstr "Wert"
1400
1401 #. type: tbl table
1402 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1403 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1404 #, no-wrap
1405 msgid ".na\n"
1406 msgstr ".na\n"
1407
1408 #. type: tbl table
1409 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1410 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1411 #, no-wrap
1412 msgid ".nh\n"
1413 msgstr ".nh\n"
1414
1415 #. type: tbl table
1416 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1417 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1418 #, no-wrap
1419 msgid ""
1420 "B<mmap>(),\n"
1421 "B<munmap>()"
1422 msgstr ""
1423 "B<mmap>(),\n"
1424 "B<munmap>()"
1425
1426 #. type: tbl table
1427 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1428 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1429 #, no-wrap
1430 msgid "Thread safety"
1431 msgstr "Multithread-Fähigkeit"
1432
1433 #. type: tbl table
1434 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1435 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1436 #, no-wrap
1437 msgid "MT-Safe"
1438 msgstr "MT-Sicher"
1439
1440 #. type: SH
1441 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1442 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1443 #, no-wrap
1444 msgid "VERSIONS"
1445 msgstr "VERSIONEN"
1446
1447 #. type: Plain text
1448 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1449 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1450 msgid ""
1451 "On some hardware architectures (e.g., i386), B<PROT_WRITE> implies "
1452 "B<PROT_READ>. It is architecture dependent whether B<PROT_READ> implies "
1453 "B<PROT_EXEC> or not. Portable programs should always set B<PROT_EXEC> if "
1454 "they intend to execute code in the new mapping."
1455 msgstr ""
1456 "Auf einigen Hardware-Architekturen (z.B. i386) impliziert B<PROT_WRITE> "
1457 "B<PROT_READ>. Es ist architekturabhängig, ob B<PROT_READ> B<PROT_EXEC> "
1458 "impliziert (oder nicht). Portable Programme sollten immer B<PROT_EXEC> "
1459 "setzen, falls sie vorhaben, Code in dem neuen Mapping auszuführen."
1460
1461 #. type: Plain text
1462 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1463 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1464 msgid ""
1465 "The portable way to create a mapping is to specify I<addr> as 0 (NULL), and "
1466 "omit B<MAP_FIXED> from I<flags>. In this case, the system chooses the "
1467 "address for the mapping; the address is chosen so as not to conflict with "
1468 "any existing mapping, and will not be 0. If the B<MAP_FIXED> flag is "
1469 "specified, and I<addr> is 0 (NULL), then the mapped address will be 0 (NULL)."
1470 msgstr ""
1471 "Die portierbare Art, ein Mapping zu erstellen, ist die Angabe von I<Adr> als "
1472 "0 (NULL) und das Auslassen von B<MAP_FIXED> aus I<Schalter>. In diesem Fall "
1473 "wählt das System die Adresse für das Mapping; die Adresse wird so gewählt, "
1474 "dass sie mit keinem bestehenden Mapping in Konflikt steht und nicht 0 sein "
1475 "wird. Falls der Schalter B<MAP_FIXED> angegeben und I<Adr> 0 (NULL) ist, "
1476 "dann wird die gemappte Adresse 0 (NULL) sein."
1477
1478 #. type: Plain text
1479 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1480 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1481 msgid ""
1482 "Certain I<flags> constants are defined only if suitable feature test macros "
1483 "are defined (possibly by default): B<_DEFAULT_SOURCE> with glibc 2.19 or "
1484 "later; or B<_BSD_SOURCE> or B<_SVID_SOURCE> in glibc 2.19 and earlier. "
1485 "(Employing B<_GNU_SOURCE> also suffices, and requiring that macro "
1486 "specifically would have been more logical, since these flags are all Linux-"
1487 "specific.) The relevant flags are: B<MAP_32BIT>, B<MAP_ANONYMOUS> (and the "
1488 "synonym B<MAP_ANON>), B<MAP_DENYWRITE>, B<MAP_EXECUTABLE>, B<MAP_FILE>, "
1489 "B<MAP_GROWSDOWN>, B<MAP_HUGETLB>, B<MAP_LOCKED>, B<MAP_NONBLOCK>, "
1490 "B<MAP_NORESERVE>, B<MAP_POPULATE>, and B<MAP_STACK>."
1491 msgstr ""
1492 "Bestimmte I<Schalter>-Konstanten sind nur definiert, falls die geeigneten "
1493 "Feature-Test-Makros definiert sind (möglicherweise standardmäßig): "
1494 "B<_DEFAULT_SOURCE> mit Glibc 2.19 oder neuer; oder B<_BSD_SOURCE> oder "
1495 "B<_SVID_SOURCE> in Glibc 2.19 und älter. (Es reicht auch aus, B<_GNU_SOURCE> "
1496 "einzusetzen, und dieses Makro zu verlangen, wäre logischer gewesen, da alle "
1497 "diese Schalter Linux-spezifisch sind). Die relevanten Schalter sind: "
1498 "B<MAP_32BIT>, B<MAP_ANONYMOUS> (und das Synonym B<MAP_ANON>), "
1499 "B<MAP_DENYWRITE>, B<MAP_EXECUTABLE>, B<MAP_FILE>, B<MAP_GROWSDOWN>, "
1500 "B<MAP_HUGETLB>, B<MAP_LOCKED>, B<MAP_NONBLOCK>, B<MAP_NORESERVE>, "
1501 "B<MAP_POPULATE> und B<MAP_STACK>."
1502
1503 #. type: SS
1504 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1505 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1506 #, no-wrap
1507 msgid "C library/kernel differences"
1508 msgstr "Unterschiede C-Bibliothek/Kernel"
1509
1510 #. Since around glibc 2.1/2.2, depending on the platform.
1511 #. type: Plain text
1512 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1513 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1514 msgid ""
1515 "This page describes the interface provided by the glibc B<mmap>() wrapper "
1516 "function. Originally, this function invoked a system call of the same "
1517 "name. Since Linux 2.4, that system call has been superseded by B<mmap2>(2), "
1518 "and nowadays the glibc B<mmap>() wrapper function invokes B<mmap2>(2) with "
1519 "a suitably adjusted value for I<offset>."
1520 msgstr ""
1521 "Diese Seite beschreibt die durch den B<mmap>()-Wrapper der Glibc "
1522 "bereitgestellte Funktion. Ursprünglich rief diese Funktion einen "
1523 "Systemaufruf mit dem gleichen Namen auf. Seit Linux 2.4 wurde dieser "
1524 "Systemaufruf durch B<mmap2>(2) ersetzt und heutzutage ruft die "
1525 "Wrapperfunktion B<mmap>() der Glibc B<mmap2>(2) mit einem geeignet "
1526 "angepassten Wert für I<Versatz> auf."
1527
1528 #. type: SH
1529 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1530 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1531 #, no-wrap
1532 msgid "STANDARDS"
1533 msgstr "STANDARDS"
1534
1535 #. type: Plain text
1536 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1537 #: opensuse-tumbleweed
1538 msgid "POSIX.1-2024."
1539 msgstr "POSIX.1-2024."
1540
1541 #. type: SH
1542 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1543 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1544 #, no-wrap
1545 msgid "HISTORY"
1546 msgstr "GESCHICHTE"
1547
1548 #. SVr4 documents additional error codes ENXIO and ENODEV.
1549 #. SUSv2 documents additional error codes EMFILE and EOVERFLOW.
1550 #. type: Plain text
1551 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1552 #: opensuse-tumbleweed
1553 msgid "SVr4, 4.4BSD, SUSv1, POSIX.1-1996."
1554 msgstr "SVr4, 4.4BSD, SUSv1, POSIX.1-1996."
1555
1556 #. POSIX.1-2001: It shall be defined to -1 or 0 or 200112L.
1557 #. -1: unavailable, 0: ask using sysconf().
1558 #. glibc defines it to 1.
1559 #. type: Plain text
1560 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1561 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1562 msgid ""
1563 "On POSIX systems on which B<mmap>(), B<msync>(2), and B<munmap>() are "
1564 "available, B<_POSIX_MAPPED_FILES> is defined in I<E<lt>unistd.hE<gt>> to a "
1565 "value greater than 0. (See also B<sysconf>(3).)"
1566 msgstr ""
1567 "Auf POSIX-Systemen, auf denen B<mmap>(), B<msync>(2) und B<munmap>() "
1568 "verfügbar sind, ist B<_POSIX_MAPPED_FILES> in I<E<lt>unistd.hE<gt>> auf "
1569 "einen Wert größer 0 definiert. (Siehe auch B<sysconf>(3).)"
1570
1571 #. type: SH
1572 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1573 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1574 #, no-wrap
1575 msgid "NOTES"
1576 msgstr "ANMERKUNGEN"
1577
1578 #. type: Plain text
1579 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1580 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1581 msgid ""
1582 "Memory mapped by B<mmap>() is preserved across B<fork>(2), with the same "
1583 "attributes."
1584 msgstr ""
1585 "Speicher, der mit B<mmap>() gemappt wurde, wird über B<fork>(2) hinweg mit "
1586 "den gleichen Attributen erhalten."
1587
1588 #. type: Plain text
1589 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1590 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1591 msgid ""
1592 "A file is mapped in multiples of the page size. For a file that is not a "
1593 "multiple of the page size, the remaining bytes in the partial page at the "
1594 "end of the mapping are zeroed when mapped, and modifications to that region "
1595 "are not written out to the file. The effect of changing the size of the "
1596 "underlying file of a mapping on the pages that correspond to added or "
1597 "removed regions of the file is unspecified."
1598 msgstr ""
1599 "Eine Datei wird in Vielfachen der Seitengröße gemappt. Für eine Datei, die "
1600 "nicht ein Vielfaches der Seitengröße ist, werden die verbliebenen Bytes in "
1601 "der unvollständigen Seite am Ende des Mappings beim Mappen mit Nullen "
1602 "überschrieben und Änderungen an diesem Bereich werden nicht in die Datei "
1603 "geschrieben. Es ist nicht spezifiziert, wie sich die Größenänderung der "
1604 "zugrundeliegenden Datei auf das Mapping der Seiten, die hinzugefügten oder "
1605 "entfernten Regionen der Datei entsprechen, auswirkt."
1606
1607 #. type: Plain text
1608 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1609 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1610 msgid ""
1611 "An application can determine which pages of a mapping are currently resident "
1612 "in the buffer/page cache using B<mincore>(2)."
1613 msgstr ""
1614 "Durch Verwendung von B<mincore>(2) kann eine Anwendung ermitteln, welche "
1615 "Seiten eines Mappings sich derzeit im Puffer/Seitenzwischenspeicher befinden."
1616
1617 #. type: SS
1618 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1619 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1620 #, no-wrap
1621 msgid "Using MAP_FIXED safely"
1622 msgstr "MAP_FIXED sicher benutzen"
1623
1624 #. type: Plain text
1625 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1626 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1627 msgid ""
1628 "The only safe use for B<MAP_FIXED> is where the address range specified by "
1629 "I<addr> and I<length> was previously reserved using another mapping; "
1630 "otherwise, the use of B<MAP_FIXED> is hazardous because it forcibly removes "
1631 "preexisting mappings, making it easy for a multithreaded process to corrupt "
1632 "its own address space."
1633 msgstr ""
1634 "Der einzige sichere Anwendungsfall für B<MAP_FIXED> ist, falls der durch "
1635 "I<Adr> und I<laenge> festgelegte Adressbereich vorher durch ein anderes "
1636 "Mapping reserviert wurde; andernfalls ist die Verwendung von B<MAP_FIXED> "
1637 "gefährlich, da sie bereits bestehende Mappings zwangsweise entfernt, wodurch "
1638 "es für einen Prozess mit mehreren Threads leicht wird, seinen eigenen "
1639 "Adressraum zu beschädigen."
1640
1641 #. type: Plain text
1642 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1643 #: opensuse-tumbleweed
1644 msgid ""
1645 "For example, suppose that thread A looks through I</proc/>pidI</maps> in "
1646 "order to locate an unused address range that it can map using B<MAP_FIXED>, "
1647 "while thread B simultaneously acquires part or all of that same address "
1648 "range. When thread A subsequently employs B<mmap(MAP_FIXED)>, it will "
1649 "effectively clobber the mapping that thread B created. In this scenario, "
1650 "thread B need not create a mapping directly; simply making a library call "
1651 "that, internally, uses B<dlopen>(3) to load some other shared library, will "
1652 "suffice. The B<dlopen>(3) call will map the library into the process's "
1653 "address space. Furthermore, almost any library call may be implemented in a "
1654 "way that adds memory mappings to the address space, either with this "
1655 "technique, or by simply allocating memory. Examples include B<brk>(2), "
1656 "B<malloc>(3), B<pthread_create>(3), and the PAM libraries E<.UR http:\\://"
1657 "www.linux-pam.org> E<.UE .>"
1658 msgstr ""
1659 "Nehmen wir beispielsweise an, dass Thread A I</proc/>PIDI</maps> durchsucht, "
1660 "um einen nicht benutzten Adressbereich zu finden, den er mittels "
1661 "B<MAP_FIXED> mappen kann, während Thread B gleichzeitig Teile des gleichen "
1662 "Adressbereichs (oder den gesamten Adressbereich) erlangt. Wenn Thread A "
1663 "anschließend B<mmap(MAP_FIXED)> einsetzt, wird es das Mapping, das Thread B "
1664 "erstellte, durcheinanderbringen. In diesem Szenario muss Thread B nicht das "
1665 "Mapping direkt erstellen: einfach ein Aufruf einer Bibliotheksfunktion, die "
1666 "intern B<dlopen>(3) zum Laden einer anderen dynamische Bibliothek verwendet, "
1667 "reicht aus. Der Aufruf von B<dlopen>(3) wird die Bibliothek in den "
1668 "Adressraum des Prozesses einmappen. Desweiteren kann fast jeder "
1669 "Bibliotheksaufruf auf eine Art implementiert sein, die Speicher-Mappings zu "
1670 "dem Adressraum hinzufügt, entweder mit dieser Technik oder einfach durch "
1671 "Reservierung von Speicher. Beispiele sind B<brk>(2), B<malloc>(3), "
1672 "B<pthread_create>(3) und die PAM-Bibliotheken E<.UR http:\\://www.linux-"
1673 "pam.org> E<.UE .>"
1674
1675 #. type: Plain text
1676 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1677 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1678 msgid ""
1679 "Since Linux 4.17, a multithreaded program can use the B<MAP_FIXED_NOREPLACE> "
1680 "flag to avoid the hazard described above when attempting to create a mapping "
1681 "at a fixed address that has not been reserved by a preexisting mapping."
1682 msgstr ""
1683 "Seit Linux 4.17 kann ein Multithread-Programm den Schalter "
1684 "B<MAP_FIXED_NOREPLACE> verwenden, um die oben beschriebene Gefahr zu "
1685 "vermeiden, dass ein Mapping an einer festen Adresse versucht wird, die nicht "
1686 "durch ein bereits existierendes Mapping reserviert wurde."
1687
1688 #. type: SS
1689 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1690 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1691 #, no-wrap
1692 msgid "Timestamps changes for file-backed mappings"
1693 msgstr "Zeitstempeländerungen für Datei-basierte Mappings"
1694
1695 #. type: Plain text
1696 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1697 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1698 msgid ""
1699 "For file-backed mappings, the I<st_atime> field for the mapped file may be "
1700 "updated at any time between the B<mmap>() and the corresponding unmapping; "
1701 "the first reference to a mapped page will update the field if it has not "
1702 "been already."
1703 msgstr ""
1704 "Für Datei-basierte Mappings wird das Feld I<st_atime> für die gemappte Datei "
1705 "zu jedem Zeitpunkt zwischen B<mmap>() und dem entsprechenden Entmappen "
1706 "aufgerufen werden; die erste Referenz auf die gemappte Seite wird das Feld "
1707 "aktualisieren, falls es nicht bereits erfolgt ist."
1708
1709 #. type: Plain text
1710 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1711 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1712 msgid ""
1713 "The I<st_ctime> and I<st_mtime> field for a file mapped with B<PROT_WRITE> "
1714 "and B<MAP_SHARED> will be updated after a write to the mapped region, and "
1715 "before a subsequent B<msync>(2) with the B<MS_SYNC> or B<MS_ASYNC> flag, if "
1716 "one occurs."
1717 msgstr ""
1718 "Das Feld I<st_ctime> und I<st_mtime> für eine mit B<PROT_WRITE> und "
1719 "B<MAP_SHARED> gemappte Datei wird nach einem Schreibzugriff auf den "
1720 "gemappten Bereich und vor dem nachfolgenden B<msync>(2) mit den Schalter "
1721 "B<MS_SYNC> oder B<MS_ASYNC>, falls dieser erfolgt, aktualisiert."
1722
1723 #. type: SS
1724 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1725 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1726 #, no-wrap
1727 msgid "Huge page (Huge TLB) mappings"
1728 msgstr "Mappings großer Speicherseiten (Huge TLB)"
1729
1730 #. type: Plain text
1731 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1732 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1733 msgid ""
1734 "For mappings that employ huge pages, the requirements for the arguments of "
1735 "B<mmap>() and B<munmap>() differ somewhat from the requirements for "
1736 "mappings that use the native system page size."
1737 msgstr ""
1738 "Für Mappings, die große Speicherseiten einsetzen, unterscheiden sich die "
1739 "Anforderungen für die Argumente von B<mmap>() und B<munmap>() etwas von den "
1740 "Anforderungen für Mappings, die die native Systemseitengröße verwenden."
1741
1742 #. type: Plain text
1743 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1744 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1745 msgid ""
1746 "For B<mmap>(), I<offset> must be a multiple of the underlying huge page "
1747 "size. The system automatically aligns I<length> to be a multiple of the "
1748 "underlying huge page size."
1749 msgstr ""
1750 "Für B<mmap>() muss I<Versatz> ein Vielfaches der unterliegenden Größe der "
1751 "großen Speicherseiten sein. Das System richtet I<laenge> automatisch aus, "
1752 "dass es ein Vielfaches der unterliegenden Größe der großen Speicherseiten "
1753 "ist."
1754
1755 #. type: Plain text
1756 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1757 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1758 msgid ""
1759 "For B<munmap>(), I<addr>, and I<length> must both be a multiple of the "
1760 "underlying huge page size."
1761 msgstr ""
1762 "Für B<munmap>() müssen sowohl I<Adr> als auch I<laenge> ein Vielfaches der "
1763 "unterliegenden Größe der großen Speicherseiten sein."
1764
1765 #. type: SH
1766 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1767 #: opensuse-tumbleweed
1768 #, no-wrap
1769 msgid "CAVEATS"
1770 msgstr "WARNUNGEN"
1771
1772 #. type: Plain text
1773 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1774 #: opensuse-tumbleweed
1775 msgid ""
1776 "Unlike typical B<malloc>(3) implementations, B<mmap>() does not prevent "
1777 "creating objects larger than B<PTRDIFF_MAX>. Objects that are larger than "
1778 "B<PTRDIFF_MAX> only work in limited ways in C (in particular, pointer "
1779 "subtraction results in undefined behavior if the result would be bigger than "
1780 "B<PTRDIFF_MAX>). On top of that, GCC also assumes that no object is bigger "
1781 "than B<PTRDIFF_MAX>. B<PTRDIFF_MAX> is usually half of the address space "
1782 "size; so for 32-bit processes, it is usually B<0x7fffffff> (almost 2 GiB)."
1783 msgstr ""
1784 "Anders als typische B<malloc>(3)-Implementierungen verhindert B<mmap>() "
1785 "nicht das Erstellen von Objekten, die größer als B<PTRDIFF_MAX> sind. "
1786 "Objekte, die größer als B<PTRDIFF_MAX> sind, funktionieren in C nur auf "
1787 "beschränkte Weise (insbesondere Zeigersubtraktion führt zu undefiniertem "
1788 "Verhalten, falls das Ergebnis größer als B<PTRDIFF_MAX> wäre). Zusätzlich "
1789 "nimmt GCC auch noch an, dass kein Objekt größer als B<PTRDIFF_MAX> ist. "
1790 "B<PTRDIFF_MAX> ist normalerweise die Hälfte der Adressraumgröße, daher ist "
1791 "sie für 32-bit-Prozesse normalerweise B<0x7fffffff> (fast 2 GiB)."
1792
1793 #. type: SH
1794 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1795 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1796 #, no-wrap
1797 msgid "BUGS"
1798 msgstr "FEHLER"
1799
1800 #. type: Plain text
1801 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1802 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1803 msgid ""
1804 "On Linux, there are no guarantees like those suggested above under "
1805 "B<MAP_NORESERVE>. By default, any process can be killed at any moment when "
1806 "the system runs out of memory."
1807 msgstr ""
1808 "Unter Linux gibt es keine Garantien, wie die, die unter B<MAP_NORESERVE> "
1809 "vorgeschlagen werden. Standardmäßig kann jeder Prozess jederzeit getötet "
1810 "werden, wenn dem System der Speicher ausgeht."
1811
1812 #. type: Plain text
1813 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1814 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1815 msgid ""
1816 "Before Linux 2.6.7, the B<MAP_POPULATE> flag has effect only if I<prot> is "
1817 "specified as B<PROT_NONE>."
1818 msgstr ""
1819 "Vor Linux 2.6.7 hatte der Schalter B<MAP_POPULATE> nur einen Effekt, falls "
1820 "I<prot> als B<PROT_NONE> festgelegt ist."
1821
1822 #. type: Plain text
1823 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1824 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1825 msgid ""
1826 "SUSv3 specifies that B<mmap>() should fail if I<length> is 0. However, "
1827 "before Linux 2.6.12, B<mmap>() succeeded in this case: no mapping was "
1828 "created and the call returned I<addr>. Since Linux 2.6.12, B<mmap>() fails "
1829 "with the error B<EINVAL> for this case."
1830 msgstr ""
1831 "SUSv3 spezifiziert, dass B<mmap>() fehlschlagen soll, falls I<laenge> 0 ist. "
1832 "Vor Linux 2.6.12 war B<mmap>() in diesem Fall allerdings erfolgreich: es "
1833 "wurde kein Mapping erstellt und der Aufruf lieferte I<Adr> zurück. Seit "
1834 "Linux 2.6.12 schlägt es in diesem Fall mit dem Fehler B<EINVAL> fehl."
1835
1836 #. type: Plain text
1837 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1838 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1839 msgid ""
1840 "POSIX specifies that the system shall always zero fill any partial page at "
1841 "the end of the object and that system will never write any modification of "
1842 "the object beyond its end. On Linux, when you write data to such partial "
1843 "page after the end of the object, the data stays in the page cache even "
1844 "after the file is closed and unmapped and even though the data is never "
1845 "written to the file itself, subsequent mappings may see the modified "
1846 "content. In some cases, this could be fixed by calling B<msync>(2) before "
1847 "the unmap takes place; however, this doesn't work on B<tmpfs>(5) (for "
1848 "example, when using the POSIX shared memory interface documented in "
1849 "B<shm_overview>(7))."
1850 msgstr ""
1851 "POSIX spezifiziert, dass das System immer jede teilweise gefüllte Seite am "
1852 "Ende des Objektes mit Nullen auffüllen muss und dass das System niemals "
1853 "Änderungen an dem Objekt hinter seinem Ende schreibt. Unter Linux verbleiben "
1854 "sämtliche geschriebenen Daten in solchen Teilseiten nach dem Ende des "
1855 "Objektes im Seitenzwischenspeicher, selbst nachdem die Datei geschlossen und "
1856 "entmappt wurde und selbst obwohl die Daten niemals zu der Datei selbst "
1857 "geschrieben wurden, könnten nachfolgende Mappings die veränderten Inhalte "
1858 "sehen. In einigen Fällen könnte dies durch einen Aufruf von B<msync>(2), "
1859 "bevor das Aufheben des Mappings stattfindet, behoben werden, allerdings "
1860 "funktioniert dies nicht auf B<tmpfs>(5) (beispielsweise beim Einsatz der "
1861 "POSIX-Schnittstelle für gemeinsamen Speicher, wie in B<shm_overview>(7) "
1862 "dokumentiert)."
1863
1864 #. type: SH
1865 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1866 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1867 #, no-wrap
1868 msgid "EXAMPLES"
1869 msgstr "BEISPIELE"
1870
1871 #. FIXME . Add an example here that uses an anonymous shared region for
1872 #. IPC between parent and child.
1873 #. type: Plain text
1874 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1875 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1876 msgid ""
1877 "The following program prints part of the file specified in its first command-"
1878 "line argument to standard output. The range of bytes to be printed is "
1879 "specified via offset and length values in the second and third command-line "
1880 "arguments. The program creates a memory mapping of the required pages of "
1881 "the file and then uses B<write>(2) to output the desired bytes."
1882 msgstr ""
1883 "Das nachfolgende Programm gibt Teile der als sein erstes "
1884 "Befehlszeilenargument übergebenen Datei auf die Standardausgabe aus. Der "
1885 "ausgegebene Byte-Bereich wird mittels des Versatzes und des Längenwertes im "
1886 "zweiten und dritten Befehlszeilenargument angegeben. Das Programm erstellt "
1887 "ein Speicher-Mapping der benötigten Seiten der Datei und verwendet "
1888 "B<write>(2), um die gewünschten Bytes auszugeben."
1889
1890 #. type: SS
1891 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1892 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1893 #, no-wrap
1894 msgid "Program source"
1895 msgstr "Programmquelltext"
1896
1897 #. type: Plain text
1898 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1899 #: opensuse-tumbleweed
1900 #, no-wrap
1901 msgid ""
1902 "#include E<lt>err.hE<gt>\n"
1903 "#include E<lt>fcntl.hE<gt>\n"
1904 "#include E<lt>stdio.hE<gt>\n"
1905 "#include E<lt>stdlib.hE<gt>\n"
1906 "#include E<lt>sys/mman.hE<gt>\n"
1907 "#include E<lt>sys/stat.hE<gt>\n"
1908 "#include E<lt>sys/types.hE<gt>\n"
1909 "#include E<lt>unistd.hE<gt>\n"
1910 "\\&\n"
1911 "int\n"
1912 "main(int argc, char *argv[])\n"
1913 "{\n"
1914 " int fd;\n"
1915 " char *addr;\n"
1916 " off_t offset, pa_offset;\n"
1917 " size_t length;\n"
1918 " ssize_t s;\n"
1919 " struct stat sb;\n"
1920 "\\&\n"
1921 " if (argc E<lt> 3 || argc E<gt> 4) {\n"
1922 " fprintf(stderr, \"%s file offset [length]\\[rs]n\", argv[0]);\n"
1923 " exit(EXIT_FAILURE);\n"
1924 " }\n"
1925 "\\&\n"
1926 " fd = open(argv[1], O_RDONLY);\n"
1927 " if (fd == -1)\n"
1928 " err(EXIT_FAILURE, \"open\");\n"
1929 "\\&\n"
1930 " if (fstat(fd, &sb) == -1) /* To obtain file size */\n"
1931 " err(EXIT_FAILURE, \"fstat\");\n"
1932 "\\&\n"
1933 " offset = atoi(argv[2]);\n"
1934 " pa_offset = offset & \\[ti](sysconf(_SC_PAGE_SIZE) - 1);\n"
1935 " /* offset for mmap() must be page aligned */\n"
1936 "\\&\n"
1937 " if (offset E<gt>= sb.st_size) {\n"
1938 " fprintf(stderr, \"offset is past end of file\\[rs]n\");\n"
1939 " exit(EXIT_FAILURE);\n"
1940 " }\n"
1941 "\\&\n"
1942 " if (argc == 4) {\n"
1943 " length = atoi(argv[3]);\n"
1944 " if (offset + length E<gt> sb.st_size)\n"
1945 " length = sb.st_size - offset;\n"
1946 " /* Can\\[aq]t display bytes past end of file */\n"
1947 "\\&\n"
1948 " } else { /* No length arg ==E<gt> display to end of file */\n"
1949 " length = sb.st_size - offset;\n"
1950 " }\n"
1951 "\\&\n"
1952 " addr = mmap(NULL, length + offset - pa_offset, PROT_READ,\n"
1953 " MAP_PRIVATE, fd, pa_offset);\n"
1954 " if (addr == MAP_FAILED)\n"
1955 " err(EXIT_FAILURE, \"mmap\");\n"
1956 "\\&\n"
1957 " s = write(STDOUT_FILENO, addr + offset - pa_offset, length);\n"
1958 " if (s != length) {\n"
1959 " if (s == -1)\n"
1960 " err(EXIT_FAILURE, \"write\");\n"
1961 "\\&\n"
1962 " fprintf(stderr, \"partial write\");\n"
1963 " exit(EXIT_FAILURE);\n"
1964 " }\n"
1965 "\\&\n"
1966 " munmap(addr, length + offset - pa_offset);\n"
1967 " close(fd);\n"
1968 "\\&\n"
1969 " exit(EXIT_SUCCESS);\n"
1970 "}\n"
1971 msgstr ""
1972 "#include E<lt>err.hE<gt>\n"
1973 "#include E<lt>fcntl.hE<gt>\n"
1974 "#include E<lt>stdio.hE<gt>\n"
1975 "#include E<lt>stdlib.hE<gt>\n"
1976 "#include E<lt>sys/mman.hE<gt>\n"
1977 "#include E<lt>sys/stat.hE<gt>\n"
1978 "#include E<lt>sys/types.hE<gt>\n"
1979 "#include E<lt>unistd.hE<gt>\n"
1980 "\\&\n"
1981 "int\n"
1982 "main(int argc, char *argv[])\n"
1983 "{\n"
1984 " int fd;\n"
1985 " char *addr;\n"
1986 " off_t offset, pa_offset;\n"
1987 " size_t length;\n"
1988 " ssize_t s;\n"
1989 " struct stat sb;\n"
1990 "\\&\n"
1991 " if (argc E<lt> 3 || argc E<gt> 4) {\n"
1992 " fprintf(stderr, \"%s Dateiversatz [Länge]\\[rs]n\", argv[0]);\n"
1993 " exit(EXIT_FAILURE);\n"
1994 " }\n"
1995 "\\&\n"
1996 " fd = open(argv[1], O_RDONLY);\n"
1997 " if (fd == -1)\n"
1998 " err(EXIT_FAILURE, \"open\");\n"
1999 "\\&\n"
2000 " if (fstat(fd, &sb) == -1) /* Um die Dateigröße zu erhalten */\n"
2001 " err(EXIT_FAILURE, \"fstat\");\n"
2002 "\\&\n"
2003 " offset = atoi(argv[2]);\n"
2004 " pa_offset = offset & \\[ti](sysconf(_SC_PAGE_SIZE) - 1);\n"
2005 " /* Versatz für mmap() muss an der Seite ausgerichtet sein */\n"
2006 "\\&\n"
2007 " if (offset E<gt>= sb.st_size) {\n"
2008 " fprintf(stderr, \"Versatz ist hinter dem Dateiende\\[rs]n\");\n"
2009 " exit(EXIT_FAILURE);\n"
2010 " }\n"
2011 "\\&\n"
2012 " if (argc == 4) {\n"
2013 " length = atoi(argv[3]);\n"
2014 " if (offset + length E<gt> sb.st_size)\n"
2015 " length = sb.st_size - offset;\n"
2016 " /* Bytes hinter dem Dateiende können nicht angezeigt werden */\n"
2017 "\\&\n"
2018 " } else { /* Kein Längen-Argument ==E<gt> Anzeige bis zum Dateiende */\n"
2019 " length = sb.st_size - offset;\n"
2020 " }\n"
2021 "\\&\n"
2022 " addr = mmap(NULL, length + offset - pa_offset, PROT_READ,\n"
2023 " MAP_PRIVATE, fd, pa_offset);\n"
2024 " if (addr == MAP_FAILED)\n"
2025 " err(EXIT_FAILURE, \"mmap\");\n"
2026 "\\&\n"
2027 " s = write(STDOUT_FILENO, addr + offset - pa_offset, length);\n"
2028 " if (s != length) {\n"
2029 " if (s == -1)\n"
2030 " err(EXIT_FAILURE, \"write\");\n"
2031 "\\&\n"
2032 " fprintf(stderr, \"Schreiben unvollständig\");\n"
2033 " exit(EXIT_FAILURE);\n"
2034 " }\n"
2035 "\\&\n"
2036 " munmap(addr, length + offset - pa_offset);\n"
2037 " close(fd);\n"
2038 "\\&\n"
2039 " exit(EXIT_SUCCESS);\n"
2040 "}\n"
2041
2042 #. SRC END
2043 #. type: SH
2044 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2045 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2046 #, no-wrap
2047 msgid "SEE ALSO"
2048 msgstr "SIEHE AUCH"
2049
2050 #. type: Plain text
2051 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2052 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2053 msgid ""
2054 "B<ftruncate>(2), B<getpagesize>(2), B<memfd_create>(2), B<mincore>(2), "
2055 "B<mlock>(2), B<mmap2>(2), B<mprotect>(2), B<mremap>(2), B<msync>(2), "
2056 "B<remap_file_pages>(2), B<setrlimit>(2), B<shmat>(2), B<userfaultfd>(2), "
2057 "B<shm_open>(3), B<shm_overview>(7)"
2058 msgstr ""
2059 "B<ftruncate>(2), B<getpagesize>(2), B<memfd_create>(2), B<mincore>(2), "
2060 "B<mlock>(2), B<mmap2>(2), B<mprotect>(2), B<mremap>(2), B<msync>(2), "
2061 "B<remap_file_pages>(2), B<setrlimit>(2), B<shmat>(2), B<userfaultfd>(2), "
2062 "B<shm_open>(3), B<shm_overview>(7)"
2063
2064 #. type: Plain text
2065 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2066 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2067 msgid ""
2068 "The descriptions of the following files in B<proc>(5): I</proc/>pidI</maps>, "
2069 "I</proc/>pidI</map_files>, and I</proc/>pidI</smaps>."
2070 msgstr ""
2071 "Die Beschreibung der folgenden Dateien in B<proc>(5): I</proc/>PIDI</maps>, "
2072 "I</proc/>PIDI</map_files> und I</proc/>PIDI</smaps>."
2073
2074 #. type: Plain text
2075 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
2076 #: opensuse-tumbleweed
2077 msgid ""
2078 "B.O.\\& Gallmeister, POSIX.4, O'Reilly, pp.\\& 128\\[en]129 and 389\\[en]391."
2079 msgstr ""
2080 "B.O.\\& Gallmeister, POSIX.4, O'Reilly, Seiten 128\\[en]129 und 389\\[en]391."
2081
2082 #. type: TH
2083 #: debian-trixie
2084 #, no-wrap
2085 msgid "2024-06-15"
2086 msgstr "15. Juni 2024"
2087
2088 #. type: TH
2089 #: debian-trixie
2090 #, no-wrap
2091 msgid "Linux man-pages 6.9.1"
2092 msgstr "Linux man-pages 6.9.1"
2093
2094 #. type: Plain text
2095 #: debian-trixie
2096 msgid "Standard C library (I<libc>, I<-lc>)"
2097 msgstr "Standard-C-Bibliothek (I<libc>, I<-lc>)"
2098
2099 #. type: Plain text
2100 #: debian-trixie fedora-44 fedora-rawhide
2101 #, no-wrap
2102 msgid ""
2103 "B<void *mmap(void >I<addr>B<[.>I<length>B<], size_t >I<length>B<, int >I<prot>B<, int >I<flags>B<,>\n"
2104 "B< int >I<fd>B<, off_t >I<offset>B<);>\n"
2105 "B<int munmap(void >I<addr>B<[.>I<length>B<], size_t >I<length>B<);>\n"
2106 msgstr ""
2107 "B<void *mmap(void >I<Adr>B<[.>I<laenge>B<], size_t >I<laenge>B<, int >I<prot>B<, int >I<Schalter>B<,>\n"
2108 "B< int >I<dd>B<, off_t >I<Versatz>B<);>\n"
2109 "B<int munmap(void >I<Adr>B<[.>I<laenge>B<], size_t >I<laenge>B<);>\n"
2110
2111 #. type: Plain text
2112 #: debian-trixie
2113 msgid "See NOTES for information on feature test macro requirements."
2114 msgstr ""
2115 "Siehe ANMERKUNGEN für Informationen über Feature-Test-Makros-Anforderungen."
2116
2117 #. commit a4ff8e8620d3f4f50ac4b41e8067b7d395056843
2118 #. type: Plain text
2119 #: debian-trixie fedora-44 fedora-rawhide
2120 msgid ""
2121 "This flag provides behavior that is similar to B<MAP_FIXED> with respect to "
2122 "the I<addr> enforcement, but differs in that B<MAP_FIXED_NOREPLACE> never "
2123 "clobbers a preexisting mapped range. If the requested range would collide "
2124 "with an existing mapping, then this call fails with the error B<EEXIST.> "
2125 "This flag can therefore be used as a way to atomically (with respect to "
2126 "other threads) attempt to map an address range: one thread will succeed; all "
2127 "others will report failure."
2128 msgstr ""
2129 "Dieser Schalter stellt ein Verhalten bereit, das B<MAP_FIXED> im Hinblick "
2130 "auf die Erzwingung von I<Adr> ähnelt, sich aber dadurch unterscheidet, dass "
2131 "B<MAP_FIXED_NOREPLACE> einen bereits bestehenden, gemappten Bereich "
2132 "durcheinanderbringt. Falls der angeforderte Bereich mit einem bestehenden "
2133 "Mapping kollidieren würde, dann schlägt dieser Aufruf mit B<EEXIST> fehl. "
2134 "Dieser Schalter kann daher für atomare (im Hinblick auf andere Threads) "
2135 "Versuche, einen Adressbereich zu mappen, verwandt werden: ein Thread hat "
2136 "Erfolg, alle anderen berichten einen Fehlschlag."
2137
2138 #. type: Plain text
2139 #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron
2140 msgid ""
2141 "This flag is used for stacks. It indicates to the kernel virtual memory "
2142 "system that the mapping should extend downward in memory. The return "
2143 "address is one page lower than the memory area that is actually created in "
2144 "the process's virtual address space. Touching an address in the \"guard\" "
2145 "page below the mapping will cause the mapping to grow by a page. This "
2146 "growth can be repeated until the mapping grows to within a page of the high "
2147 "end of the next lower mapping, at which point touching the \"guard\" page "
2148 "will result in a B<SIGSEGV> signal."
2149 msgstr ""
2150 "Dieser Schalter wird für Stacks verwandt. Er zeigt dem Kernelsystem für "
2151 "virtuellen Speicher an, dass sich das Mapping nach unten im Speicher "
2152 "ausdehnen soll. Die zurückgelieferte Adresse ist eine Seite tiefer als der "
2153 "Speicherbereich, der tatsächlich im virtuellen Adressraum des Prozesses "
2154 "erstellt wird. Wird eine Adresse in der »Wächter«-Seite unterhalb des "
2155 "Mappings berührt, dann wächst das Mapping um eine Seite. Dieses Wachstum "
2156 "kann wiederholt werden, bis das Mapping bis auf eine Seite innerhalb des "
2157 "hohen Endes des nächst-niedrigeren Mappings anwächst - zu diesem Zeitpunkt "
2158 "führt das Berühren der »Wächter«-Seite zu einem B<SIGSEGV>-Signal."
2159
2160 #. type: Plain text
2161 #: debian-trixie fedora-44 fedora-rawhide
2162 msgid ""
2163 "Do not reserve swap space for this mapping. When swap space is reserved, "
2164 "one has the guarantee that it is possible to modify the mapping. When swap "
2165 "space is not reserved one might get B<SIGSEGV> upon a write if no physical "
2166 "memory is available. See also the discussion of the file I</proc/sys/vm/"
2167 "overcommit_memory> in B<proc>(5). Before Linux 2.6, this flag had effect "
2168 "only for private writable mappings."
2169 msgstr ""
2170 "Reserviert für dieses Mapping keinen Auslagerungsspeicher. Wenn "
2171 "Auslagerungsspeicher reserviert wird, muss garantiert werden, dass "
2172 "Änderungen an dem Mapping möglich sind. Wird kein Auslagerungsspeicher "
2173 "reserviert, könnte beim Schreiben ein B<SIGSEGV> empfangen werden, falls "
2174 "kein physischer Speicher verfügbar ist. Siehe auch die Diskussion der Datei "
2175 "I</proc/sys/vm/overcommit_memory> in B<proc>(5). Vor Linux 2.6 hatte dieser "
2176 "Schalter nur für private, schreibbare Mappings eine Wirkung."
2177
2178 #. type: Plain text
2179 #: debian-trixie fedora-44 fedora-rawhide
2180 msgid ""
2181 "The B<MAP_HUGETLB> flag was specified, but the caller was not privileged "
2182 "(did not have the B<CAP_IPC_LOCK> capability) and is not a member of the "
2183 "I<sysctl_hugetlb_shm_group> group; see the description of I</proc/sys/vm/"
2184 "sysctl_hugetlb_shm_group> in B<proc_sys>(5)."
2185 msgstr ""
2186 "Der Schalter B<MAP_HUGETLB> wurde angegeben, aber der Aufrufende war nicht "
2187 "privilegiert (verfügte nicht über die Capability B<CAP_IPC_LOCK>) und ist "
2188 "kein Mitglied der Gruppe I<sysctl_hugetlb_shm_group>; siehe die Beschreibung "
2189 "von I</proc/sys/vm/sysctl_hugetlb_shm_group> in B<proc_sys>(5)."
2190
2191 #. type: Plain text
2192 #: debian-trixie fedora-44 fedora-rawhide
2193 msgid "POSIX.1-2008."
2194 msgstr "POSIX.1-2008."
2195
2196 #. SVr4 documents additional error codes ENXIO and ENODEV.
2197 #. SUSv2 documents additional error codes EMFILE and EOVERFLOW.
2198 #. type: Plain text
2199 #: debian-trixie fedora-44 fedora-rawhide
2200 msgid "POSIX.1-2001, SVr4, 4.4BSD."
2201 msgstr "POSIX.1-2001, SVr4, 4.4BSD."
2202
2203 #. type: Plain text
2204 #: debian-trixie fedora-44 fedora-rawhide
2205 msgid ""
2206 "For example, suppose that thread A looks through I</proc/>pidI</maps> in "
2207 "order to locate an unused address range that it can map using B<MAP_FIXED>, "
2208 "while thread B simultaneously acquires part or all of that same address "
2209 "range. When thread A subsequently employs B<mmap(MAP_FIXED)>, it will "
2210 "effectively clobber the mapping that thread B created. In this scenario, "
2211 "thread B need not create a mapping directly; simply making a library call "
2212 "that, internally, uses B<dlopen>(3) to load some other shared library, will "
2213 "suffice. The B<dlopen>(3) call will map the library into the process's "
2214 "address space. Furthermore, almost any library call may be implemented in a "
2215 "way that adds memory mappings to the address space, either with this "
2216 "technique, or by simply allocating memory. Examples include B<brk>(2), "
2217 "B<malloc>(3), B<pthread_create>(3), and the PAM libraries E<.UR http://"
2218 "www.linux-pam.org> E<.UE .>"
2219 msgstr ""
2220 "Nehmen wir beispielsweise an, dass Thread A I</proc/>PIDI</maps> durchsucht, "
2221 "um einen nicht benutzten Adressbereich zu finden, den er mittels "
2222 "B<MAP_FIXED> mappen kann, während Thread B gleichzeitig Teile des gleichen "
2223 "Adressbereichs (oder den gesamten Adressbereich) erlangt. Wenn Thread A "
2224 "anschließend B<mmap(MAP_FIXED)> einsetzt, wird es das Mapping, das Thread B "
2225 "erstellte, durcheinanderbringen. In diesem Szenario muss Thread B nicht das "
2226 "Mapping direkt erstellen: einfach ein Aufruf einer Bibliotheksfunktion, die "
2227 "intern B<dlopen>(3) zum Laden einer anderen dynamische Bibliothek verwendet, "
2228 "reicht aus. Der Aufruf von B<dlopen>(3) wird die Bibliothek in den "
2229 "Adressraum des Prozesses einmappen. Desweiteren kann fast jeder "
2230 "Bibliotheksaufruf auf eine Art implementiert sein, die Speicher-Mappings zu "
2231 "dem Adressraum hinzufügt, entweder mit dieser Technik oder einfach durch "
2232 "Reservierung von Speicher. Beispiele sind B<brk>(2), B<malloc>(3), "
2233 "B<pthread_create>(3) und die PAM-Bibliotheken E<.UR http://www.linux-"
2234 "pam.org> E<.UE .>"
2235
2236 #. type: Plain text
2237 #: debian-trixie fedora-44 fedora-rawhide
2238 #, no-wrap
2239 msgid ""
2240 "#include E<lt>fcntl.hE<gt>\n"
2241 "#include E<lt>stdio.hE<gt>\n"
2242 "#include E<lt>stdlib.hE<gt>\n"
2243 "#include E<lt>sys/mman.hE<gt>\n"
2244 "#include E<lt>sys/stat.hE<gt>\n"
2245 "#include E<lt>sys/types.hE<gt>\n"
2246 "#include E<lt>unistd.hE<gt>\n"
2247 "\\&\n"
2248 "#define handle_error(msg) \\[rs]\n"
2249 " do { perror(msg); exit(EXIT_FAILURE); } while (0)\n"
2250 "\\&\n"
2251 "int\n"
2252 "main(int argc, char *argv[])\n"
2253 "{\n"
2254 " int fd;\n"
2255 " char *addr;\n"
2256 " off_t offset, pa_offset;\n"
2257 " size_t length;\n"
2258 " ssize_t s;\n"
2259 " struct stat sb;\n"
2260 "\\&\n"
2261 " if (argc E<lt> 3 || argc E<gt> 4) {\n"
2262 " fprintf(stderr, \"%s file offset [length]\\[rs]n\", argv[0]);\n"
2263 " exit(EXIT_FAILURE);\n"
2264 " }\n"
2265 "\\&\n"
2266 " fd = open(argv[1], O_RDONLY);\n"
2267 " if (fd == -1)\n"
2268 " handle_error(\"open\");\n"
2269 "\\&\n"
2270 " if (fstat(fd, &sb) == -1) /* To obtain file size */\n"
2271 " handle_error(\"fstat\");\n"
2272 "\\&\n"
2273 " offset = atoi(argv[2]);\n"
2274 " pa_offset = offset & \\[ti](sysconf(_SC_PAGE_SIZE) - 1);\n"
2275 " /* offset for mmap() must be page aligned */\n"
2276 "\\&\n"
2277 " if (offset E<gt>= sb.st_size) {\n"
2278 " fprintf(stderr, \"offset is past end of file\\[rs]n\");\n"
2279 " exit(EXIT_FAILURE);\n"
2280 " }\n"
2281 "\\&\n"
2282 " if (argc == 4) {\n"
2283 " length = atoi(argv[3]);\n"
2284 " if (offset + length E<gt> sb.st_size)\n"
2285 " length = sb.st_size - offset;\n"
2286 " /* Can\\[aq]t display bytes past end of file */\n"
2287 "\\&\n"
2288 " } else { /* No length arg ==E<gt> display to end of file */\n"
2289 " length = sb.st_size - offset;\n"
2290 " }\n"
2291 "\\&\n"
2292 " addr = mmap(NULL, length + offset - pa_offset, PROT_READ,\n"
2293 " MAP_PRIVATE, fd, pa_offset);\n"
2294 " if (addr == MAP_FAILED)\n"
2295 " handle_error(\"mmap\");\n"
2296 "\\&\n"
2297 " s = write(STDOUT_FILENO, addr + offset - pa_offset, length);\n"
2298 " if (s != length) {\n"
2299 " if (s == -1)\n"
2300 " handle_error(\"write\");\n"
2301 "\\&\n"
2302 " fprintf(stderr, \"partial write\");\n"
2303 " exit(EXIT_FAILURE);\n"
2304 " }\n"
2305 "\\&\n"
2306 " munmap(addr, length + offset - pa_offset);\n"
2307 " close(fd);\n"
2308 "\\&\n"
2309 " exit(EXIT_SUCCESS);\n"
2310 "}\n"
2311 msgstr ""
2312 "#include E<lt>fcntl.hE<gt>\n"
2313 "#include E<lt>stdio.hE<gt>\n"
2314 "#include E<lt>stdlib.hE<gt>\n"
2315 "#include E<lt>sys/mman.hE<gt>\n"
2316 "#include E<lt>sys/stat.hE<gt>\n"
2317 "#include E<lt>sys/types.hE<gt>\n"
2318 "#include E<lt>unistd.hE<gt>\n"
2319 "\\&\n"
2320 "#define handle_error(msg) \\[rs]\n"
2321 " do { perror(msg); exit(EXIT_FAILURE); } while (0)\n"
2322 "\\&\n"
2323 "int\n"
2324 "main(int argc, char *argv[])\n"
2325 "{\n"
2326 " int fd;\n"
2327 " char *addr;\n"
2328 " off_t offset, pa_offset;\n"
2329 " size_t length;\n"
2330 " ssize_t s;\n"
2331 " struct stat sb;\n"
2332 "\\&\n"
2333 " if (argc E<lt> 3 || argc E<gt> 4) {\n"
2334 " fprintf(stderr, \"%s Dateiversatz [Länge]\\[rs]n\", argv[0]);\n"
2335 " exit(EXIT_FAILURE);\n"
2336 " }\n"
2337 "\\&\n"
2338 " fd = open(argv[1], O_RDONLY);\n"
2339 " if (fd == -1)\n"
2340 " handle_error(\"open\");\n"
2341 "\\&\n"
2342 " if (fstat(fd, &sb) == -1) /* Um die Dateigröße zu erhalten */\n"
2343 " handle_error(\"fstat\");\n"
2344 "\\&\n"
2345 " offset = atoi(argv[2]);\n"
2346 " pa_offset = offset & \\[ti](sysconf(_SC_PAGE_SIZE) - 1);\n"
2347 " /* Versatz für mmap() muss an der Seite ausgerichtet sein */\n"
2348 "\\&\n"
2349 " if (offset E<gt>= sb.st_size) {\n"
2350 " fprintf(stderr, \"Versatz ist hinter dem Dateiende\\[rs]n\");\n"
2351 " exit(EXIT_FAILURE);\n"
2352 " }\n"
2353 "\\&\n"
2354 " if (argc == 4) {\n"
2355 " length = atoi(argv[3]);\n"
2356 " if (offset + length E<gt> sb.st_size)\n"
2357 " length = sb.st_size - offset;\n"
2358 " /* Bytes hinter dem Dateiende können nicht angezeigt werden */\n"
2359 "\\&\n"
2360 " } else { /* Kein Längen-Argument ==E<gt> Anzeige bis zum Dateiende */\n"
2361 " length = sb.st_size - offset;\n"
2362 " }\n"
2363 "\\&\n"
2364 " addr = mmap(NULL, length + offset - pa_offset, PROT_READ,\n"
2365 " MAP_PRIVATE, fd, pa_offset);\n"
2366 " if (addr == MAP_FAILED)\n"
2367 " handle_error(\"mmap\");\n"
2368 "\\&\n"
2369 " s = write(STDOUT_FILENO, addr + offset - pa_offset, length);\n"
2370 " if (s != length) {\n"
2371 " if (s == -1)\n"
2372 " handle_error(\"write\");\n"
2373 "\\&\n"
2374 " fprintf(stderr, \"Schreiben unvollständig\");\n"
2375 " exit(EXIT_FAILURE);\n"
2376 " }\n"
2377 "\\&\n"
2378 " munmap(addr, length + offset - pa_offset);\n"
2379 " close(fd);\n"
2380 "\\&\n"
2381 " exit(EXIT_SUCCESS);\n"
2382 "}\n"
2383
2384 #. type: Plain text
2385 #: debian-trixie fedora-44 fedora-rawhide
2386 msgid "B.O. Gallmeister, POSIX.4, O'Reilly, pp. 128\\[en]129 and 389\\[en]391."
2387 msgstr ""
2388 "B.O. Gallmeister, POSIX.4, O'Reilly, Seiten 128\\[en]129 und 389\\[en]391."
2389
2390 #. type: TH
2391 #: fedora-44 fedora-rawhide
2392 #, no-wrap
2393 msgid "2024-07-23"
2394 msgstr "23. Juli 2024"
2395
2396 #. type: TH
2397 #: fedora-44 fedora-rawhide
2398 #, no-wrap
2399 msgid "Linux man-pages 6.13"
2400 msgstr "Linux man-pages 6.13"
2401
2402 #. type: TH
2403 #: mageia-cauldron
2404 #, no-wrap
2405 msgid "2026-02-11"
2406 msgstr "11. Februar 2026"
2407
2408 #. type: TH
2409 #: mageia-cauldron
2410 #, no-wrap
2411 msgid "Linux man-pages 6.17"
2412 msgstr "Linux man-pages 6.17"
2413
2414 #. type: TH
2415 #: opensuse-leap-16-1 opensuse-tumbleweed
2416 #, no-wrap
2417 msgid "Linux man-pages (unreleased)"
2418 msgstr "Linux man-pages (unveröffentlicht)"