| 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, 2014. |
| 16 |
# Denis Barbier <[email protected]>, 2006, 2010, 2011. |
| 17 |
# David Prévot <[email protected]>, 2010, 2012-2014. |
| 18 |
# Jean-Pierre Giraud <[email protected]>, 2021-2026. |
| 19 |
msgid "" |
| 20 |
msgstr "" |
| 21 |
"Project-Id-Version: manpages-l10n 4.22.0\n" |
| 22 |
"POT-Creation-Date: 2026-06-05 06:50+0200\n" |
| 23 |
"PO-Revision-Date: 2026-03-28 10:46+0100\n" |
| 24 |
"Last-Translator: Jean-Pierre Giraud <[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 25.04.0\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 "vfork" |
| 38 |
msgstr "vfork" |
| 39 |
|
| 40 |
#. type: TH |
| 41 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 42 |
#: opensuse-tumbleweed |
| 43 |
#, no-wrap |
| 44 |
msgid "2026-02-08" |
| 45 |
msgstr "8 février 2026" |
| 46 |
|
| 47 |
#. type: TH |
| 48 |
#: archlinux debian-unstable |
| 49 |
#, no-wrap |
| 50 |
msgid "Linux man-pages 6.18" |
| 51 |
msgstr "Pages du manuel de Linux 6.18" |
| 52 |
|
| 53 |
#. type: SH |
| 54 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 55 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 56 |
#, no-wrap |
| 57 |
msgid "NAME" |
| 58 |
msgstr "NOM" |
| 59 |
|
| 60 |
#. type: Plain text |
| 61 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 62 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 63 |
msgid "vfork - create a child process and block parent" |
| 64 |
msgstr "vfork - Créer un processus enfant et bloquer le parent" |
| 65 |
|
| 66 |
#. type: SH |
| 67 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 68 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 69 |
#, no-wrap |
| 70 |
msgid "LIBRARY" |
| 71 |
msgstr "BIBLIOTHÈQUE" |
| 72 |
|
| 73 |
#. type: Plain text |
| 74 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 75 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 76 |
msgid "Standard C library (I<libc>,\\ I<-lc>)" |
| 77 |
msgstr "Bibliothèque C standard (I<libc>,\\ I<-lc>)" |
| 78 |
|
| 79 |
#. type: SH |
| 80 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 81 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 82 |
#, no-wrap |
| 83 |
msgid "SYNOPSIS" |
| 84 |
msgstr "SYNOPSIS" |
| 85 |
|
| 86 |
#. type: Plain text |
| 87 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 88 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 89 |
#, no-wrap |
| 90 |
msgid "B<#include E<lt>unistd.hE<gt>>\n" |
| 91 |
msgstr "B<#include E<lt>unistd.hE<gt>>\n" |
| 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 |
#, no-wrap |
| 97 |
msgid "B<pid_t vfork(void);>\n" |
| 98 |
msgstr "B<pid_t vfork(void);>\n" |
| 99 |
|
| 100 |
#. type: Plain text |
| 101 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 102 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 103 |
msgid "" |
| 104 |
"Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):" |
| 105 |
msgstr "" |
| 106 |
"Exigences de macros de test de fonctionnalités pour la glibc (consulter " |
| 107 |
"B<feature_test_macros>(7)) :" |
| 108 |
|
| 109 |
#. type: Plain text |
| 110 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 111 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 112 |
msgid "B<vfork>():" |
| 113 |
msgstr "B<vfork>() :" |
| 114 |
|
| 115 |
#. || _XOPEN_SOURCE && _XOPEN_SOURCE_EXTENDED |
| 116 |
#. type: Plain text |
| 117 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 118 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 119 |
#, no-wrap |
| 120 |
msgid "" |
| 121 |
" Since glibc 2.12:\n" |
| 122 |
" (_XOPEN_SOURCE E<gt>= 500) && ! (_POSIX_C_SOURCE E<gt>= 200809L)\n" |
| 123 |
" || /* Since glibc 2.19: */ _DEFAULT_SOURCE\n" |
| 124 |
" || /* glibc E<lt>= 2.19: */ _BSD_SOURCE\n" |
| 125 |
" Before glibc 2.12:\n" |
| 126 |
" _BSD_SOURCE || _XOPEN_SOURCE E<gt>= 500\n" |
| 127 |
msgstr "" |
| 128 |
" Depuis la glibc 2.12 :\n" |
| 129 |
" (_XOPEN_SOURCE E<gt>= 500) && ! (_POSIX_C_SOURCE E<gt>= 200809L)\n" |
| 130 |
" || /* Depuis la glibc 2.19 : */ _DEFAULT_SOURCE\n" |
| 131 |
" || /* glibc E<lt>= 2.19 : */ _BSD_SOURCE\n" |
| 132 |
" Avant la glibc 2.12 :\n" |
| 133 |
" _BSD_SOURCE || _XOPEN_SOURCE E<gt>= 500\n" |
| 134 |
|
| 135 |
#. type: SH |
| 136 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 137 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 138 |
#, no-wrap |
| 139 |
msgid "DESCRIPTION" |
| 140 |
msgstr "DESCRIPTION" |
| 141 |
|
| 142 |
#. type: SS |
| 143 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 144 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 145 |
#, no-wrap |
| 146 |
msgid "Standard description" |
| 147 |
msgstr "Description des normes" |
| 148 |
|
| 149 |
#. type: Plain text |
| 150 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 151 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 152 |
msgid "" |
| 153 |
"(From POSIX.1) The B<vfork>() function has the same effect as B<fork>(2), " |
| 154 |
"except that the behavior is undefined if the process created by B<vfork>() " |
| 155 |
"either modifies any data other than a variable of type I<pid_t> used to " |
| 156 |
"store the return value from B<vfork>(), or returns from the function in " |
| 157 |
"which B<vfork>() was called, or calls any other function before " |
| 158 |
"successfully calling B<_exit>(2) or one of the B<exec>(3) family of " |
| 159 |
"functions." |
| 160 |
msgstr "" |
| 161 |
"(D'après POSIX.1). La routine B<vfork>() a le même effet que B<fork>(2), " |
| 162 |
"sauf que le comportement est indéfini si le processus créé par B<vfork>() " |
| 163 |
"effectue l'une des actions suivantes avant d'appeler avec succès B<_exit>(2) " |
| 164 |
"ou une routine de la famille B<exec>(3)\\ : modification d'une donnée autre " |
| 165 |
"que la variable de type I<pid_t> stockant le retour de B<vfork>(), revenir " |
| 166 |
"de la fonction dans laquelle B<vfork>() a été invoqué, appel d'une autre " |
| 167 |
"fonction." |
| 168 |
|
| 169 |
#. type: SS |
| 170 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 171 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 172 |
#, no-wrap |
| 173 |
msgid "Linux description" |
| 174 |
msgstr "Description de l'implémentation Linux" |
| 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 |
"B<vfork>(), just like B<fork>(2), creates a child process of the calling " |
| 181 |
"process. For details and return value and errors, see B<fork>(2)." |
| 182 |
msgstr "" |
| 183 |
"B<vfork>(), tout comme B<fork>(2), crée un processus enfant à partir du " |
| 184 |
"processus appelant. Pour plus de détails sur les valeurs renvoyées et les " |
| 185 |
"erreurs possibles, consultez B<fork>(2)." |
| 186 |
|
| 187 |
#. type: Plain text |
| 188 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 189 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 190 |
msgid "" |
| 191 |
"B<vfork>() is a special case of B<clone>(2). It is used to create new " |
| 192 |
"processes without copying the page tables of the parent process. It may be " |
| 193 |
"useful in performance-sensitive applications where a child is created which " |
| 194 |
"then immediately issues an B<execve>(2)." |
| 195 |
msgstr "" |
| 196 |
"B<vfork>() est conçu comme un cas particulier de B<clone>(2). Il sert à " |
| 197 |
"créer un nouveau processus sans effectuer de copie de la table des pages " |
| 198 |
"mémoire du processus parent. Cela peut être utile dans des applications " |
| 199 |
"nécessitant une grande rapidité d'exécution, si l'enfant doit invoquer " |
| 200 |
"immédiatement un appel B<execve>(2)." |
| 201 |
|
| 202 |
#. type: Plain text |
| 203 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 204 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 205 |
msgid "" |
| 206 |
"B<vfork>() differs from B<fork>(2) in that the calling thread is suspended " |
| 207 |
"until the child terminates (either normally, by calling B<_exit>(2), or " |
| 208 |
"abnormally, after delivery of a fatal signal), or it makes a call to " |
| 209 |
"B<execve>(2). Until that point, the child shares all memory with its " |
| 210 |
"parent, including the stack. The child must not return from the current " |
| 211 |
"function or call B<exit>(3) (which would have the effect of calling exit " |
| 212 |
"handlers established by the parent process and flushing the parent's " |
| 213 |
"B<stdio>(3) buffers), but may call B<_exit>(2)." |
| 214 |
msgstr "" |
| 215 |
"B<vfork>() diffère de B<fork>(2) en ce que le thread appelant reste suspendu " |
| 216 |
"jusqu'à ce que l'enfant se termine (soit normalement, en appelant " |
| 217 |
"B<_exit>(2), soit de façon anormale après l'envoi d'un signal fatal) ou " |
| 218 |
"qu'il appelle B<execve>(2). Jusqu'à ce point, l'enfant partage toute la " |
| 219 |
"mémoire avec son parent, y compris la pile. Le processus enfant ne doit pas " |
| 220 |
"revenir de la fonction en cours, ni appeler B<exit>(3) (ce qui aurait pour " |
| 221 |
"effet d'appeler les gestionnaires de sortie établis par le processus parent " |
| 222 |
"et de vider les tampons B<stdio>(3) du parent), mais appeler à B<_exit>(2)." |
| 223 |
|
| 224 |
#. type: Plain text |
| 225 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 226 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 227 |
msgid "" |
| 228 |
"As with B<fork>(2), the child process created by B<vfork>() inherits copies " |
| 229 |
"of various of the caller's process attributes (e.g., file descriptors, " |
| 230 |
"signal dispositions, and current working directory); the B<vfork>() call " |
| 231 |
"differs only in the treatment of the virtual address space, as described " |
| 232 |
"above." |
| 233 |
msgstr "" |
| 234 |
"Comme avec B<fork>(2), le processus enfant créé par B<vfork>() hérite des " |
| 235 |
"copies de plusieurs attributs du processus appelant (par exemple les " |
| 236 |
"descripteurs de fichiers, les dispositions des signaux et le répertoire de " |
| 237 |
"travail actuel)\\ ; l'appel B<vfork>() diffère seulement par le traitement " |
| 238 |
"de l'espace d'adressage virtuel, comme décrit ci-dessus." |
| 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 "" |
| 244 |
"Signals sent to the parent arrive after the child releases the parent's " |
| 245 |
"memory (i.e., after the child terminates or calls B<execve>(2))." |
| 246 |
msgstr "" |
| 247 |
"Les signaux pour le processus parent sont délivrés après que l'enfant libère " |
| 248 |
"la mémoire du parent (c'est-à-dire après que l'enfant se termine ou qu'il " |
| 249 |
"appelle B<execve>(2))." |
| 250 |
|
| 251 |
#. type: SS |
| 252 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 253 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 254 |
#, no-wrap |
| 255 |
msgid "Historic description" |
| 256 |
msgstr "Description historique" |
| 257 |
|
| 258 |
#. type: Plain text |
| 259 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 260 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 261 |
msgid "" |
| 262 |
"Under Linux, B<fork>(2) is implemented using copy-on-write pages, so the " |
| 263 |
"only penalty incurred by B<fork>(2) is the time and memory required to " |
| 264 |
"duplicate the parent's page tables, and to create a unique task structure " |
| 265 |
"for the child. However, in the bad old days a B<fork>(2) would require " |
| 266 |
"making a complete copy of the caller's data space, often needlessly, since " |
| 267 |
"usually immediately afterward an B<exec>(3) is done. Thus, for greater " |
| 268 |
"efficiency, BSD introduced the B<vfork>() system call, which did not fully " |
| 269 |
"copy the address space of the parent process, but borrowed the parent's " |
| 270 |
"memory and thread of control until a call to B<execve>(2) or an exit " |
| 271 |
"occurred. The parent process was suspended while the child was using its " |
| 272 |
"resources. The use of B<vfork>() was tricky: for example, not modifying " |
| 273 |
"data in the parent process depended on knowing which variables were held in " |
| 274 |
"a register." |
| 275 |
msgstr "" |
| 276 |
"Sous Linux, B<fork>(2) est implémenté en utilisant un mécanisme de copie en " |
| 277 |
"écriture, ainsi ses seuls coûts sont le temps et la mémoire nécessaire pour " |
| 278 |
"dupliquer la table des pages mémoire du processus parent, et créer une " |
| 279 |
"seulestructure de tâche pour l'enfant. Toutefois, jadis B<fork>(2) " |
| 280 |
"nécessitait malheureusement une copie complète de l'espace de données du " |
| 281 |
"parent, souvent inutilement, car un appel B<exec>(3) est souvent réalisé " |
| 282 |
"immédiatement par l'enfant. Pour améliorer les performances, BSD a introduit " |
| 283 |
"un appel système B<vfork>() qui ne copie pas l'espace d'adressage du parent, " |
| 284 |
"mais emprunte au parent son espace d'adressage et son fil de contrôle " |
| 285 |
"jusqu'à un appel à B<execve>(2) ou qu'une sortie survienne. Le processus " |
| 286 |
"parent était suspendu tant que l'enfant utilisait les ressources. " |
| 287 |
"L'utilisation de B<vfork>() était loin d'être facile, car, pour éviter de " |
| 288 |
"modifier les données du processus parent, il fallait être capable de " |
| 289 |
"déterminer quelles variables se trouvaient dans des registres du processeur." |
| 290 |
|
| 291 |
#. type: SH |
| 292 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 293 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 294 |
#, no-wrap |
| 295 |
msgid "VERSIONS" |
| 296 |
msgstr "VERSIONS" |
| 297 |
|
| 298 |
#. In AIXv3.1 vfork is equivalent to fork. |
| 299 |
#. type: Plain text |
| 300 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 301 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 302 |
msgid "" |
| 303 |
"The requirements put on B<vfork>() by the standards are weaker than those " |
| 304 |
"put on B<fork>(2), so an implementation where the two are synonymous is " |
| 305 |
"compliant. In particular, the programmer cannot rely on the parent " |
| 306 |
"remaining blocked until the child either terminates or calls B<execve>(2), " |
| 307 |
"and cannot rely on any specific behavior with respect to shared memory." |
| 308 |
msgstr "" |
| 309 |
"Les exigences que les normes apportent sur B<vfork>() sont plus relâchées " |
| 310 |
"que celles sur B<fork>(2), ainsi il est possible d'avoir une implémentation " |
| 311 |
"conforme où les deux appels sont synonymes. En particulier, un programmeur " |
| 312 |
"ne doit pas s'appuyer sur le fait que le parent reste bloqué jusqu'à ce que " |
| 313 |
"l'enfant se termine ou appelle B<execve>(2), ni sur le comportement par " |
| 314 |
"rapport à la mémoire partagée." |
| 315 |
|
| 316 |
#. type: Plain text |
| 317 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 318 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 319 |
msgid "" |
| 320 |
"Some consider the semantics of B<vfork>() to be an architectural blemish, " |
| 321 |
"and the 4.2BSD man page stated: \\[lq]This system call will be eliminated " |
| 322 |
"when proper system sharing mechanisms are implemented. Users should not " |
| 323 |
"depend on the memory sharing semantics of I<vfork> as it will, in that case, " |
| 324 |
"be made synonymous to I<fork>.\\[rq] However, even though modern memory " |
| 325 |
"management hardware has decreased the performance difference between " |
| 326 |
"B<fork>(2) and B<vfork>(), there are various reasons why Linux and other " |
| 327 |
"systems have retained B<vfork>():" |
| 328 |
msgstr "" |
| 329 |
"Certaines personnes considèrent la sémantique de B<vfork>() comme une verrue " |
| 330 |
"architecturale, et la page de manuel de 4.2BSD indique que «\\ cet appel " |
| 331 |
"système sera supprimé quand des mécanismes de partage appropriés seront " |
| 332 |
"implémentés. Il ne faut pas essayer de tirer profit du partage mémoire " |
| 333 |
"induit par I<vfork>, car dans ce cas il serait rendu synonyme de " |
| 334 |
"I<fork>(2)\\ ». Cependant, même si le matériel de gestion mémoire moderne a " |
| 335 |
"diminué la différence de performances entre B<fork>(2) et B<vfork>(), il " |
| 336 |
"existe diverses raisons pour lesquelles Linux et d'autres systèmes ont " |
| 337 |
"conservé B<vfork>()\\ :" |
| 338 |
|
| 339 |
#. type: IP |
| 340 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 341 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 342 |
#, no-wrap |
| 343 |
msgid "\\[bu]" |
| 344 |
msgstr "-" |
| 345 |
|
| 346 |
#. type: Plain text |
| 347 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 348 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 349 |
msgid "" |
| 350 |
"Some performance-critical applications require the small performance " |
| 351 |
"advantage conferred by B<vfork>()." |
| 352 |
msgstr "" |
| 353 |
"Certaines applications de haute performance ont besoin du petit gain apporté " |
| 354 |
"par B<vfork>()." |
| 355 |
|
| 356 |
#. http://stackoverflow.com/questions/4259629/what-is-the-difference-between-fork-and-vfork |
| 357 |
#. http://developers.sun.com/solaris/articles/subprocess/subprocess.html |
| 358 |
#. http://mailman.uclinux.org/pipermail/uclinux-dev/2009-April/000684.html |
| 359 |
#. type: Plain text |
| 360 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 361 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 362 |
msgid "" |
| 363 |
"B<vfork>() can be implemented on systems that lack a memory-management unit " |
| 364 |
"(MMU), but B<fork>(2) can't be implemented on such systems. (POSIX.1-2008 " |
| 365 |
"removed B<vfork>() from the standard; the POSIX rationale for the " |
| 366 |
"B<posix_spawn>(3) function notes that that function, which provides " |
| 367 |
"functionality equivalent to B<fork>(2)+ B<exec>(3), is designed to be " |
| 368 |
"implementable on systems that lack an MMU.)" |
| 369 |
msgstr "" |
| 370 |
"B<vfork>() peut être implémenté sur des systèmes sans unité de gestion " |
| 371 |
"mémoire (MMU, pour «\\ memory-management unit\\ »), mais B<fork>(2) ne peut " |
| 372 |
"pas être implémenté sur de tels systèmes (POSIX.1-2008 a supprimé B<vfork>() " |
| 373 |
"de la norme\\ ; la raison invoquée par POSIX pour la fonction " |
| 374 |
"B<posix_spawn>(3) note que cette fonction, qui fournit une fonctionnalité " |
| 375 |
"équivalente à B<fork>(2)+ B<exec>(3), est conçue pour être implémentable sur " |
| 376 |
"des systèmes sans MMU)." |
| 377 |
|
| 378 |
#. type: Plain text |
| 379 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 380 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 381 |
msgid "" |
| 382 |
"On systems where memory is constrained, B<vfork>() avoids the need to " |
| 383 |
"temporarily commit memory (see the description of I</proc/sys/vm/" |
| 384 |
"overcommit_memory> in B<proc>(5)) in order to execute a new program. (This " |
| 385 |
"can be especially beneficial where a large parent process wishes to execute " |
| 386 |
"a small helper program in a child process.) By contrast, using B<fork>(2) " |
| 387 |
"in this scenario requires either committing an amount of memory equal to the " |
| 388 |
"size of the parent process (if strict overcommitting is in force) or " |
| 389 |
"overcommitting memory with the risk that a process is terminated by the out-" |
| 390 |
"of-memory (OOM) killer." |
| 391 |
msgstr "" |
| 392 |
"Sur les systèmes où la mémoire est restreinte, B<vfork> évite le besoin " |
| 393 |
"d'allouer de la mémoire temporairement (voir la description de I</proc/sys/" |
| 394 |
"vm/overcommit_memory> dans B<proc>(5)) afin d'exécuter un nouveau programme. " |
| 395 |
"Cela peut être particulièrement bénéfique lorsqu'un grand processus parent " |
| 396 |
"souhaite exécuter un petit programme d'assistance dans un processus enfant. " |
| 397 |
"Par contraste, l'utilisation de B<fork>(2) dans ce scénario nécessite soit " |
| 398 |
"l'allocation d'une quantité de mémoire égale à la taille du processus parent " |
| 399 |
"(si la gestion stricte du dépassement est en cours) soit un dépassement de " |
| 400 |
"mémoire avec le risque qu'un processus soit terminé par la mise à mort sur " |
| 401 |
"mémoire saturée (OOM killer)." |
| 402 |
|
| 403 |
#. type: SS |
| 404 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 405 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 406 |
#, no-wrap |
| 407 |
msgid "Linux notes" |
| 408 |
msgstr "Notes pour Linux" |
| 409 |
|
| 410 |
#. type: Plain text |
| 411 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 412 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 413 |
msgid "" |
| 414 |
"Fork handlers established using B<pthread_atfork>(3) are not called when a " |
| 415 |
"multithreaded program employing the NPTL threading library calls " |
| 416 |
"B<vfork>(). Fork handlers are called in this case in a program using the " |
| 417 |
"LinuxThreads threading library. (See B<pthreads>(7) for a description of " |
| 418 |
"Linux threading libraries.)" |
| 419 |
msgstr "" |
| 420 |
"Les gestionnaires enregistrés avec B<pthread_atfork>(3) ne sont pas appelés " |
| 421 |
"lorsqu'un programme multithreadé utilisant la bibliothèque de threads NPTL " |
| 422 |
"appelle B<vfork>(). En revanche ces gestionnaires sont appelés si le " |
| 423 |
"programme utilise la bibliothèque LinuxThreads. (Consultez B<pthreads>(7) " |
| 424 |
"pour une description des bibliothèques de threads pour Linux.)" |
| 425 |
|
| 426 |
#. type: Plain text |
| 427 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 428 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 429 |
msgid "" |
| 430 |
"A call to B<vfork>() is equivalent to calling B<clone>(2) with I<flags> " |
| 431 |
"specified as:" |
| 432 |
msgstr "" |
| 433 |
"Un appel à B<vfork>() est équivalent à appeler B<clone>(2) avec I<flags> " |
| 434 |
"valant\\ :" |
| 435 |
|
| 436 |
#. type: Plain text |
| 437 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 438 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 439 |
#, no-wrap |
| 440 |
msgid " CLONE_VM | CLONE_VFORK | SIGCHLD\n" |
| 441 |
msgstr " CLONE_VM | CLONE_VFORK | SIGCHLD\n" |
| 442 |
|
| 443 |
#. type: SH |
| 444 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 445 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 446 |
#, no-wrap |
| 447 |
msgid "STANDARDS" |
| 448 |
msgstr "NORMES" |
| 449 |
|
| 450 |
#. type: Plain text |
| 451 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 452 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 453 |
msgid "None." |
| 454 |
msgstr "Aucun." |
| 455 |
|
| 456 |
#. type: SH |
| 457 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 458 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 459 |
#, no-wrap |
| 460 |
msgid "HISTORY" |
| 461 |
msgstr "HISTORIQUE" |
| 462 |
|
| 463 |
#. type: Plain text |
| 464 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 465 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 466 |
msgid "" |
| 467 |
"4.3BSD; POSIX.1-2001 (but marked OBSOLETE). POSIX.1-2008 removes the " |
| 468 |
"specification of B<vfork>()." |
| 469 |
msgstr "" |
| 470 |
"4.3BSD, POSIX.1-2001 (mais la déclare obsolète). POSIX.1-2008 supprime la " |
| 471 |
"spécification de B<vfork>()." |
| 472 |
|
| 473 |
#. In the release notes for 4.2BSD Sam Leffler wrote: `vfork: Is still |
| 474 |
#. present, but definitely on its way out'. |
| 475 |
#. type: Plain text |
| 476 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 477 |
#: opensuse-tumbleweed |
| 478 |
msgid "" |
| 479 |
"The B<vfork>() system call appeared in 3.0BSD. In 4.4BSD it was made " |
| 480 |
"synonymous to B<fork>(2) but NetBSD introduced it again; see E<.UR http:" |
| 481 |
"\\://www.netbsd.org\\:/Documentation\\:/kernel\\:/vfork.html> E<.UE .> In " |
| 482 |
"Linux, it has been equivalent to B<fork>(2) until Linux 2.2.0-pre6 or so. " |
| 483 |
"Since Linux 2.2.0-pre9 (on i386, somewhat later on other architectures) it " |
| 484 |
"is an independent system call. Support was added in glibc 2.0.112." |
| 485 |
msgstr "" |
| 486 |
"L'appel système B<vfork>() est apparu dans 3.0BSD. Dans 4.4BSD, il est " |
| 487 |
"devenu synonyme de B<fork>(2), mais NetBSD l'a réintroduit à nouveau " |
| 488 |
"(consultez E<.UR http\\://www.netbsd.org\\:/Documentation\\:/kernel\\:/" |
| 489 |
"vfork.html> E<.UE >). Sous Linux, il a été l'équivalent de B<fork>(2) " |
| 490 |
"jusqu'à Linux 2.2.0-pre-6. Depuis Linux 2.2.0-pre-9 (sur i386, un peu plus " |
| 491 |
"tard sur d'autres architectures), il s'agit d'un appel système indépendant. " |
| 492 |
"La prise en charge a été introduite dans la glibc 2.0.112." |
| 493 |
|
| 494 |
#. type: SH |
| 495 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 496 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 497 |
#, no-wrap |
| 498 |
msgid "CAVEATS" |
| 499 |
msgstr "AVERTISSEMENTS" |
| 500 |
|
| 501 |
#. type: Plain text |
| 502 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 503 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 504 |
msgid "" |
| 505 |
"The child process should take care not to modify the memory in unintended " |
| 506 |
"ways, since such changes will be seen by the parent process once the child " |
| 507 |
"terminates or executes another program. In this regard, signal handlers can " |
| 508 |
"be especially problematic: if a signal handler that is invoked in the child " |
| 509 |
"of B<vfork>() changes memory, those changes may result in an inconsistent " |
| 510 |
"process state from the perspective of the parent process (e.g., memory " |
| 511 |
"changes would be visible in the parent, but changes to the state of open " |
| 512 |
"file descriptors would not be visible)." |
| 513 |
msgstr "" |
| 514 |
"Le processus enfant devrait veiller à ne pas modifier la mémoire d'une " |
| 515 |
"manière inattendue, dans la mesure où les modifications seront vues par le " |
| 516 |
"processus parent une fois que l'enfant s'est achevé ou exécute un autre " |
| 517 |
"programme. À cet égard, les gestionnaires de signaux peuvent être " |
| 518 |
"particulièrement problématiques : si un gestionnaire de signal qui est " |
| 519 |
"invoqué dans l'enfant d'un B<vfork>() modifie la mémoire, ces modifications " |
| 520 |
"peuvent aboutir à une inconsistance de l'état du processus du point de vue " |
| 521 |
"du processus parent (par exemple, les modifications de la mémoire pourraient " |
| 522 |
"être visibles dans le parent, mais pas les modifications de l'état des " |
| 523 |
"descripteurs de fichiers ouverts)." |
| 524 |
|
| 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 "" |
| 529 |
"When B<vfork>() is called in a multithreaded process, only the calling " |
| 530 |
"thread is suspended until the child terminates or executes a new program. " |
| 531 |
"This means that the child is sharing an address space with other running " |
| 532 |
"code. This can be dangerous if another thread in the parent process changes " |
| 533 |
"credentials (using B<setuid>(2) or similar), since there are now two " |
| 534 |
"processes with different privilege levels running in the same address " |
| 535 |
"space. As an example of the dangers, suppose that a multithreaded program " |
| 536 |
"running as root creates a child using B<vfork>(). After the B<vfork>(), a " |
| 537 |
"thread in the parent process drops the process to an unprivileged user in " |
| 538 |
"order to run some untrusted code (e.g., perhaps via plug-in opened with " |
| 539 |
"B<dlopen>(3)). In this case, attacks are possible where the parent process " |
| 540 |
"uses B<mmap>(2) to map in code that will be executed by the privileged " |
| 541 |
"child process." |
| 542 |
msgstr "" |
| 543 |
"Lorsque B<vfork>() est appelé dans un processus multithreadé, seul le thread " |
| 544 |
"appelant est suspendu jusqu'à ce que l'enfant s'achève ou exécute un nouveau " |
| 545 |
"programme. Cela signifie que l'enfant partage un espace d'adresses avec un " |
| 546 |
"autre code en cours d'exécution. Cela peut être dangereux si un autre thread " |
| 547 |
"dans le processus parent modifie son identifiant (avec B<setuid>(2) ou une " |
| 548 |
"autre commande similaire), dans la mesure où il y a alors deux processus " |
| 549 |
"avec différents niveaux de privilèges exécutés dans le même espace " |
| 550 |
"d'adresses. Comme exemple de risque, imaginez qu'un programme multithreadé " |
| 551 |
"exécuté en tant que superutilisateur crée un enfant avec B<vfork>(). Après " |
| 552 |
"le B<vfork>(), un thread dans le processus parent transfère le processus à " |
| 553 |
"un utilisateur non privilégié afin d'exécuter du code non sûr (par exemple, " |
| 554 |
"peut-être au moyen d'un greffon ouvert avec B<dlopen>(3)). Dans ce cas, des " |
| 555 |
"attaques sont possibles où le processus parent utilise B<mmap>(2) pour " |
| 556 |
"projeter en mémoire du code qui sera exécuté par le processus enfant " |
| 557 |
"privilégié." |
| 558 |
|
| 559 |
#. type: SH |
| 560 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 561 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 562 |
#, no-wrap |
| 563 |
msgid "BUGS" |
| 564 |
msgstr "BOGUES" |
| 565 |
|
| 566 |
#. As far as I can tell, the following is not true in Linux 2.6.19: |
| 567 |
#. Currently (Linux 2.3.25), |
| 568 |
#. .BR strace (1) |
| 569 |
#. cannot follow |
| 570 |
#. .BR vfork () |
| 571 |
#. and requires a kernel patch. |
| 572 |
#. type: Plain text |
| 573 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 574 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 575 |
msgid "" |
| 576 |
"Details of the signal handling are obscure and differ between systems. The " |
| 577 |
"BSD man page states: \"To avoid a possible deadlock situation, processes " |
| 578 |
"that are children in the middle of a B<vfork>() are never sent B<SIGTTOU> " |
| 579 |
"or B<SIGTTIN> signals; rather, output or I<ioctl>s are allowed and input " |
| 580 |
"attempts result in an end-of-file indication.\"" |
| 581 |
msgstr "" |
| 582 |
"Les détails de la gestion des signaux sont compliqués et varient suivant les " |
| 583 |
"systèmes. La page de manuel BSD indique\\ : «\\ Pour éviter une possible " |
| 584 |
"situation d'interblocage, les processus qui sont des enfants au milieu d'un " |
| 585 |
"B<vfork>() ne reçoivent jamais le signal B<SIGTTOU> ou B<SIGTTIN>\\ ; des " |
| 586 |
"sorties et des I<ioctl> sont autorisés, mais des tentatives de lecture " |
| 587 |
"donneront une indication de fin de fichier.\\ »" |
| 588 |
|
| 589 |
#. type: SH |
| 590 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 591 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 592 |
#, no-wrap |
| 593 |
msgid "SEE ALSO" |
| 594 |
msgstr "VOIR AUSSI" |
| 595 |
|
| 596 |
#. type: Plain text |
| 597 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 598 |
#: opensuse-tumbleweed |
| 599 |
msgid "" |
| 600 |
"B<clone>(2), B<execve>(2), B<_exit>(2), B<fork>(2), B<_Fork>(3), " |
| 601 |
"B<unshare>(2), B<wait>(2)" |
| 602 |
msgstr "" |
| 603 |
"B<clone>(2), B<execve>(2), B<_exit>(2), B<fork>(2), B<_Fork>(3), " |
| 604 |
"B<unshare>(2), B<wait>(2)" |
| 605 |
|
| 606 |
#. type: TH |
| 607 |
#: debian-trixie |
| 608 |
#, no-wrap |
| 609 |
msgid "2024-05-02" |
| 610 |
msgstr "2 mai 2024" |
| 611 |
|
| 612 |
#. type: TH |
| 613 |
#: debian-trixie |
| 614 |
#, no-wrap |
| 615 |
msgid "Linux man-pages 6.9.1" |
| 616 |
msgstr "Pages du manuel de Linux 6.9.1" |
| 617 |
|
| 618 |
#. type: Plain text |
| 619 |
#: debian-trixie |
| 620 |
msgid "Standard C library (I<libc>, I<-lc>)" |
| 621 |
msgstr "Bibliothèque C standard (I<libc>, I<-lc>)" |
| 622 |
|
| 623 |
#. In the release notes for 4.2BSD Sam Leffler wrote: `vfork: Is still |
| 624 |
#. present, but definitely on its way out'. |
| 625 |
#. type: Plain text |
| 626 |
#: debian-trixie fedora-44 fedora-rawhide |
| 627 |
msgid "" |
| 628 |
"The B<vfork>() system call appeared in 3.0BSD. In 4.4BSD it was made " |
| 629 |
"synonymous to B<fork>(2) but NetBSD introduced it again; see E<.UR http://" |
| 630 |
"www.netbsd.org\\:/Documentation\\:/kernel\\:/vfork.html> E<.UE .> In Linux, " |
| 631 |
"it has been equivalent to B<fork>(2) until Linux 2.2.0-pre6 or so. Since " |
| 632 |
"Linux 2.2.0-pre9 (on i386, somewhat later on other architectures) it is an " |
| 633 |
"independent system call. Support was added in glibc 2.0.112." |
| 634 |
msgstr "" |
| 635 |
"L'appel système B<vfork>() est apparu dans 3.0BSD. Dans 4.4BSD, il est " |
| 636 |
"devenu synonyme de B<fork>(2), mais NetBSD l'a réintroduit à nouveau " |
| 637 |
"(consultez E<.UR http://www.netbsd.org\\:/Documentation\\:/kernel\\:/" |
| 638 |
"vfork.html> E<.UE >). Sous Linux, il a été l'équivalent de B<fork>(2) " |
| 639 |
"jusqu'à Linux 2.2.0-pre-6. Depuis Linux 2.2.0-pre-9 (sur i386, un peu plus " |
| 640 |
"tard sur d'autres architectures), il s'agit d'un appel système indépendant. " |
| 641 |
"La prise en charge a été introduite dans la glibc 2.0.112." |
| 642 |
|
| 643 |
#. type: Plain text |
| 644 |
#: debian-trixie fedora-44 fedora-rawhide |
| 645 |
msgid "" |
| 646 |
"B<clone>(2), B<execve>(2), B<_exit>(2), B<fork>(2), B<unshare>(2), B<wait>(2)" |
| 647 |
msgstr "" |
| 648 |
"B<clone>(2), B<execve>(2), B<_exit>(2), B<fork>(2), B<unshare>(2), B<wait>(2)" |
| 649 |
|
| 650 |
#. type: TH |
| 651 |
#: fedora-44 fedora-rawhide |
| 652 |
#, no-wrap |
| 653 |
msgid "2024-07-23" |
| 654 |
msgstr "23 juillet 2024" |
| 655 |
|
| 656 |
#. type: TH |
| 657 |
#: fedora-44 fedora-rawhide |
| 658 |
#, no-wrap |
| 659 |
msgid "Linux man-pages 6.13" |
| 660 |
msgstr "Pages du manuel de Linux 6.13" |
| 661 |
|
| 662 |
#. type: TH |
| 663 |
#: mageia-cauldron |
| 664 |
#, no-wrap |
| 665 |
msgid "Linux man-pages 6.17" |
| 666 |
msgstr "Pages du manuel de Linux 6.17" |
| 667 |
|
| 668 |
#. type: TH |
| 669 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 670 |
#, no-wrap |
| 671 |
msgid "Linux man-pages (unreleased)" |
| 672 |
msgstr "Pages du manuel de Linux (non publiées)" |