Debian Codegraph @

po/fr/man2/mlock.2.po

raw
1 # French translation of manpages
2 # This file is distributed under the same license as the manpages-l10n package.
3 # Copyright © of this file:
4 # Christophe Blaess <https://www.blaess.fr/christophe/>, 1996-2003.
5 # Stéphan Rafin <[email protected]>, 2002.
6 # Thierry Vignaud <[email protected]>, 1999,2002.
7 # François Micaux, 2002.
8 # Alain Portal <[email protected]>, 2003-2008.
9 # Jean-Philippe Guérard <[email protected]>, 2005-2006.
10 # Jean-Luc Coulon (f5ibh) <[email protected]>, 2006-2007.
11 # Julien Cristau <[email protected]>, 2006-2007.
12 # Thomas Huriaux <[email protected]>, 2006-2008.
13 # Nicolas François <[email protected]>, 2006-2008.
14 # Florentin Duneau <[email protected]>, 2006-2010.
15 # Simon Paillard <[email protected]>, 2006, 2012-2014.
16 # Denis Barbier <[email protected]>, 2006,2010.
17 # David Prévot <[email protected]>, 2010-2014.
18 # Jean-Philippe MENGUAL <[email protected]>, 2020-2023.
19 msgid ""
20 msgstr ""
21 "Project-Id-Version: manpages-l10n 4.22.0\n"
22 "POT-Creation-Date: 2026-06-05 06:31+0200\n"
23 "PO-Revision-Date: 2025-06-10 18:04+0200\n"
24 "Last-Translator: Jean-Philippe MENGUAL <[email protected]>\n"
25 "Language-Team: French <[email protected]>\n"
26 "Language: fr\n"
27 "MIME-Version: 1.0\n"
28 "Content-Type: text/plain; charset=UTF-8\n"
29 "Content-Transfer-Encoding: 8bit\n"
30 "Plural-Forms: nplurals=2; plural=n > 1;\n"
31 "X-Generator: Lokalize 22.12.3\n"
32
33 #. type: TH
34 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
35 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
36 #, no-wrap
37 msgid "mlock"
38 msgstr "mlock"
39
40 #. type: TH
41 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
42 #: opensuse-tumbleweed
43 #, no-wrap
44 msgid "2026-02-11"
45 msgstr "11 février 2026"
46
47 #. type: TH
48 #: archlinux debian-unstable
49 #, no-wrap
50 msgid "Linux man-pages 6.18"
51 msgstr "Pages du manuel de Linux 6.18"
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 "NAME"
58 msgstr "NOM"
59
60 #. type: Plain text
61 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
62 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
63 msgid "mlock, mlock2, munlock, mlockall, munlockall - lock and unlock memory"
64 msgstr ""
65 "mlock, mlock2, munlock, mlockall, munlockall - Verrouiller et déverrouiller "
66 "la mémoire"
67
68 #. type: SH
69 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
70 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
71 #, no-wrap
72 msgid "LIBRARY"
73 msgstr "BIBLIOTHÈQUE"
74
75 #. type: Plain text
76 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
77 #: opensuse-leap-16-1 opensuse-tumbleweed
78 msgid "Standard C library (I<libc>,\\ I<-lc>)"
79 msgstr "Bibliothèque C standard (I<libc>,\\ I<-lc>)"
80
81 #. type: SH
82 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
83 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
84 #, no-wrap
85 msgid "SYNOPSIS"
86 msgstr "SYNOPSIS"
87
88 #. type: Plain text
89 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
90 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
91 #, no-wrap
92 msgid "B<#include E<lt>sys/mman.hE<gt>>\n"
93 msgstr "B<#include E<lt>sys/mman.hE<gt>>\n"
94
95 #. type: Plain text
96 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
97 #: opensuse-tumbleweed
98 #, fuzzy, no-wrap
99 #| msgid ""
100 #| "B<int mlock(size_t >I<size>B<;>\n"
101 #| "B< const void >I<addr>B<[>I<size>B<], size_t >I<size>B<);>\n"
102 #| "B<int mlock2(size_t >I<size>B<;>\n"
103 #| "B< const void >I<addr>B<[>I<size>B<], size_t >I<size>B<, unsigned int >I<flags>B<);>\n"
104 #| "B<int munlock(size_t >I<size>B<;>\n"
105 #| "B< const void >I<addr>B<[>I<size>B<], size_t >I<size>B<);>\n"
106 msgid ""
107 "B<int mlock(>size_t size;\n"
108 "B< const void >I<addr>B<[>I<size>B<], size_t >I<size>B<);>\n"
109 "B<int mlock2(>size_t size;\n"
110 "B< const void >I<addr>B<[>I<size>B<], size_t >I<size>B<, unsigned int >I<flags>B<);>\n"
111 "B<int munlock(>size_t size;\n"
112 "B< const void >I<addr>B<[>I<size>B<], size_t >I<size>B<);>\n"
113 msgstr ""
114 "B<int mlock(size_t >I<size>B<;>\n"
115 "B< const void >I<addr>B<[>I<size>B<], size_t >I<size>B<);>\n"
116 "B<int mlock2(size_t >I<size>B<;>\n"
117 "B< const void >I<addr>B<[>I<size>B<], size_t >I<size>B<, unsigned int >I<flags>B<);>\n"
118 "B<int munlock(size_t >I<size>B<;>\n"
119 "B< const void >I<addr>B<[>I<size>B<], size_t >I<size>B<);>\n"
120
121 #. type: Plain text
122 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
123 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
124 #, no-wrap
125 msgid ""
126 "B<int mlockall(int >I<flags>B<);>\n"
127 "B<int munlockall(void);>\n"
128 msgstr ""
129 "B<int mlockall(int >I<flags>B<);>\n"
130 "B<int munlockall(void);>\n"
131
132 #. type: SH
133 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
134 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
135 #, no-wrap
136 msgid "DESCRIPTION"
137 msgstr "DESCRIPTION"
138
139 #. type: Plain text
140 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
141 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
142 msgid ""
143 "B<mlock>(), B<mlock2>(), and B<mlockall>() lock part or all of the calling "
144 "process's virtual address space into RAM, preventing that memory from being "
145 "paged to the swap area."
146 msgstr ""
147 "B<mlock>(), B<mlock2>() et B<mlockall>() verrouillent tout ou partie de "
148 "l'espace d'adressage du processus appelant dans la mémoire physique pour "
149 "empêcher cette mémoire d'être évincée dans l'espace d'échange (swap)."
150
151 #. type: Plain text
152 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
153 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
154 msgid ""
155 "B<munlock>() and B<munlockall>() perform the converse operation, unlocking "
156 "part or all of the calling process's virtual address space, so that pages in "
157 "the specified virtual address range can be swapped out again if required by "
158 "the kernel memory manager."
159 msgstr ""
160 "B<munlock>() et B<munlockall>() ont l'effet inverse, respectivement "
161 "déverrouillant une partie ou l'ensemble de l'espace d'adressage du processus "
162 "appelant, afin que les pages dans la zone indiquée puissent à nouveau être "
163 "évincées dans l'espace d'échange si le gestionnaire de mémoire du noyau "
164 "l'exige."
165
166 #. type: Plain text
167 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
168 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
169 msgid "Memory locking and unlocking are performed in units of whole pages."
170 msgstr ""
171 "Le verrouillage et le déverrouillage de la mémoire s'effectuent sur des "
172 "unités de page entière."
173
174 #. type: SS
175 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
176 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
177 #, no-wrap
178 msgid "mlock(), mlock2(), and munlock()"
179 msgstr "mlock(), mlock2() et munlock()"
180
181 #. type: Plain text
182 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
183 #: opensuse-leap-16-1 opensuse-tumbleweed
184 msgid ""
185 "B<mlock>() locks pages in the address range starting at I<addr> and "
186 "continuing for I<size> bytes. All pages that contain a part of the "
187 "specified address range are guaranteed to be resident in RAM when the call "
188 "returns successfully; the pages are guaranteed to stay in RAM until later "
189 "unlocked."
190 msgstr ""
191 "B<mlock>() verrouille les pages sur I<size> octets à partir de l'adresse "
192 "I<addr>. Toutes les pages qui contiennent une partie de la zone mémoire "
193 "indiquée ont la garantie de résider en mémoire principale quand l'appel "
194 "réussit\\ ; elles ont la garantie de rester en mémoire principale jusqu'à "
195 "leur déverrouillage."
196
197 #. commit a8ca5d0ecbdde5cc3d7accacbd69968b0c98764e
198 #. commit de60f5f10c58d4f34b68622442c0e04180367f3f
199 #. commit b0f205c2a3082dd9081f9a94e50658c5fa906ff1
200 #. type: Plain text
201 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
202 #: opensuse-leap-16-1 opensuse-tumbleweed
203 msgid ""
204 "B<mlock2>() also locks pages in the specified range starting at I<addr> and "
205 "continuing for I<size> bytes. However, the state of the pages contained in "
206 "that range after the call returns successfully will depend on the value in "
207 "the I<flags> argument."
208 msgstr ""
209 "B<mlock>() verrouille aussi les pages de la plage indiquée sur I<size> "
210 "octets à partir de l'adresse I<addr>. Néanmoins, l'état des pages contenues "
211 "dans cette plage après un appel réussi dépendra de la valeur du paramètre "
212 "I<flags>."
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 "The I<flags> argument can be either 0 or the following constant:"
218 msgstr "L'argument I<flags> peut être B<0> ou la constante suivante :"
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<MLOCK_ONFAULT>"
225 msgstr "B<MLOCK_ONFAULT>"
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 ""
231 "Lock pages that are currently resident and mark the entire range so that the "
232 "remaining nonresident pages are locked when they are populated by a page "
233 "fault."
234 msgstr ""
235 "Verrouiller les pages actuellement résidentes et marquer toute la plage pour "
236 "que le reste des pages non résidentes se verrouillent quand elles se "
237 "remplissent d'erreurs de pagination."
238
239 #. type: Plain text
240 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
241 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
242 msgid "If I<flags> is 0, B<mlock2>() behaves exactly the same as B<mlock>()."
243 msgstr ""
244 "Si I<flags> vaut B<0>, B<mlock2>() se comporte exactement comme B<mlock>()."
245
246 #. type: Plain text
247 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
248 #: opensuse-leap-16-1 opensuse-tumbleweed
249 msgid ""
250 "B<munlock>() unlocks pages in the address range starting at I<addr> and "
251 "continuing for I<size> bytes. After this call, all pages that contain a "
252 "part of the specified memory range can be moved to external swap space again "
253 "by the kernel."
254 msgstr ""
255 "B<munlock>() déverrouille la mémoire sur I<size> octets à partir de "
256 "l'adresse I<addr>. Après cet appel, toutes les pages contenant une partie de "
257 "la zone mémoire indiquée peuvent de nouveau être évincées dans l'espace "
258 "d'échange par le noyau."
259
260 #. type: SS
261 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
262 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
263 #, no-wrap
264 msgid "mlockall() and munlockall()"
265 msgstr "mlockall() et munlockall()"
266
267 #. type: Plain text
268 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
269 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
270 msgid ""
271 "B<mlockall>() locks all pages mapped into the address space of the calling "
272 "process. This includes the pages of the code, data, and stack segment, as "
273 "well as shared libraries, user space kernel data, shared memory, and memory-"
274 "mapped files. All mapped pages are guaranteed to be resident in RAM when "
275 "the call returns successfully; the pages are guaranteed to stay in RAM until "
276 "later unlocked."
277 msgstr ""
278 "B<mlockall>() verrouille toutes les pages projetées dans l'espace "
279 "d'adressage du processus appelant. Cela inclut les pages de code, de données "
280 "et de pile, ainsi que les bibliothèques partagées, les données utilisateur "
281 "dans le noyau, la mémoire partagée, et les fichiers projetés en mémoire. "
282 "Toutes les pages projetées ont la garantie de résider en mémoire principale "
283 "quand l'appel réussit\\ ; elles ont la garantie de rester en mémoire "
284 "principale jusqu'à leur déverrouillage."
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 "The I<flags> argument is constructed as the bitwise OR of one or more of the "
291 "following constants:"
292 msgstr ""
293 "L'argument I<flags> est composé d'un I<OU> binaire avec les options "
294 "suivantes\\ :"
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_CURRENT>"
301 msgstr "B<MCL_CURRENT>"
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 are currently mapped into the address space of the "
308 "process."
309 msgstr ""
310 "Verrouiller toutes les pages actuellement projetées dans l'espace "
311 "d'adressage du processus."
312
313 #. type: TP
314 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
315 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
316 #, no-wrap
317 msgid "B<MCL_FUTURE>"
318 msgstr "B<MCL_FUTURE>"
319
320 #. type: Plain text
321 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
322 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
323 msgid ""
324 "Lock all pages which will become mapped into the address space of the "
325 "process in the future. These could be, for instance, new pages required by "
326 "a growing heap and stack as well as new memory-mapped files or shared memory "
327 "regions."
328 msgstr ""
329 "Verrouiller toutes les pages qui seront projetées dans l'espace d'adressage "
330 "du processus dans le futur. Il peut s'agir, par exemple, de nouvelles pages "
331 "nécessitées par la croissance du tas et de la pile, ou de nouveaux fichiers "
332 "projetés en mémoire, ou des zones de mémoire partagée."
333
334 #. type: TP
335 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
336 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
337 #, no-wrap
338 msgid "B<MCL_ONFAULT> (since Linux 4.4)"
339 msgstr "B<MCL_ONFAULT> (depuis Linux 4.4)"
340
341 #. type: Plain text
342 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
343 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
344 msgid ""
345 "Used together with B<MCL_CURRENT>, B<MCL_FUTURE>, or both. Mark all current "
346 "(with B<MCL_CURRENT>) or future (with B<MCL_FUTURE>) mappings to lock "
347 "pages when they are faulted in. When used with B<MCL_CURRENT>, all present "
348 "pages are locked, but B<mlockall>() will not fault in non-present pages. "
349 "When used with B<MCL_FUTURE>, all future mappings will be marked to lock "
350 "pages when they are faulted in, but they will not be populated by the lock "
351 "when the mapping is created. B<MCL_ONFAULT> must be used with either "
352 "B<MCL_CURRENT> or B<MCL_FUTURE> or both."
353 msgstr ""
354 "Utilisé avec B<MCL_CURRENT>, B<MCL_FUTURE> ou les deux. Marquer toutes les "
355 "projections actuelles (avec B<MCL_CURRENT>) ou futures (avec B<MCL_FUTURE>) "
356 "pour verrouiller les pages quand elles contiennent des erreurs. Si on "
357 "l'utilise avec B<MCL_CURRENT>, toutes les pages présentes sont verrouillées "
358 "mais B<mlockall>() ne rencontrera pas d'erreur sur des pages non présentes. "
359 "Quand on l'utilise avec B<MCL_FUTURE>, toutes les projections futures seront "
360 "marquées pour verrouiller les pages quand elles rencontreront une erreur, "
361 "mais elles ne seront pas remplies par le verrou lors de la création de la "
362 "projection. B<MCL_ONFAULT> doit être utilisé avec B<MCL_CURRENT>, "
363 "B<MCL_FUTURE> ou les deux."
364
365 #. type: Plain text
366 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
367 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
368 msgid ""
369 "If B<MCL_FUTURE> has been specified, then a later system call (e.g., "
370 "B<mmap>(2), B<sbrk>(2), B<malloc>(3)), may fail if it would cause the number "
371 "of locked bytes to exceed the permitted maximum (see below). In the same "
372 "circumstances, stack growth may likewise fail: the kernel will deny stack "
373 "expansion and deliver a B<SIGSEGV> signal to the process."
374 msgstr ""
375 "Si B<MCL_FUTURE> a été utilisé, un appel système ultérieur (p.ex. "
376 "B<mmap>(2), B<sbrk>(2), B<malloc>(3)) risque d'échouer s'il cause un "
377 "dépassement du nombre d'octets verrouillés autorisé (voir ci\\(hydessous). "
378 "Dans les mêmes circonstances, la croissance de la pile risque également "
379 "d'échouer\\ : le noyau interdira l'augmentation de la pile et enverra le "
380 "signal B<SIGSEGV> au processus."
381
382 #. type: Plain text
383 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
384 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
385 msgid ""
386 "B<munlockall>() unlocks all pages mapped into the address space of the "
387 "calling process."
388 msgstr ""
389 "B<munlockall>() déverrouille toutes les pages projetées dans l'espace "
390 "d'adressage du processus appelant."
391
392 #. type: SH
393 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
394 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
395 #, no-wrap
396 msgid "RETURN VALUE"
397 msgstr "VALEUR RENVOYÉE"
398
399 #. type: Plain text
400 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
401 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
402 msgid ""
403 "On success, these system calls return 0. On error, -1 is returned, I<errno> "
404 "is set to indicate the error, and no changes are made to any locks in the "
405 "address space of the process."
406 msgstr ""
407 "S'ils réussissent, ces appels système renvoient B<0>. En cas d'erreur, ils "
408 "renvoient B<-1>, I<errno> est positionné pour indiquer l'erreur et les "
409 "verrouillages de l'espace d'adressage du processus ne sont pas modifiés."
410
411 #. type: SH
412 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
413 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
414 #, no-wrap
415 msgid "ERRORS"
416 msgstr "ERREURS"
417
418 #. type: TP
419 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
420 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
421 #, no-wrap
422 msgid "B<EAGAIN>"
423 msgstr "B<EAGAIN>"
424
425 #. type: Plain text
426 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
427 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
428 msgid ""
429 "(B<mlock>(), B<mlock2>(), and B<munlock>()) Some or all of the specified "
430 "address range could not be locked."
431 msgstr ""
432 "(B<mlock>(), B<mlock2>() et B<munlock>()) Une partie (ou l'ensemble) de "
433 "l'espace d'adressage indiqué n'a pas pu être verrouillée."
434
435 #. type: TP
436 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
437 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
438 #, no-wrap
439 msgid "B<EINVAL>"
440 msgstr "B<EINVAL>"
441
442 #. type: Plain text
443 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
444 #: opensuse-leap-16-1 opensuse-tumbleweed
445 msgid ""
446 "(B<mlock>(), B<mlock2>(), and B<munlock>()) The result of the addition "
447 "I<addr>+I<size> was less than I<addr> (e.g., the addition may have resulted "
448 "in an overflow)."
449 msgstr ""
450 "(B<mlock>(), B<mlock2>() et B<munlock>()) La somme de I<addr>+I<size> était "
451 "inférieure à I<addr> (l'addition aurait pu conduire à un dépassement par "
452 "exemple)."
453
454 #. type: Plain text
455 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
456 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
457 msgid "(B<mlock2>()) Unknown I<flags> were specified."
458 msgstr "(B<mlock2>()) Des I<flags> inconnus étaient demandés."
459
460 #. type: Plain text
461 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
462 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
463 msgid ""
464 "(B<mlockall>()) Unknown I<flags> were specified or B<MCL_ONFAULT> was "
465 "specified without either B<MCL_FUTURE> or B<MCL_CURRENT>."
466 msgstr ""
467 "(B<mlockall>()) Des I<flags> inconnus ont été indiqués ou B<MCL_ONFAULT> a "
468 "été indiqué sans B<MCL_FUTURE> ou B<MCL_CURRENT>."
469
470 #. type: Plain text
471 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
472 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
473 msgid "(Not on Linux) I<addr> was not a multiple of the page size."
474 msgstr ""
475 "(Pas sous Linux) I<addr> n'est pas un multiple de la taille de la page."
476
477 #. type: TP
478 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
479 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
480 #, no-wrap
481 msgid "B<ENOMEM>"
482 msgstr "B<ENOMEM>"
483
484 #. type: Plain text
485 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
486 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
487 msgid ""
488 "(B<mlock>(), B<mlock2>(), and B<munlock>()) Some of the specified address "
489 "range does not correspond to mapped pages in the address space of the "
490 "process."
491 msgstr ""
492 "(B<mlock>(), B<mlock2>() et B<munlock>()) Une partie de la zone indiquée ne "
493 "correspond pas à des pages projetées dans l'espace d'adressage du processus."
494
495 #. I.e., the number of VMAs would exceed the 64kB maximum
496 #. type: Plain text
497 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
498 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
499 msgid ""
500 "(B<mlock>(), B<mlock2>(), and B<munlock>()) Locking or unlocking a region "
501 "would result in the total number of mappings with distinct attributes (e.g., "
502 "locked versus unlocked) exceeding the allowed maximum. (For example, "
503 "unlocking a range in the middle of a currently locked mapping would result "
504 "in three mappings: two locked mappings at each end and an unlocked mapping "
505 "in the middle.)"
506 msgstr ""
507 "(B<mlock>(), B<mlock2>() et B<munlock>()) Le verrouillage ou le "
508 "déverrouillage d'une région ferait dépasser le nombre maximum de projections "
509 "permises ayant des attributs distincts (comme verrouillé contre "
510 "déverrouillé). Par exemple, le déverrouillage d'une plage située au milieu "
511 "d'une projection actuellement verrouillée donnerait trois projections : deux "
512 "verrouillées de chaque côté et une déverrouillée au milieu."
513
514 #. type: Plain text
515 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
516 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
517 msgid ""
518 "(Linux 2.6.9 and later) the caller had a nonzero B<RLIMIT_MEMLOCK> soft "
519 "resource limit, but tried to lock more memory than the limit permitted. "
520 "This limit is not enforced if the process is privileged (B<CAP_IPC_LOCK>)."
521 msgstr ""
522 "(Linux 2.6.9 et plus récents) L'appelant avait une limite souple "
523 "B<RLIMIT_MEMLOCK> non nulle, mais a tenté de verrouiller plus de mémoire que "
524 "la quantité autorisée. Cette limite n'est pas imposée si le processus est "
525 "privilégié (B<CAP_IPC_LOCK>)."
526
527 #. In the case of mlock(), this check is somewhat buggy: it doesn't
528 #. take into account whether the to-be-locked range overlaps with
529 #. already locked pages. Thus, suppose we allocate
530 #. (num_physpages / 4 + 1) of memory, and lock those pages once using
531 #. mlock(), and then lock the *same* page range a second time.
532 #. In the case, the second mlock() call will fail, since the check
533 #. calculates that the process is trying to lock (num_physpages / 2 + 2)
534 #. pages, which of course is not true. (MTK, Nov 04, kernel 2.4.28)
535 #. type: Plain text
536 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
537 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
538 msgid ""
539 "(Linux 2.4 and earlier) the calling process tried to lock more than half of "
540 "RAM."
541 msgstr ""
542 "(Linux 2.4 et précédents) Le processus appelant a essayé de verrouiller plus "
543 "de la moitié de la mémoire vive."
544
545 #. type: TP
546 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
547 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
548 #, no-wrap
549 msgid "B<EPERM>"
550 msgstr "B<EPERM>"
551
552 #. type: Plain text
553 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
554 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
555 msgid ""
556 "The caller is not privileged, but needs privilege (B<CAP_IPC_LOCK>) to "
557 "perform the requested operation."
558 msgstr ""
559 "L'appelant n'est pas privilégié mais a besoin de droits (B<CAP_IPC_LOCK>) "
560 "pour réaliser les opérations demandées."
561
562 #. type: Plain text
563 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
564 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
565 msgid ""
566 "(B<munlockall>()) (Linux 2.6.8 and earlier) The caller was not privileged "
567 "(B<CAP_IPC_LOCK>)."
568 msgstr ""
569 "(B<munlockall>()) (Linux 2.6.8 et précédents) L'appelant n'est pas "
570 "privilégié (B<CAP_IPC_LOCK>)."
571
572 #. type: SH
573 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
574 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
575 #, no-wrap
576 msgid "VERSIONS"
577 msgstr "VERSIONS"
578
579 #. type: SS
580 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
581 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
582 #, no-wrap
583 msgid "Linux"
584 msgstr "Linux"
585
586 #. type: Plain text
587 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
588 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
589 msgid ""
590 "Under Linux, B<mlock>(), B<mlock2>(), and B<munlock>() automatically round "
591 "I<addr> down to the nearest page boundary. However, the POSIX.1 "
592 "specification of B<mlock>() and B<munlock>() allows an implementation to "
593 "require that I<addr> is page aligned, so portable applications should ensure "
594 "this."
595 msgstr ""
596 "Sous Linux, B<mlock>(), B<mlock2>() et B<munlock>() arrondissent "
597 "automatiquement I<addr> à la frontière de page la plus proche. Toutefois, la "
598 "spécification POSIX.1 de B<mlock>() et de B<munlock>() permet à "
599 "l'implémentation d'imposer que I<addr> soit alignée sur une frontière de "
600 "page. Les applications portables devraient s'en assurer."
601
602 #. type: Plain text
603 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
604 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
605 msgid ""
606 "The I<VmLck> field of the Linux-specific I</proc/>pidI</status> file shows "
607 "how many kilobytes of memory the process with ID I<PID> has locked using "
608 "B<mlock>(), B<mlock2>(), B<mlockall>(), and B<mmap>(2) B<MAP_LOCKED>."
609 msgstr ""
610 "Le champ I<VmLck> du fichier I</proc/>pidI</status> spécifique à Linux "
611 "indique le nombre de kilooctets de mémoire que le processus d'identifiant "
612 "I<PID> a verrouillé en utilisant B<mlock>(), B<mlock2>(), B<mlockall>() et "
613 "B<MAP_LOCKED> de B<mmap>(2)."
614
615 #. type: SH
616 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
617 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
618 #, no-wrap
619 msgid "STANDARDS"
620 msgstr "NORMES"
621
622 #. type: TP
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<mlock>()"
627 msgstr "B<mlock>()"
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<munlock>()"
634 msgstr "B<munlock>()"
635
636 #. type: TQ
637 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
638 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
639 #, no-wrap
640 msgid "B<mlockall>()"
641 msgstr "B<mlockall>()"
642
643 #. type: TQ
644 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
645 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
646 #, no-wrap
647 msgid "B<munlockall>()"
648 msgstr "B<munlockall>()"
649
650 #. type: Plain text
651 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
652 #: opensuse-tumbleweed
653 msgid "POSIX.1-2024."
654 msgstr "POSIX.1-2024."
655
656 #. type: TP
657 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
658 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
659 #, no-wrap
660 msgid "B<mlock2>()"
661 msgstr "B<mlock2>()"
662
663 #. type: Plain text
664 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
665 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
666 msgid "Linux."
667 msgstr "Linux."
668
669 #. type: Plain text
670 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
671 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
672 msgid ""
673 "On POSIX systems on which B<mlock>() and B<munlock>() are available, "
674 "B<_POSIX_MEMLOCK_RANGE> is defined in I<E<lt>unistd.hE<gt>> and the number "
675 "of bytes in a page can be determined from the constant B<PAGESIZE> (if "
676 "defined) in I<E<lt>limits.hE<gt>> or by calling I<sysconf(_SC_PAGESIZE)>."
677 msgstr ""
678 "Sur les systèmes POSIX où B<mlock>() et B<munlock>() sont disponibles, la "
679 "constante symbolique B<_POSIX_MEMLOCK_RANGE> est définie dans "
680 "I<E<lt>unistd.hE<gt>> et le nombre d'octets par page peut être déterminé "
681 "grâce à la constante B<PAGESIZE> si définie dans I<E<lt>limits.hE<gt>> ou en "
682 "appelant I<sysconf(_SC_PAGESIZE)>."
683
684 #. POSIX.1-2001: It shall be defined to -1 or 0 or 200112L.
685 #. -1: unavailable, 0: ask using sysconf().
686 #. glibc defines it to 1.
687 #. type: Plain text
688 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
689 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
690 msgid ""
691 "On POSIX systems on which B<mlockall>() and B<munlockall>() are available, "
692 "B<_POSIX_MEMLOCK> is defined in I<E<lt>unistd.hE<gt>> to a value greater "
693 "than 0. (See also B<sysconf>(3).)"
694 msgstr ""
695 "Sur les systèmes POSIX sur lesquels B<mlockall>() et B<munlockall>() sont "
696 "disponibles, la constante symbolique B<_POSIX_MEMLOCK> est définie dans "
697 "I<E<lt>unistd.hE<gt>> comme étant une valeur supérieure à B<0>. (Consultez "
698 "aussi B<sysconf>(3).)"
699
700 #. type: SH
701 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
702 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
703 #, no-wrap
704 msgid "HISTORY"
705 msgstr "HISTORIQUE"
706
707 #. type: Plain text
708 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
709 #: opensuse-tumbleweed
710 #, fuzzy
711 #| msgid "SVr4, POSIX.1-2001."
712 msgid "SVr4, POSIX.1-1996."
713 msgstr "SVr4, POSIX.1-2001."
714
715 #. type: Plain text
716 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
717 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
718 msgid "Linux 4.4, glibc 2.27."
719 msgstr "Linux 4.4, glibc 2.27."
720
721 #. type: SH
722 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
723 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
724 #, no-wrap
725 msgid "NOTES"
726 msgstr "NOTES"
727
728 #. type: Plain text
729 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
730 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
731 msgid ""
732 "Memory locking has two main applications: real-time algorithms and high-"
733 "security data processing. Real-time applications require deterministic "
734 "timing, and, like scheduling, paging is one major cause of unexpected "
735 "program execution delays. Real-time applications will usually also switch "
736 "to a real-time scheduler with B<sched_setscheduler>(2). Cryptographic "
737 "security software often handles critical bytes like passwords or secret keys "
738 "as data structures. As a result of paging, these secrets could be "
739 "transferred onto a persistent swap store medium, where they might be "
740 "accessible to the enemy long after the security software has erased the "
741 "secrets in RAM and terminated. (But be aware that the suspend mode on "
742 "laptops and some desktop computers will save a copy of the system's RAM to "
743 "disk, regardless of memory locks.)"
744 msgstr ""
745 "Il y a deux domaines principaux d'applications du verrouillage de pages\\ : "
746 "les algorithmes en temps réel et le traitement de données confidentielles. "
747 "Les applications temps réel réclament un comportement temporel déterministe, "
748 "et la pagination est, avec l'ordonnancement, une cause majeure de délais "
749 "imprévus. Ces algorithmes basculent habituellement sur un ordonnancement "
750 "temps\\(hyréel avec B<sched_setscheduler>(2). Les logiciels de cryptographie "
751 "manipulent souvent quelques octets hautement confidentiels, comme des mots "
752 "de passe ou des clés privées. À cause de la pagination, ces données secrètes "
753 "risquent d'être transférées sur un support physique où elles pourraient être "
754 "lues par un ennemi longtemps après que le logiciel se soit terminé. Soyez "
755 "toutefois conscient que le mode suspendu sur les portables et certains "
756 "ordinateurs de bureau sauvegardent une copie de la mémoire sur le disque, "
757 "quels que soient les verrouillages."
758
759 #. type: Plain text
760 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
761 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
762 msgid ""
763 "Real-time processes that are using B<mlockall>() to prevent delays on page "
764 "faults should reserve enough locked stack pages before entering the time-"
765 "critical section, so that no page fault can be caused by function calls. "
766 "This can be achieved by calling a function that allocates a sufficiently "
767 "large automatic variable (an array) and writes to the memory occupied by "
768 "this array in order to touch these stack pages. This way, enough pages will "
769 "be mapped for the stack and can be locked into RAM. The dummy writes ensure "
770 "that not even copy-on-write page faults can occur in the critical section."
771 msgstr ""
772 "Les processus temps\\(hyréel utilisant B<mlockall>() pour éviter les délais "
773 "dus à la pagination doivent réserver assez de pages verrouillées pour la "
774 "pile avant d'entrer dans la section temporellement critique, afin qu'aucun "
775 "défaut de page ne survienne lors d'un appel de fonction. Cela peut être "
776 "obtenu en appelant une fonction qui alloue une variable automatique "
777 "suffisamment grande (comme un tableau) et écrit dans la mémoire occupée par "
778 "ce tableau afin de modifier ces pages de pile. Ainsi, suffisamment de pages "
779 "seront projetées pour la pile et pourront être verrouillées. Les écritures "
780 "bidon permettent de s'assurer que même les pages copiées à l'écriture ne "
781 "causeront pas de défaut de page dans la section critique."
782
783 #. type: Plain text
784 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
785 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
786 msgid ""
787 "Memory locks are not inherited by a child created via B<fork>(2) and are "
788 "automatically removed (unlocked) during an B<execve>(2) or when the process "
789 "terminates. The B<mlockall>() B<MCL_FUTURE> and B<MCL_FUTURE | "
790 "MCL_ONFAULT> settings are not inherited by a child created via B<fork>(2) "
791 "and are cleared during an B<execve>(2)."
792 msgstr ""
793 "Les verrouillages de mémoire ne sont pas récupérés par un enfant lors d'un "
794 "B<fork>(2) et sont automatiquement supprimés (déverrouillés) au cours d'un "
795 "B<execve>(2) ou lorsque le processus se termine. Les paramètres "
796 "B<MCL_FUTURE> et B<MCL_FUTURE | MCL_ONFAULT> de B<mlockall>() ne sont pas "
797 "récupérés par un enfant créé par B<fork>(2) et sont effacés au cours d'un "
798 "B<execve>(2)."
799
800 #. type: Plain text
801 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
802 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
803 msgid ""
804 "Note that B<fork>(2) will prepare the address space for a copy-on-write "
805 "operation. The consequence is that any write access that follows will cause "
806 "a page fault that in turn may cause high latencies for a real-time process. "
807 "Therefore, it is crucial not to invoke B<fork>(2) after an B<mlockall>() "
808 "or B<mlock>() operation\\[em]not even from a thread which runs at a low "
809 "priority within a process which also has a thread running at elevated "
810 "priority."
811 msgstr ""
812 "Remarquez que B<fork>(2) préparera l'espace d'adressage pour une opération "
813 "copie-en-écriture. La conséquence est que tout accès en écriture consécutif "
814 "créera une erreur de pagination qui, elle-même, peut causer des latences "
815 "importantes dans un processus en temps réel. Il est donc crucial de ne pas "
816 "appeler B<fork>(2) après des opérations B<mlockall>() ou B<mlock>() ; même à "
817 "partir d'un thread qui tourne en priorité basse dans un processus dont un "
818 "thread tourne en priorité haute."
819
820 #. type: Plain text
821 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
822 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
823 msgid ""
824 "The memory lock on an address range is automatically removed if the address "
825 "range is unmapped via B<munmap>(2)."
826 msgstr ""
827 "Le verrouillage de mémoire sur une zone est automatiquement enlevé si la "
828 "zone est invalidée par B<munmap>(2)."
829
830 #. type: Plain text
831 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
832 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
833 msgid ""
834 "Memory locks do not stack, that is, pages which have been locked several "
835 "times by calls to B<mlock>(), B<mlock2>(), or B<mlockall>() will be "
836 "unlocked by a single call to B<munlock>() for the corresponding range or by "
837 "B<munlockall>(). Pages which are mapped to several locations or by several "
838 "processes stay locked into RAM as long as they are locked at least at one "
839 "location or by at least one process."
840 msgstr ""
841 "Il n'y a pas d'empilement des verrouillages mémoire, ce qui signifie qu'une "
842 "page verrouillée plusieurs fois par des appels B<mlock>(), B<mlock2>() ou "
843 "B<mlockall>() sera libérée en un seul appel à B<munlock>() pour la zone "
844 "mémoire correspondante ou par un appel à B<munlockall>(). Les pages qui sont "
845 "projetées à plusieurs endroits ou par plusieurs processus restent "
846 "verrouillées en mémoire vive tant qu'il y a au moins un processus ou une "
847 "zone qui les verrouille."
848
849 #. type: Plain text
850 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
851 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
852 msgid ""
853 "If a call to B<mlockall>() which uses the B<MCL_FUTURE> flag is followed by "
854 "another call that does not specify this flag, the changes made by the "
855 "B<MCL_FUTURE> call will be lost."
856 msgstr ""
857 "Si un appel à B<mlockall>(), qui utilise l'attribut B<MCL_FUTURE>, est suivi "
858 "d'un autre appel qui n'indique pas cet attribut, les changements effectués "
859 "par l'appel B<MCL_FUTURE> seront perdus."
860
861 #. type: Plain text
862 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
863 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
864 msgid ""
865 "The B<mlock2>() B<MLOCK_ONFAULT> flag and the B<mlockall>() B<MCL_ONFAULT> "
866 "flag allow efficient memory locking for applications that deal with large "
867 "mappings where only a (small) portion of pages in the mapping are touched. "
868 "In such cases, locking all of the pages in a mapping would incur a "
869 "significant penalty for memory locking."
870 msgstr ""
871 "L'attribut B<MLOCK_ONFAULT> de B<mlock2>() et celui B<MCL_ONFAULT> de "
872 "B<mlockall>() permettent un verrouillage efficace de la mémoire pour les "
873 "applications qui ont à faire à de grandes projections où seulement une "
874 "(petite) partie des pages de la projection sont modifiées. Dans ce cas, le "
875 "verrouillage de toutes les pages d'une projection risquerait une sanction "
876 "lourde de verrouillage de mémoire."
877
878 #. type: SS
879 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
880 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
881 #, no-wrap
882 msgid "Limits and permissions"
883 msgstr "Limites et permissions"
884
885 #. type: Plain text
886 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
887 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
888 msgid ""
889 "In Linux 2.6.8 and earlier, a process must be privileged (B<CAP_IPC_LOCK>) "
890 "in order to lock memory and the B<RLIMIT_MEMLOCK> soft resource limit "
891 "defines a limit on how much memory the process may lock."
892 msgstr ""
893 "Sous Linux 2.6.8 et précédents, un processus doit être privilégié "
894 "(B<CAP_IPC_LOCK>) pour verrouiller de la mémoire et la limite souple "
895 "B<RLIMIT_MEMLOCK> définit le nombre maximal d'octets que le processus peut "
896 "verrouiller en mémoire."
897
898 #. type: Plain text
899 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
900 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
901 msgid ""
902 "Since Linux 2.6.9, no limits are placed on the amount of memory that a "
903 "privileged process can lock and the B<RLIMIT_MEMLOCK> soft resource limit "
904 "instead defines a limit on how much memory an unprivileged process may lock."
905 msgstr ""
906 "Depuis Linux 2.6.9, aucune limite n'est placée sur la quantité de mémoire "
907 "pouvant être verrouillée par un processus privilégié, et la limite souple "
908 "B<RLIMIT_MEMLOCK> définit la quantité maximale de mémoire pouvant être "
909 "verrouillée par un processus non privilégié."
910
911 #. type: SH
912 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
913 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
914 #, no-wrap
915 msgid "BUGS"
916 msgstr "BOGUES"
917
918 #. commit 0cf2f6f6dc605e587d2c1120f295934c77e810e8
919 #. type: Plain text
920 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
921 #: opensuse-leap-16-1 opensuse-tumbleweed
922 msgid ""
923 "In Linux 4.8 and earlier, a bug in the kernel's accounting of locked memory "
924 "for unprivileged processes (i.e., without B<CAP_IPC_LOCK>) meant that if "
925 "the region specified by I<addr> and I<size> overlapped an existing lock, "
926 "then the already locked bytes in the overlapping region were counted twice "
927 "when checking against the limit. Such double accounting could incorrectly "
928 "calculate a \"total locked memory\" value for the process that exceeded the "
929 "B<RLIMIT_MEMLOCK> limit, with the result that B<mlock>() and B<mlock2>() "
930 "would fail on requests that should have succeeded. This bug was fixed in "
931 "Linux 4.9."
932 msgstr ""
933 "Dans Linux 4.8 et antérieurs, un bogue dans le calcul par le noyau de la "
934 "mémoire verrouillée pour les processus non privilégiés (à savoir sans "
935 "B<CAP_IPC_LOCK>) faisait que si la région indiquée par I<addr> et I<size> "
936 "incluait un verrou existant, les octets déjà verrouillés dans la région "
937 "incluante étaient comptés deux fois lors de la vérification de leur atteinte "
938 "de limite. Un tel double comptage calculerait mal une valeur de « mémoire "
939 "verrouillée totale » du processus qui a dépassé la limite B<RLIMIT_MEMLOCK>, "
940 "si bien que B<mlock>() et B<mlock2>() échoueraient sur des requêtes qui "
941 "auraient dû réussir. Ce bogue a été corrigé dans Linux 4.9."
942
943 #. type: Plain text
944 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
945 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
946 msgid ""
947 "In Linux 2.4 series of kernels up to and including Linux 2.4.17, a bug "
948 "caused the B<mlockall>() B<MCL_FUTURE> flag to be inherited across a "
949 "B<fork>(2). This was rectified in Linux 2.4.18."
950 msgstr ""
951 "Dans Linux de la branche 2.4 des noyaux, jusqu'à Linux 2.4.17 inclus, le "
952 "paramètre B<MCL_FUTURE> de B<mlockall>() était hérité par l'enfant après un "
953 "B<fork>(2) en raison d'un bogue. Cela a été corrigé dans Linux 2.4.18."
954
955 #. See the following LKML thread:
956 #. http://marc.theaimsgroup.com/?l=linux-kernel&m=113801392825023&w=2
957 #. "Rationale for RLIMIT_MEMLOCK"
958 #. 23 Jan 2006
959 #. type: Plain text
960 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
961 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
962 msgid ""
963 "Since Linux 2.6.9, if a privileged process calls I<mlockall(MCL_FUTURE)> and "
964 "later drops privileges (loses the B<CAP_IPC_LOCK> capability by, for "
965 "example, setting its effective UID to a nonzero value), then subsequent "
966 "memory allocations (e.g., B<mmap>(2), B<brk>(2)) will fail if the "
967 "B<RLIMIT_MEMLOCK> resource limit is encountered."
968 msgstr ""
969 "Depuis Linux 2.6.9, si un processus privilégié appelle "
970 "I<mlockall(MCL_FUTURE)> et réduit ses privilèges plus tard (perd la capacité "
971 "B<CAP_IPC_LOCK>, par exemple en prenant un UID effectif non nul), les "
972 "allocations de mémoires suivantes (p.ex. B<mmap>(2), B<brk>(2)) échoueront "
973 "si la limite B<RLIMIT_MEMLOCK> est dépassée."
974
975 #. type: SH
976 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
977 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
978 #, no-wrap
979 msgid "SEE ALSO"
980 msgstr "VOIR AUSSI"
981
982 #. type: Plain text
983 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
984 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
985 msgid ""
986 "B<mincore>(2), B<mmap>(2), B<setrlimit>(2), B<shmctl>(2), B<sysconf>(3), "
987 "B<proc>(5), B<capabilities>(7)"
988 msgstr ""
989 "B<mincore>(2), B<mmap>(2), B<setrlimit>(2), B<shmctl>(2), B<sysconf>(3), "
990 "B<proc>(5), B<capabilities>(7)"
991
992 #. type: TH
993 #: debian-trixie
994 #, no-wrap
995 msgid "2024-05-02"
996 msgstr "2 mai 2024"
997
998 #. type: TH
999 #: debian-trixie
1000 #, no-wrap
1001 msgid "Linux man-pages 6.9.1"
1002 msgstr "Pages du manuel de Linux 6.9.1"
1003
1004 #. type: Plain text
1005 #: debian-trixie
1006 msgid "Standard C library (I<libc>, I<-lc>)"
1007 msgstr "Bibliothèque C standard (I<libc>, I<-lc>)"
1008
1009 #. type: Plain text
1010 #: debian-trixie
1011 #, no-wrap
1012 msgid ""
1013 "B<int mlock(const void >I<addr>B<[.>I<len>B<], size_t >I<len>B<);>\n"
1014 "B<int mlock2(const void >I<addr>B<[.>I<len>B<], size_t >I<len>B<, unsigned int >I<flags>B<);>\n"
1015 "B<int munlock(const void >I<addr>B<[.>I<len>B<], size_t >I<len>B<);>\n"
1016 msgstr ""
1017 "B<int mlock(const void >I<addr>B<[.>I<len>B<], size_t >I<len>B<);>\n"
1018 "B<int mlock2(const void >I<addr>B<[.>I<len>B<], size_t >I<len>B<, unsigned int >I<flags>B<);>\n"
1019 "B<int munlock(const void >I<addr>B<[.>I<len>B<], size_t >I<len>B<);>\n"
1020
1021 #. type: Plain text
1022 #: debian-trixie
1023 msgid ""
1024 "B<mlock>() locks pages in the address range starting at I<addr> and "
1025 "continuing for I<len> bytes. All pages that contain a part of the specified "
1026 "address range are guaranteed to be resident in RAM when the call returns "
1027 "successfully; the pages are guaranteed to stay in RAM until later unlocked."
1028 msgstr ""
1029 "B<mlock>() verrouille les pages sur I<len> octets à partir de l'adresse "
1030 "I<addr>. Toutes les pages qui contiennent une partie de la zone mémoire "
1031 "indiquée ont la garantie de résider en mémoire principale quand l'appel "
1032 "réussit\\ ; elles ont la garantie de rester en mémoire principale jusqu'à "
1033 "leur déverrouillage."
1034
1035 #. commit a8ca5d0ecbdde5cc3d7accacbd69968b0c98764e
1036 #. commit de60f5f10c58d4f34b68622442c0e04180367f3f
1037 #. commit b0f205c2a3082dd9081f9a94e50658c5fa906ff1
1038 #. type: Plain text
1039 #: debian-trixie
1040 msgid ""
1041 "B<mlock2>() also locks pages in the specified range starting at I<addr> and "
1042 "continuing for I<len> bytes. However, the state of the pages contained in "
1043 "that range after the call returns successfully will depend on the value in "
1044 "the I<flags> argument."
1045 msgstr ""
1046 "B<mlock>() verrouille aussi les pages de la plage indiquée sur I<len> octets "
1047 "à partir de l'adresse I<addr>. Néanmoins, l'état des pages contenues dans "
1048 "cette plage après un appel réussi dépendra de la valeur du paramètre "
1049 "I<flags>."
1050
1051 #. type: Plain text
1052 #: debian-trixie
1053 msgid ""
1054 "B<munlock>() unlocks pages in the address range starting at I<addr> and "
1055 "continuing for I<len> bytes. After this call, all pages that contain a part "
1056 "of the specified memory range can be moved to external swap space again by "
1057 "the kernel."
1058 msgstr ""
1059 "B<munlock>() déverrouille la mémoire sur I<len> octets à partir de l'adresse "
1060 "I<addr>. Après cet appel, toutes les pages contenant une partie de la zone "
1061 "mémoire indiquée peuvent de nouveau être évincées dans l'espace d'échange "
1062 "par le noyau."
1063
1064 #. type: Plain text
1065 #: debian-trixie
1066 msgid ""
1067 "(B<mlock>(), B<mlock2>(), and B<munlock>()) The result of the addition "
1068 "I<addr>+I<len> was less than I<addr> (e.g., the addition may have resulted "
1069 "in an overflow)."
1070 msgstr ""
1071 "(B<mlock>(), B<mlock2>() et B<munlock>()) La somme de I<addr>+I<len> était "
1072 "inférieure à I<addr> (l'addition aurait pu conduire à un dépassement par "
1073 "exemple)."
1074
1075 #. type: Plain text
1076 #: debian-trixie fedora-44 fedora-rawhide
1077 msgid "POSIX.1-2008."
1078 msgstr "POSIX.1-2008."
1079
1080 #. type: Plain text
1081 #: debian-trixie fedora-44 fedora-rawhide
1082 msgid "POSIX.1-2001, POSIX.1-2008, SVr4."
1083 msgstr "POSIX.1-2001, POSIX.1-2008, SVr4."
1084
1085 #. commit 0cf2f6f6dc605e587d2c1120f295934c77e810e8
1086 #. type: Plain text
1087 #: debian-trixie
1088 msgid ""
1089 "In Linux 4.8 and earlier, a bug in the kernel's accounting of locked memory "
1090 "for unprivileged processes (i.e., without B<CAP_IPC_LOCK>) meant that if "
1091 "the region specified by I<addr> and I<len> overlapped an existing lock, then "
1092 "the already locked bytes in the overlapping region were counted twice when "
1093 "checking against the limit. Such double accounting could incorrectly "
1094 "calculate a \"total locked memory\" value for the process that exceeded the "
1095 "B<RLIMIT_MEMLOCK> limit, with the result that B<mlock>() and B<mlock2>() "
1096 "would fail on requests that should have succeeded. This bug was fixed in "
1097 "Linux 4.9."
1098 msgstr ""
1099 "Dans Linux 4.8 et antérieurs, un bogue dans le calcul par le noyau de la "
1100 "mémoire verrouillée pour les processus non privilégiés (à savoir sans "
1101 "B<CAP_IPC_LOCK>) faisait que si la région indiquée par I<addr> et I<len> "
1102 "incluait un verrou existant, les octets déjà verrouillés dans la région "
1103 "incluante étaient comptés deux fois lors de la vérification de leur atteinte "
1104 "de limite. Un tel double comptage calculerait mal une valeur de « mémoire "
1105 "verrouillée totale » du processus qui a dépassé la limite B<RLIMIT_MEMLOCK>, "
1106 "si bien que B<mlock>() et B<mlock2>() échoueraient sur des requêtes qui "
1107 "auraient dû réussir. Ce bogue a été corrigé dans Linux 4.9."
1108
1109 #. type: TH
1110 #: fedora-44 fedora-rawhide
1111 #, no-wrap
1112 msgid "2024-11-17"
1113 msgstr "17 novembre 2024"
1114
1115 #. type: TH
1116 #: fedora-44 fedora-rawhide
1117 #, no-wrap
1118 msgid "Linux man-pages 6.13"
1119 msgstr "Pages du manuel de Linux 6.13"
1120
1121 #. type: Plain text
1122 #: fedora-44 fedora-rawhide
1123 #, no-wrap
1124 msgid ""
1125 "B<int mlock(const void >I<addr>B<[.>I<size>B<], size_t >I<size>B<);>\n"
1126 "B<int mlock2(const void >I<addr>B<[.>I<size>B<], size_t >I<size>B<, unsigned int >I<flags>B<);>\n"
1127 "B<int munlock(const void >I<addr>B<[.>I<size>B<], size_t >I<size>B<);>\n"
1128 msgstr ""
1129 "B<int mlock(const void >I<addr>B<[.>I<size>B<], size_t >I<size>B<);>\n"
1130 "B<int mlock2(const void >I<addr>B<[.>I<size>B<], size_t >I<size>B<, unsigned int >I<flags>B<);>\n"
1131 "B<int munlock(const void >I<addr>B<[.>I<size>B<], size_t >I<size>B<);>\n"
1132
1133 #. type: TH
1134 #: mageia-cauldron
1135 #, no-wrap
1136 msgid "Linux man-pages 6.17"
1137 msgstr "Pages du manuel de Linux 6.17"
1138
1139 #. type: TH
1140 #: opensuse-leap-16-1 opensuse-tumbleweed
1141 #, no-wrap
1142 msgid "Linux man-pages (unreleased)"
1143 msgstr "Pages du manuel de Linux (non publiées)"