Debian Codegraph @

po/de/man2/mlock.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 # Hanno Wagner <[email protected]>, 1996.
5 # Martin Schulze <[email protected]>, 1996.
6 # Michaela Hohenner <[email protected]>, 1996.
7 # Martin Eberhard Schauer <[email protected]>, 2012.
8 # Mario Blättermann <[email protected]>, 2014, 2016, 2021, 2022, 2023.
9 # Helge Kreutzmann <[email protected]>, 2017, 2019, 2020.
10 msgid ""
11 msgstr ""
12 "Project-Id-Version: manpages-l10n 4.29.1\n"
13 "POT-Creation-Date: 2026-06-05 06:31+0200\n"
14 "PO-Revision-Date: 2026-03-03 17:21+0100\n"
15 "Last-Translator: Mario Blättermann <[email protected]>\n"
16 "Language-Team: German <[email protected]>\n"
17 "Language: de\n"
18 "MIME-Version: 1.0\n"
19 "Content-Type: text/plain; charset=UTF-8\n"
20 "Content-Transfer-Encoding: 8bit\n"
21 "X-Generator: Lokalize 23.04.3\n"
22 "Plural-Forms: nplurals=2; plural=n != 1;\n"
23
24 #. type: TH
25 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
26 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
27 #, no-wrap
28 msgid "mlock"
29 msgstr "mlock"
30
31 #. type: TH
32 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
33 #: opensuse-tumbleweed
34 #, no-wrap
35 msgid "2026-02-11"
36 msgstr "11. Februar 2026"
37
38 #. type: TH
39 #: archlinux debian-unstable
40 #, no-wrap
41 msgid "Linux man-pages 6.18"
42 msgstr "Linux man-pages 6.18"
43
44 #. type: SH
45 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
46 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
47 #, no-wrap
48 msgid "NAME"
49 msgstr "BEZEICHNUNG"
50
51 #. type: Plain text
52 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
53 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
54 msgid "mlock, mlock2, munlock, mlockall, munlockall - lock and unlock memory"
55 msgstr "mlock, mlock2, munlock, mlockall, munlockall - Speicher (ent)sperren"
56
57 #. type: SH
58 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
59 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
60 #, no-wrap
61 msgid "LIBRARY"
62 msgstr "BIBLIOTHEK"
63
64 #. type: Plain text
65 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
66 #: opensuse-leap-16-1 opensuse-tumbleweed
67 msgid "Standard C library (I<libc>,\\ I<-lc>)"
68 msgstr "Standard-C-Bibliothek (I<libc>,\\ I<-lc>)"
69
70 #. type: SH
71 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
72 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
73 #, no-wrap
74 msgid "SYNOPSIS"
75 msgstr "ÜBERSICHT"
76
77 #. type: Plain text
78 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
79 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
80 #, no-wrap
81 msgid "B<#include E<lt>sys/mman.hE<gt>>\n"
82 msgstr "B<#include E<lt>sys/mman.hE<gt>>\n"
83
84 # WONTFIX B<…>size_t size → B<…size_t> I<size> // forward declaration
85 #. type: Plain text
86 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
87 #: opensuse-tumbleweed
88 #, no-wrap
89 msgid ""
90 "B<int mlock(>size_t size;\n"
91 "B< const void >I<addr>B<[>I<size>B<], size_t >I<size>B<);>\n"
92 "B<int mlock2(>size_t size;\n"
93 "B< const void >I<addr>B<[>I<size>B<], size_t >I<size>B<, unsigned int >I<flags>B<);>\n"
94 "B<int munlock(>size_t size;\n"
95 "B< const void >I<addr>B<[>I<size>B<], size_t >I<size>B<);>\n"
96 msgstr ""
97 "B<int mlock(>size_t Größe;\n"
98 "B< const void >I<Adresse>B<[>I<Größe>B<], size_t >I<Größe>B<);>\n"
99 "B<int mlock2(>size_t Größe;\n"
100 "B< const void >I<Adresse>B<[>I<Größe>B<], size_t >I<Größe>B<, unsigned int >I<Schalter>B<);>\n"
101 "B<int munlock(>size_t Größe;\n"
102 "B< const void >I<Adresse>B<[>I<Größe>B<], size_t >I<Größe>B<);>\n"
103
104 #. type: Plain text
105 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
106 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
107 #, no-wrap
108 msgid ""
109 "B<int mlockall(int >I<flags>B<);>\n"
110 "B<int munlockall(void);>\n"
111 msgstr ""
112 "B<int mlockall(int >I<Schalter>B<);>\n"
113 "B<int munlockall(void);>\n"
114
115 #. type: SH
116 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
117 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
118 #, no-wrap
119 msgid "DESCRIPTION"
120 msgstr "BESCHREIBUNG"
121
122 #. type: Plain text
123 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
124 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
125 msgid ""
126 "B<mlock>(), B<mlock2>(), and B<mlockall>() lock part or all of the calling "
127 "process's virtual address space into RAM, preventing that memory from being "
128 "paged to the swap area."
129 msgstr ""
130 "B<mlock>(), B<mlock2>() und B<mlockall>() sperrt den gesamten oder einen "
131 "Teil des virtuellen Adressraums des aufrufenden Prozesses im RAM und "
132 "verhindern, dass der Speicherinhalt in den Auslagerungsbereich ausgelagert "
133 "wird."
134
135 #. type: Plain text
136 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
137 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
138 msgid ""
139 "B<munlock>() and B<munlockall>() perform the converse operation, unlocking "
140 "part or all of the calling process's virtual address space, so that pages in "
141 "the specified virtual address range can be swapped out again if required by "
142 "the kernel memory manager."
143 msgstr ""
144 "B<munlock>() und B<munlockall>() führen die umgekehrte Aktion durch, d.h. "
145 "entsperren den gesamten oder einen Teil des virtuellen Adressraums des "
146 "aufrufenden Prozesses, sodass die Seiten im angegebenen virtuellen "
147 "Adressbereich wieder ausgelagert werden können, wenn das von der Kernel-"
148 "Speicherverwaltung verlangt wird."
149
150 #. type: Plain text
151 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
152 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
153 msgid "Memory locking and unlocking are performed in units of whole pages."
154 msgstr "(Ent)sperren des Speichers wird für ganze Speicherseiten durchgeführt."
155
156 #. type: SS
157 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
158 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
159 #, no-wrap
160 msgid "mlock(), mlock2(), and munlock()"
161 msgstr "mlock(), mlock2() und munlock()"
162
163 #. type: Plain text
164 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
165 #: opensuse-leap-16-1 opensuse-tumbleweed
166 msgid ""
167 "B<mlock>() locks pages in the address range starting at I<addr> and "
168 "continuing for I<size> bytes. All pages that contain a part of the "
169 "specified address range are guaranteed to be resident in RAM when the call "
170 "returns successfully; the pages are guaranteed to stay in RAM until later "
171 "unlocked."
172 msgstr ""
173 "B<mlock>() sperrt Seiten im Adressbereich, der bei I<Adresse> beginnt und "
174 "sich über I<Größe> Byte erstreckt. Alle Seiten, die einen Teil des "
175 "angegebenen Adressbereichs enthalten, verbleiben nach einem erfolgreichen "
176 "Aufruf garantiert im RAM; die Seiten bleiben garantiert im RAM, bis sie "
177 "wieder entsperrt werden."
178
179 #. commit a8ca5d0ecbdde5cc3d7accacbd69968b0c98764e
180 #. commit de60f5f10c58d4f34b68622442c0e04180367f3f
181 #. commit b0f205c2a3082dd9081f9a94e50658c5fa906ff1
182 #. type: Plain text
183 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
184 #: opensuse-leap-16-1 opensuse-tumbleweed
185 msgid ""
186 "B<mlock2>() also locks pages in the specified range starting at I<addr> and "
187 "continuing for I<size> bytes. However, the state of the pages contained in "
188 "that range after the call returns successfully will depend on the value in "
189 "the I<flags> argument."
190 msgstr ""
191 "B<mlock2>() sperrt auch Seiten im Adressbereich, der bei I<Adresse> beginnt "
192 "und sich über I<Größe> Byte erstreckt. Der Status der Seiten, die in dem "
193 "angegebenen Adressbereichs nach einem erfolgreichen Aufruf enthalten sind, "
194 "hängt vom Wert des I<Schalter>-Arguments ab."
195
196 #. type: Plain text
197 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
198 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
199 msgid "The I<flags> argument can be either 0 or the following constant:"
200 msgstr ""
201 "Das Argument I<Schalter> kann entweder 0 oder die folgende Konstante sein:"
202
203 #. type: TP
204 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
205 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
206 #, no-wrap
207 msgid "B<MLOCK_ONFAULT>"
208 msgstr "B<MLOCK_ONFAULT>"
209
210 #. type: Plain text
211 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
212 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
213 msgid ""
214 "Lock pages that are currently resident and mark the entire range so that the "
215 "remaining nonresident pages are locked when they are populated by a page "
216 "fault."
217 msgstr ""
218 "Sperrt Seiten, die derzeit im Speicher sind, und markiert den gesamten "
219 "Bereich, so dass die verbleibenden, nicht im Speicher befindlichen Seiten "
220 "gesperrt sind, wenn Sie durch eine Seitenausnahmebehandlung befüllt werden."
221
222 #. type: Plain text
223 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
224 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
225 msgid "If I<flags> is 0, B<mlock2>() behaves exactly the same as B<mlock>()."
226 msgstr "Wenn I<flags> 0 ist, verhält sich B<mlock2>() genau so wie B<mlock>()."
227
228 #. type: Plain text
229 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
230 #: opensuse-leap-16-1 opensuse-tumbleweed
231 msgid ""
232 "B<munlock>() unlocks pages in the address range starting at I<addr> and "
233 "continuing for I<size> bytes. After this call, all pages that contain a "
234 "part of the specified memory range can be moved to external swap space again "
235 "by the kernel."
236 msgstr ""
237 "B<munlock>() entsperrt Seiten im Adressbereich, der mit I<Adresse> beginnt "
238 "und sich über I<Größe> Byte erstreckt. Nach diesem Aufruf können alle "
239 "Seiten, die einen Teil des angegebenen Speicherbereichs umfassen, erneut vom "
240 "Kernel in externen Auslagerungsspeicher ausgelagert werden."
241
242 #. type: SS
243 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
244 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
245 #, no-wrap
246 msgid "mlockall() and munlockall()"
247 msgstr "mlockall() und munlockall()"
248
249 #. type: Plain text
250 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
251 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
252 msgid ""
253 "B<mlockall>() locks all pages mapped into the address space of the calling "
254 "process. This includes the pages of the code, data, and stack segment, as "
255 "well as shared libraries, user space kernel data, shared memory, and memory-"
256 "mapped files. All mapped pages are guaranteed to be resident in RAM when "
257 "the call returns successfully; the pages are guaranteed to stay in RAM until "
258 "later unlocked."
259 msgstr ""
260 "B<mlockall>() sperrt alle Seiten, die in den Adressraum des aufrufenden "
261 "Prozesses gemappt sind. Dieses bezieht sich auf die Seiten von Code-, Daten- "
262 "und Stacksegment genauso wie auf dynamische Bibliotheken, Kernel-Daten im "
263 "Anwendungsraum, Gemeinsamen Speicher und in den Speicher gemappte Dateien. "
264 "Es wird garantiert, dass alle gemappten Speicherseiten im RAM sind, wenn der "
265 "Aufruf von B<mlockall>() erfolgreich beendet wird. Es wird darüber hinaus "
266 "garantiert, dass die Seiten solange im RAM bleiben, bis sie wieder entsperrt "
267 "werden."
268
269 #. type: Plain text
270 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
271 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
272 msgid ""
273 "The I<flags> argument is constructed as the bitwise OR of one or more of the "
274 "following constants:"
275 msgstr ""
276 "Das Argument I<Schalter> wird mittels logischem bitweisem ODER aus einer "
277 "oder mehreren der folgenden Konstanten konstruiert:"
278
279 #. type: TP
280 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
281 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
282 #, no-wrap
283 msgid "B<MCL_CURRENT>"
284 msgstr "B<MCL_CURRENT>"
285
286 #. type: Plain text
287 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
288 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
289 msgid ""
290 "Lock all pages which are currently mapped into the address space of the "
291 "process."
292 msgstr ""
293 "sperrt alle Seiten, die momentan in den Adressraum des Prozesses gemappt "
294 "sind."
295
296 #. type: TP
297 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
298 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
299 #, no-wrap
300 msgid "B<MCL_FUTURE>"
301 msgstr "B<MCL_FUTURE>"
302
303 #. type: Plain text
304 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
305 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
306 msgid ""
307 "Lock all pages which will become mapped into the address space of the "
308 "process in the future. These could be, for instance, new pages required by "
309 "a growing heap and stack as well as new memory-mapped files or shared memory "
310 "regions."
311 msgstr ""
312 "sperrt alle Seiten, die in Zukunft in den Adressraum des Prozesses gemappt "
313 "werden. Das könnten zum Beispiel neue Adress-Seiten sein, die bei einem sich "
314 "vergrößernden Heap und Stack benötigt werden, Dateien, die in den Speicher "
315 "gemappt werden, oder gemeinsam benutzte Speicherbereiche."
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<MCL_ONFAULT> (since Linux 4.4)"
322 msgstr "B<MCL_ONFAULT> (seit Linux 4.4)"
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 "Used together with B<MCL_CURRENT>, B<MCL_FUTURE>, or both. Mark all current "
329 "(with B<MCL_CURRENT>) or future (with B<MCL_FUTURE>) mappings to lock "
330 "pages when they are faulted in. When used with B<MCL_CURRENT>, all present "
331 "pages are locked, but B<mlockall>() will not fault in non-present pages. "
332 "When used with B<MCL_FUTURE>, all future mappings will be marked to lock "
333 "pages when they are faulted in, but they will not be populated by the lock "
334 "when the mapping is created. B<MCL_ONFAULT> must be used with either "
335 "B<MCL_CURRENT> or B<MCL_FUTURE> or both."
336 msgstr ""
337 "Wird zusammen mit B<MCL_CURRENT>, B<MCL_FUTURE> oder beiden verwandt. "
338 "Markiert alle aktuellen (mit B<MCL_CURRENT>) oder zukünftigen (mit "
339 "B<MCL_FUTURE>) Mappings, dass sie Seiten sperren, wenn diese durch "
340 "Ausnahmebehandlungen hereingekommen sind. Bei der Verwendung mit "
341 "B<MCL_CURRENT>, werden alle vorhandenen Seiten gesperrt, aber B<mlockall>() "
342 "wird keine nicht vorhandenen Seiten durch Ausnahmebehandlungen "
343 "hereinbringen. Bei der Verwendung mit B<MCL_FUTURE> werden alle zukünftigen "
344 "Mappings markiert, dass sie Seiten sperren, wenn diese durch "
345 "Ausnahmebehandlungen hereinkommen, sie werden aber durch die Sperre nicht "
346 "befüllt, wenn das Mapping erstellt wird. B<MCL_ONFAULT> muss entweder mit "
347 "B<MCL_CURRENT>, B<MCL_FUTURE> oder beiden verwandt werden."
348
349 #. type: Plain text
350 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
351 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
352 msgid ""
353 "If B<MCL_FUTURE> has been specified, then a later system call (e.g., "
354 "B<mmap>(2), B<sbrk>(2), B<malloc>(3)), may fail if it would cause the number "
355 "of locked bytes to exceed the permitted maximum (see below). In the same "
356 "circumstances, stack growth may likewise fail: the kernel will deny stack "
357 "expansion and deliver a B<SIGSEGV> signal to the process."
358 msgstr ""
359 "Falls B<MCL_FUTURE> angegeben wurde, kann ein späterer Systemaufruf (z.\\ B. "
360 "B<mmap>(2), B<sbrk>(2), B<malloc>(3)) fehlschlagen, wenn durch ihn die Zahl "
361 "gesperrter Bytes das zulässige Maximum überschreiten würde (siehe unten). "
362 "Unter den gleichen Voraussetzungen kann eine Vergrößerung des Stacks "
363 "ebenfalls fehlschlagen: der Kernel wird die Stack-Vergrößerung verweigern "
364 "und dem Prozess ein B<SIGSEGV>-Signal schicken."
365
366 #. type: Plain text
367 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
368 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
369 msgid ""
370 "B<munlockall>() unlocks all pages mapped into the address space of the "
371 "calling process."
372 msgstr ""
373 "B<munlockall>() entsperrt alle in den Adressraum des aufrufenden Prozesses "
374 "gemappten Seiten."
375
376 #. type: SH
377 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
378 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
379 #, no-wrap
380 msgid "RETURN VALUE"
381 msgstr "RÜCKGABEWERT"
382
383 #. type: Plain text
384 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
385 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
386 msgid ""
387 "On success, these system calls return 0. On error, -1 is returned, I<errno> "
388 "is set to indicate the error, and no changes are made to any locks in the "
389 "address space of the process."
390 msgstr ""
391 "Bei Erfolg geben diese Systemaufrufe 0 zurück. Bei einem Fehler wird -1 "
392 "zurückgegeben, I<errno> gesetzt, um den Fehler anzuzeigen und keine "
393 "Änderungen an den Sperren im Adressraum des Prozesses durchgeführt."
394
395 #. type: SH
396 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
397 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
398 #, no-wrap
399 msgid "ERRORS"
400 msgstr "FEHLER"
401
402 #. type: TP
403 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
404 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
405 #, no-wrap
406 msgid "B<EAGAIN>"
407 msgstr "B<EAGAIN>"
408
409 #. type: Plain text
410 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
411 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
412 msgid ""
413 "(B<mlock>(), B<mlock2>(), and B<munlock>()) Some or all of the specified "
414 "address range could not be locked."
415 msgstr ""
416 "(B<mlock>(), B<mlock2>() und B<munlock>()) Ein Teil des angegebenen "
417 "Adressbereichs oder der gesamte Adressbereich konnten nicht gesperrt werden."
418
419 #. type: TP
420 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
421 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
422 #, no-wrap
423 msgid "B<EINVAL>"
424 msgstr "B<EINVAL>"
425
426 #. type: Plain text
427 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
428 #: opensuse-leap-16-1 opensuse-tumbleweed
429 msgid ""
430 "(B<mlock>(), B<mlock2>(), and B<munlock>()) The result of the addition "
431 "I<addr>+I<size> was less than I<addr> (e.g., the addition may have resulted "
432 "in an overflow)."
433 msgstr ""
434 "(B<mlock>(), B<mlock2>() und B<munlock>()) Das Ergebnis der Addition "
435 "I<Adresse>+I<Größe> war kleiner als I<Adresse> (z.\\ B. kann die Addition "
436 "einen Überlauf verursacht haben)."
437
438 #. type: Plain text
439 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
440 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
441 msgid "(B<mlock2>()) Unknown I<flags> were specified."
442 msgstr "(B<mlock2>()) Es wurden unbekannte I<Schalter> angegeben."
443
444 #. type: Plain text
445 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
446 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
447 msgid ""
448 "(B<mlockall>()) Unknown I<flags> were specified or B<MCL_ONFAULT> was "
449 "specified without either B<MCL_FUTURE> or B<MCL_CURRENT>."
450 msgstr ""
451 "(B<mlockall>()) Es wurden entweder unbekannte I<Schalter> angegeben oder "
452 "B<MCL_ONFAULT> wurde weder mit B<MCL_FUTURE> noch mit B<MCL_CURRENT> "
453 "angegeben."
454
455 #. type: Plain text
456 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
457 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
458 msgid "(Not on Linux) I<addr> was not a multiple of the page size."
459 msgstr "(Nicht unter Linux) I<Adresse> war kein Vielfaches der Seitengröße."
460
461 #. type: TP
462 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
463 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
464 #, no-wrap
465 msgid "B<ENOMEM>"
466 msgstr "B<ENOMEM>"
467
468 #. type: Plain text
469 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
470 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
471 msgid ""
472 "(B<mlock>(), B<mlock2>(), and B<munlock>()) Some of the specified address "
473 "range does not correspond to mapped pages in the address space of the "
474 "process."
475 msgstr ""
476 "(B<mlock>(), B<mlock2>() und B<munlock>()) Ein Teil des angegebenen "
477 "Adressbereichs entspricht nicht Seiten, die in den Adressraum des Prozesses "
478 "gemappt sind."
479
480 #. I.e., the number of VMAs would exceed the 64kB maximum
481 #. type: Plain text
482 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
483 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
484 msgid ""
485 "(B<mlock>(), B<mlock2>(), and B<munlock>()) Locking or unlocking a region "
486 "would result in the total number of mappings with distinct attributes (e.g., "
487 "locked versus unlocked) exceeding the allowed maximum. (For example, "
488 "unlocking a range in the middle of a currently locked mapping would result "
489 "in three mappings: two locked mappings at each end and an unlocked mapping "
490 "in the middle.)"
491 msgstr ""
492 "(B<mlock>(), B<mlock2>() und B<munlock>()) Sperren oder Entsperren eines "
493 "Bereiches würde dazu führen, dass die Gesamtanzahl der Mappings mit "
494 "eindeutigen Attributen (z.B. gesperrt oder nicht gesperrt) das erlaubte "
495 "Maximum überschreiten würde. (Beispielsweise würde das Entsperren eines "
496 "Bereichs in der Mitte eines derzeit gesperrten Bereichs zu drei Mappings "
497 "führen: zwei gesperrte Mappings an jedem Ende und ein entsperrtes Mapping in "
498 "der Mitte.)"
499
500 #. type: Plain text
501 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
502 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
503 msgid ""
504 "(Linux 2.6.9 and later) the caller had a nonzero B<RLIMIT_MEMLOCK> soft "
505 "resource limit, but tried to lock more memory than the limit permitted. "
506 "This limit is not enforced if the process is privileged (B<CAP_IPC_LOCK>)."
507 msgstr ""
508 "(Linux 2.6.9 und neuer) Der Aufrufende hatte eine weiche "
509 "Ressourcenbegrenzung B<RLIMIT_MEMLOCK> ungleich null, versuchte aber über "
510 "diese Grenze hinaus Speicher zu sperren. Diese Grenze wird nicht erzwungen, "
511 "wenn der Prozess privilegiert ist (B<CAP_IPC_LOCK>)."
512
513 #. In the case of mlock(), this check is somewhat buggy: it doesn't
514 #. take into account whether the to-be-locked range overlaps with
515 #. already locked pages. Thus, suppose we allocate
516 #. (num_physpages / 4 + 1) of memory, and lock those pages once using
517 #. mlock(), and then lock the *same* page range a second time.
518 #. In the case, the second mlock() call will fail, since the check
519 #. calculates that the process is trying to lock (num_physpages / 2 + 2)
520 #. pages, which of course is not true. (MTK, Nov 04, kernel 2.4.28)
521 #. type: Plain text
522 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
523 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
524 msgid ""
525 "(Linux 2.4 and earlier) the calling process tried to lock more than half of "
526 "RAM."
527 msgstr ""
528 "(Linux 2.4 und älter) Der aufrufende Prozess versuchte, mehr als die Hälfte "
529 "des RAMs zu sperren."
530
531 #. type: TP
532 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
533 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
534 #, no-wrap
535 msgid "B<EPERM>"
536 msgstr "B<EPERM>"
537
538 #. type: Plain text
539 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
540 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
541 msgid ""
542 "The caller is not privileged, but needs privilege (B<CAP_IPC_LOCK>) to "
543 "perform the requested operation."
544 msgstr ""
545 "Der Aufrufende ist nicht privilegiert, benötigt aber zur Durchführung der "
546 "angeforderten Aktionen Privilegien (B<CAP_IPC_LOCK>)."
547
548 #. type: Plain text
549 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
550 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
551 msgid ""
552 "(B<munlockall>()) (Linux 2.6.8 and earlier) The caller was not privileged "
553 "(B<CAP_IPC_LOCK>)."
554 msgstr ""
555 "(B<munlockall>()) (Linux 2.6.8 und älter) Der Aufrufende war nicht "
556 "privilegiert (B<CAP_IPC_LOCK>)."
557
558 #. type: SH
559 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
560 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
561 #, no-wrap
562 msgid "VERSIONS"
563 msgstr "VERSIONEN"
564
565 #. type: SS
566 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
567 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
568 #, no-wrap
569 msgid "Linux"
570 msgstr "Linux"
571
572 #. type: Plain text
573 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
574 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
575 msgid ""
576 "Under Linux, B<mlock>(), B<mlock2>(), and B<munlock>() automatically round "
577 "I<addr> down to the nearest page boundary. However, the POSIX.1 "
578 "specification of B<mlock>() and B<munlock>() allows an implementation to "
579 "require that I<addr> is page aligned, so portable applications should ensure "
580 "this."
581 msgstr ""
582 "Unter Linux runden B<mlock>(), B<mlock2>() und B<munlock>() I<Adresse> "
583 "automatisch zur nächsten Seitengrenze ab. Da aber die POSIX.1-Spezifikation "
584 "von B<mlock>() und B<munlock>() Implementierungen gestattet, welche die "
585 "Ausrichtung von I<Adresse> an Seitengrenzen fordern, sollten portable "
586 "Anwendungen die Ausrichtung sicherstellen."
587
588 #. type: Plain text
589 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
590 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
591 msgid ""
592 "The I<VmLck> field of the Linux-specific I</proc/>pidI</status> file shows "
593 "how many kilobytes of memory the process with ID I<PID> has locked using "
594 "B<mlock>(), B<mlock2>(), B<mlockall>(), and B<mmap>(2) B<MAP_LOCKED>."
595 msgstr ""
596 "Das Feld I<VmLck> der Linux-spezifischen Datei I</proc/>PIDI</status> gibt "
597 "an, wie viele Kilobyte Speicher der Prozess mit der Kennung I<PID> mittels "
598 "B<mlock>(), B<mlock2>(), B<mlockall>() und B<mmap>(2) mit dem Schalter "
599 "B<MAP_LOCKED> gesperrt hat."
600
601 #. type: SH
602 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
603 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
604 #, no-wrap
605 msgid "STANDARDS"
606 msgstr "STANDARDS"
607
608 #. type: TP
609 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
610 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
611 #, no-wrap
612 msgid "B<mlock>()"
613 msgstr "B<mlock>()"
614
615 #. type: TQ
616 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
617 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
618 #, no-wrap
619 msgid "B<munlock>()"
620 msgstr "B<munlock>()"
621
622 #. type: TQ
623 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
624 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
625 #, no-wrap
626 msgid "B<mlockall>()"
627 msgstr "B<mlockall>()"
628
629 #. type: TQ
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<munlockall>()"
634 msgstr "B<munlockall>()"
635
636 #. type: Plain text
637 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
638 #: opensuse-tumbleweed
639 msgid "POSIX.1-2024."
640 msgstr "POSIX.1-2024."
641
642 #. type: TP
643 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
644 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
645 #, no-wrap
646 msgid "B<mlock2>()"
647 msgstr "B<mlock2>()"
648
649 #. type: Plain text
650 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
651 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
652 msgid "Linux."
653 msgstr "Linux."
654
655 #. type: Plain text
656 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
657 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
658 msgid ""
659 "On POSIX systems on which B<mlock>() and B<munlock>() are available, "
660 "B<_POSIX_MEMLOCK_RANGE> is defined in I<E<lt>unistd.hE<gt>> and the number "
661 "of bytes in a page can be determined from the constant B<PAGESIZE> (if "
662 "defined) in I<E<lt>limits.hE<gt>> or by calling I<sysconf(_SC_PAGESIZE)>."
663 msgstr ""
664 "Auf POSIX-Systemen, auf denen B<mlock>() und B<munlock>() verfügbar sind, "
665 "ist B<_POSIX_MEMLOCK_RANGE> in I<E<lt>unistd.hE<gt>> definiert und die "
666 "Anzahl der Bytes pro Seite kann der Konstante B<PAGESIZE> (wenn sie "
667 "definiert ist) in I<E<lt>limits.hE<gt>> entnommen werden oder durch einen "
668 "Aufruf von I<sysconf(_SC_PAGESIZE)> bestimmt werden."
669
670 #. POSIX.1-2001: It shall be defined to -1 or 0 or 200112L.
671 #. -1: unavailable, 0: ask using sysconf().
672 #. glibc defines it to 1.
673 #. type: Plain text
674 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
675 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
676 msgid ""
677 "On POSIX systems on which B<mlockall>() and B<munlockall>() are available, "
678 "B<_POSIX_MEMLOCK> is defined in I<E<lt>unistd.hE<gt>> to a value greater "
679 "than 0. (See also B<sysconf>(3).)"
680 msgstr ""
681 "Auf POSIX-Systemen, auf denen B<mlockall>() und B<munlockall>() verfügbar "
682 "sind, ist B<_POSIX_MEMLOCK> in E<lt>unistd.hE<gt> als ein Wert größer als 0 "
683 "definiert. (Siehe auch B<sysconf>(3).)"
684
685 #. type: SH
686 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
687 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
688 #, no-wrap
689 msgid "HISTORY"
690 msgstr "GESCHICHTE"
691
692 #. type: Plain text
693 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
694 #: opensuse-tumbleweed
695 msgid "SVr4, POSIX.1-1996."
696 msgstr "SVr4, POSIX.1-1996."
697
698 #. type: Plain text
699 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
700 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
701 msgid "Linux 4.4, glibc 2.27."
702 msgstr "Linux 4.4, Glibc 2.27."
703
704 #. type: SH
705 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
706 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
707 #, no-wrap
708 msgid "NOTES"
709 msgstr "ANMERKUNGEN"
710
711 #. type: Plain text
712 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
713 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
714 msgid ""
715 "Memory locking has two main applications: real-time algorithms and high-"
716 "security data processing. Real-time applications require deterministic "
717 "timing, and, like scheduling, paging is one major cause of unexpected "
718 "program execution delays. Real-time applications will usually also switch "
719 "to a real-time scheduler with B<sched_setscheduler>(2). Cryptographic "
720 "security software often handles critical bytes like passwords or secret keys "
721 "as data structures. As a result of paging, these secrets could be "
722 "transferred onto a persistent swap store medium, where they might be "
723 "accessible to the enemy long after the security software has erased the "
724 "secrets in RAM and terminated. (But be aware that the suspend mode on "
725 "laptops and some desktop computers will save a copy of the system's RAM to "
726 "disk, regardless of memory locks.)"
727 msgstr ""
728 "Das Sperren von Speicher hat zwei Hauptanwendungen: Echtzeitalgorithmen und "
729 "Hochsicherheits-Datenverarbeitung. Echtzeitanwendungen erfordern "
730 "deterministisches Timing, und, wie auch Scheduling, ist Paging einer der "
731 "Hauptgründe für unerwartete Verzögerungen in der Programmausführung. "
732 "Echtzeitanwendungen werden außerdem für gewöhnlich mit "
733 "B<sched_setscheduler>(2) auf einen Echtzeit-Scheduler umschalten. "
734 "Kryptographische Sicherheitssoftware stellt oft sicherheitskritische Bytes "
735 "wie Passwörter oder geheime Schlüssel als Datenstrukturen dar. Durch Paging "
736 "könnten diese geheimen Daten auf ein permanentes Auslagerungsspeichermedium "
737 "übertragen werden, von wo aus sie auch dann noch Dritten zugänglich sein "
738 "können, lange nachdem das Programm die geheimen Daten aus dem RAM gelöscht "
739 "und sich beendet hat. (Bedenken Sie bitte, dass der Suspend-Modus von "
740 "Laptops und manchen Desktop-Rechnern, unabhängig von Speichersperren, eine "
741 "Kopie des RAMs auf der Platte speichern wird.)"
742
743 #. type: Plain text
744 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
745 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
746 msgid ""
747 "Real-time processes that are using B<mlockall>() to prevent delays on page "
748 "faults should reserve enough locked stack pages before entering the time-"
749 "critical section, so that no page fault can be caused by function calls. "
750 "This can be achieved by calling a function that allocates a sufficiently "
751 "large automatic variable (an array) and writes to the memory occupied by "
752 "this array in order to touch these stack pages. This way, enough pages will "
753 "be mapped for the stack and can be locked into RAM. The dummy writes ensure "
754 "that not even copy-on-write page faults can occur in the critical section."
755 msgstr ""
756 "Echtzeitprozesse, die mittels B<mlockall>() Verzögerungen durch "
757 "Seitenausnahmebehandlungen vermeiden, sollten ausreichend gesperrte "
758 "Stackseiten reservieren, bevor sie in die zeitkritische Phase treten, sodass "
759 "durch einen Funktionsaufruf keine Seitenausnahmebehandlung entstehen kann. "
760 "Dies kann durch den Aufruf einer Funktion erreicht werden, die eine "
761 "ausreichend große automatische Variable (ein Feld) erzeugt und in den "
762 "Speicher schreibt, in dem die Variable liegt, um diese Stackseiten zu "
763 "belegen. Auf diesem Wege werden genug Seiten für den Stack gemappt und "
764 "können im RAM gesperrt werden. Der Schreibvorgang stellt sicher, dass nicht "
765 "einmal ein Schreib-Kopier-Seitenausnahmebehandlung in der kritischen Phase "
766 "eintreten kann."
767
768 #. type: Plain text
769 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
770 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
771 msgid ""
772 "Memory locks are not inherited by a child created via B<fork>(2) and are "
773 "automatically removed (unlocked) during an B<execve>(2) or when the process "
774 "terminates. The B<mlockall>() B<MCL_FUTURE> and B<MCL_FUTURE | "
775 "MCL_ONFAULT> settings are not inherited by a child created via B<fork>(2) "
776 "and are cleared during an B<execve>(2)."
777 msgstr ""
778 "Speichersperren werden nicht an mittels B<fork>(2) erzeugte Kindprozesse "
779 "vererbt und durch einen Aufruf von B<execve>(2) oder das Ende des Prozesses "
780 "automatisch entfernt (entsperrt). Die Einstellungen B<MCL_FUTURE> und "
781 "B<MCL_FUTURE | MCL_ONFAULT> in B<mlockall>() werden nicht von einem "
782 "Kindprozess ererbt, der mittels B<fork>(2) erzeugt wurde und werden während "
783 "eines B<execve>(2) gelöscht."
784
785 #. type: Plain text
786 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
787 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
788 msgid ""
789 "Note that B<fork>(2) will prepare the address space for a copy-on-write "
790 "operation. The consequence is that any write access that follows will cause "
791 "a page fault that in turn may cause high latencies for a real-time process. "
792 "Therefore, it is crucial not to invoke B<fork>(2) after an B<mlockall>() "
793 "or B<mlock>() operation\\[em]not even from a thread which runs at a low "
794 "priority within a process which also has a thread running at elevated "
795 "priority."
796 msgstr ""
797 "Beachten Sie, dass B<fork>(2) den Adressraum für eine Kopieren-beim-"
798 "Schreiben-Aktion vorbereiten wird. Die Konsequenz ist, dass nachfolgende "
799 "Schreibaktionen zu einer Seitenausnahmebehandlung führen werden, die "
800 "wiederum hohe Latenzen für Echtzeitprozesse hervorrufen. Daher ist es "
801 "essenziell, B<fork>(2) nicht nach einer B<mlockall>()- oder B<mlock>()-"
802 "Aktion auszuführen - selbst nicht aus einem Thread, der bei niedriger "
803 "Priorität innerhalb eines Prozesses läuft, der wiederum einen Thread hat, "
804 "der mit erhöhter Priorität läuft."
805
806 #. type: Plain text
807 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
808 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
809 msgid ""
810 "The memory lock on an address range is automatically removed if the address "
811 "range is unmapped via B<munmap>(2)."
812 msgstr ""
813 "Die Speichersperrung wird automatisch entfernt, wenn der Adressbereich "
814 "mittels B<munmap>(2) entmappt wird."
815
816 #. type: Plain text
817 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
818 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
819 msgid ""
820 "Memory locks do not stack, that is, pages which have been locked several "
821 "times by calls to B<mlock>(), B<mlock2>(), or B<mlockall>() will be "
822 "unlocked by a single call to B<munlock>() for the corresponding range or by "
823 "B<munlockall>(). Pages which are mapped to several locations or by several "
824 "processes stay locked into RAM as long as they are locked at least at one "
825 "location or by at least one process."
826 msgstr ""
827 "Speichersperren werden nicht hochgezählt (»gestapelt«), das heißt, Seiten "
828 "die mehrmals durch den Aufruf von B<mlockall>(), B<mlock2>() oder B<mlock>() "
829 "gesperrt wurden werden durch einen einzigen Aufruf von B<munlock>() für den "
830 "entsprechenden Bereich oder durch B<munlockall>() sofort wieder freigegeben. "
831 "Seiten, die an verschiedene Orte oder für verschiedene Prozesse gemappt "
832 "wurden, bleiben solange im RAM gesperrt, wie sie mindestens an einem Ort "
833 "oder durch einen Prozess gesperrt sind."
834
835 #. type: Plain text
836 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
837 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
838 msgid ""
839 "If a call to B<mlockall>() which uses the B<MCL_FUTURE> flag is followed by "
840 "another call that does not specify this flag, the changes made by the "
841 "B<MCL_FUTURE> call will be lost."
842 msgstr ""
843 "Wenn einem Aufruf von B<mlockall>(), der den Schalter B<MCL_FUTURE> nutzt, "
844 "ein weiterer Aufruf folgt, der diesen Schalter nicht angibt, gehen die durch "
845 "den Aufruf von B<MCL_FUTURE> erwirkten Änderungen verloren."
846
847 #. type: Plain text
848 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
849 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
850 msgid ""
851 "The B<mlock2>() B<MLOCK_ONFAULT> flag and the B<mlockall>() B<MCL_ONFAULT> "
852 "flag allow efficient memory locking for applications that deal with large "
853 "mappings where only a (small) portion of pages in the mapping are touched. "
854 "In such cases, locking all of the pages in a mapping would incur a "
855 "significant penalty for memory locking."
856 msgstr ""
857 "Der Schalter B<MLOCK_ONFAULT> von B<mlock2>() und der Schalter "
858 "B<MCL_ONFAULT> von B<mlockall>() erlaubt effizientes Speicher-Sperren für "
859 "Anwendungen, die mit großen Mappings umgehen, bei denen nur ein (kleiner) "
860 "Anteil von Seiten im Mapping berührt werden. In diesen Fällen würde das "
861 "Sperren aller Seiten in dem Mapping eine erhebliche Einbuße für das Speicher-"
862 "Sperren verursachen."
863
864 #. type: SS
865 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
866 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
867 #, no-wrap
868 msgid "Limits and permissions"
869 msgstr "Grenzen und Zugriffsrechte"
870
871 #. type: Plain text
872 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
873 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
874 msgid ""
875 "In Linux 2.6.8 and earlier, a process must be privileged (B<CAP_IPC_LOCK>) "
876 "in order to lock memory and the B<RLIMIT_MEMLOCK> soft resource limit "
877 "defines a limit on how much memory the process may lock."
878 msgstr ""
879 "Bis einschließlich Linux 2.6.8 muss ein Prozess privilegiert sein "
880 "(B<CAP_IPC_LOCK>), um Speicher zu sperren. Die weiche Systembegrenzung "
881 "B<RLIMIT_MEMLOCK> bestimmt einen Speicher-Schwellwert, den der Prozess "
882 "sperren darf."
883
884 #. type: Plain text
885 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
886 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
887 msgid ""
888 "Since Linux 2.6.9, no limits are placed on the amount of memory that a "
889 "privileged process can lock and the B<RLIMIT_MEMLOCK> soft resource limit "
890 "instead defines a limit on how much memory an unprivileged process may lock."
891 msgstr ""
892 "Seit Linux 2.6.9 kann ein privilegierter Prozess unbegrenzt Speicher "
893 "sperren. Die weiche Systembegrenzung B<RLIMIT_MEMLOCK> legt stattdessen "
894 "fest, wieviel Speicher ein nicht privilegierter Prozess sperren darf."
895
896 #. type: SH
897 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
898 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
899 #, no-wrap
900 msgid "BUGS"
901 msgstr "FEHLER"
902
903 #. commit 0cf2f6f6dc605e587d2c1120f295934c77e810e8
904 #. type: Plain text
905 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
906 #: opensuse-leap-16-1 opensuse-tumbleweed
907 msgid ""
908 "In Linux 4.8 and earlier, a bug in the kernel's accounting of locked memory "
909 "for unprivileged processes (i.e., without B<CAP_IPC_LOCK>) meant that if "
910 "the region specified by I<addr> and I<size> overlapped an existing lock, "
911 "then the already locked bytes in the overlapping region were counted twice "
912 "when checking against the limit. Such double accounting could incorrectly "
913 "calculate a \"total locked memory\" value for the process that exceeded the "
914 "B<RLIMIT_MEMLOCK> limit, with the result that B<mlock>() and B<mlock2>() "
915 "would fail on requests that should have succeeded. This bug was fixed in "
916 "Linux 4.9."
917 msgstr ""
918 "In Linux 4.8 und älter bedeutete ein Fehler in der Bilanzierung des Kernels "
919 "für gesperrten Speicher von unprivilegierten Prozessen (d.h. solchen ohne "
920 "B<CAP_IPC_LOCK>), das die gesperrten Bytes, die einer überlappenden (falls "
921 "vorhanden) und durch I<Adresse> und I<Größe> festgelegte Region liegen, beim "
922 "Prüfen gegen die Begrenzung doppelt zählten. Solche Doppelbilanzierung "
923 "konnte zu einem inkorrekten Wert für den »total locked memory« für den "
924 "Prozess, der die Begrenzung B<RLIMIT_MEMLOCK> überschritt, führen. Damit "
925 "konnten dann B<mlock>() und B<mlock2>() fehlschlagen, obwohl die Anfragen "
926 "hätten erfolgreich sein sollen. Dieser Fehler wurde in Linux 4.9 behoben."
927
928 #. type: Plain text
929 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
930 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
931 msgid ""
932 "In Linux 2.4 series of kernels up to and including Linux 2.4.17, a bug "
933 "caused the B<mlockall>() B<MCL_FUTURE> flag to be inherited across a "
934 "B<fork>(2). This was rectified in Linux 2.4.18."
935 msgstr ""
936 "In Linux 2.4.x bis einschließlich 2.4.17 bewirkte ein Fehler, dass der "
937 "Schalter B<MCL_FUTURE> von B<mlockall>() über einen Aufruf von B<fork>(2) "
938 "vererbt wurde. Dies wurde in Linux 2.4.18 behoben."
939
940 #. See the following LKML thread:
941 #. http://marc.theaimsgroup.com/?l=linux-kernel&m=113801392825023&w=2
942 #. "Rationale for RLIMIT_MEMLOCK"
943 #. 23 Jan 2006
944 #. type: Plain text
945 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
946 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
947 msgid ""
948 "Since Linux 2.6.9, if a privileged process calls I<mlockall(MCL_FUTURE)> and "
949 "later drops privileges (loses the B<CAP_IPC_LOCK> capability by, for "
950 "example, setting its effective UID to a nonzero value), then subsequent "
951 "memory allocations (e.g., B<mmap>(2), B<brk>(2)) will fail if the "
952 "B<RLIMIT_MEMLOCK> resource limit is encountered."
953 msgstr ""
954 "Seit Linux 2.6.9 werden, falls ein privilegierter Prozess "
955 "I<mlockall(MCL_FUTURE)> aufruft und anschließend Privilegien aufgibt (die "
956 "Capability B<CAP_IPC_LOCK> verliert, weil er beispielsweise seine effektive "
957 "UID auf einen von null verschiedenen Wert setzt), nachfolgende "
958 "Speicherzuordnungen (z.B. B<mmap>(2), B<brk>(2)) fehlschlagen, wenn die "
959 "Ressourcengrenze B<RLIMIT_MEMLOCK> angetroffen wird."
960
961 #. type: SH
962 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
963 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
964 #, no-wrap
965 msgid "SEE ALSO"
966 msgstr "SIEHE AUCH"
967
968 #. type: Plain text
969 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
970 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
971 msgid ""
972 "B<mincore>(2), B<mmap>(2), B<setrlimit>(2), B<shmctl>(2), B<sysconf>(3), "
973 "B<proc>(5), B<capabilities>(7)"
974 msgstr ""
975 "B<mincore>(2), B<mmap>(2), B<setrlimit>(2), B<shmctl>(2), B<sysconf>(3), "
976 "B<proc>(5), B<capabilities>(7)"
977
978 #. type: TH
979 #: debian-trixie
980 #, no-wrap
981 msgid "2024-05-02"
982 msgstr "2. Mai 2024"
983
984 #. type: TH
985 #: debian-trixie
986 #, no-wrap
987 msgid "Linux man-pages 6.9.1"
988 msgstr "Linux man-pages 6.9.1"
989
990 #. type: Plain text
991 #: debian-trixie
992 msgid "Standard C library (I<libc>, I<-lc>)"
993 msgstr "Standard-C-Bibliothek (I<libc>, I<-lc>)"
994
995 #. type: Plain text
996 #: debian-trixie
997 #, no-wrap
998 msgid ""
999 "B<int mlock(const void >I<addr>B<[.>I<len>B<], size_t >I<len>B<);>\n"
1000 "B<int mlock2(const void >I<addr>B<[.>I<len>B<], size_t >I<len>B<, unsigned int >I<flags>B<);>\n"
1001 "B<int munlock(const void >I<addr>B<[.>I<len>B<], size_t >I<len>B<);>\n"
1002 msgstr ""
1003 "B<int mlock(const void >I<Adresse>B<[.>I<len>B<], size_t >I<Länge>B<);>\n"
1004 "B<int mlock2(const void >I<Addresse>B<[.>I<len>B<], size_t >I<Länge>B<, unsigned int >I<Schalter>B<);>\n"
1005 "B<int munlock(const void >I<Adresse>B<[.>I<len>B<], size_t >I<Länge>B<);>\n"
1006
1007 #. type: Plain text
1008 #: debian-trixie
1009 msgid ""
1010 "B<mlock>() locks pages in the address range starting at I<addr> and "
1011 "continuing for I<len> bytes. All pages that contain a part of the specified "
1012 "address range are guaranteed to be resident in RAM when the call returns "
1013 "successfully; the pages are guaranteed to stay in RAM until later unlocked."
1014 msgstr ""
1015 "B<mlock>() sperrt Seiten im Adressbereich, der bei I<Adresse> beginnt und "
1016 "sich über I<Länge> Byte erstreckt. Alle Seiten, die einen Teil des "
1017 "angegebenen Adressbereichs enthalten, verbleiben nach einem erfolgreichen "
1018 "Aufruf garantiert im RAM; die Seiten bleiben garantiert im RAM, bis sie "
1019 "wieder entsperrt werden."
1020
1021 #. commit a8ca5d0ecbdde5cc3d7accacbd69968b0c98764e
1022 #. commit de60f5f10c58d4f34b68622442c0e04180367f3f
1023 #. commit b0f205c2a3082dd9081f9a94e50658c5fa906ff1
1024 #. type: Plain text
1025 #: debian-trixie
1026 msgid ""
1027 "B<mlock2>() also locks pages in the specified range starting at I<addr> and "
1028 "continuing for I<len> bytes. However, the state of the pages contained in "
1029 "that range after the call returns successfully will depend on the value in "
1030 "the I<flags> argument."
1031 msgstr ""
1032 "B<mlock2>() sperrt auch Seiten im Adressbereich, der bei I<Adresse> beginnt "
1033 "und sich über I<Länge> Byte erstreckt. Der Status der Seiten, die in dem "
1034 "angegebenen Adressbereichs nach einem erfolgreichen Aufruf enthalten sind, "
1035 "hängt vom Wert des I<Schalter>-Arguments ab."
1036
1037 #. type: Plain text
1038 #: debian-trixie
1039 msgid ""
1040 "B<munlock>() unlocks pages in the address range starting at I<addr> and "
1041 "continuing for I<len> bytes. After this call, all pages that contain a part "
1042 "of the specified memory range can be moved to external swap space again by "
1043 "the kernel."
1044 msgstr ""
1045 "B<munlock>() entsperrt Seiten im Adressbereich, der mit I<Adresse> beginnt "
1046 "und sich über I<Länge> Byte erstreckt. Nach diesem Aufruf können alle "
1047 "Seiten, die einen Teil des angegebenen Speicherbereichs umfassen, erneut vom "
1048 "Kernel in externen Auslagerungsspeicher ausgelagert werden."
1049
1050 #. type: Plain text
1051 #: debian-trixie
1052 msgid ""
1053 "(B<mlock>(), B<mlock2>(), and B<munlock>()) The result of the addition "
1054 "I<addr>+I<len> was less than I<addr> (e.g., the addition may have resulted "
1055 "in an overflow)."
1056 msgstr ""
1057 "(B<mlock>(), B<mlock2>() und B<munlock>()) Das Ergebnis der Addition "
1058 "I<Adresse>+I<Länge> war kleiner als I<Adresse> (z.\\ B. kann die Addition "
1059 "einen Überlauf verursacht haben)."
1060
1061 #. type: Plain text
1062 #: debian-trixie fedora-44 fedora-rawhide
1063 msgid "POSIX.1-2008."
1064 msgstr "POSIX.1-2008."
1065
1066 #. type: Plain text
1067 #: debian-trixie fedora-44 fedora-rawhide
1068 msgid "POSIX.1-2001, POSIX.1-2008, SVr4."
1069 msgstr "POSIX.1-2001, POSIX.1-2008, SVr4."
1070
1071 #. commit 0cf2f6f6dc605e587d2c1120f295934c77e810e8
1072 #. type: Plain text
1073 #: debian-trixie
1074 msgid ""
1075 "In Linux 4.8 and earlier, a bug in the kernel's accounting of locked memory "
1076 "for unprivileged processes (i.e., without B<CAP_IPC_LOCK>) meant that if "
1077 "the region specified by I<addr> and I<len> overlapped an existing lock, then "
1078 "the already locked bytes in the overlapping region were counted twice when "
1079 "checking against the limit. Such double accounting could incorrectly "
1080 "calculate a \"total locked memory\" value for the process that exceeded the "
1081 "B<RLIMIT_MEMLOCK> limit, with the result that B<mlock>() and B<mlock2>() "
1082 "would fail on requests that should have succeeded. This bug was fixed in "
1083 "Linux 4.9."
1084 msgstr ""
1085 "In Linux 4.8 und älter bedeutete ein Fehler in der Bilanzierung des Kernels "
1086 "für gesperrten Speicher von unprivilegierten Prozessen (d.h. solchen ohne "
1087 "B<CAP_IPC_LOCK>), das die gesperrten Bytes, die einer überlappenden (falls "
1088 "vorhanden) und durch I<Adresse> und I<Länge> festgelegte Region liegen, beim "
1089 "Prüfen gegen die Begrenzung doppelt zählten. Solche Doppelbilanzierung "
1090 "konnte zu einem inkorrekten Wert für den »total locked memory« für den "
1091 "Prozess, der die Begrenzung B<RLIMIT_MEMLOCK> überschritt, führen. Damit "
1092 "konnten dann B<mlock>() und B<mlock2>() fehlschlagen, obwohl die Anfragen "
1093 "hätten erfolgreich sein sollen. Dieser Fehler wurde in Linux 4.9 behoben."
1094
1095 #. type: TH
1096 #: fedora-44 fedora-rawhide
1097 #, no-wrap
1098 msgid "2024-11-17"
1099 msgstr "17. November 2024"
1100
1101 #. type: TH
1102 #: fedora-44 fedora-rawhide
1103 #, no-wrap
1104 msgid "Linux man-pages 6.13"
1105 msgstr "Linux man-pages 6.13"
1106
1107 #. type: Plain text
1108 #: fedora-44 fedora-rawhide
1109 #, no-wrap
1110 msgid ""
1111 "B<int mlock(const void >I<addr>B<[.>I<size>B<], size_t >I<size>B<);>\n"
1112 "B<int mlock2(const void >I<addr>B<[.>I<size>B<], size_t >I<size>B<, unsigned int >I<flags>B<);>\n"
1113 "B<int munlock(const void >I<addr>B<[.>I<size>B<], size_t >I<size>B<);>\n"
1114 msgstr ""
1115 "B<int mlock(const void >I<Adresse>B<[.>I<Größe>B<], size_t >I<Größe>B<);>\n"
1116 "B<int mlock2(const void >I<Adresse>B<[.>I<Größe>B<], size_t >I<Größe>B<, unsigned int >I<Schalter>B<);>\n"
1117 "B<int munlock(const void >I<Adresse>B<[.>I<Größe>B<], size_t >I<Größe>B<);>\n"
1118
1119 #. type: TH
1120 #: mageia-cauldron
1121 #, no-wrap
1122 msgid "Linux man-pages 6.17"
1123 msgstr "Linux man-pages 6.17"
1124
1125 #. type: TH
1126 #: opensuse-leap-16-1 opensuse-tumbleweed
1127 #, no-wrap
1128 msgid "Linux man-pages (unreleased)"
1129 msgstr "Linux man-pages (unveröffentlicht)"