# French translation of manpages # This file is distributed under the same license as the manpages-l10n package. # Copyright © of this file: # Christophe Blaess , 1996-2003. # Stéphan Rafin , 2002. # Thierry Vignaud , 1999, 2002. # François Micaux, 2002. # Alain Portal , 2003-2008. # Jean-Philippe Guérard , 2005-2006. # Jean-Luc Coulon (f5ibh) , 2006-2007. # Julien Cristau , 2006-2007. # Thomas Huriaux , 2006-2008. # Nicolas François , 2006-2008. # Florentin Duneau , 2006-2010. # Simon Paillard , 2006, 2013, 2014. # Denis Barbier , 2006, 2010, 2011. # David Prévot , 2010, 2012-2014. # Jean-Pierre Giraud , 2021-2026. msgid "" msgstr "" "Project-Id-Version: manpages-l10n 4.22.0\n" "POT-Creation-Date: 2026-06-05 06:50+0200\n" "PO-Revision-Date: 2026-03-28 10:46+0100\n" "Last-Translator: Jean-Pierre Giraud \n" "Language-Team: French \n" "Language: fr\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n > 1;\n" "X-Generator: Lokalize 25.04.0\n" #. type: TH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "vfork" msgstr "vfork" #. type: TH #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "2026-02-08" msgstr "8 février 2026" #. type: TH #: archlinux debian-unstable #, no-wrap msgid "Linux man-pages 6.18" msgstr "Pages du manuel de Linux 6.18" #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "NAME" msgstr "NOM" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "vfork - create a child process and block parent" msgstr "vfork - Créer un processus enfant et bloquer le parent" #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "LIBRARY" msgstr "BIBLIOTHÈQUE" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "Standard C library (I,\\ I<-lc>)" msgstr "Bibliothèque C standard (I,\\ I<-lc>)" #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "SYNOPSIS" msgstr "SYNOPSIS" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B<#include Eunistd.hE>\n" msgstr "B<#include Eunistd.hE>\n" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B\n" msgstr "B\n" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Feature Test Macro Requirements for glibc (see B(7)):" msgstr "" "Exigences de macros de test de fonctionnalités pour la glibc (consulter " "B(7)) :" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "B():" msgstr "B() :" #. || _XOPEN_SOURCE && _XOPEN_SOURCE_EXTENDED #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" " Since glibc 2.12:\n" " (_XOPEN_SOURCE E= 500) && ! (_POSIX_C_SOURCE E= 200809L)\n" " || /* Since glibc 2.19: */ _DEFAULT_SOURCE\n" " || /* glibc E= 2.19: */ _BSD_SOURCE\n" " Before glibc 2.12:\n" " _BSD_SOURCE || _XOPEN_SOURCE E= 500\n" msgstr "" " Depuis la glibc 2.12 :\n" " (_XOPEN_SOURCE E= 500) && ! (_POSIX_C_SOURCE E= 200809L)\n" " || /* Depuis la glibc 2.19 : */ _DEFAULT_SOURCE\n" " || /* glibc E= 2.19 : */ _BSD_SOURCE\n" " Avant la glibc 2.12 :\n" " _BSD_SOURCE || _XOPEN_SOURCE E= 500\n" #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "DESCRIPTION" msgstr "DESCRIPTION" #. type: SS #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Standard description" msgstr "Description des normes" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "(From POSIX.1) The B() function has the same effect as B(2), " "except that the behavior is undefined if the process created by B() " "either modifies any data other than a variable of type I used to " "store the return value from B(), or returns from the function in " "which B() was called, or calls any other function before " "successfully calling B<_exit>(2) or one of the B(3) family of " "functions." msgstr "" "(D'après POSIX.1). La routine B() a le même effet que B(2), " "sauf que le comportement est indéfini si le processus créé par B() " "effectue l'une des actions suivantes avant d'appeler avec succès B<_exit>(2) " "ou une routine de la famille B(3)\\ : modification d'une donnée autre " "que la variable de type I stockant le retour de B(), revenir " "de la fonction dans laquelle B() a été invoqué, appel d'une autre " "fonction." #. type: SS #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Linux description" msgstr "Description de l'implémentation Linux" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "B(), just like B(2), creates a child process of the calling " "process. For details and return value and errors, see B(2)." msgstr "" "B(), tout comme B(2), crée un processus enfant à partir du " "processus appelant. Pour plus de détails sur les valeurs renvoyées et les " "erreurs possibles, consultez B(2)." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "B() is a special case of B(2). It is used to create new " "processes without copying the page tables of the parent process. It may be " "useful in performance-sensitive applications where a child is created which " "then immediately issues an B(2)." msgstr "" "B() est conçu comme un cas particulier de B(2). Il sert à " "créer un nouveau processus sans effectuer de copie de la table des pages " "mémoire du processus parent. Cela peut être utile dans des applications " "nécessitant une grande rapidité d'exécution, si l'enfant doit invoquer " "immédiatement un appel B(2)." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "B() differs from B(2) in that the calling thread is suspended " "until the child terminates (either normally, by calling B<_exit>(2), or " "abnormally, after delivery of a fatal signal), or it makes a call to " "B(2). Until that point, the child shares all memory with its " "parent, including the stack. The child must not return from the current " "function or call B(3) (which would have the effect of calling exit " "handlers established by the parent process and flushing the parent's " "B(3) buffers), but may call B<_exit>(2)." msgstr "" "B() diffère de B(2) en ce que le thread appelant reste suspendu " "jusqu'à ce que l'enfant se termine (soit normalement, en appelant " "B<_exit>(2), soit de façon anormale après l'envoi d'un signal fatal) ou " "qu'il appelle B(2). Jusqu'à ce point, l'enfant partage toute la " "mémoire avec son parent, y compris la pile. Le processus enfant ne doit pas " "revenir de la fonction en cours, ni appeler B(3) (ce qui aurait pour " "effet d'appeler les gestionnaires de sortie établis par le processus parent " "et de vider les tampons B(3) du parent), mais appeler à B<_exit>(2)." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "As with B(2), the child process created by B() inherits copies " "of various of the caller's process attributes (e.g., file descriptors, " "signal dispositions, and current working directory); the B() call " "differs only in the treatment of the virtual address space, as described " "above." msgstr "" "Comme avec B(2), le processus enfant créé par B() hérite des " "copies de plusieurs attributs du processus appelant (par exemple les " "descripteurs de fichiers, les dispositions des signaux et le répertoire de " "travail actuel)\\ ; l'appel B() diffère seulement par le traitement " "de l'espace d'adressage virtuel, comme décrit ci-dessus." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Signals sent to the parent arrive after the child releases the parent's " "memory (i.e., after the child terminates or calls B(2))." msgstr "" "Les signaux pour le processus parent sont délivrés après que l'enfant libère " "la mémoire du parent (c'est-à-dire après que l'enfant se termine ou qu'il " "appelle B(2))." #. type: SS #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Historic description" msgstr "Description historique" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Under Linux, B(2) is implemented using copy-on-write pages, so the " "only penalty incurred by B(2) is the time and memory required to " "duplicate the parent's page tables, and to create a unique task structure " "for the child. However, in the bad old days a B(2) would require " "making a complete copy of the caller's data space, often needlessly, since " "usually immediately afterward an B(3) is done. Thus, for greater " "efficiency, BSD introduced the B() system call, which did not fully " "copy the address space of the parent process, but borrowed the parent's " "memory and thread of control until a call to B(2) or an exit " "occurred. The parent process was suspended while the child was using its " "resources. The use of B() was tricky: for example, not modifying " "data in the parent process depended on knowing which variables were held in " "a register." msgstr "" "Sous Linux, B(2) est implémenté en utilisant un mécanisme de copie en " "écriture, ainsi ses seuls coûts sont le temps et la mémoire nécessaire pour " "dupliquer la table des pages mémoire du processus parent, et créer une " "seulestructure de tâche pour l'enfant. Toutefois, jadis B(2) " "nécessitait malheureusement une copie complète de l'espace de données du " "parent, souvent inutilement, car un appel B(3) est souvent réalisé " "immédiatement par l'enfant. Pour améliorer les performances, BSD a introduit " "un appel système B() qui ne copie pas l'espace d'adressage du parent, " "mais emprunte au parent son espace d'adressage et son fil de contrôle " "jusqu'à un appel à B(2) ou qu'une sortie survienne. Le processus " "parent était suspendu tant que l'enfant utilisait les ressources. " "L'utilisation de B() était loin d'être facile, car, pour éviter de " "modifier les données du processus parent, il fallait être capable de " "déterminer quelles variables se trouvaient dans des registres du processeur." #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "VERSIONS" msgstr "VERSIONS" #. In AIXv3.1 vfork is equivalent to fork. #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The requirements put on B() by the standards are weaker than those " "put on B(2), so an implementation where the two are synonymous is " "compliant. In particular, the programmer cannot rely on the parent " "remaining blocked until the child either terminates or calls B(2), " "and cannot rely on any specific behavior with respect to shared memory." msgstr "" "Les exigences que les normes apportent sur B() sont plus relâchées " "que celles sur B(2), ainsi il est possible d'avoir une implémentation " "conforme où les deux appels sont synonymes. En particulier, un programmeur " "ne doit pas s'appuyer sur le fait que le parent reste bloqué jusqu'à ce que " "l'enfant se termine ou appelle B(2), ni sur le comportement par " "rapport à la mémoire partagée." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Some consider the semantics of B() to be an architectural blemish, " "and the 4.2BSD man page stated: \\[lq]This system call will be eliminated " "when proper system sharing mechanisms are implemented. Users should not " "depend on the memory sharing semantics of I as it will, in that case, " "be made synonymous to I.\\[rq] However, even though modern memory " "management hardware has decreased the performance difference between " "B(2) and B(), there are various reasons why Linux and other " "systems have retained B():" msgstr "" "Certaines personnes considèrent la sémantique de B() comme une verrue " "architecturale, et la page de manuel de 4.2BSD indique que «\\ cet appel " "système sera supprimé quand des mécanismes de partage appropriés seront " "implémentés. Il ne faut pas essayer de tirer profit du partage mémoire " "induit par I, car dans ce cas il serait rendu synonyme de " "I(2)\\ ». Cependant, même si le matériel de gestion mémoire moderne a " "diminué la différence de performances entre B(2) et B(), il " "existe diverses raisons pour lesquelles Linux et d'autres systèmes ont " "conservé B()\\ :" #. type: IP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "\\[bu]" msgstr "-" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Some performance-critical applications require the small performance " "advantage conferred by B()." msgstr "" "Certaines applications de haute performance ont besoin du petit gain apporté " "par B()." #. http://stackoverflow.com/questions/4259629/what-is-the-difference-between-fork-and-vfork #. http://developers.sun.com/solaris/articles/subprocess/subprocess.html #. http://mailman.uclinux.org/pipermail/uclinux-dev/2009-April/000684.html #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "B() can be implemented on systems that lack a memory-management unit " "(MMU), but B(2) can't be implemented on such systems. (POSIX.1-2008 " "removed B() from the standard; the POSIX rationale for the " "B(3) function notes that that function, which provides " "functionality equivalent to B(2)+ B(3), is designed to be " "implementable on systems that lack an MMU.)" msgstr "" "B() peut être implémenté sur des systèmes sans unité de gestion " "mémoire (MMU, pour «\\ memory-management unit\\ »), mais B(2) ne peut " "pas être implémenté sur de tels systèmes (POSIX.1-2008 a supprimé B() " "de la norme\\ ; la raison invoquée par POSIX pour la fonction " "B(3) note que cette fonction, qui fournit une fonctionnalité " "équivalente à B(2)+ B(3), est conçue pour être implémentable sur " "des systèmes sans MMU)." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "On systems where memory is constrained, B() avoids the need to " "temporarily commit memory (see the description of I in B(5)) in order to execute a new program. (This " "can be especially beneficial where a large parent process wishes to execute " "a small helper program in a child process.) By contrast, using B(2) " "in this scenario requires either committing an amount of memory equal to the " "size of the parent process (if strict overcommitting is in force) or " "overcommitting memory with the risk that a process is terminated by the out-" "of-memory (OOM) killer." msgstr "" "Sur les systèmes où la mémoire est restreinte, B évite le besoin " "d'allouer de la mémoire temporairement (voir la description de I dans B(5)) afin d'exécuter un nouveau programme. " "Cela peut être particulièrement bénéfique lorsqu'un grand processus parent " "souhaite exécuter un petit programme d'assistance dans un processus enfant. " "Par contraste, l'utilisation de B(2) dans ce scénario nécessite soit " "l'allocation d'une quantité de mémoire égale à la taille du processus parent " "(si la gestion stricte du dépassement est en cours) soit un dépassement de " "mémoire avec le risque qu'un processus soit terminé par la mise à mort sur " "mémoire saturée (OOM killer)." #. type: SS #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Linux notes" msgstr "Notes pour Linux" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Fork handlers established using B(3) are not called when a " "multithreaded program employing the NPTL threading library calls " "B(). Fork handlers are called in this case in a program using the " "LinuxThreads threading library. (See B(7) for a description of " "Linux threading libraries.)" msgstr "" "Les gestionnaires enregistrés avec B(3) ne sont pas appelés " "lorsqu'un programme multithreadé utilisant la bibliothèque de threads NPTL " "appelle B(). En revanche ces gestionnaires sont appelés si le " "programme utilise la bibliothèque LinuxThreads. (Consultez B(7) " "pour une description des bibliothèques de threads pour Linux.)" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "A call to B() is equivalent to calling B(2) with I " "specified as:" msgstr "" "Un appel à B() est équivalent à appeler B(2) avec I " "valant\\ :" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid " CLONE_VM | CLONE_VFORK | SIGCHLD\n" msgstr " CLONE_VM | CLONE_VFORK | SIGCHLD\n" #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "STANDARDS" msgstr "NORMES" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "None." msgstr "Aucun." #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "HISTORY" msgstr "HISTORIQUE" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "4.3BSD; POSIX.1-2001 (but marked OBSOLETE). POSIX.1-2008 removes the " "specification of B()." msgstr "" "4.3BSD, POSIX.1-2001 (mais la déclare obsolète). POSIX.1-2008 supprime la " "spécification de B()." #. In the release notes for 4.2BSD Sam Leffler wrote: `vfork: Is still #. present, but definitely on its way out'. #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "The B() system call appeared in 3.0BSD. In 4.4BSD it was made " "synonymous to B(2) but NetBSD introduced it again; see E<.UR http:" "\\://www.netbsd.org\\:/Documentation\\:/kernel\\:/vfork.html> E<.UE .> In " "Linux, it has been equivalent to B(2) until Linux 2.2.0-pre6 or so. " "Since Linux 2.2.0-pre9 (on i386, somewhat later on other architectures) it " "is an independent system call. Support was added in glibc 2.0.112." msgstr "" "L'appel système B() est apparu dans 3.0BSD. Dans 4.4BSD, il est " "devenu synonyme de B(2), mais NetBSD l'a réintroduit à nouveau " "(consultez E<.UR http\\://www.netbsd.org\\:/Documentation\\:/kernel\\:/" "vfork.html> E<.UE >). Sous Linux, il a été l'équivalent de B(2) " "jusqu'à Linux 2.2.0-pre-6. Depuis Linux 2.2.0-pre-9 (sur i386, un peu plus " "tard sur d'autres architectures), il s'agit d'un appel système indépendant. " "La prise en charge a été introduite dans la glibc 2.0.112." #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "CAVEATS" msgstr "AVERTISSEMENTS" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The child process should take care not to modify the memory in unintended " "ways, since such changes will be seen by the parent process once the child " "terminates or executes another program. In this regard, signal handlers can " "be especially problematic: if a signal handler that is invoked in the child " "of B() changes memory, those changes may result in an inconsistent " "process state from the perspective of the parent process (e.g., memory " "changes would be visible in the parent, but changes to the state of open " "file descriptors would not be visible)." msgstr "" "Le processus enfant devrait veiller à ne pas modifier la mémoire d'une " "manière inattendue, dans la mesure où les modifications seront vues par le " "processus parent une fois que l'enfant s'est achevé ou exécute un autre " "programme. À cet égard, les gestionnaires de signaux peuvent être " "particulièrement problématiques : si un gestionnaire de signal qui est " "invoqué dans l'enfant d'un B() modifie la mémoire, ces modifications " "peuvent aboutir à une inconsistance de l'état du processus du point de vue " "du processus parent (par exemple, les modifications de la mémoire pourraient " "être visibles dans le parent, mais pas les modifications de l'état des " "descripteurs de fichiers ouverts)." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "When B() is called in a multithreaded process, only the calling " "thread is suspended until the child terminates or executes a new program. " "This means that the child is sharing an address space with other running " "code. This can be dangerous if another thread in the parent process changes " "credentials (using B(2) or similar), since there are now two " "processes with different privilege levels running in the same address " "space. As an example of the dangers, suppose that a multithreaded program " "running as root creates a child using B(). After the B(), a " "thread in the parent process drops the process to an unprivileged user in " "order to run some untrusted code (e.g., perhaps via plug-in opened with " "B(3)). In this case, attacks are possible where the parent process " "uses B(2) to map in code that will be executed by the privileged " "child process." msgstr "" "Lorsque B() est appelé dans un processus multithreadé, seul le thread " "appelant est suspendu jusqu'à ce que l'enfant s'achève ou exécute un nouveau " "programme. Cela signifie que l'enfant partage un espace d'adresses avec un " "autre code en cours d'exécution. Cela peut être dangereux si un autre thread " "dans le processus parent modifie son identifiant (avec B(2) ou une " "autre commande similaire), dans la mesure où il y a alors deux processus " "avec différents niveaux de privilèges exécutés dans le même espace " "d'adresses. Comme exemple de risque, imaginez qu'un programme multithreadé " "exécuté en tant que superutilisateur crée un enfant avec B(). Après " "le B(), un thread dans le processus parent transfère le processus à " "un utilisateur non privilégié afin d'exécuter du code non sûr (par exemple, " "peut-être au moyen d'un greffon ouvert avec B(3)). Dans ce cas, des " "attaques sont possibles où le processus parent utilise B(2) pour " "projeter en mémoire du code qui sera exécuté par le processus enfant " "privilégié." #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "BUGS" msgstr "BOGUES" #. As far as I can tell, the following is not true in Linux 2.6.19: #. Currently (Linux 2.3.25), #. .BR strace (1) #. cannot follow #. .BR vfork () #. and requires a kernel patch. #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Details of the signal handling are obscure and differ between systems. The " "BSD man page states: \"To avoid a possible deadlock situation, processes " "that are children in the middle of a B() are never sent B " "or B signals; rather, output or Is are allowed and input " "attempts result in an end-of-file indication.\"" msgstr "" "Les détails de la gestion des signaux sont compliqués et varient suivant les " "systèmes. La page de manuel BSD indique\\ : «\\ Pour éviter une possible " "situation d'interblocage, les processus qui sont des enfants au milieu d'un " "B() ne reçoivent jamais le signal B ou B\\ ; des " "sorties et des I sont autorisés, mais des tentatives de lecture " "donneront une indication de fin de fichier.\\ »" #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "SEE ALSO" msgstr "VOIR AUSSI" #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "B(2), B(2), B<_exit>(2), B(2), B<_Fork>(3), " "B(2), B(2)" msgstr "" "B(2), B(2), B<_exit>(2), B(2), B<_Fork>(3), " "B(2), B(2)" #. type: TH #: debian-trixie #, no-wrap msgid "2024-05-02" msgstr "2 mai 2024" #. type: TH #: debian-trixie #, no-wrap msgid "Linux man-pages 6.9.1" msgstr "Pages du manuel de Linux 6.9.1" #. type: Plain text #: debian-trixie msgid "Standard C library (I, I<-lc>)" msgstr "Bibliothèque C standard (I, I<-lc>)" #. In the release notes for 4.2BSD Sam Leffler wrote: `vfork: Is still #. present, but definitely on its way out'. #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "The B() system call appeared in 3.0BSD. In 4.4BSD it was made " "synonymous to B(2) but NetBSD introduced it again; see E<.UR http://" "www.netbsd.org\\:/Documentation\\:/kernel\\:/vfork.html> E<.UE .> In Linux, " "it has been equivalent to B(2) until Linux 2.2.0-pre6 or so. Since " "Linux 2.2.0-pre9 (on i386, somewhat later on other architectures) it is an " "independent system call. Support was added in glibc 2.0.112." msgstr "" "L'appel système B() est apparu dans 3.0BSD. Dans 4.4BSD, il est " "devenu synonyme de B(2), mais NetBSD l'a réintroduit à nouveau " "(consultez E<.UR http://www.netbsd.org\\:/Documentation\\:/kernel\\:/" "vfork.html> E<.UE >). Sous Linux, il a été l'équivalent de B(2) " "jusqu'à Linux 2.2.0-pre-6. Depuis Linux 2.2.0-pre-9 (sur i386, un peu plus " "tard sur d'autres architectures), il s'agit d'un appel système indépendant. " "La prise en charge a été introduite dans la glibc 2.0.112." #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "B(2), B(2), B<_exit>(2), B(2), B(2), B(2)" msgstr "" "B(2), B(2), B<_exit>(2), B(2), B(2), B(2)" #. type: TH #: fedora-44 fedora-rawhide #, no-wrap msgid "2024-07-23" msgstr "23 juillet 2024" #. type: TH #: fedora-44 fedora-rawhide #, no-wrap msgid "Linux man-pages 6.13" msgstr "Pages du manuel de Linux 6.13" #. type: TH #: mageia-cauldron #, no-wrap msgid "Linux man-pages 6.17" msgstr "Pages du manuel de Linux 6.17" #. type: TH #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Linux man-pages (unreleased)" msgstr "Pages du manuel de Linux (non publiées)"