Debian Codegraph @

po/fr/man5/core.5.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, 2013.
16 # Denis Barbier <[email protected]>, 2006,2010.
17 # David Prévot <[email protected]>, 2010, 2013.
18 # Cédric Boutillier <[email protected]>, 2011, 2012, 2013.
19 # Frédéric Hantrais <[email protected]>, 2013, 2014.
20 # Lucien Gentis <[email protected]>, 2024.
21 msgid ""
22 msgstr ""
23 "Project-Id-Version: manpages-l10n 4.22.0\n"
24 "POT-Creation-Date: 2026-06-05 06:21+0200\n"
25 "PO-Revision-Date: 2024-07-06 17:33+0200\n"
26 "Last-Translator: Lucien Gentis <[email protected]>\n"
27 "Language-Team: French <[email protected]>\n"
28 "Language: fr\n"
29 "MIME-Version: 1.0\n"
30 "Content-Type: text/plain; charset=UTF-8\n"
31 "Content-Transfer-Encoding: 8bit\n"
32 "Plural-Forms: nplurals=2; plural=n > 1;\n"
33 "X-Generator: vim-gtk3\n"
34
35 #. type: TH
36 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
37 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
38 #, no-wrap
39 msgid "core"
40 msgstr "core"
41
42 #. type: TH
43 #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed
44 #, no-wrap
45 msgid "2026-03-16"
46 msgstr "16 mars 2026"
47
48 #. type: TH
49 #: archlinux debian-unstable
50 #, no-wrap
51 msgid "Linux man-pages 6.18"
52 msgstr "Pages du manuel de Linux 6.18"
53
54 #. type: SH
55 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
56 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
57 #, no-wrap
58 msgid "NAME"
59 msgstr "NOM"
60
61 #. type: Plain text
62 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
63 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
64 msgid "core - core dump file"
65 msgstr "core — Fichier image de la mémoire"
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 "DESCRIPTION"
72 msgstr "DESCRIPTION"
73
74 #. type: Plain text
75 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
76 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
77 msgid ""
78 "The default action of certain signals is to cause a process to terminate and "
79 "produce a I<core dump file>, a file containing an image of the process's "
80 "memory at the time of termination. This image can be used in a debugger "
81 "(e.g., B<gdb>(1)) to inspect the state of the program at the time that it "
82 "terminated. A list of the signals which cause a process to dump core can be "
83 "found in B<signal>(7)."
84 msgstr ""
85 "L'action par défaut de certains signaux consiste à faire se terminer un "
86 "processus et à produire un I<fichier image de la mémoire> (« core dump "
87 "file »). C'est un fichier qui contient l'image mémoire du processus au "
88 "moment où il s'est terminé. Cette image peut être utilisée dans un débogueur "
89 "(par exemple, B<gdb>(1)) pour étudier l'état du programme au moment où il "
90 "s'est terminé. Une liste des signaux provoquant la création de cette image "
91 "mémoire se trouve dans B<signal>(7). "
92
93 #. type: Plain text
94 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
95 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
96 msgid ""
97 "A process can set its soft B<RLIMIT_CORE> resource limit to place an upper "
98 "limit on the size of the core dump file that will be produced if it receives "
99 "a \"core dump\" signal; see B<getrlimit>(2) for details."
100 msgstr ""
101 "Un processus peut définir sa propre limite de ressource souple "
102 "B<RLIMIT_CORE> afin de définir une limite supérieure à la taille du fichier "
103 "image de la mémoire qui sera créé s'il reçoit un signal « core dump » ; "
104 "consultez B<getrlimit>(2) pour davantage d'informations."
105
106 #. type: Plain text
107 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
108 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
109 msgid ""
110 "There are various circumstances in which a core dump file is not produced:"
111 msgstr ""
112 "Il y a diverses circonstances dans lesquelles un fichier image de la mémoire "
113 "(« core dump ») n'est pas produit :"
114
115 #. type: IP
116 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
117 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
118 #, no-wrap
119 msgid "\\[bu]"
120 msgstr "-"
121
122 #. type: Plain text
123 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
124 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
125 msgid ""
126 "The process does not have permission to write the core file. (By default, "
127 "the core file is called I<core> or I<core.pid>, where I<pid> is the ID of "
128 "the process that dumped core, and is created in the current working "
129 "directory. See below for details on naming.) Writing the core file fails "
130 "if the directory in which it is to be created is not writable, or if a file "
131 "with the same name exists and is not writable or is not a regular file "
132 "(e.g., it is a directory or a symbolic link)."
133 msgstr ""
134 "Le processus ne possède pas les droits pour écrire le fichier image de la "
135 "mémoire (par défaut, le fichier image de la mémoire s'appelle I<core> ou "
136 "I<core.pid>, où I<pid> est l'identifiant du processus qui a généré une image "
137 "de la mémoire. Il est créé dans le répertoire de travail en cours. Voir ci-"
138 "dessous pour davantage d'informations sur les règles de nommage). L'écriture "
139 "du fichier image de la mémoire échouera si le répertoire dans lequel il "
140 "devrait être écrit n'est pas accessible en écriture ou si un fichier avec le "
141 "même nom existe et n'est pas accessible en écriture ou n'est pas un fichier "
142 "ordinaire (par exemple, si c'est un répertoire ou un lien symbolique)."
143
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 "A (writable, regular) file with the same name as would be used for the core "
149 "dump already exists, but there is more than one hard link to that file."
150 msgstr ""
151 "Un fichier (ordinaire et accessible en écriture) avec le même nom que celui "
152 "qui serait utilisé pour l'image de la mémoire existe déjà, mais il y a "
153 "plusieurs liens physiques vers ce fichier."
154
155 #. type: Plain text
156 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
157 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
158 msgid ""
159 "The filesystem where the core dump file would be created is full; or has run "
160 "out of inodes; or is mounted read-only; or the user has reached their quota "
161 "for the filesystem."
162 msgstr ""
163 "Le système de fichiers dans lequel serait écrit le fichier image de la "
164 "mémoire est plein, il n'a plus d'inœud, il est monté en lecture seule ou "
165 "l'utilisateur a atteint son quota pour le système de fichiers."
166
167 #. type: Plain text
168 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
169 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
170 msgid ""
171 "The directory in which the core dump file is to be created does not exist."
172 msgstr ""
173 "Le répertoire dans lequel le fichier image de la mémoire doit être créé "
174 "n'existe pas."
175
176 #. type: Plain text
177 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
178 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
179 msgid ""
180 "The B<RLIMIT_CORE> (core file size) or B<RLIMIT_FSIZE> (file size) resource "
181 "limits for the process are set to zero; see B<getrlimit>(2) and the "
182 "documentation of the shell's I<ulimit> command (I<limit> in B<csh>(1)). "
183 "However, B<RLIMIT_CORE> will be ignored if the system is configured to pipe "
184 "core dumps to a program."
185 msgstr ""
186 "Les limites de ressources B<RLIMIT_CORE> (taille des fichiers « core ») ou "
187 "B<RLIMIT_FSIZE> (taille des fichiers) pour un processus sont définies à "
188 "zéro ; consultez B<getrlimit>(2) et la documentation de la commande "
189 "I<ulimit> de l'interpréteur de commande (I<limit> dans B<csh>(1)). "
190 "B<RLIMIT_CORE> sera cependant ignorée si le système est configuré pour tuber "
191 "les vidages mémoire vers un programme."
192
193 #. type: Plain text
194 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
195 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
196 msgid ""
197 "The binary being executed by the process does not have read permission "
198 "enabled. (This is a security measure to ensure that an executable whose "
199 "contents are not readable does not produce a\\[em]possibly readable\\"
200 "[em]core dump containing an image of the executable.)"
201 msgstr ""
202 "Le binaire actuellement exécuté par le processus n'est pas accessible en "
203 "lecture. Il s'agit d'une mesure de sécurité pour s'assurer qu'un exécutable "
204 "dont le contenu n'est pas accessible en lecture ne produira pas de vidage "
205 "mémoire \\[em]\\ éventuellement lisible\\ \\[em] contenant une image de "
206 "l'exécutable. "
207
208 #. FIXME . Perhaps relocate discussion of /proc/sys/fs/suid_dumpable
209 #. and PR_SET_DUMPABLE to this page?
210 #. type: Plain text
211 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
212 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
213 msgid ""
214 "The process is executing a set-user-ID (set-group-ID) program that is owned "
215 "by a user (group) other than the real user (group) ID of the process, or "
216 "the process is executing a program that has file capabilities (see "
217 "B<capabilities>(7)). (However, see the description of the B<prctl>(2) "
218 "B<PR_SET_DUMPABLE> operation, and the description of the I</proc/sys/fs/"
219 "suid_dumpable> file in B<proc>(5).)"
220 msgstr ""
221 "Le processus exécute un programme set-user-ID (ou set-group-ID) dont le "
222 "propriétaire (ou le groupe) est différent de l'identifiant d'utilisateur (ou "
223 "de groupe) réel du processus, ou le processus exécute un programme qui "
224 "possède des capacités de fichier (voir B<capabilities>(7)). Consultez "
225 "cependant la description de l'opération B<PR_SET_DUMPABLE> de B<prctl>(2), "
226 "et la description du fichier I</proc/sys/fs/suid_dumpable> dans B<proc>(5)."
227
228 #. type: Plain text
229 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
230 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
231 msgid ""
232 "I</proc/sys/kernel/core_pattern> is empty and I</proc/sys/kernel/"
233 "core_uses_pid> contains the value 0. (These files are described below.) "
234 "Note that if I</proc/sys/kernel/core_pattern> is empty and I</proc/sys/"
235 "kernel/core_uses_pid> contains the value 1, core dump files will have names "
236 "of the form I<.pid>, and such files are hidden unless one uses the B<ls>(1) "
237 "I<-a> option."
238 msgstr ""
239 "I</proc/sys/kernel/core_pattern> est vide et I</proc/sys/kernel/"
240 "core_uses_pid> contient la valeur B<0> (ces fichiers sont décrits plus "
241 "loin). Notez que si I</proc/sys/kernel/core_pattern> est vide et si I</proc/"
242 "sys/kernel/core_uses_pid> contient la valeur B<1>, les fichiers image de la "
243 "mémoire posséderont des noms de la forme I<.pid>, et que ces fichiers sont "
244 "cachés, à moins d'utiliser l'option I<-a> de B<ls>(1)."
245
246 #. commit 046d662f481830e652ac34cd112249adde16452a
247 #. type: Plain text
248 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
249 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
250 msgid ""
251 "(Since Linux 3.7) The kernel was configured without the B<CONFIG_COREDUMP> "
252 "option."
253 msgstr ""
254 "(Depuis Linux 3.7) Le noyau a été compilé sans l'option B<CONFIG_COREDUMP>."
255
256 #. type: Plain text
257 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
258 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
259 msgid ""
260 "In addition, a core dump may exclude part of the address space of the "
261 "process if the B<madvise>(2) B<MADV_DONTDUMP> flag was employed."
262 msgstr ""
263 "De plus, le vidage mémoire peut exclure des portions de l'espace d'adressage "
264 "du processus si l'attribut B<MADV_DONTDUMP> de B<madvise>(2) est utilisé."
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 "On systems that employ B<systemd>(1) as the I<init> framework, core dumps "
271 "may instead be placed in a location determined by B<systemd>(1). See below "
272 "for further details."
273 msgstr ""
274 "Sur les systèmes qui utilisent B<systemd>(1) comme cadriciel pour I<init>, "
275 "les vidages mémoire peuvent être écrits à un emplacement déterminé par "
276 "B<systemd>(1). Voir plus loin pour plus de détails."
277
278 #. type: SS
279 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
280 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
281 #, no-wrap
282 msgid "Naming of core dump files"
283 msgstr "Nommage des fichiers image de la mémoire"
284
285 #. type: Plain text
286 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
287 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
288 msgid ""
289 "By default, a core dump file is named I<core>, but the I</proc/sys/kernel/"
290 "core_pattern> file (since Linux 2.6 and 2.4.21) can be set to define a "
291 "template that is used to name core dump files. The template can contain % "
292 "specifiers which are substituted by the following values when a core file is "
293 "created:"
294 msgstr ""
295 "Par défaut, un fichier image de la mémoire s'appelle I<core>, mais le "
296 "fichier I</proc/sys/kernel/core_pattern> (depuis Linux 2.6 et 2.4.21) peut "
297 "être configuré de manière à définir un motif qui sera utilisé pour le "
298 "nommage des fichiers image de la mémoire. Le motif peut contenir des "
299 "spécificateurs % qui sont remplacés par les valeurs suivantes lorsqu'une "
300 "image de la mémoire est créée :"
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 "%%"
307 msgstr "%%"
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 "A single % character."
313 msgstr "Caractère % unique"
314
315 #. type: TP
316 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
317 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
318 #, no-wrap
319 msgid "%c"
320 msgstr "%c"
321
322 #. type: Plain text
323 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
324 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
325 msgid ""
326 "Core file size soft resource limit of crashing process (since Linux 2.6.24)."
327 msgstr ""
328 "Limite de ressource souple de la taille du fichier image de la mémoire créé "
329 "lors du plantage d'un processus (depuis Linux 2.6.24)."
330
331 #. type: TP
332 #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed
333 #, no-wrap
334 msgid "%C"
335 msgstr "%C"
336
337 #. commit 8603b6f58637ce196d68f7749633ea81af196d66
338 #. type: Plain text
339 #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed
340 #, fuzzy
341 #| msgid "bit 4 (since Linux 2.6.24)"
342 msgid "CPU the task ran on (since Linux 6.2)."
343 msgstr "bit 4 (depuis Linux 2.6.24)"
344
345 #. type: TP
346 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
347 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
348 #, no-wrap
349 msgid "%d"
350 msgstr "%d"
351
352 #. Added in git commit 12a2b4b2241e318b4f6df31228e4272d2c2968a1
353 #. type: Plain text
354 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
355 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
356 msgid ""
357 "Dump mode\\[em]same as value returned by B<prctl>(2) B<PR_GET_DUMPABLE> "
358 "(since Linux 3.7)."
359 msgstr ""
360 "Mode vidage (« dump mode ») \\(em\\ identique à la valeur renvoyée par "
361 "B<PR_GET_DUMPABLE> de B<prctl>(2) (depuis Linux 3.7)."
362
363 #. type: TP
364 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
365 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
366 #, no-wrap
367 msgid "%e"
368 msgstr "%e"
369
370 #. type: Plain text
371 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
372 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
373 msgid ""
374 "The process or thread's I<comm> value, which typically is the same as the "
375 "executable filename (without path prefix, and truncated to a maximum of 15 "
376 "characters), but may have been modified to be something different; see the "
377 "discussion of I</proc/>pidI</comm> and I</proc/>pidI</task/>tidI</comm> in "
378 "B<proc>(5)."
379 msgstr ""
380 "La valeur de I<comm> du processus ou du thread, qui correspond en général au "
381 "nom de l'exécutable (sans le chemin et tronqué à un maximum de "
382 "15 caractères), mais qui peut avoir été modifiée en quelque chose de "
383 "différent ; voir les explications à propos de I</proc/>pidI</comm> et I</"
384 "proc/>pidI</task/>tidI</comm> dans B<proc>(5)."
385
386 #. type: TP
387 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
388 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
389 #, no-wrap
390 msgid "%E"
391 msgstr "%E"
392
393 #. type: Plain text
394 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
395 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
396 msgid ""
397 "Pathname of executable, with slashes (\\[aq]/\\[aq]) replaced by exclamation "
398 "marks (\\[aq]!\\[aq]) (since Linux 3.0)."
399 msgstr ""
400 "Chemin d'accès de l'exécutable, où les barres obliques «\\ /\\ » sont "
401 "remplacées par des points d'exclamation «\\ !\\ » (depuis Linux 3.0)."
402
403 #. type: TP
404 #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed
405 #, no-wrap
406 msgid "%f"
407 msgstr "%f"
408
409 #. commit f38c85f1ba6902e4e2e2bf1b84edf065a904cdeb
410 #. type: Plain text
411 #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed
412 msgid ""
413 "Actual filename of executable, which may differ from %e (since Linux 5.9)."
414 msgstr ""
415
416 #. type: TP
417 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
418 #: opensuse-tumbleweed
419 #, no-wrap
420 msgid "%F"
421 msgstr "%F"
422
423 #. commit b5325b2a270fcaf7b2a9a0f23d422ca8a5a8bdea
424 #. type: Plain text
425 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
426 #: opensuse-tumbleweed
427 #, fuzzy
428 #| msgid ""
429 #| "PID of dumped process, as seen in the initial PID namespace (since Linux "
430 #| "3.12)."
431 msgid "PIDFD of dumped process (since Linux 6.16)."
432 msgstr ""
433 "PID du processus dont l'image mémoire a été vidée, tel qu'il est vu dans "
434 "l'espace des noms du PID initial (depuis Linux 3.12)."
435
436 #. type: TP
437 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
438 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
439 #, no-wrap
440 msgid "%g"
441 msgstr "%g"
442
443 #. type: Plain text
444 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
445 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
446 msgid "Numeric real GID of dumped process."
447 msgstr "GID numérique réel du processus dont l'image mémoire a été vidée."
448
449 #. type: TP
450 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
451 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
452 #, no-wrap
453 msgid "%h"
454 msgstr "%h"
455
456 #. type: Plain text
457 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
458 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
459 msgid "Hostname (same as I<nodename> returned by B<uname>(2))."
460 msgstr "Nom d'hôte (identique à I<nodename> renvoyé par B<uname>(2))."
461
462 #. type: TP
463 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
464 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
465 #, no-wrap
466 msgid "%i"
467 msgstr "%i"
468
469 #. commit b03023ecbdb76c1dec86b41ed80b123c22783220
470 #. type: Plain text
471 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
472 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
473 msgid ""
474 "TID of thread that triggered core dump, as seen in the PID namespace in "
475 "which the thread resides (since Linux 3.18)."
476 msgstr ""
477 "TID du thread qui a déclenché le vidage mémoire, tel qu'il est vu dans "
478 "l'espace de noms du PID dans lequel le thread se trouve (depuis Linux 3.18)."
479
480 #. type: TP
481 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
482 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
483 #, no-wrap
484 msgid "%I"
485 msgstr "%I"
486
487 #. commit b03023ecbdb76c1dec86b41ed80b123c22783220
488 #. type: Plain text
489 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
490 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
491 msgid ""
492 "TID of thread that triggered core dump, as seen in the initial PID namespace "
493 "(since Linux 3.18)."
494 msgstr ""
495 "TID du thread qui a déclenché le vidage mémoire, tel qu'il est vu dans "
496 "l'espace de noms du PID initial (depuis Linux 3.18)."
497
498 #. type: TP
499 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
500 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
501 #, no-wrap
502 msgid "%p"
503 msgstr "%p"
504
505 #. type: Plain text
506 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
507 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
508 msgid ""
509 "PID of dumped process, as seen in the PID namespace in which the process "
510 "resides."
511 msgstr ""
512 "PID du processus dont l'image mémoire a été vidée, tel qu'il est vu dans "
513 "l'espace de noms du PID dans lequel le processus se trouve."
514
515 #. type: TP
516 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
517 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
518 #, no-wrap
519 msgid "%P"
520 msgstr "%P"
521
522 #. Added in git commit 65aafb1e7484b7434a0c1d4c593191ebe5776a2f
523 #. type: Plain text
524 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
525 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
526 msgid ""
527 "PID of dumped process, as seen in the initial PID namespace (since Linux "
528 "3.12)."
529 msgstr ""
530 "PID du processus dont l'image mémoire a été vidée, tel qu'il est vu dans "
531 "l'espace des noms du PID initial (depuis Linux 3.12)."
532
533 #. type: TP
534 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
535 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
536 #, no-wrap
537 msgid "%s"
538 msgstr "%s"
539
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 "Number of signal causing dump."
544 msgstr "Numéro du signal ayant provoqué le vidage mémoire"
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 "%t"
551 msgstr "%t"
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 "Time of dump, expressed as seconds since the Epoch, 1970-01-01 00:00:00 "
558 "+0000 (UTC)."
559 msgstr ""
560 "Heure du vidage mémoire exprimée en secondes depuis l'Époque, 1er\\ janvier "
561 "1970 à 00:00:00 +0000 (UTC)."
562
563 #. type: TP
564 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
565 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
566 #, no-wrap
567 msgid "%u"
568 msgstr "%u"
569
570 #. type: Plain text
571 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
572 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
573 msgid "Numeric real UID of dumped process."
574 msgstr "UID numérique réel du processus «\\ vidé\\ »."
575
576 #. type: Plain text
577 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
578 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
579 msgid ""
580 "A single % at the end of the template is dropped from the core filename, as "
581 "is the combination of a % followed by any character other than those listed "
582 "above. All other characters in the template become a literal part of the "
583 "core filename. The template may include \\[aq]/\\[aq] characters, which are "
584 "interpreted as delimiters for directory names. The maximum size of the "
585 "resulting core filename is 128 bytes (64 bytes before Linux 2.6.19). The "
586 "default value in this file is \"core\". For backward compatibility, if I</"
587 "proc/sys/kernel/core_pattern> does not include I<%p> and I</proc/sys/kernel/"
588 "core_uses_pid> (see below) is nonzero, then .PID will be appended to the "
589 "core filename."
590 msgstr ""
591 "Un % isolé à la fin du motif est éliminé du nom de fichier de l'image "
592 "mémoire, et il en sera de même pour un % suivi d'un caractère autre que ceux "
593 "de la liste ci-dessus. Tous les autres caractères du motif conservent leur "
594 "valeur littérale dans le nom de fichier de l'image mémoire. Un motif peut "
595 "contenir des caractères « / », ils sont interprétés comme des délimiteurs "
596 "pour les noms de répertoire. La taille maximale du nom de fichier de l'image "
597 "mémoire résultant est de 128 octets (64 octets avant Linux 2.6.19). La "
598 "valeur par défaut de ce nom de fichier est « core ». Afin d'assurer une "
599 "rétrocompatibilité, si I</proc/sys/kernel/core_pattern> ne contient pas "
600 "« %p » et si I</proc/sys/kernel/core_uses_pid> (voir ci-dessous) est "
601 "différent de zéro, « .PID » est ajouté au nom de fichier de l'image mémoire."
602
603 #. type: Plain text
604 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
605 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
606 msgid ""
607 "Paths are interpreted according to the settings that are active for the "
608 "crashing process. That means the crashing process's mount namespace (see "
609 "B<mount_namespaces>(7)), its current working directory (found via "
610 "B<getcwd>(2)), and its root directory (see B<chroot>(2))."
611 msgstr ""
612 "Les chemins sont interprétés en tenant compte des paramètres actifs pour le "
613 "processus qui a planté. Ces paramètres comprennent l'espace de noms montage "
614 "du processus qui a planté (voir B<mount_namespaces>(7)), son répertoire de "
615 "travail actuel (déterminé à l'aide de B<getcwd>(2)) et son répertoire racine "
616 "(voir B<chroot>(2))."
617
618 #. type: Plain text
619 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
620 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
621 msgid ""
622 "Since Linux 2.4, Linux has also provided a more primitive method of "
623 "controlling the name of the core dump file. If the I</proc/sys/kernel/"
624 "core_uses_pid> file contains the value 0, then a core dump file is simply "
625 "named I<core>. If this file contains a nonzero value, then the core dump "
626 "file includes the process ID in a name of the form I<core.PID>."
627 msgstr ""
628 "Depuis Linux 2.4, Linux procure aussi une méthode plus primitive pour "
629 "contrôler le nom du fichier image de la mémoire. Si le fichier I</proc/sys/"
630 "kernel/core_uses_pid> contient la valeur 0, le fichier image de la mémoire "
631 "est tout simplement appelé I<core>. Si ce fichier contient une valeur "
632 "différente de zéro, le fichier image de la mémoire intégrera dans son nom le "
633 "numéro d'identification du processus sous la forme I<core.PID>."
634
635 #. 9520628e8ceb69fa9a4aee6b57f22675d9e1b709
636 #. type: Plain text
637 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
638 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
639 msgid ""
640 "Since Linux 3.6, if I</proc/sys/fs/suid_dumpable> is set to 2 "
641 "(\"suidsafe\"), the pattern must be either an absolute pathname (starting "
642 "with a leading \\[aq]/\\[aq] character) or a pipe, as defined below."
643 msgstr ""
644 "À partir de Linux 3.6, si I</proc/sys/fs/suid_dumpable> a pour valeur 2 "
645 "(« suidsafe »), le motif doit être soit un chemin absolu (commençant par le "
646 "caractère «\\ /\\ », soit un tube, comme indiqué plus bas."
647
648 #. type: SS
649 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
650 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
651 #, no-wrap
652 msgid "Piping core dumps to a program"
653 msgstr "Tuber les vidages mémoire vers un programme"
654
655 #. type: Plain text
656 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
657 #: opensuse-tumbleweed
658 #, fuzzy
659 #| msgid ""
660 #| "Since Linux 2.6.19, Linux supports an alternate syntax for the I</proc/"
661 #| "sys/kernel/core_pattern> file. If the first character of this file is a "
662 #| "pipe symbol (B<|>), then the remainder of the line is interpreted as the "
663 #| "command-line for a user-space program (or script) that is to be executed."
664 msgid ""
665 "Since Linux 2.6.19, Linux supports an alternate syntax for the I</proc/sys/"
666 "kernel/core_pattern> file. If the first character of this file is a pipe "
667 "symbol (I<|>), then the remainder of the line is interpreted as the command-"
668 "line for a user-space program (or script) that is to be executed."
669 msgstr ""
670 "Depuis le noyau 2.6.19, Linux prend en charge une syntaxe alternative pour "
671 "le fichier I</proc/sys/kernel/core_pattern>. Si le premier caractère de ce "
672 "fichier est le symbole du tube (B<|>), le reste de la ligne est interprété "
673 "comme une ligne de commande pour un programme de l'espace utilisateur (ou un "
674 "script) à exécuter."
675
676 #. commit 315c69261dd3fa12dbc830d4fa00d1fad98d3b03
677 #. type: Plain text
678 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
679 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
680 msgid ""
681 "Since Linux 5.3.0, the pipe template is split on spaces into an argument "
682 "list I<before> the template parameters are expanded. In earlier kernels, "
683 "the template parameters are expanded first and the resulting string is split "
684 "on spaces into an argument list. This means that in earlier kernels "
685 "executable names added by the I<%e> and I<%E> template parameters could get "
686 "split into multiple arguments. So the core dump handler needs to put the "
687 "executable names as the last argument and ensure it joins all parts of the "
688 "executable name using spaces. Executable names with multiple spaces in them "
689 "are not correctly represented in earlier kernels, meaning that the core dump "
690 "handler needs to use mechanisms to find the executable name."
691 msgstr ""
692 "Depuis Linux 5.3.0, le modèle de tube est divisé en tenant compte des "
693 "espaces en une liste d'arguments I<avant> l'interprétation des paramètres du "
694 "modèle. Avec les noyaux plus anciens, les paramètres du modèle sont "
695 "interprétés en premier et la chaîne résultante est divisée en tenant compte "
696 "des espaces en une liste d'arguments. Cela signifie qu'avec les noyaux plus "
697 "anciens, les noms d'exécutable ajoutés par les paramètres de modèle I<%e> et "
698 "I<%E> pouvaient être divisés en plusieurs arguments. Le gestionnaire de "
699 "vidage mémoire doit donc définir le dernier argument avec les noms "
700 "d'exécutable et s'assurer de « recoller » toutes les parties du nom de "
701 "l'exécutable en tenant compte des espaces. Les noms d'exécutable qui "
702 "contiennent plusieurs espaces ne sont pas correctement représentés dans les "
703 "noyaux plus anciens, et dans ce cas, le gestionnaire de vidage mémoire devra "
704 "utiliser des mécanismes permettant de déterminer le nom de l'exécutable."
705
706 #. type: Plain text
707 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
708 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
709 msgid ""
710 "Instead of being written to a file, the core dump is given as standard input "
711 "to the program. Note the following points:"
712 msgstr ""
713 "Au lieu d'être écrit dans un fichier, le vidage mémoire est envoyé sur "
714 "l'entrée standard du programme. Notez les points suivants :"
715
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 "The program must be specified using an absolute pathname (or a pathname "
721 "relative to the root directory, I</>), and must immediately follow the '|' "
722 "character."
723 msgstr ""
724 "Le programme doit être indiqué avec un chemin d'accès absolu (ou un chemin "
725 "relatif par rapport au répertoire racine, I</>) et doit immédiatement suivre "
726 "le caractère « | »."
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 "The command-line arguments can include any of the % specifiers listed "
733 "above. For example, to pass the PID of the process that is being dumped, "
734 "specify I<%p> in an argument."
735 msgstr ""
736 "Les arguments de la ligne de commande peuvent inclure tout spécificateur % "
737 "indiqué plus haut. Par exemple, pour transmettre le PID du processus vidé, "
738 "indiquez I<%p> dans un argument."
739
740 #. type: Plain text
741 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
742 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
743 msgid "The process created to run the program runs as user and group I<root>."
744 msgstr ""
745 "Le processus créé pour exécuter le programme s'exécute avec les utilisateur "
746 "et groupe I<root>."
747
748 #. type: Plain text
749 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
750 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
751 msgid ""
752 "Running as I<root> does not confer any exceptional security bypasses. "
753 "Namely, LSMs (e.g., SELinux) are still active and may prevent the handler "
754 "from accessing details about the crashed process via I</proc/>pid."
755 msgstr ""
756 "L'exécution en tant que I<root> ne permet pas de contournement de sécurité "
757 "exceptionnel. À ce titre, les LSM (comme SELinux) sont toujours actifs et "
758 "peuvent empêcher le gestionnaire d'accéder aux détails du processus ayant "
759 "planté à l'aide de I</proc/>pid."
760
761 #. type: Plain text
762 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
763 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
764 msgid ""
765 "The program pathname is interpreted with respect to the initial mount "
766 "namespace as it is always executed there. It is not affected by the "
767 "settings (e.g., root directory, mount namespace, current working directory) "
768 "of the crashing process."
769 msgstr ""
770 "Le nom de chemin du programme est interprété en respectant l'espace de noms "
771 "montage initial, car il est toujours exécuté dans ce contexte. Il n'est pas "
772 "affecté par les paramètres du processus ayant planté (par exemple le "
773 "répertoire racine, l'espace de noms montage et le répertoire de travail "
774 "actuel)."
775
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 "The process runs in the initial namespaces (PID, mount, user, and so on) "
781 "and not in the namespaces of the crashing process. One can utilize "
782 "specifiers such as I<%P> to find the right I</proc/>pid directory and probe/"
783 "enter the crashing process's namespaces if needed."
784 msgstr ""
785 "Le processus s'exécute dans les espaces de noms initiaux (PID, montage, "
786 "utilisateur, etc.) et non dans les espaces de noms du processus ayant "
787 "planté. On peut utiliser des spécificateurs comme I<%P> pour trouver le "
788 "répertoire I</proc/>pid correct et sonder/entrer les espaces de noms du "
789 "processus ayant planté si nécessaire."
790
791 #. type: Plain text
792 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
793 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
794 msgid ""
795 "The process starts with its current working directory as the root "
796 "directory. If desired, it is possible change to the working directory of "
797 "the dumping process by employing the value provided by the I<%P> specifier "
798 "to change to the location of the dumping process via I</proc/>pidI</cwd>."
799 msgstr ""
800 "Le processus démarre avec son répertoire de travail courant comme répertoire "
801 "racine. Il est cependant possible de passer au répertoire de travail du "
802 "processus de vidage en utilisant la valeur fournie par le spécificateur "
803 "I<%P> pour passer à l'emplacement du processus de vidage à l'aide de I</proc/"
804 ">pidI</cwd>."
805
806 #. type: Plain text
807 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
808 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
809 msgid ""
810 "Command-line arguments can be supplied to the program (since Linux 2.6.24), "
811 "delimited by white space (up to a total line length of 128 bytes)."
812 msgstr ""
813 "Depuis Linux 2.6.24, il est possible de fournir au programme des arguments "
814 "séparés par des espaces dans la ligne de commande (jusqu'à une longueur de "
815 "ligne de 128 octets)."
816
817 #. type: Plain text
818 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
819 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
820 msgid ""
821 "The B<RLIMIT_CORE> limit is not enforced for core dumps that are piped to a "
822 "program via this mechanism."
823 msgstr ""
824 "La limite B<RLIMIT_CORE> ne s'applique pas aux vidages mémoire tubés vers un "
825 "programme à l'aide de ce mécanisme."
826
827 #. type: SS
828 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
829 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
830 #, no-wrap
831 msgid "/proc/sys/kernel/core_pipe_limit"
832 msgstr "/proc/sys/kernel/core_pipe_limit"
833
834 #. type: Plain text
835 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
836 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
837 msgid ""
838 "When collecting core dumps via a pipe to a user-space program, it can be "
839 "useful for the collecting program to gather data about the crashing process "
840 "from that process's I</proc/>pid directory. In order to do this safely, the "
841 "kernel must wait for the program collecting the core dump to exit, so as not "
842 "to remove the crashing process's I</proc/>pid files prematurely. This in "
843 "turn creates the possibility that a misbehaving collecting program can block "
844 "the reaping of a crashed process by simply never exiting."
845 msgstr ""
846 "Lorsqu'on collecte des vidages mémoire à l'aide d'un tube vers un programme "
847 "de l'espace utilisateur, il peut s'avérer utile pour le programme collecteur "
848 "d'extraire les données à propos du processus ayant planté depuis le "
849 "répertoire I</proc/>pid de ce dernier. Pour ce faire en toute sécurité, le "
850 "noyau doit attendre que le programme collecteur de vidage mémoire se "
851 "termine, de façon à ne pas supprimer prématurément les fichiers contenus "
852 "dans le répertoire I</proc/>pid du processus ayant planté, ce qui a pour "
853 "inconvénient de donner la possibilité à un programme de collecte défectueux "
854 "de bloquer le vidage d’un processus planté en ne se terminant jamais."
855
856 #. commit a293980c2e261bd5b0d2a77340dd04f684caff58
857 #. type: Plain text
858 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
859 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
860 msgid ""
861 "Since Linux 2.6.32, the I</proc/sys/kernel/core_pipe_limit> can be used to "
862 "defend against this possibility. The value in this file defines how many "
863 "concurrent crashing processes may be piped to user-space programs in "
864 "parallel. If this value is exceeded, then those crashing processes above "
865 "this value are noted in the kernel log and their core dumps are skipped."
866 msgstr ""
867 "Depuis Linux 2.6.32, on peut utiliser I</proc/sys/kernel/core_pipe_limit> "
868 "pour limiter cette possibilité. La valeur contenue dans ce fichier définit "
869 "le nombre de processus plantés simultanés qui peuvent être tubés en "
870 "parallèle vers des programmes de l'espace utilisateur. Si cette valeur est "
871 "dépassée, les processus plantés concernés seront consignés dans le journal "
872 "du noyau et leurs vidages mémoires omis."
873
874 #. type: Plain text
875 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
876 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
877 msgid ""
878 "A value of 0 in this file is special. It indicates that unlimited processes "
879 "may be captured in parallel, but that no waiting will take place (i.e., the "
880 "collecting program is not guaranteed access to I</proc/E<lt>crashing-"
881 "PIDE<gt>>). The default value for this file is 0."
882 msgstr ""
883 "Une valeur de B<0> dans ce fichier a une signification particulière. Elle "
884 "indique qu'il n'y a pas de limite au nombre de processus qui peuvent être "
885 "interceptés en parallèle, mais qu'aucune attente ne sera observée (autrement "
886 "dit, le programme collecteur n'a aucune garantie d'accéder à I</proc/"
887 "E<lt>crashing-PIDE<gt>>). Par défaut, ce fichier contient la valeur B<0>."
888
889 #. type: SS
890 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
891 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
892 #, no-wrap
893 msgid "Controlling which mappings are written to the core dump"
894 msgstr "Contrôler quelles projections seront écrites dans le vidage mémoire"
895
896 #. type: Plain text
897 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
898 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
899 msgid ""
900 "Since Linux 2.6.23, the Linux-specific I</proc/>pidI</coredump_filter> file "
901 "can be used to control which memory segments are written to the core dump "
902 "file in the event that a core dump is performed for the process with the "
903 "corresponding process ID."
904 msgstr ""
905 "Depuis Linux 2.6.23, le fichier I</proc/>pidI</coredump_filter> spécifique à "
906 "Linux permet de contrôler quels segments de mémoire seront écrits dans le "
907 "fichier image de la mémoire si un vidage mémoire est effectué pour le "
908 "processus avec le PID correspondant."
909
910 #. type: Plain text
911 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
912 #: opensuse-tumbleweed
913 #, fuzzy
914 #| msgid ""
915 #| "The value in the file is a bit mask of memory mapping types (see "
916 #| "B<mmap>(2)). If a bit is set in the mask, then memory mappings of the "
917 #| "corresponding type are dumped; otherwise they are not dumped. The bits "
918 #| "in this file have the following meanings:"
919 msgid ""
920 "The value in the file is a bit mask of memory mapping types (see "
921 "B<mmap>(2)). If a bit is set in the mask, then memory mappings of the "
922 "corresponding type are dumped; otherwise, they are not dumped. The bits in "
923 "this file have the following meanings:"
924 msgstr ""
925 "La valeur dans ce fichier est un masque de bits des types de projection "
926 "mémoire (consultez B<mmap>(2)). Si un bit est positionné dans le masque, les "
927 "projections mémoire du type correspondant sont vidées ; dans le cas "
928 "contraire, elles ne le sont pas. Les bits dans ce fichier ont la "
929 "signification suivante :"
930
931 #. type: TP
932 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
933 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
934 #, no-wrap
935 msgid "bit 0"
936 msgstr "bit 0"
937
938 #. type: Plain text
939 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
940 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
941 msgid "Dump anonymous private mappings."
942 msgstr "Vider les projections privées anonymes."
943
944 #. type: TP
945 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
946 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
947 #, no-wrap
948 msgid "bit 1"
949 msgstr "bit 1"
950
951 #. type: Plain text
952 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
953 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
954 msgid "Dump anonymous shared mappings."
955 msgstr "Vider les projections partagées anonymes."
956
957 #. type: TP
958 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
959 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
960 #, no-wrap
961 msgid "bit 2"
962 msgstr "bit 2"
963
964 #. type: Plain text
965 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
966 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
967 msgid "Dump file-backed private mappings."
968 msgstr "Vider les projections privées sauvegardées sur fichier."
969
970 #. type: TP
971 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
972 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
973 #, no-wrap
974 msgid "bit 3"
975 msgstr "bit 3"
976
977 #. file-backed shared mappings of course also update the underlying
978 #. mapped file.
979 #. type: Plain text
980 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
981 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
982 msgid "Dump file-backed shared mappings."
983 msgstr "Vider les projections partagées sauvegardées sur fichier."
984
985 #. type: TP
986 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
987 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
988 #, no-wrap
989 msgid "bit 4 (since Linux 2.6.24)"
990 msgstr "bit 4 (depuis Linux 2.6.24)"
991
992 #. type: Plain text
993 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
994 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
995 msgid "Dump ELF headers."
996 msgstr "Vider les en-têtes ELF."
997
998 #. type: TP
999 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1000 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1001 #, no-wrap
1002 msgid "bit 5 (since Linux 2.6.28)"
1003 msgstr "bit 5 (depuis Linux 2.6.28)"
1004
1005 #. type: Plain text
1006 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1007 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1008 msgid "Dump private huge pages."
1009 msgstr "Vider les pages privées volumineuses."
1010
1011 #. type: TP
1012 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1013 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1014 #, no-wrap
1015 msgid "bit 6 (since Linux 2.6.28)"
1016 msgstr "bit 6 (depuis Linux 2.6.28)"
1017
1018 #. type: Plain text
1019 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1020 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1021 msgid "Dump shared huge pages."
1022 msgstr "Vider les pages partagées volumineuses."
1023
1024 #. type: TP
1025 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1026 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1027 #, no-wrap
1028 msgid "bit 7 (since Linux 4.4)"
1029 msgstr "bit 7 (depuis Linux 4.4)"
1030
1031 #. commit ab27a8d04b32b6ee8c30c14c4afd1058e8addc82
1032 #. type: Plain text
1033 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1034 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1035 msgid "Dump private DAX pages."
1036 msgstr "Vider les pages DAX privées."
1037
1038 #. type: TP
1039 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1040 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1041 #, no-wrap
1042 msgid "bit 8 (since Linux 4.4)"
1043 msgstr "bit 8 (depuis Linux 4.4)"
1044
1045 #. commit ab27a8d04b32b6ee8c30c14c4afd1058e8addc82
1046 #. type: Plain text
1047 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1048 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1049 msgid "Dump shared DAX pages."
1050 msgstr "Vider les pages DAX partagées."
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 "By default, the following bits are set: 0, 1, 4 (if the "
1057 "B<CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS> kernel configuration option is "
1058 "enabled), and 5. This default can be modified at boot time using the "
1059 "I<coredump_filter> boot option."
1060 msgstr ""
1061 "Par défaut, les bits suivants sont positionnés : 0, 1, 4 (si l'option de "
1062 "configuration du noyau I<CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS> est activée) "
1063 "et 5. L'option d'amorçage I<coredump_filter> permet de modifier ce réglage "
1064 "par défaut."
1065
1066 #. type: Plain text
1067 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1068 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1069 msgid ""
1070 "The value of this file is displayed in hexadecimal. (The default value is "
1071 "thus displayed as 33.)"
1072 msgstr ""
1073 "La valeur dans ce fichier est enregistrée en hexadécimal (la valeur par "
1074 "défaut est donc B<33>)."
1075
1076 #. type: Plain text
1077 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1078 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1079 msgid ""
1080 "Memory-mapped I/O pages such as frame buffer are never dumped, and virtual "
1081 "DSO (B<vdso>(7)) pages are always dumped, regardless of the "
1082 "I<coredump_filter> value."
1083 msgstr ""
1084 "Les pages d'entrées-sorties projetées en mémoire telles que les tampons de "
1085 "trame ne sont jamais vidées, et les pages DSO virtuelles (B<vdso>(7)) le "
1086 "sont toujours, quelle que soit la valeur de I<coredump_filter>."
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 child process created via B<fork>(2) inherits its parent's "
1093 "I<coredump_filter> value; the I<coredump_filter> value is preserved across "
1094 "an B<execve>(2)."
1095 msgstr ""
1096 "Un processus enfant créé avec B<fork>(2) hérite de la valeur de "
1097 "I<coredump_filter> de son parent ; la valeur de I<coredump_filter> est "
1098 "préservée au travers d'un B<execve>(2)."
1099
1100 #. type: Plain text
1101 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1102 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1103 msgid ""
1104 "It can be useful to set I<coredump_filter> in the parent shell before "
1105 "running a program, for example:"
1106 msgstr ""
1107 "Il peut être utile de définir I<coredump_filter> dans l'interpréteur de "
1108 "commande parent avant d'exécuter le programme ; par exemple :"
1109
1110 #. type: Plain text
1111 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1112 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1113 #, no-wrap
1114 msgid ""
1115 "$B< echo 0x7 E<gt> /proc/self/coredump_filter>\n"
1116 "$B< ./some_program>\n"
1117 msgstr ""
1118 "$B< echo 0x7 E<gt> /proc/self/coredump_filter>\n"
1119 "$B< ./un_programme>\n"
1120
1121 #. type: Plain text
1122 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1123 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1124 msgid ""
1125 "This file is provided only if the kernel was built with the "
1126 "B<CONFIG_ELF_CORE> configuration option."
1127 msgstr ""
1128 "Ce fichier n'existe que si le noyau a été compilé avec l'option de "
1129 "configuration B<CONFIG_ELF_CORE>."
1130
1131 #. type: SS
1132 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1133 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1134 #, no-wrap
1135 msgid "Core dumps and systemd"
1136 msgstr "Vidages mémoire et systemd"
1137
1138 #. type: Plain text
1139 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1140 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1141 msgid ""
1142 "On systems using the B<systemd>(1) I<init> framework, core dumps may be "
1143 "placed in a location determined by B<systemd>(1). To do this, "
1144 "B<systemd>(1) employs the I<core_pattern> feature that allows piping core "
1145 "dumps to a program. One can verify this by checking whether core dumps are "
1146 "being piped to the B<systemd-coredump>(8) program:"
1147 msgstr ""
1148 "Sur les systèmes qui utilisent B<systemd>(1) comme cadriciel pour I<init>, "
1149 "les vidages mémoire peuvent être écrits à un emplacement déterminé par "
1150 "B<systemd>(1). À cet effet, B<systemd>(1) utilise la fonctionnalité "
1151 "I<core_pattern> qui permet de tuber les vidages mémoire vers un programme. "
1152 "Cela peut être vérifié en regardant si les vidages mémoires sont tubés vers "
1153 "le programme B<systemd-coredump>(8) :"
1154
1155 #. type: Plain text
1156 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1157 #: opensuse-tumbleweed
1158 #, fuzzy, no-wrap
1159 #| msgid ""
1160 #| "$ B<cat /proc/sys/kernel/core_pattern>\n"
1161 #| "|/usr/lib/systemd/systemd-coredump %P %u %g %s %t %c %e\n"
1162 msgid ""
1163 "$B< cat /proc/sys/kernel/core_pattern>;\n"
1164 "|/usr/lib/systemd/systemd-coredump %P %u %g %s %t %c %e\n"
1165 msgstr ""
1166 "$ B<cat /proc/sys/kernel/core_pattern>\n"
1167 "|/usr/lib/systemd/systemd-coredump %P %u %g %s %t %c %e\n"
1168
1169 #. type: Plain text
1170 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1171 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1172 msgid ""
1173 "In this case, core dumps will be placed in the location configured for "
1174 "B<systemd-coredump>(8), typically as B<lz4>(1) compressed files in the "
1175 "directory I</var/lib/systemd/coredump/>. One can list the core dumps that "
1176 "have been recorded by B<systemd-coredump>(8) using B<coredumpctl>(1):"
1177 msgstr ""
1178 "Dans ce cas, les vidages mémoire seront enregistrés à l'emplacement "
1179 "configuré pour B<systemd-coredump>(8), en général sous la forme de fichiers "
1180 "compressés B<lz4>(1) dans le répertoire I</var/lib/systemd/coredump/>. Pour "
1181 "lister les vidages mémoires qui ont été enregistrés par B<systemd-"
1182 "coredump>(8), on peut utiliser B<coredumpctl>(1) :"
1183
1184 #. type: Plain text
1185 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1186 #: opensuse-tumbleweed
1187 #, fuzzy, no-wrap
1188 #| msgid ""
1189 #| "$ B<coredumpctl list | tail -5>\n"
1190 #| "Wed 2017-10-11 22:25:30 CEST 2748 1000 1000 3 present /usr/bin/sleep\n"
1191 #| "Thu 2017-10-12 06:29:10 CEST 2716 1000 1000 3 present /usr/bin/sleep\n"
1192 #| "Thu 2017-10-12 06:30:50 CEST 2767 1000 1000 3 present /usr/bin/sleep\n"
1193 #| "Thu 2017-10-12 06:37:40 CEST 2918 1000 1000 3 present /usr/bin/cat\n"
1194 #| "Thu 2017-10-12 08:13:07 CEST 2955 1000 1000 3 present /usr/bin/cat\n"
1195 msgid ""
1196 "$B< coredumpctl list | tail -5>;\n"
1197 "Wed 2017-10-11 22:25:30 CEST 2748 1000 1000 3 present /usr/bin/sleep\n"
1198 "Thu 2017-10-12 06:29:10 CEST 2716 1000 1000 3 present /usr/bin/sleep\n"
1199 "Thu 2017-10-12 06:30:50 CEST 2767 1000 1000 3 present /usr/bin/sleep\n"
1200 "Thu 2017-10-12 06:37:40 CEST 2918 1000 1000 3 present /usr/bin/cat\n"
1201 "Thu 2017-10-12 08:13:07 CEST 2955 1000 1000 3 present /usr/bin/cat\n"
1202 msgstr ""
1203 "$ B<coredumpctl list | tail -5>\n"
1204 "Wed 2017-10-11 22:25:30 CEST 2748 1000 1000 3 present /usr/bin/sleep\n"
1205 "Thu 2017-10-12 06:29:10 CEST 2716 1000 1000 3 present /usr/bin/sleep\n"
1206 "Thu 2017-10-12 06:30:50 CEST 2767 1000 1000 3 present /usr/bin/sleep\n"
1207 "Thu 2017-10-12 06:37:40 CEST 2918 1000 1000 3 present /usr/bin/cat\n"
1208 "Thu 2017-10-12 08:13:07 CEST 2955 1000 1000 3 present /usr/bin/cat\n"
1209
1210 #. type: Plain text
1211 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1212 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1213 msgid ""
1214 "The information shown for each core dump includes the date and time of the "
1215 "dump, the PID, UID, and GID of the dumping process, the signal number that "
1216 "caused the core dump, and the pathname of the executable that was being run "
1217 "by the dumped process. Various options to B<coredumpctl>(1) allow a "
1218 "specified coredump file to be pulled from the B<systemd>(1) location into a "
1219 "specified file. For example, to extract the core dump for PID 2955 shown "
1220 "above to a file named I<core> in the current directory, one could use:"
1221 msgstr ""
1222 "Les informations contenues dans tout vidage mémoire comprennent la date et "
1223 "l'heure du vidage, les PID, UID et GID du processus de vidage, le numéro du "
1224 "signal qui a déclenché le vidage et le chemin de l'exécutable qui était "
1225 "exécuté par le processus vidé. Plusieurs options de B<coredumpctl>(1) "
1226 "permettent de déplacer le fichier image de la mémoire donné depuis "
1227 "l'emplacement de B<systemd>(1) vers le fichier spécifié. Par exemple, pour "
1228 "extraire le vidage mémoire du PID 2955 montré plus haut dans un fichier "
1229 "nommé I<core> dans le répertoire actuel, on peut utiliser :"
1230
1231 #. type: Plain text
1232 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1233 #: opensuse-tumbleweed
1234 #, fuzzy, no-wrap
1235 #| msgid "$ B<coredumpctl dump 2955 -o core>\n"
1236 msgid "$B< coredumpctl dump 2955 -o core>;\n"
1237 msgstr "$ B<coredumpctl dump 2955 -o core>\n"
1238
1239 #. type: Plain text
1240 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1241 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1242 msgid "For more extensive details, see the B<coredumpctl>(1) manual page."
1243 msgstr ""
1244 "Pour des détails plus exhaustifs, voir la page de manuel de "
1245 "B<coredumpctl>(1)."
1246
1247 #. type: Plain text
1248 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1249 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1250 msgid ""
1251 "To (persistently) disable the B<systemd>(1) mechanism that archives core "
1252 "dumps, restoring to something more like traditional Linux behavior, one can "
1253 "set an override for the B<systemd>(1) mechanism, using something like:"
1254 msgstr ""
1255 "Pour désactiver de manière permanente le mécanisme de B<systemd>(1) qui "
1256 "archive les vidages mémoire et rétablir un fonctionnement plus proche du "
1257 "comportement traditionnel de Linux, on peut définir un contournement du "
1258 "mécanisme de B<systemd>(1) en utilisant quelque chose du genre :"
1259
1260 #. type: Plain text
1261 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1262 #: opensuse-tumbleweed
1263 #, fuzzy, no-wrap
1264 #| msgid ""
1265 #| "# B<echo \"kernel.core_pattern=core.%p\" E<gt> \\[rs]>\n"
1266 #| " B</etc/sysctl.d/50-coredump.conf>\n"
1267 #| "# B</lib/systemd/systemd-sysctl>\n"
1268 msgid ""
1269 "#B< echo \\[dq]kernel.core_pattern=core.%p\\[dq] E<gt> \\[rs]>;\n"
1270 " \\f[B]/etc/sysctl.d/50-coredump.conf\\fR\n"
1271 "#B< /lib/systemd/systemd-sysctl>;\n"
1272 msgstr ""
1273 "# B<echo \"kernel.core_pattern=core.%p\" E<gt> \\[rs]>\n"
1274 " B</etc/sysctl.d/50-coredump.conf>\n"
1275 "# B</lib/systemd/systemd-sysctl>\n"
1276
1277 #. type: Plain text
1278 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1279 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1280 msgid ""
1281 "It is also possible to temporarily (i.e., until the next reboot) change the "
1282 "I<core_pattern> setting using a command such as the following (which causes "
1283 "the names of core dump files to include the executable name as well as the "
1284 "number of the signal which triggered the core dump):"
1285 msgstr ""
1286 "On peut aussi modifier le I<core_pattern> temporairement (jusqu'au prochain "
1287 "redémarrage) en utilisant par exemple la commande suivante (qui inclut dans "
1288 "le nom des fichiers image de la mémoire le nom de l'exécutable et le numéro "
1289 "du signal qui a déclenché le vidage mémoire) :"
1290
1291 #. type: Plain text
1292 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1293 #: opensuse-tumbleweed
1294 #, fuzzy, no-wrap
1295 #| msgid "# B<sysctl -w kernel.core_pattern=\"%e-%s.core\">\n"
1296 msgid "#B< sysctl -w kernel.core_pattern=\\[dq]%e-%s.core\\[dq]>;\n"
1297 msgstr "# B<sysctl -w kernel.core_pattern=\"%e-%s.core\">\n"
1298
1299 #. type: SH
1300 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1301 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1302 #, no-wrap
1303 msgid "NOTES"
1304 msgstr "NOTES"
1305
1306 #. type: Plain text
1307 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1308 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1309 msgid ""
1310 "The B<gdb>(1) I<gcore> command can be used to obtain a core dump of a "
1311 "running process."
1312 msgstr ""
1313 "La commande B<gdb>(1) I<gcore> permet d'obtenir une image mémoire d'un "
1314 "processus en cours d'exécution."
1315
1316 #. #-#-#-#-# archlinux: core.5.pot (PACKAGE VERSION) #-#-#-#-#
1317 #. Changed with commit 6409324b385f3f63a03645b4422e3be67348d922
1318 #. Always including the PID in the name of the core file made
1319 #. sense for LinuxThreads, where each thread had a unique PID,
1320 #. but doesn't seem to serve any purpose with NPTL, where all the
1321 #. threads in a process share the same PID (as POSIX.1 requires).
1322 #. Probably the behavior is maintained so that applications using
1323 #. LinuxThreads continue appending the PID (the kernel has no easy
1324 #. way of telling which threading implementation the user-space
1325 #. application is using). -- mtk, April 2006
1326 #. type: Plain text
1327 #. #-#-#-#-# debian-trixie: core.5.pot (PACKAGE VERSION) #-#-#-#-#
1328 #. Changed with commit 6409324b385f3f63a03645b4422e3be67348d922
1329 #. Always including the PID in the name of the core file made
1330 #. sense for LinuxThreads, where each thread had a unique PID,
1331 #. but doesn't seem to serve any purpose with NPTL, where all the
1332 #. threads in a process share the same PID (as POSIX.1 requires).
1333 #. Probably the behavior is maintained so that applications using
1334 #. LinuxThreads continue appending the PID (the kernel has no easy
1335 #. way of telling which threading implementation the user-space
1336 #. application is using). -- mtk, April 2006
1337 #. type: Plain text
1338 #. #-#-#-#-# debian-unstable: core.5.pot (PACKAGE VERSION) #-#-#-#-#
1339 #. Changed with commit 6409324b385f3f63a03645b4422e3be67348d922
1340 #. Always including the PID in the name of the core file made
1341 #. sense for LinuxThreads, where each thread had a unique PID,
1342 #. but doesn't seem to serve any purpose with NPTL, where all the
1343 #. threads in a process share the same PID (as POSIX.1 requires).
1344 #. Probably the behavior is maintained so that applications using
1345 #. LinuxThreads continue appending the PID (the kernel has no easy
1346 #. way of telling which threading implementation the user-space
1347 #. application is using). -- mtk, April 2006
1348 #. type: Plain text
1349 #. #-#-#-#-# fedora-44: core.5.pot (PACKAGE VERSION) #-#-#-#-#
1350 #. Changed with commit 6409324b385f3f63a03645b4422e3be67348d922
1351 #. Always including the PID in the name of the core file made
1352 #. sense for LinuxThreads, where each thread had a unique PID,
1353 #. but doesn't seem to serve any purpose with NPTL, where all the
1354 #. threads in a process share the same PID (as POSIX.1 requires).
1355 #. Probably the behavior is maintained so that applications using
1356 #. LinuxThreads continue appending the PID (the kernel has no easy
1357 #. way of telling which threading implementation the user-space
1358 #. application is using). -- mtk, April 2006
1359 #. type: Plain text
1360 #. #-#-#-#-# fedora-rawhide: core.5.pot (PACKAGE VERSION) #-#-#-#-#
1361 #. Changed with commit 6409324b385f3f63a03645b4422e3be67348d922
1362 #. Always including the PID in the name of the core file made
1363 #. sense for LinuxThreads, where each thread had a unique PID,
1364 #. but doesn't seem to serve any purpose with NPTL, where all the
1365 #. threads in a process share the same PID (as POSIX.1 requires).
1366 #. Probably the behavior is maintained so that applications using
1367 #. LinuxThreads continue appending the PID (the kernel has no easy
1368 #. way of telling which threading implementation the user-space
1369 #. application is using). -- mtk, April 2006
1370 #. type: Plain text
1371 #. #-#-#-#-# mageia-cauldron: core.5.pot (PACKAGE VERSION) #-#-#-#-#
1372 #. Changed with commit 6409324b385f3f63a03645b4422e3be67348d922
1373 #. Always including the PID in the name of the core file made
1374 #. sense for LinuxThreads, where each thread had a unique PID,
1375 #. but doesn't seem to serve any purpose with NPTL, where all the
1376 #. threads in a process share the same PID (as POSIX.1 requires).
1377 #. Probably the behavior is maintained so that applications using
1378 #. LinuxThreads continue appending the PID (the kernel has no easy
1379 #. way of telling which threading implementation the user-space
1380 #. application is using). -- mtk, April 2006
1381 #. type: Plain text
1382 #. #-#-#-#-# opensuse-leap-16-1: core.5.pot (PACKAGE VERSION) #-#-#-#-#
1383 #. Changed with commit 6409324b385f3f63a03645b4422e3be67348d922
1384 #. Always including the PID in the name of the core file made
1385 #. sense for LinuxThreads, where each thread had a unique PID,
1386 #. but doesn't seem to serve any purpose with NPTL, where all the
1387 #. threads in a process share the same PID (as POSIX.1 requires).
1388 #. Probably the behavior is maintained so that applications using
1389 #. LinuxThreads continue appending the PID (the kernel has no easy
1390 #. way of telling which threading implementation the user-space
1391 #. application is using). -- mtk, April 2006
1392 #. type: Plain text
1393 #. #-#-#-#-# opensuse-tumbleweed: core.5.pot (PACKAGE VERSION) #-#-#-#-#
1394 #. Changed with commit 6409324b385f3f63a03645b4422e3be67348d922
1395 #. Always including the PID in the name of the core file made
1396 #. sense for LinuxThreads, where each thread had a unique PID,
1397 #. but doesn't seem to serve any purpose with NPTL, where all the
1398 #. threads in a process share the same PID (as POSIX.1 requires).
1399 #. Probably the behavior is maintained so that applications using
1400 #. LinuxThreads continue appending the PID (the kernel has no easy
1401 #. way of telling which threading implementation the user-space
1402 #. application is using). -- mtk, April 2006
1403 #. type: Plain text
1404 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1405 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1406 msgid ""
1407 "In Linux versions up to and including 2.6.27, if a multithreaded process "
1408 "(or, more precisely, a process that shares its memory with another process "
1409 "by being created with the B<CLONE_VM> flag of B<clone>(2)) dumps core, then "
1410 "the process ID is always appended to the core filename, unless the process "
1411 "ID was already included elsewhere in the filename via a I<%p> specification "
1412 "in I</proc/sys/kernel/core_pattern>. (This is primarily useful when "
1413 "employing the obsolete LinuxThreads implementation, where each thread of a "
1414 "process has a different PID.)"
1415 msgstr ""
1416 "Jusqu'à Linux 2.6.27 inclus, si un processus multithreadé (ou plus "
1417 "précisément, un processus qui partage son espace mémoire avec un autre "
1418 "processus parce que créé avec l'indicateur B<CLONE_VM> de B<clone>(2)) crée "
1419 "une image mémoire, l'identifiant du processus (PID) est toujours ajouté au "
1420 "nom du fichier image de la mémoire, à moins que l'identifiant du processus "
1421 "ne fasse déjà partie du nom de fichier de par la présence d'une "
1422 "spécification I<%p> dans I</proc/sys/kernel/core_pattern> (cela s'avère "
1423 "principalement utile lors de l'utilisation de l'implémentation obsolète "
1424 "LinuxThreads pour laquelle chaque thread d'un processus a son propre PID)."
1425
1426 #. type: SH
1427 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1428 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1429 #, no-wrap
1430 msgid "EXAMPLES"
1431 msgstr "EXEMPLES"
1432
1433 #. type: Plain text
1434 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1435 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1436 msgid ""
1437 "The program below can be used to demonstrate the use of the pipe syntax in "
1438 "the I</proc/sys/kernel/core_pattern> file. The following shell session "
1439 "demonstrates the use of this program (compiled to create an executable named "
1440 "I<core_pattern_pipe_test>):"
1441 msgstr ""
1442 "Le programme ci-dessous montre l'utilisation de la syntaxe de tubage dans le "
1443 "fichier I</proc/sys/kernel/core_pattern>. La session de l'interpréteur de "
1444 "commande suivante montre l'utilisation de ce programme (compilé pour créer "
1445 "un exécutable nommé I<core_pattern_pipe_test>) :"
1446
1447 #. type: Plain text
1448 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1449 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1450 #, no-wrap
1451 msgid ""
1452 "$B< cc -o core_pattern_pipe_test core_pattern_pipe_test.c>\n"
1453 "$B< su>\n"
1454 "Password:\n"
1455 "#B< echo \\[dq]|$PWD/core_pattern_pipe_test %p UID=%u GID=%g sig=%s\\[dq] E<gt> \\[rs]>\n"
1456 "B</proc/sys/kernel/core_pattern>\n"
1457 "#B< exit>\n"
1458 "$B< sleep 100>\n"
1459 "B<\\[ha]\\[rs]> # type control-backslash\n"
1460 "Quit (core dumped)\n"
1461 "$B< cat core.info>\n"
1462 "argc=5\n"
1463 "argc[0]=E<lt>/home/mtk/core_pattern_pipe_testE<gt>\n"
1464 "argc[1]=E<lt>20575E<gt>\n"
1465 "argc[2]=E<lt>UID=1000E<gt>\n"
1466 "argc[3]=E<lt>GID=100E<gt>\n"
1467 "argc[4]=E<lt>sig=3E<gt>\n"
1468 "Total bytes in core dump: 282624\n"
1469 msgstr ""
1470 "$B< cc -o core_pattern_pipe_test core_pattern_pipe_test.c>\n"
1471 "$B< su>\n"
1472 "Password:\n"
1473 "#B< echo \\[dq]|$PWD/core_pattern_pipe_test %p UID=%u GID=%g sig=%s\\[dq] E<gt> \\[rs]>\n"
1474 "B</proc/sys/kernel/core_pattern>\n"
1475 "#B< exit>\n"
1476 "$B< sleep 100>\n"
1477 "B<\\[ha]\\[rs]> # taper control-backslash\n"
1478 "Quit (core dumped)\n"
1479 "$B< cat core.info>\n"
1480 "argc=5\n"
1481 "argc[0]=E<lt>/home/mtk/core_pattern_pipe_testE<gt>\n"
1482 "argc[1]=E<lt>20575E<gt>\n"
1483 "argc[2]=E<lt>UID=1000E<gt>\n"
1484 "argc[3]=E<lt>GID=100E<gt>\n"
1485 "argc[4]=E<lt>sig=3E<gt>\n"
1486 "Total bytes in core dump: 282624\n"
1487
1488 #. type: SS
1489 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1490 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1491 #, no-wrap
1492 msgid "Program source"
1493 msgstr "Source du programme"
1494
1495 #. type: Plain text
1496 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1497 #: opensuse-tumbleweed
1498 #, fuzzy, no-wrap
1499 #| msgid ""
1500 #| "/* core_pattern_pipe_test.c */\n"
1501 #| "\\&\n"
1502 #| "#define _GNU_SOURCE\n"
1503 #| "#include E<lt>sys/stat.hE<gt>\n"
1504 #| "#include E<lt>fcntl.hE<gt>\n"
1505 #| "#include E<lt>limits.hE<gt>\n"
1506 #| "#include E<lt>stdio.hE<gt>\n"
1507 #| "#include E<lt>stdlib.hE<gt>\n"
1508 #| "#include E<lt>unistd.hE<gt>\n"
1509 #| "\\&\n"
1510 #| "#define BUF_SIZE 1024\n"
1511 #| "\\&\n"
1512 #| "int\n"
1513 #| "main(int argc, char *argv[])\n"
1514 #| "{\n"
1515 #| " ssize_t nread, tot;\n"
1516 #| " char buf[BUF_SIZE];\n"
1517 #| " FILE *fp;\n"
1518 #| " char cwd[PATH_MAX];\n"
1519 #| "\\&\n"
1520 #| " /* Change our current working directory to that of the\n"
1521 #| " crashing process. */\n"
1522 #| "\\&\n"
1523 #| " snprintf(cwd, PATH_MAX, \"/proc/%s/cwd\", argv[1]);\n"
1524 #| " chdir(cwd);\n"
1525 #| "\\&\n"
1526 #| " /* Write output to file \"core.info\" in that directory. */\n"
1527 #| "\\&\n"
1528 #| " fp = fopen(\"core.info\", \"w+\");\n"
1529 #| " if (fp == NULL)\n"
1530 #| " exit(EXIT_FAILURE);\n"
1531 #| "\\&\n"
1532 #| " /* Display command-line arguments given to core_pattern\n"
1533 #| " pipe program. */\n"
1534 #| "\\&\n"
1535 #| " fprintf(fp, \"argc=%d\\[rs]n\", argc);\n"
1536 #| " for (size_t j = 0; j E<lt> argc; j++)\n"
1537 #| " fprintf(fp, \"argc[%zu]=E<lt>%sE<gt>\\[rs]n\", j, argv[j]);\n"
1538 #| "\\&\n"
1539 #| " /* Count bytes in standard input (the core dump). */\n"
1540 #| "\\&\n"
1541 #| " tot = 0;\n"
1542 #| " while ((nread = read(STDIN_FILENO, buf, BUF_SIZE)) E<gt> 0)\n"
1543 #| " tot += nread;\n"
1544 #| " fprintf(fp, \"Total bytes in core dump: %zd\\[rs]n\", tot);\n"
1545 #| "\\&\n"
1546 #| " fclose(fp);\n"
1547 #| " exit(EXIT_SUCCESS);\n"
1548 #| "}\n"
1549 msgid ""
1550 "/* core_pattern_pipe_test.c */\n"
1551 "\\&\n"
1552 "#define _GNU_SOURCE\n"
1553 "#include E<lt>sys/stat.hE<gt>\n"
1554 "#include E<lt>fcntl.hE<gt>\n"
1555 "#include E<lt>limits.hE<gt>\n"
1556 "#include E<lt>stdio.hE<gt>\n"
1557 "#include E<lt>stdlib.hE<gt>\n"
1558 "#include E<lt>unistd.hE<gt>\n"
1559 "\\&\n"
1560 "#define BUF_SIZE 1024\n"
1561 "\\&\n"
1562 "int\n"
1563 "main(int argc, char *argv[])\n"
1564 "{\n"
1565 " ssize_t nread, tot;\n"
1566 " char buf[BUF_SIZE];\n"
1567 " FILE *fp;\n"
1568 " char cwd[PATH_MAX];\n"
1569 "\\&\n"
1570 " /* Change our current working directory to that of the\n"
1571 " crashing process. */\n"
1572 "\\&\n"
1573 " snprintf(cwd, PATH_MAX, \"/proc/%s/cwd\", argv[1]);\n"
1574 " chdir(cwd);\n"
1575 "\\&\n"
1576 " /* Write output to file \"core.info\" in that directory. */\n"
1577 "\\&\n"
1578 " fp = fopen(\"core.info\", \"w+\");\n"
1579 " if (fp == NULL)\n"
1580 " exit(EXIT_FAILURE);\n"
1581 "\\&\n"
1582 " /* Display command-line arguments given to core_pattern\n"
1583 " pipe program. */\n"
1584 "\\&\n"
1585 " fprintf(fp, \"argc=%d\\[rs]n\", argc);\n"
1586 " for (size_t j = 0; j E<lt> argc; j++)\n"
1587 " fprintf(fp, \"argc[%zu]=E<lt>%sE<gt>\\[rs]n\", j, argv[j]);\n"
1588 "\\&\n"
1589 " /* Count bytes in standard input (the core dump). */\n"
1590 "\\&\n"
1591 " tot = 0;\n"
1592 " while ((nread = read(STDIN_FILENO, buf, BUF_SIZE)) E<gt> 0)\n"
1593 " tot += nread;\n"
1594 " fprintf(fp, \"Total bytes in core dump: %zd\\[rs]n\", tot);\n"
1595 "\\&\n"
1596 " fclose(fp);\n"
1597 " exit(EXIT_SUCCESS);\n"
1598 "}\n"
1599 msgstr ""
1600 "/* core_pattern_pipe_test.c */\n"
1601 "\\&\n"
1602 "#define _GNU_SOURCE\n"
1603 "#include E<lt>sys/stat.hE<gt>\n"
1604 "#include E<lt>fcntl.hE<gt>\n"
1605 "#include E<lt>limits.hE<gt>\n"
1606 "#include E<lt>stdio.hE<gt>\n"
1607 "#include E<lt>stdlib.hE<gt>\n"
1608 "#include E<lt>unistd.hE<gt>\n"
1609 "\\&\n"
1610 "#define BUF_SIZE 1024\n"
1611 "\\&\n"
1612 "int\n"
1613 "main(int argc, char *argv[])\n"
1614 "{\n"
1615 " ssize_t nread, tot;\n"
1616 " char buf[BUF_SIZE];\n"
1617 " FILE *fp;\n"
1618 " char cwd[PATH_MAX];\n"
1619 "\\&\n"
1620 " /* Changer le répertoire de travail actuel pour celui du\n"
1621 " processus qui a planté. */\n"
1622 "\\&\n"
1623 " snprintf(cwd, PATH_MAX, \"/proc/%s/cwd\", argv[1]);\n"
1624 " chdir(cwd);\n"
1625 "\\&\n"
1626 " /* Écrire la sortie dans le fichier \"core.info\" dans ce répertoire. */\n"
1627 "\\&\n"
1628 " fp = fopen(\"core.info\", \"w+\");\n"
1629 " if (fp == NULL)\n"
1630 " exit(EXIT_FAILURE);\n"
1631 "\\&\n"
1632 " /* Afficher les arguments de ligne de commande passés au programme \n"
1633 " cible du tube configuré dans core_pattern. */\n"
1634 "\\&\n"
1635 " fprintf(fp, \"argc=%d\\[rs]n\", argc);\n"
1636 " for (size_t j = 0; j E<lt> argc; j++)\n"
1637 " fprintf(fp, \"argc[%zu]=E<lt>%sE<gt>\\[rs]n\", j, argv[j]);\n"
1638 "\\&\n"
1639 " /* Compter les octets sur l'entrée standard (le vidage mémoire). */\n"
1640 "\\&\n"
1641 " tot = 0;\n"
1642 " while ((nread = read(STDIN_FILENO, buf, BUF_SIZE)) E<gt> 0)\n"
1643 " tot += nread;\n"
1644 " fprintf(fp, \"Taille en octets du vidage mémoire : %zd\\[rs]n\", tot);\n"
1645 "\\&\n"
1646 " fclose(fp);\n"
1647 " exit(EXIT_SUCCESS);\n"
1648 "}\n"
1649
1650 #. type: SH
1651 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1652 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1653 #, no-wrap
1654 msgid "SEE ALSO"
1655 msgstr "VOIR AUSSI"
1656
1657 #. type: Plain text
1658 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1659 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1660 msgid ""
1661 "B<bash>(1), B<coredumpctl>(1), B<gdb>(1), B<getrlimit>(2), B<mmap>(2), "
1662 "B<prctl>(2), B<sigaction>(2), B<elf>(5), B<proc>(5), B<pthreads>(7), "
1663 "B<signal>(7), B<systemd-coredump>(8)"
1664 msgstr ""
1665 "B<bash>(1), B<coredumpctl>(1), B<gdb>(1), B<getrlimit>(2), B<mmap>(2), "
1666 "B<prctl>(2), B<sigaction>(2), B<elf>(5), B<proc>(5), B<pthreads>(7), "
1667 "B<signal>(7), B<systemd-coredump>(8)"
1668
1669 #. type: TH
1670 #: debian-trixie fedora-44 fedora-rawhide
1671 #, no-wrap
1672 msgid "2024-06-15"
1673 msgstr "15 juin 2024"
1674
1675 #. type: TH
1676 #: debian-trixie
1677 #, no-wrap
1678 msgid "Linux man-pages 6.9.1"
1679 msgstr "Pages du manuel de Linux 6.9.1"
1680
1681 #. type: Plain text
1682 #: debian-trixie fedora-44 fedora-rawhide
1683 msgid ""
1684 "Since Linux 2.6.19, Linux supports an alternate syntax for the I</proc/sys/"
1685 "kernel/core_pattern> file. If the first character of this file is a pipe "
1686 "symbol (B<|>), then the remainder of the line is interpreted as the command-"
1687 "line for a user-space program (or script) that is to be executed."
1688 msgstr ""
1689 "Depuis le noyau 2.6.19, Linux prend en charge une syntaxe alternative pour "
1690 "le fichier I</proc/sys/kernel/core_pattern>. Si le premier caractère de ce "
1691 "fichier est le symbole du tube (B<|>), le reste de la ligne est interprété "
1692 "comme une ligne de commande pour un programme de l'espace utilisateur (ou un "
1693 "script) à exécuter."
1694
1695 #. type: Plain text
1696 #: debian-trixie fedora-44 fedora-rawhide
1697 msgid ""
1698 "The value in the file is a bit mask of memory mapping types (see "
1699 "B<mmap>(2)). If a bit is set in the mask, then memory mappings of the "
1700 "corresponding type are dumped; otherwise they are not dumped. The bits in "
1701 "this file have the following meanings:"
1702 msgstr ""
1703 "La valeur dans ce fichier est un masque de bits des types de projection "
1704 "mémoire (consultez B<mmap>(2)). Si un bit est positionné dans le masque, les "
1705 "projections mémoire du type correspondant sont vidées ; dans le cas "
1706 "contraire, elles ne le sont pas. Les bits dans ce fichier ont la "
1707 "signification suivante :"
1708
1709 #. type: Plain text
1710 #: debian-trixie fedora-44 fedora-rawhide
1711 #, no-wrap
1712 msgid ""
1713 "$ B<cat /proc/sys/kernel/core_pattern>\n"
1714 "|/usr/lib/systemd/systemd-coredump %P %u %g %s %t %c %e\n"
1715 msgstr ""
1716 "$ B<cat /proc/sys/kernel/core_pattern>\n"
1717 "|/usr/lib/systemd/systemd-coredump %P %u %g %s %t %c %e\n"
1718
1719 #. type: Plain text
1720 #: debian-trixie fedora-44 fedora-rawhide
1721 #, no-wrap
1722 msgid ""
1723 "$ B<coredumpctl list | tail -5>\n"
1724 "Wed 2017-10-11 22:25:30 CEST 2748 1000 1000 3 present /usr/bin/sleep\n"
1725 "Thu 2017-10-12 06:29:10 CEST 2716 1000 1000 3 present /usr/bin/sleep\n"
1726 "Thu 2017-10-12 06:30:50 CEST 2767 1000 1000 3 present /usr/bin/sleep\n"
1727 "Thu 2017-10-12 06:37:40 CEST 2918 1000 1000 3 present /usr/bin/cat\n"
1728 "Thu 2017-10-12 08:13:07 CEST 2955 1000 1000 3 present /usr/bin/cat\n"
1729 msgstr ""
1730 "$ B<coredumpctl list | tail -5>\n"
1731 "Wed 2017-10-11 22:25:30 CEST 2748 1000 1000 3 present /usr/bin/sleep\n"
1732 "Thu 2017-10-12 06:29:10 CEST 2716 1000 1000 3 present /usr/bin/sleep\n"
1733 "Thu 2017-10-12 06:30:50 CEST 2767 1000 1000 3 present /usr/bin/sleep\n"
1734 "Thu 2017-10-12 06:37:40 CEST 2918 1000 1000 3 present /usr/bin/cat\n"
1735 "Thu 2017-10-12 08:13:07 CEST 2955 1000 1000 3 present /usr/bin/cat\n"
1736
1737 #. type: Plain text
1738 #: debian-trixie fedora-44 fedora-rawhide
1739 #, no-wrap
1740 msgid "$ B<coredumpctl dump 2955 -o core>\n"
1741 msgstr "$ B<coredumpctl dump 2955 -o core>\n"
1742
1743 #. type: Plain text
1744 #: debian-trixie fedora-44 fedora-rawhide
1745 #, no-wrap
1746 msgid ""
1747 "# B<echo \"kernel.core_pattern=core.%p\" E<gt> \\[rs]>\n"
1748 " B</etc/sysctl.d/50-coredump.conf>\n"
1749 "# B</lib/systemd/systemd-sysctl>\n"
1750 msgstr ""
1751 "# B<echo \"kernel.core_pattern=core.%p\" E<gt> \\[rs]>\n"
1752 " B</etc/sysctl.d/50-coredump.conf>\n"
1753 "# B</lib/systemd/systemd-sysctl>\n"
1754
1755 #. type: Plain text
1756 #: debian-trixie fedora-44 fedora-rawhide
1757 #, no-wrap
1758 msgid "# B<sysctl -w kernel.core_pattern=\"%e-%s.core\">\n"
1759 msgstr "# B<sysctl -w kernel.core_pattern=\"%e-%s.core\">\n"
1760
1761 #. type: Plain text
1762 #: debian-trixie fedora-44 fedora-rawhide
1763 #, no-wrap
1764 msgid ""
1765 "/* core_pattern_pipe_test.c */\n"
1766 "\\&\n"
1767 "#define _GNU_SOURCE\n"
1768 "#include E<lt>sys/stat.hE<gt>\n"
1769 "#include E<lt>fcntl.hE<gt>\n"
1770 "#include E<lt>limits.hE<gt>\n"
1771 "#include E<lt>stdio.hE<gt>\n"
1772 "#include E<lt>stdlib.hE<gt>\n"
1773 "#include E<lt>unistd.hE<gt>\n"
1774 "\\&\n"
1775 "#define BUF_SIZE 1024\n"
1776 "\\&\n"
1777 "int\n"
1778 "main(int argc, char *argv[])\n"
1779 "{\n"
1780 " ssize_t nread, tot;\n"
1781 " char buf[BUF_SIZE];\n"
1782 " FILE *fp;\n"
1783 " char cwd[PATH_MAX];\n"
1784 "\\&\n"
1785 " /* Change our current working directory to that of the\n"
1786 " crashing process. */\n"
1787 "\\&\n"
1788 " snprintf(cwd, PATH_MAX, \"/proc/%s/cwd\", argv[1]);\n"
1789 " chdir(cwd);\n"
1790 "\\&\n"
1791 " /* Write output to file \"core.info\" in that directory. */\n"
1792 "\\&\n"
1793 " fp = fopen(\"core.info\", \"w+\");\n"
1794 " if (fp == NULL)\n"
1795 " exit(EXIT_FAILURE);\n"
1796 "\\&\n"
1797 " /* Display command-line arguments given to core_pattern\n"
1798 " pipe program. */\n"
1799 "\\&\n"
1800 " fprintf(fp, \"argc=%d\\[rs]n\", argc);\n"
1801 " for (size_t j = 0; j E<lt> argc; j++)\n"
1802 " fprintf(fp, \"argc[%zu]=E<lt>%sE<gt>\\[rs]n\", j, argv[j]);\n"
1803 "\\&\n"
1804 " /* Count bytes in standard input (the core dump). */\n"
1805 "\\&\n"
1806 " tot = 0;\n"
1807 " while ((nread = read(STDIN_FILENO, buf, BUF_SIZE)) E<gt> 0)\n"
1808 " tot += nread;\n"
1809 " fprintf(fp, \"Total bytes in core dump: %zd\\[rs]n\", tot);\n"
1810 "\\&\n"
1811 " fclose(fp);\n"
1812 " exit(EXIT_SUCCESS);\n"
1813 "}\n"
1814 msgstr ""
1815 "/* core_pattern_pipe_test.c */\n"
1816 "\\&\n"
1817 "#define _GNU_SOURCE\n"
1818 "#include E<lt>sys/stat.hE<gt>\n"
1819 "#include E<lt>fcntl.hE<gt>\n"
1820 "#include E<lt>limits.hE<gt>\n"
1821 "#include E<lt>stdio.hE<gt>\n"
1822 "#include E<lt>stdlib.hE<gt>\n"
1823 "#include E<lt>unistd.hE<gt>\n"
1824 "\\&\n"
1825 "#define BUF_SIZE 1024\n"
1826 "\\&\n"
1827 "int\n"
1828 "main(int argc, char *argv[])\n"
1829 "{\n"
1830 " ssize_t nread, tot;\n"
1831 " char buf[BUF_SIZE];\n"
1832 " FILE *fp;\n"
1833 " char cwd[PATH_MAX];\n"
1834 "\\&\n"
1835 " /* Changer le répertoire de travail actuel pour celui du\n"
1836 " processus qui a planté. */\n"
1837 "\\&\n"
1838 " snprintf(cwd, PATH_MAX, \"/proc/%s/cwd\", argv[1]);\n"
1839 " chdir(cwd);\n"
1840 "\\&\n"
1841 " /* Écrire la sortie dans le fichier \"core.info\" dans ce répertoire. */\n"
1842 "\\&\n"
1843 " fp = fopen(\"core.info\", \"w+\");\n"
1844 " if (fp == NULL)\n"
1845 " exit(EXIT_FAILURE);\n"
1846 "\\&\n"
1847 " /* Afficher les arguments de ligne de commande passés au programme \n"
1848 " cible du tube configuré dans core_pattern. */\n"
1849 "\\&\n"
1850 " fprintf(fp, \"argc=%d\\[rs]n\", argc);\n"
1851 " for (size_t j = 0; j E<lt> argc; j++)\n"
1852 " fprintf(fp, \"argc[%zu]=E<lt>%sE<gt>\\[rs]n\", j, argv[j]);\n"
1853 "\\&\n"
1854 " /* Compter les octets sur l'entrée standard (le vidage mémoire). */\n"
1855 "\\&\n"
1856 " tot = 0;\n"
1857 " while ((nread = read(STDIN_FILENO, buf, BUF_SIZE)) E<gt> 0)\n"
1858 " tot += nread;\n"
1859 " fprintf(fp, \"Taille en octets du vidage mémoire : %zd\\[rs]n\", tot);\n"
1860 "\\&\n"
1861 " fclose(fp);\n"
1862 " exit(EXIT_SUCCESS);\n"
1863 "}\n"
1864
1865 #. type: TH
1866 #: fedora-44 fedora-rawhide
1867 #, no-wrap
1868 msgid "Linux man-pages 6.13"
1869 msgstr "Pages du manuel de Linux 6.13"
1870
1871 #. type: TH
1872 #: mageia-cauldron
1873 #, no-wrap
1874 msgid "2026-02-08"
1875 msgstr "8 février 2026"
1876
1877 #. type: TH
1878 #: mageia-cauldron
1879 #, no-wrap
1880 msgid "Linux man-pages 6.17"
1881 msgstr "Pages du manuel de Linux 6.17"
1882
1883 #. type: TH
1884 #: opensuse-leap-16-1 opensuse-tumbleweed
1885 #, no-wrap
1886 msgid "Linux man-pages (unreleased)"
1887 msgstr "Pages du manuel de Linux (non publiées)"