Debian Codegraph @

po/fr/man2/mmap.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-2024.
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: 2024-06-02 10:57+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 "mmap"
38 msgstr "mmap"
39
40 #. type: TH
41 #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed
42 #, no-wrap
43 msgid "2026-03-19"
44 msgstr "19 mars 2026"
45
46 #. type: TH
47 #: archlinux debian-unstable
48 #, no-wrap
49 msgid "Linux man-pages 6.18"
50 msgstr "Pages du manuel de Linux 6.18"
51
52 #. type: SH
53 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
54 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
55 #, no-wrap
56 msgid "NAME"
57 msgstr "NOM"
58
59 #. type: Plain text
60 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
61 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
62 msgid "mmap, munmap - map or unmap files or devices into memory"
63 msgstr ""
64 "mmap, munmap - Établir/supprimer une projection en mémoire (map/unmap) des "
65 "fichiers ou des périphériques"
66
67 #. type: SH
68 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
69 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
70 #, no-wrap
71 msgid "LIBRARY"
72 msgstr "BIBLIOTHÈQUE"
73
74 #. type: Plain text
75 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
76 #: opensuse-leap-16-1 opensuse-tumbleweed
77 msgid "Standard C library (I<libc>,\\ I<-lc>)"
78 msgstr "Bibliothèque C standard (I<libc>,\\ I<-lc>)"
79
80 #. type: SH
81 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
82 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
83 #, no-wrap
84 msgid "SYNOPSIS"
85 msgstr "SYNOPSIS"
86
87 #. type: Plain text
88 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
89 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
90 #, no-wrap
91 msgid "B<#include E<lt>sys/mman.hE<gt>>\n"
92 msgstr "B<#include E<lt>sys/mman.hE<gt>>\n"
93
94 #. type: Plain text
95 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
96 #: opensuse-tumbleweed
97 #, fuzzy, no-wrap
98 #| msgid ""
99 #| "B<void *mmap(void >I<addr>B<[.>I<length>B<], size_t >I<length>B<, int >I<prot>B<, int >I<flags>B<,>\n"
100 #| "B< int >I<fd>B<, off_t >I<offset>B<);>\n"
101 #| "B<int munmap(void >I<addr>B<[.>I<length>B<], size_t >I<length>B<);>\n"
102 msgid ""
103 "B<void *mmap(>size_t length;\n"
104 "B< void >I<addr>B<[>I<length>B<], size_t >I<length>B<, int >I<prot>B<, int >I<flags>B<,>\n"
105 "B< int >I<fd>B<, off_t >I<offset>B<);>\n"
106 "B<int munmap(>size_t length;\n"
107 "B< void >I<addr>B<[>I<length>B<], size_t >I<length>B<);>\n"
108 msgstr ""
109 "B<void *mmap(void >I<addr>B<[.>I<length>B<], size_t >I<length>B<, int >I<prot>B<, int >I<flags>B<,>\n"
110 "B< int >I<fd>B<, off_t >I<offset>B<);>\n"
111 "B<int munmap(void >I<addr>B<[.>I<length>B<], size_t >I<length>B<);>\n"
112
113 #. type: Plain text
114 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
115 #: opensuse-leap-16-1 opensuse-tumbleweed
116 msgid "See VERSIONS for information on feature test macro requirements."
117 msgstr ""
118 "Consultez la section VERSIONS pour plus d'informations sur les exigences de "
119 "la macro de test de fonctionnalité."
120
121 #. type: SH
122 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
123 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
124 #, no-wrap
125 msgid "DESCRIPTION"
126 msgstr "DESCRIPTION"
127
128 #. type: Plain text
129 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
130 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
131 msgid ""
132 "B<mmap>() creates a new mapping in the virtual address space of the calling "
133 "process. The starting address for the new mapping is specified in I<addr>. "
134 "The I<length> argument specifies the length of the mapping (which must be "
135 "greater than 0)."
136 msgstr ""
137 "B<mmap>() crée une nouvelle projection dans l'espace d'adressage virtuel du "
138 "processus appelant. L'adresse de démarrage de la nouvelle projection est "
139 "indiquée dans I<addr>. Le paramètre I<length> indique la longueur de la "
140 "projection (qui doit être supérieure à B<0>)."
141
142 #. Before Linux 2.6.24, the address was rounded up to the next page
143 #. boundary; since Linux 2.6.24, it is rounded down!
144 #. type: Plain text
145 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
146 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
147 msgid ""
148 "If I<addr> is NULL, then the kernel chooses the (page-aligned) address at "
149 "which to create the mapping; this is the most portable method of creating a "
150 "new mapping. If I<addr> is not NULL, then the kernel takes it as a hint "
151 "about where to place the mapping; on Linux, the kernel will pick a nearby "
152 "page boundary (but always above or equal to the value specified by I</proc/"
153 "sys/vm/mmap_min_addr>) and attempt to create the mapping there. If another "
154 "mapping already exists there, the kernel picks a new address that may or may "
155 "not depend on the hint. The address of the new mapping is returned as the "
156 "result of the call."
157 msgstr ""
158 "Si I<addr> est NULL, le noyau choisit l'adresse (alignée sur une page) à "
159 "laquelle démarrer la projection\\ ; c'est la méthode la plus portable pour "
160 "créer une nouvelle projection. Si I<addr> n'est pas NULL, le noyau le "
161 "considère comme une indication sur l'endroit où placer la projection\\ ; "
162 "sous Linux, elle sera placée à une frontière de page proche (mais toujours "
163 "supérieure ou égale à la valeur indiquée par I</proc/sys/vm/mmap_min_addr>) "
164 "et tente d'y créer la projection. Si une projection y existe déjà, le noyau "
165 "prend une nouvelle adresse qui peut ou pas dépendre de l'indication. "
166 "L'adresse de la nouvelle projection est renvoyée comme résultat de l'appel."
167
168 #. type: Plain text
169 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
170 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
171 msgid ""
172 "The contents of a file mapping (as opposed to an anonymous mapping; see "
173 "B<MAP_ANONYMOUS> below), are initialized using I<length> bytes starting at "
174 "offset I<offset> in the file (or other object) referred to by the file "
175 "descriptor I<fd>. I<offset> must be a multiple of the page size as returned "
176 "by I<sysconf(_SC_PAGE_SIZE)>."
177 msgstr ""
178 "Le contenu d'une projection de fichier (par opposition à une projection "
179 "anonyme\\ ; voir ci-dessous B<MAP_ANONYMOUS>) est initialisé avec I<length> "
180 "octets à partir de la position I<offset> dans le fichier (ou autre objet) "
181 "correspondant au descripteur de fichier I<fd>. I<offset> doit être un "
182 "multiple de la taille de la page renvoyée par I<sysconf(_SC_PAGE_SIZE)>."
183
184 #. type: Plain text
185 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
186 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
187 msgid ""
188 "After the B<mmap>() call has returned, the file descriptor, I<fd>, can be "
189 "closed immediately without invalidating the mapping."
190 msgstr ""
191 "Après le retour de l'appel B<mmap>(), le descripteur de fichier I<fd> peut "
192 "être fermé immédiatement sans invalider la projection."
193
194 #. type: Plain text
195 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
196 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
197 msgid ""
198 "The I<prot> argument describes the desired memory protection of the mapping "
199 "(and must not conflict with the open mode of the file). It is either "
200 "B<PROT_NONE> or the bitwise OR of one or more of the following flags:"
201 msgstr ""
202 "L'argument I<prot> indique la protection que l'on désire pour cette zone de "
203 "mémoire et ne doit pas entrer en conflit avec le mode d'ouverture du "
204 "fichier. Il s'agit soit de B<PROT_NONE> (le contenu de la mémoire est "
205 "inaccessible) soit d'un OU binaire entre les constantes suivantes\\ :"
206
207 #. type: TP
208 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
209 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
210 #, no-wrap
211 msgid "B<PROT_EXEC>"
212 msgstr "B<PROT_EXEC>"
213
214 #. type: Plain text
215 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
216 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
217 msgid "Pages may be executed."
218 msgstr "Il est possible d'exécuter les pages."
219
220 #. type: TP
221 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
222 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
223 #, no-wrap
224 msgid "B<PROT_READ>"
225 msgstr "B<PROT_READ>"
226
227 #. type: Plain text
228 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
229 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
230 msgid "Pages may be read."
231 msgstr "Il est possible de lire les pages."
232
233 #. type: TP
234 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
235 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
236 #, no-wrap
237 msgid "B<PROT_WRITE>"
238 msgstr "B<PROT_WRITE>"
239
240 #. type: Plain text
241 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
242 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
243 msgid "Pages may be written."
244 msgstr "Il est possible d'écrire les pages."
245
246 #. type: TP
247 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
248 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
249 #, no-wrap
250 msgid "B<PROT_NONE>"
251 msgstr "B<PROT_NONE>"
252
253 #. type: Plain text
254 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
255 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
256 msgid "Pages may not be accessed."
257 msgstr "Il n'est pas possible d'accéder aux pages."
258
259 #. type: SS
260 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
261 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
262 #, no-wrap
263 msgid "The flags argument"
264 msgstr "Le paramètre des attributs"
265
266 #. type: Plain text
267 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
268 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
269 msgid ""
270 "The I<flags> argument determines whether updates to the mapping are visible "
271 "to other processes mapping the same region, and whether updates are carried "
272 "through to the underlying file. This behavior is determined by including "
273 "exactly one of the following values in I<flags>:"
274 msgstr ""
275 "Le paramètre I<flags> détermine si les modifications de la projection sont "
276 "visibles depuis les autres processus projetant la même région et si les "
277 "modifications sont appliquées au fichier sous-jacent. Ce comportement est "
278 "déterminé en incluant exactement une des valeurs suivantes dans I<flags>\\ :"
279
280 #. type: TP
281 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
282 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
283 #, no-wrap
284 msgid "B<MAP_SHARED>"
285 msgstr "B<MAP_SHARED>"
286
287 #. type: Plain text
288 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
289 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
290 msgid ""
291 "Share this mapping. Updates to the mapping are visible to other processes "
292 "mapping the same region, and (in the case of file-backed mappings) are "
293 "carried through to the underlying file. (To precisely control when updates "
294 "are carried through to the underlying file requires the use of B<msync>(2).)"
295 msgstr ""
296 "Partager la projection. Les modifications de la projection sont visibles "
297 "dans les autres processus qui projettent la même région et (en cas de "
298 "projection file-backed) elles sont appliquées au fichier sous-jacent (pour "
299 "contrôler précisément le moment des mises à jour du fichier sous-jacent, il "
300 "faut utiliser B<msync>(2))."
301
302 #. type: TP
303 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
304 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
305 #, no-wrap
306 msgid "B<MAP_SHARED_VALIDATE> (since Linux 4.15)"
307 msgstr "B<MAP_SHARED_VALIDATE> (depuis Linux 4.15)"
308
309 #. type: Plain text
310 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
311 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
312 msgid ""
313 "This flag provides the same behavior as B<MAP_SHARED> except that "
314 "B<MAP_SHARED> mappings ignore unknown flags in I<flags>. By contrast, when "
315 "creating a mapping using B<MAP_SHARED_VALIDATE>, the kernel verifies all "
316 "passed flags are known and fails the mapping with the error B<EOPNOTSUPP> "
317 "for unknown flags. This mapping type is also required to be able to use "
318 "some mapping flags (e.g., B<MAP_SYNC>)."
319 msgstr ""
320 "Cet attribut apporte le même comportement que B<MAP_SHARED> sauf que les "
321 "projections B<MAP_SHARED> ignorent les attributs inconnus dans I<flags>. Au "
322 "contraire, lors de la création d'une projection en utilisant "
323 "B<MAP_SHARED_VALIDATE>, le noyau vérifie que tous les attributs passés sont "
324 "connus et il fait échouer la projection avec l'erreur B<EOPNOTSUPP> pour les "
325 "attributs inconnus. Ce type de projection est aussi nécessaire pour pouvoir "
326 "utiliser certains attributs de projection (comme B<MAP_SYNC>)."
327
328 #. type: TP
329 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
330 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
331 #, no-wrap
332 msgid "B<MAP_PRIVATE>"
333 msgstr "B<MAP_PRIVATE>"
334
335 #. type: Plain text
336 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
337 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
338 msgid ""
339 "Create a private copy-on-write mapping. Updates to the mapping are not "
340 "visible to other processes mapping the same file, and are not carried "
341 "through to the underlying file. It is unspecified whether changes made to "
342 "the file after the B<mmap>() call are visible in the mapped region."
343 msgstr ""
344 "Créer une projection privée, utilisant la méthode de copie à l'écriture. Les "
345 "modifications de la projection ne sont pas visibles depuis les autres "
346 "processus projetant le même fichier, et ne modifient pas le fichier lui-"
347 "même. Il n'est pas précisé si les changements effectués dans le fichier "
348 "après l'appel B<mmap>() seront visibles dans la région projetée."
349
350 #. type: Plain text
351 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
352 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
353 msgid ""
354 "Both B<MAP_SHARED> and B<MAP_PRIVATE> are described in POSIX.1-2001 and "
355 "POSIX.1-2008. B<MAP_SHARED_VALIDATE> is a Linux extension."
356 msgstr ""
357 "B<MAP_SHARED> et B<MAP_PRIVATE> sont décrits dans POSIX.1-2001 et "
358 "POSIX.1-2008. B<MAP_SHARED_VALIDATE> est une extension Linux."
359
360 #. type: Plain text
361 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
362 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
363 msgid ""
364 "In addition, zero or more of the following values can be ORed in I<flags>:"
365 msgstr ""
366 "De plus, zéro ou plus des valeurs suivantes peuvent être incluses dans "
367 "I<flags> (avec un OU binaire)\\ :"
368
369 #. type: TP
370 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
371 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
372 #, no-wrap
373 msgid "B<MAP_32BIT> (since Linux 2.4.20, 2.6)"
374 msgstr "B<MAP_32BIT> (depuis Linux 2.4.20, 2.6)"
375
376 #. See http://lwn.net/Articles/294642 "Tangled up in threads", 19 Aug 08
377 #. type: Plain text
378 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
379 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
380 msgid ""
381 "Put the mapping into the first 2 Gigabytes of the process address space. "
382 "This flag is supported only on x86-64, for 64-bit programs. It was added to "
383 "allow thread stacks to be allocated somewhere in the first 2\\ GB of memory, "
384 "so as to improve context-switch performance on some early 64-bit "
385 "processors. Modern x86-64 processors no longer have this performance "
386 "problem, so use of this flag is not required on those systems. The "
387 "B<MAP_32BIT> flag is ignored when B<MAP_FIXED> is set."
388 msgstr ""
389 "Placer la projection dans les deux premiers gigaoctets de l'espace "
390 "d'adressage du processus. Cet attribut n'est pris en charge que sous x86-64, "
391 "pour les programmes 64 bits. Il a été ajouté pour permettre à la pile d'un "
392 "fil d'exécution d'être allouée dans les deux premiers gigaoctets de mémoire, "
393 "afin d'améliorer les performances des changements de contexte sur les "
394 "premiers processeurs 64 bits. Les processeurs x86-64 modernes n'ont plus ces "
395 "problèmes de performance, donc l'utilisation de cet attribut n'est pas "
396 "nécessaire sur ces systèmes. L'attribut B<MAP_32BIT> est ignoré quand "
397 "B<MAP_FIXED> est positionné."
398
399 #. type: TP
400 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
401 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
402 #, no-wrap
403 msgid "B<MAP_ANON>"
404 msgstr "B<MAP_ANON>"
405
406 #. type: Plain text
407 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
408 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
409 msgid ""
410 "Synonym for B<MAP_ANONYMOUS>; provided for compatibility with other "
411 "implementations."
412 msgstr ""
413 "Synonyme de B<MAP_ANONYMOUS> ; fourni pour une compatibilité avec d'autres "
414 "implémentations."
415
416 #. type: TP
417 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
418 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
419 #, no-wrap
420 msgid "B<MAP_ANONYMOUS>"
421 msgstr "B<MAP_ANONYMOUS>"
422
423 #. See the pgoff overflow check in do_mmap().
424 #. See the offset check in sys_mmap in arch/x86/kernel/sys_x86_64.c.
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 "The mapping is not backed by any file; its contents are initialized to "
430 "zero. The I<fd> argument is ignored; however, some implementations require "
431 "I<fd> to be -1 if B<MAP_ANONYMOUS> (or B<MAP_ANON>) is specified, and "
432 "portable applications should ensure this. The I<offset> argument should be "
433 "zero. Support for B<MAP_ANONYMOUS> in conjunction with B<MAP_SHARED> was "
434 "added in Linux 2.4."
435 msgstr ""
436 "La projection n'est prise en charge par aucun fichier\\ ; son contenu est "
437 "initialisé à B<0>. L'argument I<fd> est ignoré\\ ; cependant, certaines "
438 "implémentations demandent que I<fd> soit B<-1> si B<MAP_ANONYMOUS> (ou "
439 "B<MAP_ANON>) est utilisé, et les applications portables doivent donc s'en "
440 "assurer. L'argument I<offset> devrait être B<0>. La prise en charge de "
441 "B<MAP_ANONYMOUS> avec B<MAP_SHARED> a été ajoutée dans Linux 2.4."
442
443 #. type: TP
444 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
445 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
446 #, no-wrap
447 msgid "B<MAP_DENYWRITE>"
448 msgstr "B<MAP_DENYWRITE>"
449
450 #. Introduced in 1.1.36, removed in 1.3.24.
451 #. type: Plain text
452 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
453 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
454 msgid ""
455 "This flag is ignored. (Long ago\\[em]Linux 2.0 and earlier\\[em]it signaled "
456 "that attempts to write to the underlying file should fail with B<ETXTBSY>. "
457 "But this was a source of denial-of-service attacks.)"
458 msgstr ""
459 "Cet attribut est ignoré (autrefois — Linux 2.0 et antérieur — il signalait "
460 "une tentative d'écriture dans le fichier sous-jacent et qui échouait avec "
461 "l'erreur B<ETXTBUSY>. Mais cela permettait des attaques par déni de service)."
462
463 #. type: TP
464 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
465 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
466 #, no-wrap
467 msgid "B<MAP_EXECUTABLE>"
468 msgstr "B<MAP_EXECUTABLE>"
469
470 #. #-#-#-#-# archlinux: mmap.2.pot (PACKAGE VERSION) #-#-#-#-#
471 #. Introduced in 1.1.38, removed in 1.3.24. Flag tested in proc_follow_link.
472 #. (Long ago, it signaled that the underlying file is an executable.
473 #. However, that information was not really used anywhere.)
474 #. Linus talked about DOS related to MAP_EXECUTABLE, but he was thinking of
475 #. MAP_DENYWRITE?
476 #. type: Plain text
477 #. #-#-#-#-# debian-trixie: mmap.2.pot (PACKAGE VERSION) #-#-#-#-#
478 #. Introduced in 1.1.38, removed in 1.3.24. Flag tested in proc_follow_link.
479 #. (Long ago, it signaled that the underlying file is an executable.
480 #. However, that information was not really used anywhere.)
481 #. Linus talked about DOS related to MAP_EXECUTABLE, but he was thinking of
482 #. MAP_DENYWRITE?
483 #. type: Plain text
484 #. #-#-#-#-# debian-unstable: mmap.2.pot (PACKAGE VERSION) #-#-#-#-#
485 #. Introduced in 1.1.38, removed in 1.3.24. Flag tested in proc_follow_link.
486 #. (Long ago, it signaled that the underlying file is an executable.
487 #. However, that information was not really used anywhere.)
488 #. Linus talked about DOS related to MAP_EXECUTABLE, but he was thinking of
489 #. MAP_DENYWRITE?
490 #. type: Plain text
491 #. #-#-#-#-# fedora-44: mmap.2.pot (PACKAGE VERSION) #-#-#-#-#
492 #. Introduced in 1.1.38, removed in 1.3.24. Flag tested in proc_follow_link.
493 #. (Long ago, it signaled that the underlying file is an executable.
494 #. However, that information was not really used anywhere.)
495 #. Linus talked about DOS related to MAP_EXECUTABLE, but he was thinking of
496 #. MAP_DENYWRITE?
497 #. type: Plain text
498 #. #-#-#-#-# fedora-rawhide: mmap.2.pot (PACKAGE VERSION) #-#-#-#-#
499 #. Introduced in 1.1.38, removed in 1.3.24. Flag tested in proc_follow_link.
500 #. (Long ago, it signaled that the underlying file is an executable.
501 #. However, that information was not really used anywhere.)
502 #. Linus talked about DOS related to MAP_EXECUTABLE, but he was thinking of
503 #. MAP_DENYWRITE?
504 #. type: Plain text
505 #. #-#-#-#-# mageia-cauldron: mmap.2.pot (PACKAGE VERSION) #-#-#-#-#
506 #. Introduced in 1.1.38, removed in 1.3.24. Flag tested in proc_follow_link.
507 #. (Long ago, it signaled that the underlying file is an executable.
508 #. However, that information was not really used anywhere.)
509 #. Linus talked about DOS related to MAP_EXECUTABLE, but he was thinking of
510 #. MAP_DENYWRITE?
511 #. type: Plain text
512 #. #-#-#-#-# opensuse-leap-16-1: mmap.2.pot (PACKAGE VERSION) #-#-#-#-#
513 #. Introduced in 1.1.38, removed in 1.3.24. Flag tested in proc_follow_link.
514 #. (Long ago, it signaled that the underlying file is an executable.
515 #. However, that information was not really used anywhere.)
516 #. Linus talked about DOS related to MAP_EXECUTABLE, but he was thinking of
517 #. MAP_DENYWRITE?
518 #. type: Plain text
519 #. #-#-#-#-# opensuse-tumbleweed: mmap.2.pot (PACKAGE VERSION) #-#-#-#-#
520 #. Introduced in 1.1.38, removed in 1.3.24. Flag tested in proc_follow_link.
521 #. (Long ago, it signaled that the underlying file is an executable.
522 #. However, that information was not really used anywhere.)
523 #. Linus talked about DOS related to MAP_EXECUTABLE, but he was thinking of
524 #. MAP_DENYWRITE?
525 #. type: Plain text
526 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
527 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
528 msgid "This flag is ignored."
529 msgstr "Cet attribut est ignoré."
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<MAP_FILE>"
536 msgstr "B<MAP_FILE>"
537
538 #. On some systems, this was required as the opposite of
539 #. MAP_ANONYMOUS -- mtk, 1 May 2007
540 #. type: Plain text
541 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
542 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
543 msgid "Compatibility flag. Ignored."
544 msgstr "Attribut pour compatibilité. Ignoré."
545
546 #. type: TP
547 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
548 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
549 #, no-wrap
550 msgid "B<MAP_FIXED>"
551 msgstr "B<MAP_FIXED>"
552
553 #. type: Plain text
554 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
555 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
556 msgid ""
557 "Don't interpret I<addr> as a hint: place the mapping at exactly that "
558 "address. I<addr> must be suitably aligned: for most architectures a "
559 "multiple of the page size is sufficient; however, some architectures may "
560 "impose additional restrictions. If the memory region specified by I<addr> "
561 "and I<length> overlaps pages of any existing mapping(s), then the overlapped "
562 "part of the existing mapping(s) will be discarded. If the specified address "
563 "cannot be used, B<mmap>() will fail."
564 msgstr ""
565 "Ne pas considérer I<addr> comme une indication\\ : n'utiliser que l'adresse "
566 "indiquée. I<addr> doit être correctement alignée : pour la plupart des "
567 "architectures, un multiple de la taille de page suffit, toutefois certaines "
568 "architectures imposent des limitations supplémentaires. Si la zone mémoire "
569 "indiquée par I<addr> et I<length> recouvre des pages d'une projection "
570 "existante, la partie recouverte de la projection existante sera ignorée. Si "
571 "l'adresse indiquée ne peut être utilisée, B<mmap>() échouera."
572
573 #. type: Plain text
574 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
575 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
576 msgid ""
577 "Software that aspires to be portable should use the B<MAP_FIXED> flag with "
578 "care, keeping in mind that the exact layout of a process's memory mappings "
579 "is allowed to change significantly between Linux versions, C library "
580 "versions, and operating system releases. I<Carefully read the discussion of "
581 "this flag in NOTES!>"
582 msgstr ""
583 "Les logiciels qui aspirent à la portabilité devraient utiliser l'attribut "
584 "B<MAP_FIXED> prudemment, en gardant à l'esprit que l'aspect exact des "
585 "projections de mémoire du processus est autorisé à changer significativement "
586 "entre les versions de Linux, de la glibc et du système d'exploitation. "
587 "I<Lisez attentivement le point sur cet attribut dans les NOTES !>"
588
589 #. type: TP
590 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
591 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
592 #, no-wrap
593 msgid "B<MAP_FIXED_NOREPLACE> (since Linux 4.17)"
594 msgstr "B<MAP_FIXED_NOREPLACE> (depuis Linux 4.17)"
595
596 #. commit a4ff8e8620d3f4f50ac4b41e8067b7d395056843
597 #. type: Plain text
598 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
599 #: opensuse-tumbleweed
600 #, fuzzy
601 #| msgid ""
602 #| "This flag provides behavior that is similar to B<MAP_FIXED> with respect "
603 #| "to the I<addr> enforcement, but differs in that B<MAP_FIXED_NOREPLACE> "
604 #| "never clobbers a preexisting mapped range. If the requested range would "
605 #| "collide with an existing mapping, then this call fails with the error "
606 #| "B<EEXIST.> This flag can therefore be used as a way to atomically (with "
607 #| "respect to other threads) attempt to map an address range: one thread "
608 #| "will succeed; all others will report failure."
609 msgid ""
610 "This flag provides behavior that is similar to B<MAP_FIXED> with respect to "
611 "the I<addr> enforcement, but differs in that B<MAP_FIXED_NOREPLACE> never "
612 "clobbers a preexisting mapped range. If the requested range would collide "
613 "with an existing mapping, then this call fails with the error B<EEXIST.> "
614 "This flag can therefore be used as a way to atomically (with respect to "
615 "other threads) attempt to map an address range: one thread will succeed; "
616 "all others will report failure."
617 msgstr ""
618 "Cet attribut offre un comportement identique à B<MAP_FIXED> par rapport à "
619 "l'application de I<addr>, mais il s'en distingue en ce que "
620 "B<MAP_FIXED_NOREPLACE> n’écrase jamais une plage projetée existante. Si la "
621 "plage demandée entre en conflit avec une projection existante, cet appel "
622 "échoue avec l'erreur B<EEXIST.> Cet attribut peut donc être utilisé comme "
623 "une façon d'essayer de projeter une plage d'adresses de manière atomique "
624 "(vis-à-vis d'autres fils d'exécutions) : un thread réussira, tous les autres "
625 "signaleront un échec."
626
627 #. type: Plain text
628 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
629 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
630 msgid ""
631 "Note that older kernels which do not recognize the B<MAP_FIXED_NOREPLACE> "
632 "flag will typically (upon detecting a collision with a preexisting mapping) "
633 "fall back to a \\[lq]non-B<MAP_FIXED>\\[rq] type of behavior: they will "
634 "return an address that is different from the requested address. Therefore, "
635 "backward-compatible software should check the returned address against the "
636 "requested address."
637 msgstr ""
638 "Remarquez que les anciens noyaux qui ne reconnaissent pas l'attribut "
639 "B<MAP_FIXED_NOREPLACE> se rabattront généralement (en détectant une "
640 "collision avec une projection existante) sur un type de comportement « sans "
641 "B<MAP_FIXED> » : ils renverront une adresse différente de celle demandée. "
642 "Les logiciels rétro-compatibles devront donc vérifier l'adresse renvoyée vis-"
643 "à-vis de l'adresse demandée."
644
645 #. type: TP
646 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
647 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
648 #, no-wrap
649 msgid "B<MAP_GROWSDOWN>"
650 msgstr "B<MAP_GROWSDOWN>"
651
652 #. type: Plain text
653 #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed
654 #, fuzzy
655 #| msgid ""
656 #| "This flag is used for stacks. It indicates to the kernel virtual memory "
657 #| "system that the mapping should extend downward in memory. The return "
658 #| "address is one page lower than the memory area that is actually created "
659 #| "in the process's virtual address space. Touching an address in the "
660 #| "\"guard\" page below the mapping will cause the mapping to grow by a "
661 #| "page. This growth can be repeated until the mapping grows to within a "
662 #| "page of the high end of the next lower mapping, at which point touching "
663 #| "the \"guard\" page will result in a B<SIGSEGV> signal."
664 msgid ""
665 "This flag is used for stacks. It indicates to the kernel virtual memory "
666 "system that the mapping should extend downward in memory. Touching an "
667 "address in the \"guard\" page below the mapping will cause the mapping to "
668 "grow by a page. This growth can be repeated until the mapping grows to "
669 "within a page of the high end of the next lower mapping, at which point "
670 "touching the \"guard\" page will result in a B<SIGSEGV> signal."
671 msgstr ""
672 "Cet attribut est utilisé pour les piles. Il indique au noyau le système de "
673 "mémoire virtuelle vers lequel la projection devrait descendre dans la "
674 "mémoire. L'adresse renvoyée est une page inférieure à la zone de mémoire "
675 "créée dans l'espace d'adressage virtuel du processus. La modification d'une "
676 "adresse dans la page de « garde » sous la projection fera agrandir la "
677 "projection d’une page. Cette croissance peut se répéter jusqu'à ce que la "
678 "taille de la projection dans la page atteigne l’extrémité haute de la "
679 "projection plus basse suivante, point où la modification de la page de "
680 "« garde » donnera un signal B<SIGSEGV>."
681
682 #. type: TP
683 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
684 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
685 #, no-wrap
686 msgid "B<MAP_HUGETLB> (since Linux 2.6.32)"
687 msgstr "B<MAP_HUGETLB> (depuis Linux 2.6.32)"
688
689 #. type: Plain text
690 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
691 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
692 msgid ""
693 "Allocate the mapping using \"huge\" pages. See the Linux kernel source file "
694 "I<Documentation/admin-guide/mm/hugetlbpage.rst> for further information, as "
695 "well as NOTES, below."
696 msgstr ""
697 "Allouer la projection à l'aide de « pages immenses ». Consultez le fichier "
698 "I<Documentation/vm/hugetlbpage.txt> des sources du noyau Linux pour plus "
699 "d'informations ainsi que les NOTES ci-dessous."
700
701 #. type: TP
702 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
703 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
704 #, no-wrap
705 msgid "B<MAP_HUGE_2MB>"
706 msgstr "B<MAP_HUGE_2MB>"
707
708 #. type: TQ
709 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
710 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
711 #, no-wrap
712 msgid "B<MAP_HUGE_1GB> (since Linux 3.8)"
713 msgstr "B<MAP_HUGE_1GB> (depuis Linux 3.8)"
714
715 #. See https://lwn.net/Articles/533499/
716 #. type: Plain text
717 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
718 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
719 msgid ""
720 "Used in conjunction with B<MAP_HUGETLB> to select alternative hugetlb page "
721 "sizes (respectively, 2\\ MB and 1\\ GB) on systems that support multiple "
722 "hugetlb page sizes."
723 msgstr ""
724 "Utilisé avec B<MAP_HUGETLB> pour sélectionner d'autres tailles de pages "
725 "immenses (hugetlb) (respectivement 2 Mo et 1 Go) sur les systèmes qui gèrent "
726 "plusieurs tailles de page hugetlb."
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 "More generally, the desired huge page size can be configured by encoding the "
733 "base-2 logarithm of the desired page size in the six bits at the offset "
734 "B<MAP_HUGE_SHIFT>. (A value of zero in this bit field provides the default "
735 "huge page size; the default huge page size can be discovered via the "
736 "I<Hugepagesize> field exposed by I</proc/meminfo>.) Thus, the above two "
737 "constants are defined as:"
738 msgstr ""
739 "Plus généralement, la taille de la page immense souhaitée peut être "
740 "configurée en encodant le logarithme de base 2 de la taille de la page "
741 "désirée dans les six bits situés sur B<MAP_HUGE_SHIFT> (une valeur de zéro "
742 "dans ce champ de bit fournit la taille de page immense par défaut ; vous "
743 "pouvez connaître celle-ci à l'aide du champ I<Hugepagesize> qui apparaît "
744 "dans I</proc/meminfo>). Ainsi, les deux constantes ci-dessus sont définies "
745 "comme suit :"
746
747 #. type: Plain text
748 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
749 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
750 #, no-wrap
751 msgid ""
752 "#define MAP_HUGE_2MB (21 E<lt>E<lt> MAP_HUGE_SHIFT)\n"
753 "#define MAP_HUGE_1GB (30 E<lt>E<lt> MAP_HUGE_SHIFT)\n"
754 msgstr ""
755 "#define MAP_HUGE_2MB (21 E<lt>E<lt> MAP_HUGE_SHIFT)\n"
756 "#define MAP_HUGE_1GB (30 E<lt>E<lt> MAP_HUGE_SHIFT)\n"
757
758 #. type: Plain text
759 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
760 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
761 msgid ""
762 "The range of huge page sizes that are supported by the system can be "
763 "discovered by listing the subdirectories in I</sys/kernel/mm/hugepages>."
764 msgstr ""
765 "Vous pouvez connaître l'intervalle de tailles des pages immenses gérées par "
766 "le système en listant les sous-répertoires de I</sys/kernel/mm/hugepages>."
767
768 #. type: TP
769 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
770 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
771 #, no-wrap
772 msgid "B<MAP_LOCKED> (since Linux 2.5.37)"
773 msgstr "B<MAP_LOCKED> (depuis Linux 2.5.37)"
774
775 #. If set, the mapped pages will not be swapped out.
776 #. type: Plain text
777 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
778 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
779 msgid ""
780 "Mark the mapped region to be locked in the same way as B<mlock>(2). This "
781 "implementation will try to populate (prefault) the whole range but the "
782 "B<mmap>() call doesn't fail with B<ENOMEM> if this fails. Therefore major "
783 "faults might happen later on. So the semantic is not as strong as "
784 "B<mlock>(2). One should use B<mmap>() plus B<mlock>(2) when major faults "
785 "are not acceptable after the initialization of the mapping. The "
786 "B<MAP_LOCKED> flag is ignored in older kernels."
787 msgstr ""
788 "Marquer la région projetée pour qu'elle soit verrouillée de la même manière "
789 "que B<mlock>(2). Cette implémentation essaiera de remplir (prefault) toute "
790 "la plage mais l'appel B<mmap>() n’échouera pas avec B<ENOMEM> si cela "
791 "échoue. Des erreurs énormes pourraient donc se produire ultérieurement. La "
792 "sémantique n'est donc pas aussi robuste que B<mlock>(2). Vous devriez "
793 "utiliser B<mmap>() et B<mlock>(2) si d'énormes erreurs ne sont pas "
794 "acceptables après l'initialisation de la projection. L'attribut "
795 "B<MAP_LOCKED> est ignoré sur les anciens noyaux."
796
797 #. type: TP
798 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
799 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
800 #, no-wrap
801 msgid "B<MAP_NONBLOCK> (since Linux 2.5.46)"
802 msgstr "B<MAP_NONBLOCK> (depuis Linux 2.5.46)"
803
804 #. commit 54cb8821de07f2ffcd28c380ce9b93d5784b40d7
805 #. type: Plain text
806 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
807 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
808 msgid ""
809 "This flag is meaningful only in conjunction with B<MAP_POPULATE>. Don't "
810 "perform read-ahead: create page tables entries only for pages that are "
811 "already present in RAM. Since Linux 2.6.23, this flag causes "
812 "B<MAP_POPULATE> to do nothing. One day, the combination of B<MAP_POPULATE> "
813 "and B<MAP_NONBLOCK> may be reimplemented."
814 msgstr ""
815 "Cet attribut n'a de sens qu'en conjonction avec B<MAP_POPULATE>. Ne pas "
816 "effectuer de lecture anticipée\\ : créer seulement les entrées de tables de "
817 "page pour les pages déjà présentes en RAM. Depuis Linux 2.6.23, cet attribut "
818 "fait que B<MAP_POPULATE> n'a aucun effet. Un jour la combinaison de "
819 "B<MAP_POPULATE> et B<MAP_NONBLOCK> pourra être implémentée de nouveau."
820
821 #. type: TP
822 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
823 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
824 #, no-wrap
825 msgid "B<MAP_NORESERVE>"
826 msgstr "B<MAP_NORESERVE>"
827
828 #. type: Plain text
829 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
830 #: opensuse-tumbleweed
831 #, fuzzy
832 #| msgid ""
833 #| "Do not reserve swap space for this mapping. When swap space is reserved, "
834 #| "one has the guarantee that it is possible to modify the mapping. When "
835 #| "swap space is not reserved one might get B<SIGSEGV> upon a write if no "
836 #| "physical memory is available. See also the discussion of the file I</"
837 #| "proc/sys/vm/overcommit_memory> in B<proc>(5). Before Linux 2.6, this "
838 #| "flag had effect only for private writable mappings."
839 msgid ""
840 "Do not reserve swap space for this mapping. When swap space is reserved, "
841 "one has the guarantee that it is possible to modify the mapping. When swap "
842 "space is not reserved one might get B<SIGSEGV> upon a write if no physical "
843 "memory is available. See also the discussion of the file I</proc/sys/vm/"
844 "overcommit_memory> in B<proc_sys_vm>(5). Before Linux 2.6, this flag had "
845 "effect only for private writable mappings."
846 msgstr ""
847 "Ne pas réserver d'espace de swap pour les pages de cette projection. Une "
848 "telle réservation garantit que l'on puisse modifier les zones soumises à une "
849 "copie-en-écriture. Sans réservation, on peut recevoir un signal B<SIGSEGV> "
850 "durant une écriture, s'il n'y a plus de place disponible. Consultez "
851 "également la description du fichier I</proc/sys/vm/overcommit_memory> dans "
852 "la page B<proc>(5). Avant Linux 2.6, cet attribut n'avait d'effet que pour "
853 "les projections privées modifiables."
854
855 #. type: TP
856 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
857 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
858 #, no-wrap
859 msgid "B<MAP_POPULATE> (since Linux 2.5.46)"
860 msgstr "B<MAP_POPULATE> (depuis Linux 2.5.46)"
861
862 #. type: Plain text
863 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
864 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
865 msgid ""
866 "Populate (prefault) page tables for a mapping. For a file mapping, this "
867 "causes read-ahead on the file. This will help to reduce blocking on page "
868 "faults later. The B<mmap>() call doesn't fail if the mapping cannot be "
869 "populated (for example, due to limitations on the number of mapped huge "
870 "pages when using B<MAP_HUGETLB>). Support for B<MAP_POPULATE> in "
871 "conjunction with private mappings was added in Linux 2.6.23."
872 msgstr ""
873 "Remplir (prefault) les tables de pages pour une projection. Pour une "
874 "projection de fichier, cela provoque une lecture anticipée du fichier. Les "
875 "accès ultérieurs à la projection ne seront pas bloqués par des erreurs de "
876 "pages. L'appel B<mmap> n'échoue pas si la projection ne peut pas être "
877 "remplie (par exemple à cause de limitation sur le nombre de pages immenses "
878 "mappées lors de l'utilisation de B<MAP_HUGETLB>). La prise en charge de "
879 "B<MAP_POPULATE> avec les projections privées a été ajoutée dans Linux 2.6.23."
880
881 #. type: TP
882 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
883 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
884 #, no-wrap
885 msgid "B<MAP_STACK> (since Linux 2.6.27)"
886 msgstr "B<MAP_STACK> (depuis Linux 2.6.27)"
887
888 #. type: Plain text
889 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
890 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
891 msgid ""
892 "Allocate the mapping at an address suitable for a process or thread stack."
893 msgstr ""
894 "Allouer la projection à une adresse qui convient à la pile d'un processus ou "
895 "d'un thread."
896
897 #. See http://lwn.net/Articles/294642 "Tangled up in threads", 19 Aug 08
898 #. commit cd98a04a59e2f94fa64d5bf1e26498d27427d5e7
899 #. http://thread.gmane.org/gmane.linux.kernel/720412
900 #. "pthread_create() slow for many threads; also time to revisit 64b
901 #. context switch optimization?"
902 #. type: Plain text
903 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
904 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
905 msgid ""
906 "This flag is currently a no-op on Linux. However, by employing this flag, "
907 "applications can ensure that they transparently obtain support if the flag "
908 "is implemented in the future. Thus, it is used in the glibc threading "
909 "implementation to allow for the fact that some architectures may (later) "
910 "require special treatment for stack allocations. A further reason to employ "
911 "this flag is portability: B<MAP_STACK> exists (and has an effect) on some "
912 "other systems (e.g., some of the BSDs)."
913 msgstr ""
914 "Cet attribut n'est pas opérationnel pour l'instant sur Linux. Mais son "
915 "utilisation permet aux applications de s'assurer qu'elles le gèreront de "
916 "manière transparente s'il est implémenté dans le futur. Ainsi, il est "
917 "utilisé dans l'implémentation de threading de la glibc pour accepter le fait "
918 "que certaines architectures pourront (plus tard) nécessiter un traitement "
919 "spécial pour allouer des piles. Une autre raison d'utiliser cet attribut est "
920 "la portabilité : B<MAP_STACK> existe et a un effet sur d'autres systèmes "
921 "(comme certains BSD)."
922
923 #. type: TP
924 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
925 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
926 #, no-wrap
927 msgid "B<MAP_SYNC> (since Linux 4.15)"
928 msgstr "B<MAP_SYNC> (depuis Linux 4.15)"
929
930 #. type: Plain text
931 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
932 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
933 msgid ""
934 "This flag is available only with the B<MAP_SHARED_VALIDATE> mapping type; "
935 "mappings of type B<MAP_SHARED> will silently ignore this flag. This flag is "
936 "supported only for files supporting DAX (direct mapping of persistent "
937 "memory). For other files, creating a mapping with this flag results in an "
938 "B<EOPNOTSUPP> error."
939 msgstr ""
940 "Cet attribut n'est possible qu'avec le type de projection "
941 "B<MAP_SHARED_VALIDATE> ; les projections de type B<MAP_SHARED> ignoreront "
942 "silencieusement cet attribut. Il n'est pris en charge que pour des fichiers "
943 "gérant le DAX (projection directe de mémoire persistante). Pour les autres "
944 "fichiers, créer une projection avec cet attribut provoquera une erreur "
945 "B<EOPNOTSUPP>."
946
947 #. type: Plain text
948 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
949 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
950 msgid ""
951 "Shared file mappings with this flag provide the guarantee that while some "
952 "memory is mapped writable in the address space of the process, it will be "
953 "visible in the same file at the same offset even after the system crashes or "
954 "is rebooted. In conjunction with the use of appropriate CPU instructions, "
955 "this provides users of such mappings with a more efficient way of making "
956 "data modifications persistent."
957 msgstr ""
958 "Les projections de fichier partagé ayant cet attribut fournissent une "
959 "garantie que tant que la mémoire est projetée avec accès en écriture dans "
960 "l'espace d'adressage du processus, elle sera visible dans le même fichier et "
961 "au même endroit même après un plantage ou un redémarrage du système. Couplé "
962 "à l'utilisation des instructions adéquates du processeur, cela offre aux "
963 "utilisateurs de telles projections une manière plus efficace de rendre des "
964 "modifications de données persistantes."
965
966 #. type: TP
967 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
968 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
969 #, no-wrap
970 msgid "B<MAP_UNINITIALIZED> (since Linux 2.6.33)"
971 msgstr "B<MAP_UNINITIALIZED> (depuis Linux 2.6.33)"
972
973 #. type: Plain text
974 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
975 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
976 msgid ""
977 "Don't clear anonymous pages. This flag is intended to improve performance "
978 "on embedded devices. This flag is honored only if the kernel was configured "
979 "with the B<CONFIG_MMAP_ALLOW_UNINITIALIZED> option. Because of the security "
980 "implications, that option is normally enabled only on embedded devices "
981 "(i.e., devices where one has complete control of the contents of user "
982 "memory)."
983 msgstr ""
984 "Ne pas effacer pas les pages anonymes. Cet attribut n'a pour l'instant un "
985 "effet que si le noyau a été configuré avec l'option "
986 "B<CONFIG_MMAP_ALLOW_UNINITIALIZED>. À cause des implications sur la "
987 "sécurité, cette option n'est normalement active que sur des périphériques "
988 "embarqués (c'est-à-dire avec des périphériques avec lesquels il est possible "
989 "d'avoir un contrôle total de la mémoire utilisateur)."
990
991 #. FIXME . for later review when Issue 8 is one day released...
992 #. POSIX may add MAP_ANON in the future
993 #. http://austingroupbugs.net/tag_view_page.php?tag_id=8
994 #. http://austingroupbugs.net/view.php?id=850
995 #. type: Plain text
996 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
997 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
998 msgid ""
999 "Of the above flags, only B<MAP_FIXED> is specified in POSIX.1-2001 and "
1000 "POSIX.1-2008. However, most systems also support B<MAP_ANONYMOUS> (or its "
1001 "synonym B<MAP_ANON>)."
1002 msgstr ""
1003 "Parmi les attributs ci-dessus, seul B<MAP_FIXED> est spécifié dans "
1004 "POSIX.1-2001 et POSIX.1-2008. Cependant, la plupart des systèmes gèrent "
1005 "aussi B<MAP_ANONYMOUS> (ou son synonyme B<MAP_ANON>)."
1006
1007 #. type: SS
1008 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1009 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1010 #, no-wrap
1011 msgid "munmap()"
1012 msgstr "munmap()"
1013
1014 #. type: Plain text
1015 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1016 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1017 msgid ""
1018 "The B<munmap>() system call deletes the mappings for the specified address "
1019 "range, and causes further references to addresses within the range to "
1020 "generate invalid memory references. The region is also automatically "
1021 "unmapped when the process is terminated. On the other hand, closing the "
1022 "file descriptor does not unmap the region."
1023 msgstr ""
1024 "L'appel système B<munmap>() détruit la projection dans la zone de mémoire "
1025 "spécifiée et s'arrange pour que toute référence ultérieure à cette zone "
1026 "mémoire déclenche une erreur d'adressage. La projection est aussi "
1027 "automatiquement détruite lorsque le processus se termine. À l'inverse, la "
1028 "fermeture du descripteur de fichier ne supprime pas la projection."
1029
1030 #. type: Plain text
1031 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1032 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1033 msgid ""
1034 "The address I<addr> must be a multiple of the page size (but I<length> need "
1035 "not be). All pages containing a part of the indicated range are unmapped, "
1036 "and subsequent references to these pages will generate B<SIGSEGV>. It is "
1037 "not an error if the indicated range does not contain any mapped pages."
1038 msgstr ""
1039 "L'adresse I<addr> doit être un multiple de la taille de la page (mais ce "
1040 "n'est pas obligatoire pour I<length>). Toutes les pages contenant une partie "
1041 "de l'intervalle indiqué sont libérées, et tout accès ultérieur déclenchera "
1042 "B<SIGSEGV>. Aucune erreur n'est détectée si l'intervalle indiqué ne contient "
1043 "pas de page projetée."
1044
1045 #. type: SH
1046 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1047 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1048 #, no-wrap
1049 msgid "RETURN VALUE"
1050 msgstr "VALEUR RENVOYÉE"
1051
1052 #. type: Plain text
1053 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1054 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1055 msgid ""
1056 "On success, B<mmap>() returns a pointer to the mapped area. On error, the "
1057 "value B<MAP_FAILED> (that is, I<(void\\ *)\\ -1>) is returned, and I<errno> "
1058 "is set to indicate the error."
1059 msgstr ""
1060 "En cas de succès, B<mmap>() renvoie un pointeur sur la zone projetée. En cas "
1061 "d'échec, la valeur B<MAP_FAILED> (c'est-à-dire I<(void\\ *)\\ -1>) est "
1062 "renvoyée et I<errno> est défini pour indiquer l'erreur."
1063
1064 #. type: Plain text
1065 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1066 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1067 msgid ""
1068 "On success, B<munmap>() returns 0. On failure, it returns -1, and I<errno> "
1069 "is set to indicate the error (probably to B<EINVAL>)."
1070 msgstr ""
1071 "S'il réussit, B<munmap>() renvoie B<0>. En cas d'échec, B<-1> est renvoyé et "
1072 "I<errno> est défini pour indiquer l'erreur (probablement B<EINVAL>)."
1073
1074 #. type: SH
1075 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1076 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1077 #, no-wrap
1078 msgid "ERRORS"
1079 msgstr "ERREURS"
1080
1081 #. type: TP
1082 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1083 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1084 #, no-wrap
1085 msgid "B<EACCES>"
1086 msgstr "B<EACCES>"
1087
1088 #. type: Plain text
1089 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1090 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1091 msgid ""
1092 "A file descriptor refers to a non-regular file. Or a file mapping was "
1093 "requested, but I<fd> is not open for reading. Or B<MAP_SHARED> was "
1094 "requested and B<PROT_WRITE> is set, but I<fd> is not open in read/write "
1095 "(B<O_RDWR>) mode. Or B<PROT_WRITE> is set, but the file is append-only."
1096 msgstr ""
1097 "Le descripteur ne correspond pas à un fichier normal ou une demande de "
1098 "projection de fichier a été demandée mais I<fd> n'est pas ouvert en lecture, "
1099 "ou une demande de projection partagée B<MAP_SHARED> avec protection "
1100 "B<PROT_WRITE> a été demandée mais I<fd> n'est pas ouvert en lecture et "
1101 "écriture (B<O_RDWR>), ou encore B<PROT_WRITE> est demandé mais le fichier "
1102 "est ouvert en ajout seulement."
1103
1104 #. type: TP
1105 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1106 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1107 #, no-wrap
1108 msgid "B<EAGAIN>"
1109 msgstr "B<EAGAIN>"
1110
1111 #. type: Plain text
1112 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1113 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1114 msgid ""
1115 "The file has been locked, or too much memory has been locked (see "
1116 "B<setrlimit>(2))."
1117 msgstr ""
1118 "Le fichier est verrouillé ou trop de pages ont été verrouillées en mémoire "
1119 "(consultez B<setrlimit>(2))."
1120
1121 #. type: TP
1122 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1123 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1124 #, no-wrap
1125 msgid "B<EBADF>"
1126 msgstr "B<EBADF>"
1127
1128 #. type: Plain text
1129 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1130 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1131 msgid ""
1132 "I<fd> is not a valid file descriptor (and B<MAP_ANONYMOUS> was not set)."
1133 msgstr ""
1134 "I<fd> n'est pas un descripteur de fichier valable (et B<MAP_ANONYMOUS> "
1135 "n'était pas précisé)."
1136
1137 #. type: TP
1138 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1139 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1140 #, no-wrap
1141 msgid "B<EEXIST>"
1142 msgstr "B<EEXIST>"
1143
1144 #. type: Plain text
1145 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1146 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1147 msgid ""
1148 "B<MAP_FIXED_NOREPLACE> was specified in I<flags>, and the range covered by "
1149 "I<addr> and I<length> clashes with an existing mapping."
1150 msgstr ""
1151 "B<MAP_FIXED_NOREPLACE> était indiqué dans I<flags> et la plage couverte par "
1152 "I<addr> et I<length> est en conflit avec une projection existante."
1153
1154 #. type: TP
1155 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1156 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1157 #, no-wrap
1158 msgid "B<EINVAL>"
1159 msgstr "B<EINVAL>"
1160
1161 #. type: Plain text
1162 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1163 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1164 msgid ""
1165 "We don't like I<addr>, I<length>, or I<offset> (e.g., they are too large, or "
1166 "not aligned on a page boundary)."
1167 msgstr ""
1168 "I<addr> ou I<length> ou I<offset> sont non valables (par exemple\\ : zone "
1169 "trop grande, ou non alignée sur une frontière de page)."
1170
1171 #. type: Plain text
1172 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1173 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1174 msgid "(since Linux 2.6.12) I<length> was 0."
1175 msgstr "(depuis Linux 2.6.12) I<length> est nul."
1176
1177 #. type: Plain text
1178 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1179 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1180 msgid ""
1181 "I<flags> contained none of B<MAP_PRIVATE>, B<MAP_SHARED>, or "
1182 "B<MAP_SHARED_VALIDATE>."
1183 msgstr ""
1184 "I<flags> ne contenait ni B<MAP_PRIVATE>, ni B<MAP_SHARED>, ni "
1185 "B<MAP_SHARED_VALIDATE>."
1186
1187 #. type: TP
1188 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1189 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1190 #, no-wrap
1191 msgid "B<ENFILE>"
1192 msgstr "B<ENFILE>"
1193
1194 #. This is for shared anonymous segments
1195 #. [2.6.7] shmem_zero_setup()-->shmem_file_setup()-->get_empty_filp()
1196 #. .TP
1197 #. .B ENOEXEC
1198 #. A file could not be mapped for reading.
1199 #. type: Plain text
1200 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1201 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1202 msgid ""
1203 "The system-wide limit on the total number of open files has been reached."
1204 msgstr ""
1205 "La limite du nombre total de fichiers ouverts pour le système entier a été "
1206 "atteinte."
1207
1208 #. type: TP
1209 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1210 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1211 #, no-wrap
1212 msgid "B<ENODEV>"
1213 msgstr "B<ENODEV>"
1214
1215 #. type: Plain text
1216 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1217 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1218 msgid ""
1219 "The underlying filesystem of the specified file does not support memory "
1220 "mapping."
1221 msgstr ""
1222 "Le système de fichiers sous\\(hyjacent ne gère pas la projection en mémoire."
1223
1224 #. type: TP
1225 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1226 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1227 #, no-wrap
1228 msgid "B<ENOMEM>"
1229 msgstr "B<ENOMEM>"
1230
1231 #. type: Plain text
1232 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1233 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1234 msgid "No memory is available."
1235 msgstr "Aucune mémoire disponible."
1236
1237 #. type: Plain text
1238 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1239 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1240 msgid ""
1241 "The process's maximum number of mappings would have been exceeded. This "
1242 "error can also occur for B<munmap>(), when unmapping a region in the middle "
1243 "of an existing mapping, since this results in two smaller mappings on either "
1244 "side of the region being unmapped."
1245 msgstr ""
1246 "Le nombre maximal de projections du processus serait dépassé. Cette erreur "
1247 "peut aussi se produire pour B<munmap>() lors de la suppression d'une "
1248 "projection d'une région au milieu d'une projection existante, puisque cela "
1249 "provoque deux régions plus petites de chaque côté de la région à supprimer."
1250
1251 #. type: Plain text
1252 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1253 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1254 msgid ""
1255 "(since Linux 4.7) The process's B<RLIMIT_DATA> limit, described in "
1256 "B<getrlimit>(2), would have been exceeded."
1257 msgstr ""
1258 "(Depuis Linux 4.7) La limite B<RLIMIT_DATA> du processus, décrite dans "
1259 "B<getrlimit>(2), serait dépassée."
1260
1261 #. type: Plain text
1262 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1263 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1264 msgid ""
1265 "We don't like I<addr>, because it exceeds the virtual address space of the "
1266 "CPU."
1267 msgstr ""
1268 "I<addr> n'est pas apprécié parce qu'il dépasse l'espace d'adressage virtuel "
1269 "du processeur "
1270
1271 #. type: TP
1272 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1273 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1274 #, no-wrap
1275 msgid "B<EOVERFLOW>"
1276 msgstr "B<EOVERFLOW>"
1277
1278 #. type: Plain text
1279 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1280 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1281 msgid ""
1282 "On 32-bit architecture together with the large file extension (i.e., using "
1283 "64-bit I<off_t>): the number of pages used for I<length> plus number of "
1284 "pages used for I<offset> would overflow I<unsigned long> (32 bits)."
1285 msgstr ""
1286 "Sur architecture 32 bits avec l'extension de fichiers très grands (c'est-à-"
1287 "dire utilisant un I<off_t> sur 64 bits) : le nombre de pages utilisées pour "
1288 "I<length> plus le nombre de pages utilisées pour I<offset> dépasserait "
1289 "I<unsigned long> (32 bits)."
1290
1291 #. type: TP
1292 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1293 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1294 #, no-wrap
1295 msgid "B<EPERM>"
1296 msgstr "B<EPERM>"
1297
1298 #. (Since Linux 2.4.25 / Linux 2.6.0.)
1299 #. type: Plain text
1300 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1301 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1302 msgid ""
1303 "The I<prot> argument asks for B<PROT_EXEC> but the mapped area belongs to a "
1304 "file on a filesystem that was mounted no-exec."
1305 msgstr ""
1306 "L'argument I<prot> a demandé B<PROT_EXEC> mais la zone appartient à un "
1307 "fichier sur un système de fichiers monté sans permission d'exécution."
1308
1309 #. type: Plain text
1310 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1311 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1312 msgid "The operation was prevented by a file seal; see B<fcntl>(2)."
1313 msgstr "La lecture a été interrompue par un signal ; consultez B<fnctl>(2)."
1314
1315 #. type: Plain text
1316 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1317 #: opensuse-tumbleweed
1318 #, fuzzy
1319 #| msgid ""
1320 #| "The B<MAP_HUGETLB> flag was specified, but the caller was not privileged "
1321 #| "(did not have the B<CAP_IPC_LOCK> capability) and is not a member of the "
1322 #| "I<sysctl_hugetlb_shm_group> group; see the description of I</proc/sys/vm/"
1323 #| "sysctl_hugetlb_shm_group> in B<proc_sys>(5)."
1324 msgid ""
1325 "The B<MAP_HUGETLB> flag was specified, but the caller was not privileged "
1326 "(did not have the B<CAP_IPC_LOCK> capability) and is not a member of the "
1327 "I<hugetlb_shm_group> group; see the description of I</proc/sys/vm/"
1328 "hugetlb_shm_group> in B<proc_sys_vm>(5)."
1329 msgstr ""
1330 "L'attribut B<MAP_HUGETLB> était indiqué, mais l'appelant n'était pas "
1331 "priviliégié (il n'avait pas la capacité B<CAP_IPC_LOCK>) et n'est pas membre "
1332 "du groupe I<sysctl_hugetlb_shm_group> ; voir la desription de I</proc/sys/vm/"
1333 "sysctl_hugetlb_shm_group> dans B<proc_sys>(5)."
1334
1335 #. type: TP
1336 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1337 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1338 #, no-wrap
1339 msgid "B<ETXTBSY>"
1340 msgstr "B<ETXTBSY>"
1341
1342 #. type: Plain text
1343 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1344 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1345 msgid ""
1346 "B<MAP_DENYWRITE> was set but the object specified by I<fd> is open for "
1347 "writing."
1348 msgstr "B<MAP_DENYWRITE> a été réclamé mais I<fd> est ouvert en écriture."
1349
1350 #. type: Plain text
1351 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1352 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1353 msgid "Use of a mapped region can result in these signals:"
1354 msgstr ""
1355 "L'accès à une zone de projection peut déclencher les signaux suivants\\ :"
1356
1357 #. type: TP
1358 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1359 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1360 #, no-wrap
1361 msgid "B<SIGSEGV>"
1362 msgstr "B<SIGSEGV>"
1363
1364 #. type: Plain text
1365 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1366 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1367 msgid "Attempted write into a region mapped as read-only."
1368 msgstr "Tentative d'écriture dans une zone en lecture seule."
1369
1370 #. type: TP
1371 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1372 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1373 #, no-wrap
1374 msgid "B<SIGBUS>"
1375 msgstr "B<SIGBUS>"
1376
1377 #. type: Plain text
1378 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1379 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1380 msgid ""
1381 "Attempted access to a page of the buffer that lies beyond the end of the "
1382 "mapped file. For an explanation of the treatment of the bytes in the page "
1383 "that corresponds to the end of a mapped file that is not a multiple of the "
1384 "page size, see NOTES."
1385 msgstr ""
1386 "Tentative d'accès à une page du tampon au-delà de la fin du fichier projeté. "
1387 "Pour une explication du traitement des octets dans la page correspondant à "
1388 "la fin du fichier projeté n'étant pas un multiple de la taille de la page, "
1389 "voir les NOTES."
1390
1391 #. type: SH
1392 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1393 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1394 #, no-wrap
1395 msgid "ATTRIBUTES"
1396 msgstr "ATTRIBUTS"
1397
1398 #. type: Plain text
1399 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1400 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1401 msgid ""
1402 "For an explanation of the terms used in this section, see B<attributes>(7)."
1403 msgstr ""
1404 "Pour une explication des termes utilisés dans cette section, consulter "
1405 "B<attributes>(7)."
1406
1407 #. type: tbl table
1408 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1409 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1410 #, no-wrap
1411 msgid "Interface"
1412 msgstr "Interface"
1413
1414 #. type: tbl table
1415 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1416 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1417 #, no-wrap
1418 msgid "Attribute"
1419 msgstr "Attribut"
1420
1421 #. type: tbl table
1422 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1423 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1424 #, no-wrap
1425 msgid "Value"
1426 msgstr "Valeur"
1427
1428 #. type: tbl table
1429 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1430 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1431 #, no-wrap
1432 msgid ".na\n"
1433 msgstr ".na\n"
1434
1435 #. type: tbl table
1436 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1437 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1438 #, no-wrap
1439 msgid ".nh\n"
1440 msgstr ".nh\n"
1441
1442 #. type: tbl table
1443 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1444 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1445 #, no-wrap
1446 msgid ""
1447 "B<mmap>(),\n"
1448 "B<munmap>()"
1449 msgstr ""
1450 "B<mmap>(),\n"
1451 "B<munmap>()"
1452
1453 #. type: tbl table
1454 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1455 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1456 #, no-wrap
1457 msgid "Thread safety"
1458 msgstr "Sécurité des threads"
1459
1460 #. type: tbl table
1461 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1462 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1463 #, no-wrap
1464 msgid "MT-Safe"
1465 msgstr "MT-Safe"
1466
1467 #. type: SH
1468 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1469 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1470 #, no-wrap
1471 msgid "VERSIONS"
1472 msgstr "VERSIONS"
1473
1474 #. type: Plain text
1475 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1476 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1477 msgid ""
1478 "On some hardware architectures (e.g., i386), B<PROT_WRITE> implies "
1479 "B<PROT_READ>. It is architecture dependent whether B<PROT_READ> implies "
1480 "B<PROT_EXEC> or not. Portable programs should always set B<PROT_EXEC> if "
1481 "they intend to execute code in the new mapping."
1482 msgstr ""
1483 "Sur certaines architectures matérielles (par exemple, i386), B<PROT_WRITE> "
1484 "implique B<PROT_READ>. Cela dépend de l'architecture si B<PROT_READ> "
1485 "implique B<PROT_EXEC> ou non. Les programmes portables doivent toujours "
1486 "indiquer B<PROT_EXEC> s'ils veulent exécuter du code dans la projection."
1487
1488 #. type: Plain text
1489 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1490 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1491 msgid ""
1492 "The portable way to create a mapping is to specify I<addr> as 0 (NULL), and "
1493 "omit B<MAP_FIXED> from I<flags>. In this case, the system chooses the "
1494 "address for the mapping; the address is chosen so as not to conflict with "
1495 "any existing mapping, and will not be 0. If the B<MAP_FIXED> flag is "
1496 "specified, and I<addr> is 0 (NULL), then the mapped address will be 0 (NULL)."
1497 msgstr ""
1498 "La manière portable de créer une projection est de spécifier I<addr> à 0 "
1499 "(NULL), et d'omettre B<MAP_FIXED> dans I<flags>. Dans ce cas, le système "
1500 "choisit l'adresse de la projection ; l'adresse est choisie de manière à ne "
1501 "pas entrer en conflit avec une projection existante et de ne pas être nulle. "
1502 "Si l'attribut B<MAP_FIXED> est indiqué et si I<addr> vaut 0 (NULL), "
1503 "l'adresse projetée sera zéro (NULL)."
1504
1505 #. type: Plain text
1506 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1507 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1508 msgid ""
1509 "Certain I<flags> constants are defined only if suitable feature test macros "
1510 "are defined (possibly by default): B<_DEFAULT_SOURCE> with glibc 2.19 or "
1511 "later; or B<_BSD_SOURCE> or B<_SVID_SOURCE> in glibc 2.19 and earlier. "
1512 "(Employing B<_GNU_SOURCE> also suffices, and requiring that macro "
1513 "specifically would have been more logical, since these flags are all Linux-"
1514 "specific.) The relevant flags are: B<MAP_32BIT>, B<MAP_ANONYMOUS> (and the "
1515 "synonym B<MAP_ANON>), B<MAP_DENYWRITE>, B<MAP_EXECUTABLE>, B<MAP_FILE>, "
1516 "B<MAP_GROWSDOWN>, B<MAP_HUGETLB>, B<MAP_LOCKED>, B<MAP_NONBLOCK>, "
1517 "B<MAP_NORESERVE>, B<MAP_POPULATE>, and B<MAP_STACK>."
1518 msgstr ""
1519 "Certaines constantes de I<flags> sont définies seulement si des macros de "
1520 "test de fonctionnalités adaptées sont définies (potentiellement par "
1521 "défaut) : B<_DEFAULT_SOURCE> avec la glibc 2.19 ou supérieure, ou bien "
1522 "B<_BSD_SOURCE> ou B<_SVID_SOURCE> dans la glibc 2.19 et antérieure (la "
1523 "définition de B<_GNU_SOURCE> suffit également, et son usage aurait été plus "
1524 "logique, puisque ces attributs sont tous spécifiques à Linux). Les attributs "
1525 "adéquats sont : B<MAP_32BIT>, B<MAP_ANONYMOUS> (et son synonyme "
1526 "B<MAP_ANON>), B<MAP_DENYWRITE>, B<MAP_EXECUTABLE>, B<MAP_FILE>, "
1527 "B<MAP_GROWSDOWN>, B<MAP_HUGETLB>, B<MAP_LOCKED>, B<MAP_NONBLOCK>, "
1528 "B<MAP_NORESERVE>, B<MAP_POPULATE>, et B<MAP_STACK>."
1529
1530 #. type: SS
1531 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1532 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1533 #, no-wrap
1534 msgid "C library/kernel differences"
1535 msgstr "Différences entre bibliothèque C et noyau"
1536
1537 #. Since around glibc 2.1/2.2, depending on the platform.
1538 #. type: Plain text
1539 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1540 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1541 msgid ""
1542 "This page describes the interface provided by the glibc B<mmap>() wrapper "
1543 "function. Originally, this function invoked a system call of the same "
1544 "name. Since Linux 2.4, that system call has been superseded by B<mmap2>(2), "
1545 "and nowadays the glibc B<mmap>() wrapper function invokes B<mmap2>(2) with "
1546 "a suitably adjusted value for I<offset>."
1547 msgstr ""
1548 "Cette page décrit l'interface fournie par la fonction B<mmap>() de la glibc. "
1549 "Initialement, cette fonction appelait un appel système du même nom. Depuis "
1550 "Linux 2.4, cet appel système a été remplacé par B<mmap2>(2). De nos jours, "
1551 "la fonction B<mmap>() de la glibc appelle B<mmap2>(2) avec la bonne valeur "
1552 "pour I<offset>."
1553
1554 #. type: SH
1555 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1556 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1557 #, no-wrap
1558 msgid "STANDARDS"
1559 msgstr "NORMES"
1560
1561 #. type: Plain text
1562 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1563 #: opensuse-tumbleweed
1564 msgid "POSIX.1-2024."
1565 msgstr "POSIX.1-2024."
1566
1567 #. type: SH
1568 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1569 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1570 #, no-wrap
1571 msgid "HISTORY"
1572 msgstr "HISTORIQUE"
1573
1574 #. SVr4 documents additional error codes ENXIO and ENODEV.
1575 #. SUSv2 documents additional error codes EMFILE and EOVERFLOW.
1576 #. type: Plain text
1577 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1578 #: opensuse-tumbleweed
1579 msgid "SVr4, 4.4BSD, SUSv1, POSIX.1-1996."
1580 msgstr "SVr4, 4.4BSD, SUSv1, POSIX.1-1996."
1581
1582 #. POSIX.1-2001: It shall be defined to -1 or 0 or 200112L.
1583 #. -1: unavailable, 0: ask using sysconf().
1584 #. glibc defines it to 1.
1585 #. type: Plain text
1586 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1587 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1588 msgid ""
1589 "On POSIX systems on which B<mmap>(), B<msync>(2), and B<munmap>() are "
1590 "available, B<_POSIX_MAPPED_FILES> is defined in I<E<lt>unistd.hE<gt>> to a "
1591 "value greater than 0. (See also B<sysconf>(3).)"
1592 msgstr ""
1593 "Sur les systèmes POSIX sur lesquels B<mmap>(), B<msync>(2) et B<munmap>() "
1594 "sont disponibles, B<_POSIX_MAPPED_FILES> est définie dans "
1595 "I<E<lt>unistd.hE<gt>> comme étant une valeur supérieure à B<0> (consultez "
1596 "aussi B<sysconf>(3))."
1597
1598 #. type: SH
1599 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1600 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1601 #, no-wrap
1602 msgid "NOTES"
1603 msgstr "NOTES"
1604
1605 #. type: Plain text
1606 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1607 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1608 msgid ""
1609 "Memory mapped by B<mmap>() is preserved across B<fork>(2), with the same "
1610 "attributes."
1611 msgstr ""
1612 "La mémoire obtenue par B<mmap> est préservée au travers d'un B<fork>(2), "
1613 "avec les mêmes attributs."
1614
1615 #. type: Plain text
1616 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1617 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1618 msgid ""
1619 "A file is mapped in multiples of the page size. For a file that is not a "
1620 "multiple of the page size, the remaining bytes in the partial page at the "
1621 "end of the mapping are zeroed when mapped, and modifications to that region "
1622 "are not written out to the file. The effect of changing the size of the "
1623 "underlying file of a mapping on the pages that correspond to added or "
1624 "removed regions of the file is unspecified."
1625 msgstr ""
1626 "Un fichier est projeté en multiples de de la taille de la page. Pour un "
1627 "fichier dont la longueur n'est pas un multiple de la taille de page, la "
1628 "mémoire restante est remplie de zéros lors de la projection, et les "
1629 "écritures dans cette zone n'affectent pas le fichier. Les effets de la "
1630 "modification de la taille du fichier sous\\(hyjacent sur les pages "
1631 "correspondant aux zones ajoutées ou supprimées ne sont pas précisés."
1632
1633 #. type: Plain text
1634 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1635 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1636 msgid ""
1637 "An application can determine which pages of a mapping are currently resident "
1638 "in the buffer/page cache using B<mincore>(2)."
1639 msgstr ""
1640 "Une application peut déterminer les pages d'une projection se trouvant dans "
1641 "le tampon/le cache de page en utilisant B<mincore>(2)."
1642
1643 #. type: SS
1644 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1645 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1646 #, no-wrap
1647 msgid "Using MAP_FIXED safely"
1648 msgstr "Utilisation sûre de MAP_FIXED"
1649
1650 #. type: Plain text
1651 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1652 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1653 msgid ""
1654 "The only safe use for B<MAP_FIXED> is where the address range specified by "
1655 "I<addr> and I<length> was previously reserved using another mapping; "
1656 "otherwise, the use of B<MAP_FIXED> is hazardous because it forcibly removes "
1657 "preexisting mappings, making it easy for a multithreaded process to corrupt "
1658 "its own address space."
1659 msgstr ""
1660 "La seule utilisation sûre de B<MAP_FIXED> est quand la plage d'adresses "
1661 "indiquée par I<addr> et I<length> a été préalablement réservée en utilisant "
1662 "une autre projection ; sans quoi l'utilisation de B<MAP_FIXED> est "
1663 "hasardeuse car elle supprime brutalement des projections préexistantes, ce "
1664 "qui facilite la corruption par un processus multithread de son propre espace "
1665 "d'adressage."
1666
1667 #. type: Plain text
1668 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1669 #: opensuse-tumbleweed
1670 #, fuzzy
1671 #| msgid ""
1672 #| "For example, suppose that thread A looks through I</proc/>pidI</maps> in "
1673 #| "order to locate an unused address range that it can map using "
1674 #| "B<MAP_FIXED>, while thread B simultaneously acquires part or all of that "
1675 #| "same address range. When thread A subsequently employs "
1676 #| "B<mmap(MAP_FIXED)>, it will effectively clobber the mapping that thread B "
1677 #| "created. In this scenario, thread B need not create a mapping directly; "
1678 #| "simply making a library call that, internally, uses B<dlopen>(3) to load "
1679 #| "some other shared library, will suffice. The B<dlopen>(3) call will map "
1680 #| "the library into the process's address space. Furthermore, almost any "
1681 #| "library call may be implemented in a way that adds memory mappings to the "
1682 #| "address space, either with this technique, or by simply allocating "
1683 #| "memory. Examples include B<brk>(2), B<malloc>(3), B<pthread_create>(3), "
1684 #| "and the PAM libraries E<.UR http://www.linux-pam.org> E<.UE .>"
1685 msgid ""
1686 "For example, suppose that thread A looks through I</proc/>pidI</maps> in "
1687 "order to locate an unused address range that it can map using B<MAP_FIXED>, "
1688 "while thread B simultaneously acquires part or all of that same address "
1689 "range. When thread A subsequently employs B<mmap(MAP_FIXED)>, it will "
1690 "effectively clobber the mapping that thread B created. In this scenario, "
1691 "thread B need not create a mapping directly; simply making a library call "
1692 "that, internally, uses B<dlopen>(3) to load some other shared library, will "
1693 "suffice. The B<dlopen>(3) call will map the library into the process's "
1694 "address space. Furthermore, almost any library call may be implemented in a "
1695 "way that adds memory mappings to the address space, either with this "
1696 "technique, or by simply allocating memory. Examples include B<brk>(2), "
1697 "B<malloc>(3), B<pthread_create>(3), and the PAM libraries E<.UR http:\\://"
1698 "www.linux-pam.org> E<.UE .>"
1699 msgstr ""
1700 "Par exemple, supposons qu'un thread A cherche dans I</proc/>pidI</maps> une "
1701 "plage d'adresses inutilisée où il peut se projeter en utilisant "
1702 "B<MAP_FIXED>, tandis qu'un thread B acquiert en même temps tout ou partie de "
1703 "cette même plage d'adresses. Quand le thread A utilisera ensuite "
1704 "B<mmap(MAP_FIXED)>, il va de fait écraser la projection créée par le thread "
1705 "B. Dans ce scénario, le thread B ne doit pas créer de projection "
1706 "directement ; un appel de bibliothèque qui, en interne, utilise B<dlopen>(3) "
1707 "pour charger d'autres bibliothèques partagées, est suffisant. L'appel "
1708 "B<dlopen>(3) projettera la bibliothèque dans l'espace d'adressage du "
1709 "processus. De plus, presque tous les appels de bibliothèques peuvent être "
1710 "implémentés d'une manière qui ajoute des projections de mémoire aux espaces "
1711 "d'adressage, à l'aide de cette technique ou en allouant simplement de la "
1712 "mémoire. Parmi les exemples, figurent B<brk>(2), B<malloc>(3), "
1713 "B<pthread_create>(3) et les bibliothèques PAM E<.UR http://www.linux-"
1714 "pam.org> E<.UE .>"
1715
1716 #. type: Plain text
1717 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1718 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1719 msgid ""
1720 "Since Linux 4.17, a multithreaded program can use the B<MAP_FIXED_NOREPLACE> "
1721 "flag to avoid the hazard described above when attempting to create a mapping "
1722 "at a fixed address that has not been reserved by a preexisting mapping."
1723 msgstr ""
1724 "Depuis Linux 4.17, un programme multithreadé peut utiliser l'attribut "
1725 "B<MAP_FIXED_NOREPLACE> pour éviter le risque décrit ci-dessus quand on "
1726 "essaie de créer une projection à une adresse fixe non réservée par une "
1727 "projection préexistante."
1728
1729 #. type: SS
1730 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1731 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1732 #, no-wrap
1733 msgid "Timestamps changes for file-backed mappings"
1734 msgstr "Modifications d'horodatage pour les projections prises en charge par un fichier"
1735
1736 #. type: Plain text
1737 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1738 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1739 msgid ""
1740 "For file-backed mappings, the I<st_atime> field for the mapped file may be "
1741 "updated at any time between the B<mmap>() and the corresponding unmapping; "
1742 "the first reference to a mapped page will update the field if it has not "
1743 "been already."
1744 msgstr ""
1745 "Pour les projections prises en charge par un fichier, le champ I<st_atime> "
1746 "du fichier peut être mis à jour à tout moment entre l'appel B<mmap>() et le "
1747 "B<munmap>() correspondant. Le premier accès dans la page projetée mettra le "
1748 "champ à jour si cela n'a pas été déjà fait."
1749
1750 #. type: Plain text
1751 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1752 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1753 msgid ""
1754 "The I<st_ctime> and I<st_mtime> field for a file mapped with B<PROT_WRITE> "
1755 "and B<MAP_SHARED> will be updated after a write to the mapped region, and "
1756 "before a subsequent B<msync>(2) with the B<MS_SYNC> or B<MS_ASYNC> flag, if "
1757 "one occurs."
1758 msgstr ""
1759 "Les champs I<st_ctime> et I<st_mtime> pour un fichier projeté avec "
1760 "B<PROT_WRITE> et B<MAP_SHARED> seront mis à jour après une écriture dans la "
1761 "région projetée, et avant l'éventuel B<msync>(2) suivant avec l'attribut "
1762 "B<MS_SYNC> ou B<MS_ASYNC>."
1763
1764 #. type: SS
1765 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1766 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1767 #, no-wrap
1768 msgid "Huge page (Huge TLB) mappings"
1769 msgstr "Projections de pages immenses (Huge TLB)"
1770
1771 #. type: Plain text
1772 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1773 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1774 msgid ""
1775 "For mappings that employ huge pages, the requirements for the arguments of "
1776 "B<mmap>() and B<munmap>() differ somewhat from the requirements for "
1777 "mappings that use the native system page size."
1778 msgstr ""
1779 "Pour les projections qui utilisent des pages immenses, les exigences des "
1780 "attributs de B<mmap>() et de B<munmap>() diffèrent quelque peu de celles "
1781 "pour des projections qui utilisent la taille native des pages du système."
1782
1783 #. type: Plain text
1784 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1785 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1786 msgid ""
1787 "For B<mmap>(), I<offset> must be a multiple of the underlying huge page "
1788 "size. The system automatically aligns I<length> to be a multiple of the "
1789 "underlying huge page size."
1790 msgstr ""
1791 "Pour B<mmap>(), I<offset> doit être un multiple de la taille de la page "
1792 "immense sous-jacente. Le système aligne automatiquement I<length> pour qu'il "
1793 "soit un multiple de la taille de la page immense sous-jacente."
1794
1795 #. type: Plain text
1796 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1797 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1798 msgid ""
1799 "For B<munmap>(), I<addr>, and I<length> must both be a multiple of the "
1800 "underlying huge page size."
1801 msgstr ""
1802 "Pour B<munmap>(), I<addr> et I<length> doivent être tous deux un multiple de "
1803 "la taille de la page immense sous-jacente."
1804
1805 #. type: SH
1806 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1807 #: opensuse-tumbleweed
1808 #, no-wrap
1809 msgid "CAVEATS"
1810 msgstr ""
1811
1812 #. type: Plain text
1813 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1814 #: opensuse-tumbleweed
1815 msgid ""
1816 "Unlike typical B<malloc>(3) implementations, B<mmap>() does not prevent "
1817 "creating objects larger than B<PTRDIFF_MAX>. Objects that are larger than "
1818 "B<PTRDIFF_MAX> only work in limited ways in C (in particular, pointer "
1819 "subtraction results in undefined behavior if the result would be bigger than "
1820 "B<PTRDIFF_MAX>). On top of that, GCC also assumes that no object is bigger "
1821 "than B<PTRDIFF_MAX>. B<PTRDIFF_MAX> is usually half of the address space "
1822 "size; so for 32-bit processes, it is usually B<0x7fffffff> (almost 2 GiB)."
1823 msgstr ""
1824
1825 #. type: SH
1826 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1827 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1828 #, no-wrap
1829 msgid "BUGS"
1830 msgstr "BOGUES"
1831
1832 #. type: Plain text
1833 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1834 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1835 msgid ""
1836 "On Linux, there are no guarantees like those suggested above under "
1837 "B<MAP_NORESERVE>. By default, any process can be killed at any moment when "
1838 "the system runs out of memory."
1839 msgstr ""
1840 "Sous Linux, il n'y a aucune garantie comme celles indiquées plus haut à "
1841 "propos de B<MAP_NORESERVE>. Par défaut, n'importe quel processus peut être "
1842 "tué à tout moment lorsque le système n'a plus de mémoire."
1843
1844 #. type: Plain text
1845 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1846 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1847 msgid ""
1848 "Before Linux 2.6.7, the B<MAP_POPULATE> flag has effect only if I<prot> is "
1849 "specified as B<PROT_NONE>."
1850 msgstr ""
1851 "Avant Linux 2.6.7, l'attribut B<MAP_POPULATE> n'avait d'effet que si I<prot> "
1852 "était B<PROT_NONE>."
1853
1854 #. type: Plain text
1855 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1856 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1857 msgid ""
1858 "SUSv3 specifies that B<mmap>() should fail if I<length> is 0. However, "
1859 "before Linux 2.6.12, B<mmap>() succeeded in this case: no mapping was "
1860 "created and the call returned I<addr>. Since Linux 2.6.12, B<mmap>() fails "
1861 "with the error B<EINVAL> for this case."
1862 msgstr ""
1863 "SUSv3 indique que B<mmap>() devrait échouer si I<length> est 0. Cependant, "
1864 "avant Linux 2.6.12, B<mmap>() réussissait dans ce cas\\ : aucune projection "
1865 "n'était créée, et l'appel renvoyait I<addr>. Depuis Linux 2.6.12, B<mmap>() "
1866 "échoue avec le code d'erreur B<EINVAL> si I<length> est nul."
1867
1868 #. type: Plain text
1869 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1870 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1871 msgid ""
1872 "POSIX specifies that the system shall always zero fill any partial page at "
1873 "the end of the object and that system will never write any modification of "
1874 "the object beyond its end. On Linux, when you write data to such partial "
1875 "page after the end of the object, the data stays in the page cache even "
1876 "after the file is closed and unmapped and even though the data is never "
1877 "written to the file itself, subsequent mappings may see the modified "
1878 "content. In some cases, this could be fixed by calling B<msync>(2) before "
1879 "the unmap takes place; however, this doesn't work on B<tmpfs>(5) (for "
1880 "example, when using the POSIX shared memory interface documented in "
1881 "B<shm_overview>(7))."
1882 msgstr ""
1883 "POSIX spécifie que le système devrait toujours remplir de zéros toutes les "
1884 "pages incomplètes à la fin de l'objet et que le système n'écrira jamais de "
1885 "modification de l'objet au-delà de sa fin. Sous Linux, lors de l'écriture de "
1886 "données vers ce genre de pages incomplètes après la fin de l'objet, les "
1887 "données restent dans le cache de page même après que le fichier soit fermé "
1888 "et déprojeté, et même si les données ne sont jamais écrites vers le fichier "
1889 "lui-même, les projections suivantes pourraient voir le contenu modifié. Dans "
1890 "certains cas, cela pourrait être corrigé en appelant B<msync>(2) avant la "
1891 "déprojection. Cependant, cela ne fonctionne pas sur B<tmpfs>(5) (par exemple "
1892 "en utilisant l'interface de mémoire partagée POSIX documentée dans "
1893 "B<shm_overview>(7))."
1894
1895 #. type: SH
1896 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1897 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1898 #, no-wrap
1899 msgid "EXAMPLES"
1900 msgstr "EXEMPLES"
1901
1902 #. FIXME . Add an example here that uses an anonymous shared region for
1903 #. IPC between parent and child.
1904 #. type: Plain text
1905 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1906 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1907 msgid ""
1908 "The following program prints part of the file specified in its first command-"
1909 "line argument to standard output. The range of bytes to be printed is "
1910 "specified via offset and length values in the second and third command-line "
1911 "arguments. The program creates a memory mapping of the required pages of "
1912 "the file and then uses B<write>(2) to output the desired bytes."
1913 msgstr ""
1914 "Le programme suivant affiche la partie du fichier, précisé par le premier "
1915 "argument de la ligne de commande, sur la sortie standard. Les octets qui "
1916 "seront affichés sont précisés à partir d'un offset (déplacement) et d'une "
1917 "longueur en deuxième et troisième paramètre. Le code fait une projection "
1918 "mémoire des pages nécessaires du fichier puis utilise B<write>(2) pour "
1919 "afficher les octets voulus."
1920
1921 #. type: SS
1922 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1923 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1924 #, no-wrap
1925 msgid "Program source"
1926 msgstr "Source du programme"
1927
1928 #. type: Plain text
1929 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1930 #: opensuse-tumbleweed
1931 #, fuzzy, no-wrap
1932 #| msgid ""
1933 #| "#include E<lt>fcntl.hE<gt>\n"
1934 #| "#include E<lt>stdio.hE<gt>\n"
1935 #| "#include E<lt>stdlib.hE<gt>\n"
1936 #| "#include E<lt>sys/mman.hE<gt>\n"
1937 #| "#include E<lt>sys/stat.hE<gt>\n"
1938 #| "#include E<lt>sys/types.hE<gt>\n"
1939 #| "#include E<lt>unistd.hE<gt>\n"
1940 #| "\\&\n"
1941 #| "#define handle_error(msg) \\[rs]\n"
1942 #| " do { perror(msg); exit(EXIT_FAILURE); } while (0)\n"
1943 #| "\\&\n"
1944 #| "int\n"
1945 #| "main(int argc, char *argv[])\n"
1946 #| "{\n"
1947 #| " int fd;\n"
1948 #| " char *addr;\n"
1949 #| " off_t offset, pa_offset;\n"
1950 #| " size_t length;\n"
1951 #| " ssize_t s;\n"
1952 #| " struct stat sb;\n"
1953 #| "\\&\n"
1954 #| " if (argc E<lt> 3 || argc E<gt> 4) {\n"
1955 #| " fprintf(stderr, \"%s file offset [length]\\[rs]n\", argv[0]);\n"
1956 #| " exit(EXIT_FAILURE);\n"
1957 #| " }\n"
1958 #| "\\&\n"
1959 #| " fd = open(argv[1], O_RDONLY);\n"
1960 #| " if (fd == -1)\n"
1961 #| " handle_error(\"open\");\n"
1962 #| "\\&\n"
1963 #| " if (fstat(fd, &sb) == -1) /* To obtain file size */\n"
1964 #| " handle_error(\"fstat\");\n"
1965 #| "\\&\n"
1966 #| " offset = atoi(argv[2]);\n"
1967 #| " pa_offset = offset & \\[ti](sysconf(_SC_PAGE_SIZE) - 1);\n"
1968 #| " /* offset for mmap() must be page aligned */\n"
1969 #| "\\&\n"
1970 #| " if (offset E<gt>= sb.st_size) {\n"
1971 #| " fprintf(stderr, \"offset is past end of file\\[rs]n\");\n"
1972 #| " exit(EXIT_FAILURE);\n"
1973 #| " }\n"
1974 #| "\\&\n"
1975 #| " if (argc == 4) {\n"
1976 #| " length = atoi(argv[3]);\n"
1977 #| " if (offset + length E<gt> sb.st_size)\n"
1978 #| " length = sb.st_size - offset;\n"
1979 #| " /* Can\\[aq]t display bytes past end of file */\n"
1980 #| "\\&\n"
1981 #| " } else { /* No length arg ==E<gt> display to end of file */\n"
1982 #| " length = sb.st_size - offset;\n"
1983 #| " }\n"
1984 #| "\\&\n"
1985 #| " addr = mmap(NULL, length + offset - pa_offset, PROT_READ,\n"
1986 #| " MAP_PRIVATE, fd, pa_offset);\n"
1987 #| " if (addr == MAP_FAILED)\n"
1988 #| " handle_error(\"mmap\");\n"
1989 #| "\\&\n"
1990 #| " s = write(STDOUT_FILENO, addr + offset - pa_offset, length);\n"
1991 #| " if (s != length) {\n"
1992 #| " if (s == -1)\n"
1993 #| " handle_error(\"write\");\n"
1994 #| "\\&\n"
1995 #| " fprintf(stderr, \"partial write\");\n"
1996 #| " exit(EXIT_FAILURE);\n"
1997 #| " }\n"
1998 #| "\\&\n"
1999 #| " munmap(addr, length + offset - pa_offset);\n"
2000 #| " close(fd);\n"
2001 #| "\\&\n"
2002 #| " exit(EXIT_SUCCESS);\n"
2003 #| "}\n"
2004 msgid ""
2005 "#include E<lt>err.hE<gt>\n"
2006 "#include E<lt>fcntl.hE<gt>\n"
2007 "#include E<lt>stdio.hE<gt>\n"
2008 "#include E<lt>stdlib.hE<gt>\n"
2009 "#include E<lt>sys/mman.hE<gt>\n"
2010 "#include E<lt>sys/stat.hE<gt>\n"
2011 "#include E<lt>sys/types.hE<gt>\n"
2012 "#include E<lt>unistd.hE<gt>\n"
2013 "\\&\n"
2014 "int\n"
2015 "main(int argc, char *argv[])\n"
2016 "{\n"
2017 " int fd;\n"
2018 " char *addr;\n"
2019 " off_t offset, pa_offset;\n"
2020 " size_t length;\n"
2021 " ssize_t s;\n"
2022 " struct stat sb;\n"
2023 "\\&\n"
2024 " if (argc E<lt> 3 || argc E<gt> 4) {\n"
2025 " fprintf(stderr, \"%s file offset [length]\\[rs]n\", argv[0]);\n"
2026 " exit(EXIT_FAILURE);\n"
2027 " }\n"
2028 "\\&\n"
2029 " fd = open(argv[1], O_RDONLY);\n"
2030 " if (fd == -1)\n"
2031 " err(EXIT_FAILURE, \"open\");\n"
2032 "\\&\n"
2033 " if (fstat(fd, &sb) == -1) /* To obtain file size */\n"
2034 " err(EXIT_FAILURE, \"fstat\");\n"
2035 "\\&\n"
2036 " offset = atoi(argv[2]);\n"
2037 " pa_offset = offset & \\[ti](sysconf(_SC_PAGE_SIZE) - 1);\n"
2038 " /* offset for mmap() must be page aligned */\n"
2039 "\\&\n"
2040 " if (offset E<gt>= sb.st_size) {\n"
2041 " fprintf(stderr, \"offset is past end of file\\[rs]n\");\n"
2042 " exit(EXIT_FAILURE);\n"
2043 " }\n"
2044 "\\&\n"
2045 " if (argc == 4) {\n"
2046 " length = atoi(argv[3]);\n"
2047 " if (offset + length E<gt> sb.st_size)\n"
2048 " length = sb.st_size - offset;\n"
2049 " /* Can\\[aq]t display bytes past end of file */\n"
2050 "\\&\n"
2051 " } else { /* No length arg ==E<gt> display to end of file */\n"
2052 " length = sb.st_size - offset;\n"
2053 " }\n"
2054 "\\&\n"
2055 " addr = mmap(NULL, length + offset - pa_offset, PROT_READ,\n"
2056 " MAP_PRIVATE, fd, pa_offset);\n"
2057 " if (addr == MAP_FAILED)\n"
2058 " err(EXIT_FAILURE, \"mmap\");\n"
2059 "\\&\n"
2060 " s = write(STDOUT_FILENO, addr + offset - pa_offset, length);\n"
2061 " if (s != length) {\n"
2062 " if (s == -1)\n"
2063 " err(EXIT_FAILURE, \"write\");\n"
2064 "\\&\n"
2065 " fprintf(stderr, \"partial write\");\n"
2066 " exit(EXIT_FAILURE);\n"
2067 " }\n"
2068 "\\&\n"
2069 " munmap(addr, length + offset - pa_offset);\n"
2070 " close(fd);\n"
2071 "\\&\n"
2072 " exit(EXIT_SUCCESS);\n"
2073 "}\n"
2074 msgstr ""
2075 "#include E<lt>fcntl.hE<gt>\n"
2076 "#include E<lt>stdio.hE<gt>\n"
2077 "#include E<lt>stdlib.hE<gt>\n"
2078 "#include E<lt>sys/mman.hE<gt>\n"
2079 "#include E<lt>sys/stat.hE<gt>\n"
2080 "#include E<lt>sys/types.hE<gt>\n"
2081 "#include E<lt>unistd.hE<gt>\n"
2082 "\\&\n"
2083 "#define handle_error(msg) \\[rs]\n"
2084 " do { perror(msg); exit(EXIT_FAILURE); } while (0)\n"
2085 "\\&\n"
2086 "int\n"
2087 "main(int argc, char *argv[])\n"
2088 "{\n"
2089 " int fd;\n"
2090 " char *addr;\n"
2091 " off_t offset, pa_offset;\n"
2092 " size_t length;\n"
2093 " ssize_t s;\n"
2094 " struct stat sb;\n"
2095 "\\&\n"
2096 " if (argc E<lt> 3 || argc E<gt> 4) {\n"
2097 " fprintf(stderr, \"%s position du fichier [longueur]\\[rs]n\", argv[0]);\n"
2098 " exit(EXIT_FAILURE);\n"
2099 " }\n"
2100 "\\&\n"
2101 " fd = open(argv[1], O_RDONLY);\n"
2102 " if (fd == -1)\n"
2103 " handle_error(\"open\");\n"
2104 "\\&\n"
2105 " if (fstat(fd, &sb) == -1) /* To obtain file size */\n"
2106 " handle_error(\"fstat\");\n"
2107 "\\&\n"
2108 " offset = atoi(argv[2]);\n"
2109 " pa_offset = offset & \\[ti](sysconf(_SC_PAGE_SIZE) - 1);\n"
2110 " /* la position de mmap() doit être alignée sur la page */\n"
2111 "\\&\n"
2112 " if (offset E<gt>= sb.st_size) {\n"
2113 " fprintf(stderr, \"la position est au-delà de la fin du fichier\\[rs]n\");\n"
2114 " exit(EXIT_FAILURE);\n"
2115 " }\n"
2116 "\\&\n"
2117 " if (argc == 4) {\n"
2118 " length = atoi(argv[3]);\n"
2119 " if (offset + length E<gt> sb.st_size)\n"
2120 " length = sb.st_size - offset;\n"
2121 " /* Ne peut pas afficher d'octets situés après la fin du fichier */\n"
2122 "\\&\n"
2123 " } else { /* Pas d'affichage de longueur arg ==E<gt> à la fin du fichier */\n"
2124 " length = sb.st_size - offset;\n"
2125 " }\n"
2126 "\\&\n"
2127 " addr = mmap(NULL, length + offset - pa_offset, PROT_READ,\n"
2128 " MAP_PRIVATE, fd, pa_offset);\n"
2129 " if (addr == MAP_FAILED)\n"
2130 " handle_error(\"mmap\");\n"
2131 "\\&\n"
2132 " s = write(STDOUT_FILENO, addr + offset - pa_offset, length);\n"
2133 " if (s != length) {\n"
2134 " if (s == -1)\n"
2135 " handle_error(\"write\");\n"
2136 "\\&\n"
2137 " fprintf(stderr, \"écriture partielle\");\n"
2138 " exit(EXIT_FAILURE);\n"
2139 " }\n"
2140 "\\&\n"
2141 " munmap(addr, length + offset - pa_offset);\n"
2142 " close(fd);\n"
2143 "\\&\n"
2144 " exit(EXIT_SUCCESS);\n"
2145 "}\n"
2146
2147 #. SRC END
2148 #. type: SH
2149 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2150 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2151 #, no-wrap
2152 msgid "SEE ALSO"
2153 msgstr "VOIR AUSSI"
2154
2155 #. type: Plain text
2156 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2157 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2158 msgid ""
2159 "B<ftruncate>(2), B<getpagesize>(2), B<memfd_create>(2), B<mincore>(2), "
2160 "B<mlock>(2), B<mmap2>(2), B<mprotect>(2), B<mremap>(2), B<msync>(2), "
2161 "B<remap_file_pages>(2), B<setrlimit>(2), B<shmat>(2), B<userfaultfd>(2), "
2162 "B<shm_open>(3), B<shm_overview>(7)"
2163 msgstr ""
2164 "B<ftruncate>(2), B<getpagesize>(2), B<memfd_create>(2), B<mincore>(2), "
2165 "B<mlock>(2), B<mmap2>(2), B<mprotect>(2), B<mremap>(2), B<msync>(2), "
2166 "B<remap_file_pages>(2), B<setrlimit>(2), B<shmat>(2), B<userfaultfd>(2), "
2167 "B<shm_open>(3), B<shm_overview>(7)"
2168
2169 #. type: Plain text
2170 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2171 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2172 msgid ""
2173 "The descriptions of the following files in B<proc>(5): I</proc/>pidI</maps>, "
2174 "I</proc/>pidI</map_files>, and I</proc/>pidI</smaps>."
2175 msgstr ""
2176 "Dans B<proc>(5), les descriptions des fichiers : I</proc/>pidI</maps>, I</"
2177 "proc/>pidI</map_files> et I</proc/>pidI</smaps>."
2178
2179 #. type: Plain text
2180 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
2181 #: opensuse-tumbleweed
2182 #, fuzzy
2183 #| msgid ""
2184 #| "B.O. Gallmeister, POSIX.4, O'Reilly, pp. 128\\[en]129 and 389\\[en]391."
2185 msgid ""
2186 "B.O.\\& Gallmeister, POSIX.4, O'Reilly, pp.\\& 128\\[en]129 and 389\\[en]391."
2187 msgstr "B.O. Gallmeister, POSIX.4, O'Reilly, p. 128\\[en]129 et 389\\[en]391."
2188
2189 #. type: TH
2190 #: debian-trixie
2191 #, no-wrap
2192 msgid "2024-06-15"
2193 msgstr "15 juin 2024"
2194
2195 #. type: TH
2196 #: debian-trixie
2197 #, no-wrap
2198 msgid "Linux man-pages 6.9.1"
2199 msgstr "Pages du manuel de Linux 6.9.1"
2200
2201 #. type: Plain text
2202 #: debian-trixie
2203 msgid "Standard C library (I<libc>, I<-lc>)"
2204 msgstr "Bibliothèque C standard (I<libc>, I<-lc>)"
2205
2206 #. type: Plain text
2207 #: debian-trixie fedora-44 fedora-rawhide
2208 #, no-wrap
2209 msgid ""
2210 "B<void *mmap(void >I<addr>B<[.>I<length>B<], size_t >I<length>B<, int >I<prot>B<, int >I<flags>B<,>\n"
2211 "B< int >I<fd>B<, off_t >I<offset>B<);>\n"
2212 "B<int munmap(void >I<addr>B<[.>I<length>B<], size_t >I<length>B<);>\n"
2213 msgstr ""
2214 "B<void *mmap(void >I<addr>B<[.>I<length>B<], size_t >I<length>B<, int >I<prot>B<, int >I<flags>B<,>\n"
2215 "B< int >I<fd>B<, off_t >I<offset>B<);>\n"
2216 "B<int munmap(void >I<addr>B<[.>I<length>B<], size_t >I<length>B<);>\n"
2217
2218 #. type: Plain text
2219 #: debian-trixie
2220 msgid "See NOTES for information on feature test macro requirements."
2221 msgstr ""
2222 "Consultez la section NOTES pour plus d'informations sur les exigences de la "
2223 "macro de test de fonctionnalité."
2224
2225 #. commit a4ff8e8620d3f4f50ac4b41e8067b7d395056843
2226 #. type: Plain text
2227 #: debian-trixie fedora-44 fedora-rawhide
2228 msgid ""
2229 "This flag provides behavior that is similar to B<MAP_FIXED> with respect to "
2230 "the I<addr> enforcement, but differs in that B<MAP_FIXED_NOREPLACE> never "
2231 "clobbers a preexisting mapped range. If the requested range would collide "
2232 "with an existing mapping, then this call fails with the error B<EEXIST.> "
2233 "This flag can therefore be used as a way to atomically (with respect to "
2234 "other threads) attempt to map an address range: one thread will succeed; all "
2235 "others will report failure."
2236 msgstr ""
2237 "Cet attribut offre un comportement identique à B<MAP_FIXED> par rapport à "
2238 "l'application de I<addr>, mais il s'en distingue en ce que "
2239 "B<MAP_FIXED_NOREPLACE> n’écrase jamais une plage projetée existante. Si la "
2240 "plage demandée entre en conflit avec une projection existante, cet appel "
2241 "échoue avec l'erreur B<EEXIST.> Cet attribut peut donc être utilisé comme "
2242 "une façon d'essayer de projeter une plage d'adresses de manière atomique "
2243 "(vis-à-vis d'autres fils d'exécutions) : un thread réussira, tous les autres "
2244 "signaleront un échec."
2245
2246 #. type: Plain text
2247 #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron
2248 msgid ""
2249 "This flag is used for stacks. It indicates to the kernel virtual memory "
2250 "system that the mapping should extend downward in memory. The return "
2251 "address is one page lower than the memory area that is actually created in "
2252 "the process's virtual address space. Touching an address in the \"guard\" "
2253 "page below the mapping will cause the mapping to grow by a page. This "
2254 "growth can be repeated until the mapping grows to within a page of the high "
2255 "end of the next lower mapping, at which point touching the \"guard\" page "
2256 "will result in a B<SIGSEGV> signal."
2257 msgstr ""
2258 "Cet attribut est utilisé pour les piles. Il indique au noyau le système de "
2259 "mémoire virtuelle vers lequel la projection devrait descendre dans la "
2260 "mémoire. L'adresse renvoyée est une page inférieure à la zone de mémoire "
2261 "créée dans l'espace d'adressage virtuel du processus. La modification d'une "
2262 "adresse dans la page de « garde » sous la projection fera agrandir la "
2263 "projection d’une page. Cette croissance peut se répéter jusqu'à ce que la "
2264 "taille de la projection dans la page atteigne l’extrémité haute de la "
2265 "projection plus basse suivante, point où la modification de la page de "
2266 "« garde » donnera un signal B<SIGSEGV>."
2267
2268 #. type: Plain text
2269 #: debian-trixie fedora-44 fedora-rawhide
2270 msgid ""
2271 "Do not reserve swap space for this mapping. When swap space is reserved, "
2272 "one has the guarantee that it is possible to modify the mapping. When swap "
2273 "space is not reserved one might get B<SIGSEGV> upon a write if no physical "
2274 "memory is available. See also the discussion of the file I</proc/sys/vm/"
2275 "overcommit_memory> in B<proc>(5). Before Linux 2.6, this flag had effect "
2276 "only for private writable mappings."
2277 msgstr ""
2278 "Ne pas réserver d'espace de swap pour les pages de cette projection. Une "
2279 "telle réservation garantit que l'on puisse modifier les zones soumises à une "
2280 "copie-en-écriture. Sans réservation, on peut recevoir un signal B<SIGSEGV> "
2281 "durant une écriture, s'il n'y a plus de place disponible. Consultez "
2282 "également la description du fichier I</proc/sys/vm/overcommit_memory> dans "
2283 "la page B<proc>(5). Avant Linux 2.6, cet attribut n'avait d'effet que pour "
2284 "les projections privées modifiables."
2285
2286 #. type: Plain text
2287 #: debian-trixie fedora-44 fedora-rawhide
2288 msgid ""
2289 "The B<MAP_HUGETLB> flag was specified, but the caller was not privileged "
2290 "(did not have the B<CAP_IPC_LOCK> capability) and is not a member of the "
2291 "I<sysctl_hugetlb_shm_group> group; see the description of I</proc/sys/vm/"
2292 "sysctl_hugetlb_shm_group> in B<proc_sys>(5)."
2293 msgstr ""
2294 "L'attribut B<MAP_HUGETLB> était indiqué, mais l'appelant n'était pas "
2295 "priviliégié (il n'avait pas la capacité B<CAP_IPC_LOCK>) et n'est pas membre "
2296 "du groupe I<sysctl_hugetlb_shm_group> ; voir la desription de I</proc/sys/vm/"
2297 "sysctl_hugetlb_shm_group> dans B<proc_sys>(5)."
2298
2299 #. type: Plain text
2300 #: debian-trixie fedora-44 fedora-rawhide
2301 msgid "POSIX.1-2008."
2302 msgstr "POSIX.1-2008."
2303
2304 #. SVr4 documents additional error codes ENXIO and ENODEV.
2305 #. SUSv2 documents additional error codes EMFILE and EOVERFLOW.
2306 #. type: Plain text
2307 #: debian-trixie fedora-44 fedora-rawhide
2308 msgid "POSIX.1-2001, SVr4, 4.4BSD."
2309 msgstr "POSIX.1-2001, SVr4, 4.4BSD."
2310
2311 #. type: Plain text
2312 #: debian-trixie fedora-44 fedora-rawhide
2313 msgid ""
2314 "For example, suppose that thread A looks through I</proc/>pidI</maps> in "
2315 "order to locate an unused address range that it can map using B<MAP_FIXED>, "
2316 "while thread B simultaneously acquires part or all of that same address "
2317 "range. When thread A subsequently employs B<mmap(MAP_FIXED)>, it will "
2318 "effectively clobber the mapping that thread B created. In this scenario, "
2319 "thread B need not create a mapping directly; simply making a library call "
2320 "that, internally, uses B<dlopen>(3) to load some other shared library, will "
2321 "suffice. The B<dlopen>(3) call will map the library into the process's "
2322 "address space. Furthermore, almost any library call may be implemented in a "
2323 "way that adds memory mappings to the address space, either with this "
2324 "technique, or by simply allocating memory. Examples include B<brk>(2), "
2325 "B<malloc>(3), B<pthread_create>(3), and the PAM libraries E<.UR http://"
2326 "www.linux-pam.org> E<.UE .>"
2327 msgstr ""
2328 "Par exemple, supposons qu'un thread A cherche dans I</proc/>pidI</maps> une "
2329 "plage d'adresses inutilisée où il peut se projeter en utilisant "
2330 "B<MAP_FIXED>, tandis qu'un thread B acquiert en même temps tout ou partie de "
2331 "cette même plage d'adresses. Quand le thread A utilisera ensuite "
2332 "B<mmap(MAP_FIXED)>, il va de fait écraser la projection créée par le thread "
2333 "B. Dans ce scénario, le thread B ne doit pas créer de projection "
2334 "directement ; un appel de bibliothèque qui, en interne, utilise B<dlopen>(3) "
2335 "pour charger d'autres bibliothèques partagées, est suffisant. L'appel "
2336 "B<dlopen>(3) projettera la bibliothèque dans l'espace d'adressage du "
2337 "processus. De plus, presque tous les appels de bibliothèques peuvent être "
2338 "implémentés d'une manière qui ajoute des projections de mémoire aux espaces "
2339 "d'adressage, à l'aide de cette technique ou en allouant simplement de la "
2340 "mémoire. Parmi les exemples, figurent B<brk>(2), B<malloc>(3), "
2341 "B<pthread_create>(3) et les bibliothèques PAM E<.UR http://www.linux-"
2342 "pam.org> E<.UE .>"
2343
2344 #. type: Plain text
2345 #: debian-trixie fedora-44 fedora-rawhide
2346 #, no-wrap
2347 msgid ""
2348 "#include E<lt>fcntl.hE<gt>\n"
2349 "#include E<lt>stdio.hE<gt>\n"
2350 "#include E<lt>stdlib.hE<gt>\n"
2351 "#include E<lt>sys/mman.hE<gt>\n"
2352 "#include E<lt>sys/stat.hE<gt>\n"
2353 "#include E<lt>sys/types.hE<gt>\n"
2354 "#include E<lt>unistd.hE<gt>\n"
2355 "\\&\n"
2356 "#define handle_error(msg) \\[rs]\n"
2357 " do { perror(msg); exit(EXIT_FAILURE); } while (0)\n"
2358 "\\&\n"
2359 "int\n"
2360 "main(int argc, char *argv[])\n"
2361 "{\n"
2362 " int fd;\n"
2363 " char *addr;\n"
2364 " off_t offset, pa_offset;\n"
2365 " size_t length;\n"
2366 " ssize_t s;\n"
2367 " struct stat sb;\n"
2368 "\\&\n"
2369 " if (argc E<lt> 3 || argc E<gt> 4) {\n"
2370 " fprintf(stderr, \"%s file offset [length]\\[rs]n\", argv[0]);\n"
2371 " exit(EXIT_FAILURE);\n"
2372 " }\n"
2373 "\\&\n"
2374 " fd = open(argv[1], O_RDONLY);\n"
2375 " if (fd == -1)\n"
2376 " handle_error(\"open\");\n"
2377 "\\&\n"
2378 " if (fstat(fd, &sb) == -1) /* To obtain file size */\n"
2379 " handle_error(\"fstat\");\n"
2380 "\\&\n"
2381 " offset = atoi(argv[2]);\n"
2382 " pa_offset = offset & \\[ti](sysconf(_SC_PAGE_SIZE) - 1);\n"
2383 " /* offset for mmap() must be page aligned */\n"
2384 "\\&\n"
2385 " if (offset E<gt>= sb.st_size) {\n"
2386 " fprintf(stderr, \"offset is past end of file\\[rs]n\");\n"
2387 " exit(EXIT_FAILURE);\n"
2388 " }\n"
2389 "\\&\n"
2390 " if (argc == 4) {\n"
2391 " length = atoi(argv[3]);\n"
2392 " if (offset + length E<gt> sb.st_size)\n"
2393 " length = sb.st_size - offset;\n"
2394 " /* Can\\[aq]t display bytes past end of file */\n"
2395 "\\&\n"
2396 " } else { /* No length arg ==E<gt> display to end of file */\n"
2397 " length = sb.st_size - offset;\n"
2398 " }\n"
2399 "\\&\n"
2400 " addr = mmap(NULL, length + offset - pa_offset, PROT_READ,\n"
2401 " MAP_PRIVATE, fd, pa_offset);\n"
2402 " if (addr == MAP_FAILED)\n"
2403 " handle_error(\"mmap\");\n"
2404 "\\&\n"
2405 " s = write(STDOUT_FILENO, addr + offset - pa_offset, length);\n"
2406 " if (s != length) {\n"
2407 " if (s == -1)\n"
2408 " handle_error(\"write\");\n"
2409 "\\&\n"
2410 " fprintf(stderr, \"partial write\");\n"
2411 " exit(EXIT_FAILURE);\n"
2412 " }\n"
2413 "\\&\n"
2414 " munmap(addr, length + offset - pa_offset);\n"
2415 " close(fd);\n"
2416 "\\&\n"
2417 " exit(EXIT_SUCCESS);\n"
2418 "}\n"
2419 msgstr ""
2420 "#include E<lt>fcntl.hE<gt>\n"
2421 "#include E<lt>stdio.hE<gt>\n"
2422 "#include E<lt>stdlib.hE<gt>\n"
2423 "#include E<lt>sys/mman.hE<gt>\n"
2424 "#include E<lt>sys/stat.hE<gt>\n"
2425 "#include E<lt>sys/types.hE<gt>\n"
2426 "#include E<lt>unistd.hE<gt>\n"
2427 "\\&\n"
2428 "#define handle_error(msg) \\[rs]\n"
2429 " do { perror(msg); exit(EXIT_FAILURE); } while (0)\n"
2430 "\\&\n"
2431 "int\n"
2432 "main(int argc, char *argv[])\n"
2433 "{\n"
2434 " int fd;\n"
2435 " char *addr;\n"
2436 " off_t offset, pa_offset;\n"
2437 " size_t length;\n"
2438 " ssize_t s;\n"
2439 " struct stat sb;\n"
2440 "\\&\n"
2441 " if (argc E<lt> 3 || argc E<gt> 4) {\n"
2442 " fprintf(stderr, \"%s position du fichier [longueur]\\[rs]n\", argv[0]);\n"
2443 " exit(EXIT_FAILURE);\n"
2444 " }\n"
2445 "\\&\n"
2446 " fd = open(argv[1], O_RDONLY);\n"
2447 " if (fd == -1)\n"
2448 " handle_error(\"open\");\n"
2449 "\\&\n"
2450 " if (fstat(fd, &sb) == -1) /* To obtain file size */\n"
2451 " handle_error(\"fstat\");\n"
2452 "\\&\n"
2453 " offset = atoi(argv[2]);\n"
2454 " pa_offset = offset & \\[ti](sysconf(_SC_PAGE_SIZE) - 1);\n"
2455 " /* la position de mmap() doit être alignée sur la page */\n"
2456 "\\&\n"
2457 " if (offset E<gt>= sb.st_size) {\n"
2458 " fprintf(stderr, \"la position est au-delà de la fin du fichier\\[rs]n\");\n"
2459 " exit(EXIT_FAILURE);\n"
2460 " }\n"
2461 "\\&\n"
2462 " if (argc == 4) {\n"
2463 " length = atoi(argv[3]);\n"
2464 " if (offset + length E<gt> sb.st_size)\n"
2465 " length = sb.st_size - offset;\n"
2466 " /* Ne peut pas afficher d'octets situés après la fin du fichier */\n"
2467 "\\&\n"
2468 " } else { /* Pas d'affichage de longueur arg ==E<gt> à la fin du fichier */\n"
2469 " length = sb.st_size - offset;\n"
2470 " }\n"
2471 "\\&\n"
2472 " addr = mmap(NULL, length + offset - pa_offset, PROT_READ,\n"
2473 " MAP_PRIVATE, fd, pa_offset);\n"
2474 " if (addr == MAP_FAILED)\n"
2475 " handle_error(\"mmap\");\n"
2476 "\\&\n"
2477 " s = write(STDOUT_FILENO, addr + offset - pa_offset, length);\n"
2478 " if (s != length) {\n"
2479 " if (s == -1)\n"
2480 " handle_error(\"write\");\n"
2481 "\\&\n"
2482 " fprintf(stderr, \"écriture partielle\");\n"
2483 " exit(EXIT_FAILURE);\n"
2484 " }\n"
2485 "\\&\n"
2486 " munmap(addr, length + offset - pa_offset);\n"
2487 " close(fd);\n"
2488 "\\&\n"
2489 " exit(EXIT_SUCCESS);\n"
2490 "}\n"
2491
2492 #. type: Plain text
2493 #: debian-trixie fedora-44 fedora-rawhide
2494 msgid "B.O. Gallmeister, POSIX.4, O'Reilly, pp. 128\\[en]129 and 389\\[en]391."
2495 msgstr "B.O. Gallmeister, POSIX.4, O'Reilly, p. 128\\[en]129 et 389\\[en]391."
2496
2497 #. type: TH
2498 #: fedora-44 fedora-rawhide
2499 #, no-wrap
2500 msgid "2024-07-23"
2501 msgstr "23 juillet 2024"
2502
2503 #. type: TH
2504 #: fedora-44 fedora-rawhide
2505 #, no-wrap
2506 msgid "Linux man-pages 6.13"
2507 msgstr "Pages du manuel de Linux 6.13"
2508
2509 #. type: TH
2510 #: mageia-cauldron
2511 #, no-wrap
2512 msgid "2026-02-11"
2513 msgstr "11 février 2026"
2514
2515 #. type: TH
2516 #: mageia-cauldron
2517 #, no-wrap
2518 msgid "Linux man-pages 6.17"
2519 msgstr "Pages du manuel de Linux 6.17"
2520
2521 #. type: TH
2522 #: opensuse-leap-16-1 opensuse-tumbleweed
2523 #, no-wrap
2524 msgid "Linux man-pages (unreleased)"
2525 msgstr "Pages du manuel de Linux (non publiées)"