| 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. |
| 16 |
# Denis Barbier <[email protected]>, 2006, 2010. |
| 17 |
# David Prévot <[email protected]>, 2010, 2012, 2013. |
| 18 |
# Cédric Boutillier <[email protected]>, 2011, 2012. |
| 19 |
# Frédéric Hantrais <[email protected]>, 2013, 2014. |
| 20 |
# Jean-Philippe MENGUAL <[email protected]>, 2020-2024. |
| 21 |
msgid "" |
| 22 |
msgstr "" |
| 23 |
"Project-Id-Version: manpages-l10n 4.24.0\n" |
| 24 |
"POT-Creation-Date: 2026-06-05 06:20+0200\n" |
| 25 |
"PO-Revision-Date: 2024-11-05 13:28+0100\n" |
| 26 |
"Last-Translator: Jean-Philippe MENGUAL <[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: Lokalize 22.12.3\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 "clone" |
| 40 |
msgstr "clone" |
| 41 |
|
| 42 |
#. type: TH |
| 43 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 44 |
#: opensuse-tumbleweed |
| 45 |
#, no-wrap |
| 46 |
msgid "2026-02-08" |
| 47 |
msgstr "8 février 2026" |
| 48 |
|
| 49 |
#. type: TH |
| 50 |
#: archlinux debian-unstable |
| 51 |
#, no-wrap |
| 52 |
msgid "Linux man-pages 6.18" |
| 53 |
msgstr "Pages du manuel de Linux 6.18" |
| 54 |
|
| 55 |
#. type: SH |
| 56 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 57 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 58 |
#, no-wrap |
| 59 |
msgid "NAME" |
| 60 |
msgstr "NOM" |
| 61 |
|
| 62 |
#. type: Plain text |
| 63 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 64 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 65 |
msgid "clone, __clone2, clone3 - create a child process" |
| 66 |
msgstr "clone, __clone2, clone3 - Créer un processus enfant (child)" |
| 67 |
|
| 68 |
#. type: SH |
| 69 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 70 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 71 |
#, no-wrap |
| 72 |
msgid "LIBRARY" |
| 73 |
msgstr "BIBLIOTHÈQUE" |
| 74 |
|
| 75 |
#. type: Plain text |
| 76 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 77 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 78 |
msgid "Standard C library (I<libc>,\\ I<-lc>)" |
| 79 |
msgstr "Bibliothèque C standard (I<libc>,\\ I<-lc>)" |
| 80 |
|
| 81 |
#. type: SH |
| 82 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 83 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 84 |
#, no-wrap |
| 85 |
msgid "SYNOPSIS" |
| 86 |
msgstr "SYNOPSIS" |
| 87 |
|
| 88 |
#. type: Plain text |
| 89 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 90 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 91 |
#, no-wrap |
| 92 |
msgid "/* Prototype for the glibc wrapper function */\n" |
| 93 |
msgstr "/* Prototype de la fonction enveloppe de la glibc */\n" |
| 94 |
|
| 95 |
#. type: Plain text |
| 96 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 97 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 98 |
#, no-wrap |
| 99 |
msgid "" |
| 100 |
"B<#define _GNU_SOURCE>\n" |
| 101 |
"B<#include E<lt>sched.hE<gt>>\n" |
| 102 |
msgstr "" |
| 103 |
"B<#define _GNU_SOURCE>\n" |
| 104 |
"B<#include E<lt>sched.hE<gt>>\n" |
| 105 |
|
| 106 |
#. type: Plain text |
| 107 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 108 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 109 |
#, no-wrap |
| 110 |
msgid "" |
| 111 |
"B<int clone(typeof(int (void *_Nullable)) *>I<fn>B<,>\n" |
| 112 |
"B< void *>I<stack>B<,>\n" |
| 113 |
"B< int >I<flags>B<,>\n" |
| 114 |
"B< void *_Nullable >I<arg>B<, ...>\n" |
| 115 |
"B< >\\f[R]/*B< pid_t *_Nullable >I<parent_tid>B<,>\n" |
| 116 |
"B< void *_Nullable >I<tls>B<,>\n" |
| 117 |
"B< pid_t *_Nullable >I<child_tid>B< >\\f[R]*/B< );>\n" |
| 118 |
msgstr "" |
| 119 |
"B<int clone(typeof(int (void *_Nullable)) *>I<fn>B<,>\n" |
| 120 |
"B< void *>I<stack>B<,>\n" |
| 121 |
"B< int >I<flags>B<,>\n" |
| 122 |
"B< void *_Nullable >I<arg>B<, ...>\n" |
| 123 |
"B< >\\f[R]/*B< pid_t *_Nullable >I<parent_tid>B<,>\n" |
| 124 |
"B< void *_Nullable >I<tls>B<,>\n" |
| 125 |
"B< pid_t *_Nullable >I<child_tid>B< >\\f[R]*/B< );>\n" |
| 126 |
|
| 127 |
#. type: Plain text |
| 128 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 129 |
#: opensuse-tumbleweed |
| 130 |
#, no-wrap |
| 131 |
msgid "/* For the prototype of the raw clone() system call, see VERSIONS. */\n" |
| 132 |
msgstr "/* Pour le prototype de l'appel système clone() brut, voir VERSIONS. */\n" |
| 133 |
|
| 134 |
#. type: Plain text |
| 135 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 136 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 137 |
#, no-wrap |
| 138 |
msgid "" |
| 139 |
"B<#include E<lt>linux/sched.hE<gt>> /* Definition of B<struct clone_args> */\n" |
| 140 |
"B<#include E<lt>sched.hE<gt>> /* Definition of B<CLONE_*> constants */\n" |
| 141 |
"B<#include E<lt>sys/syscall.hE<gt>> /* Definition of B<SYS_*> constants */\n" |
| 142 |
"B<#include E<lt>unistd.hE<gt>>\n" |
| 143 |
msgstr "" |
| 144 |
"B<#include E<lt>linux/sched.hE<gt>> /* Définition de B<struct clone_args> */\n" |
| 145 |
"B<#include E<lt>sched.hE<gt>> /* Définition des constantes B<CLONE_*> */\n" |
| 146 |
"B<#include E<lt>sys/syscall.hE<gt>> /* Définition des constantes B<SYS_*> */\n" |
| 147 |
"B<#include E<lt>unistd.hE<gt>>\n" |
| 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 |
#, no-wrap |
| 153 |
msgid "B<long syscall(SYS_clone3, struct clone_args *>I<cl_args>B<, size_t >I<size>B<);>\n" |
| 154 |
msgstr "B<long syscall(SYS_clone3, struct clone_args *>I<cl_args>B<, size_t >I<size>B<);>\n" |
| 155 |
|
| 156 |
#. type: Plain text |
| 157 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 158 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 159 |
msgid "" |
| 160 |
"I<Note>: glibc provides no wrapper for B<clone3>(), necessitating the use of " |
| 161 |
"B<syscall>(2)." |
| 162 |
msgstr "" |
| 163 |
"I<Remarque> : La glibc ne fournit pas d'enveloppe pour B<clone3>() ; appelez-" |
| 164 |
"la en utilisant B<syscall>(2)." |
| 165 |
|
| 166 |
#. type: SH |
| 167 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 168 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 169 |
#, no-wrap |
| 170 |
msgid "DESCRIPTION" |
| 171 |
msgstr "DESCRIPTION" |
| 172 |
|
| 173 |
#. type: Plain text |
| 174 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 175 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 176 |
msgid "" |
| 177 |
"These system calls create a new (\"child\") process, in a manner similar to " |
| 178 |
"B<fork>(2)." |
| 179 |
msgstr "" |
| 180 |
"Ces appels système créent un nouveau processus « enfant », de façon analogue " |
| 181 |
"à B<fork>(2)." |
| 182 |
|
| 183 |
#. type: Plain text |
| 184 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 185 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 186 |
msgid "" |
| 187 |
"By contrast with B<fork>(2), these system calls provide more precise control " |
| 188 |
"over what pieces of execution context are shared between the calling process " |
| 189 |
"and the child process. For example, using these system calls, the caller " |
| 190 |
"can control whether or not the two processes share the virtual address " |
| 191 |
"space, the table of file descriptors, and the table of signal handlers. " |
| 192 |
"These system calls also allow the new child process to be placed in separate " |
| 193 |
"B<namespaces>(7)." |
| 194 |
msgstr "" |
| 195 |
"Contrairement à B<fork>(2), ces appels système offrent un contrôle plus " |
| 196 |
"précis du contexte d'exécution partagé entre le processus appelant et son " |
| 197 |
"enfant. Par exemple, en utilisant ces appels système, l'appelant peut " |
| 198 |
"contrôler si les deux processus partagent ou non l'espace d'adresse virtuel, " |
| 199 |
"la table des descripteurs de fichier et celle des gestionnaires de signal. " |
| 200 |
"Ces appels système permettent également au nouveau processus enfant d'aller " |
| 201 |
"dans un B<namespaces>(7) à part." |
| 202 |
|
| 203 |
#. type: Plain text |
| 204 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 205 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 206 |
msgid "" |
| 207 |
"Note that in this manual page, \"calling process\" normally corresponds to " |
| 208 |
"\"parent process\". But see the descriptions of B<CLONE_PARENT> and " |
| 209 |
"B<CLONE_THREAD> below." |
| 210 |
msgstr "" |
| 211 |
"Remarquez que dans cette page de manuel, le « processus appelant » " |
| 212 |
"correspond en principe au « processus parent ». Mais voir les descriptions " |
| 213 |
"de B<CLONE_PARENT> et de B<CLONE_THREAD> ci-dessous." |
| 214 |
|
| 215 |
#. type: Plain text |
| 216 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 217 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 218 |
msgid "This page describes the following interfaces:" |
| 219 |
msgstr "Cette page décrit les interfaces suivantes :" |
| 220 |
|
| 221 |
#. type: IP |
| 222 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 223 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 224 |
#, no-wrap |
| 225 |
msgid "\\[bu]" |
| 226 |
msgstr "-" |
| 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 |
"The glibc B<clone>() wrapper function and the underlying system call on " |
| 233 |
"which it is based. The main text describes the wrapper function; the " |
| 234 |
"differences for the raw system call are described toward the end of this " |
| 235 |
"page." |
| 236 |
msgstr "" |
| 237 |
"Cette page présente à la fois la fonction enveloppe B<clone>() de la glibc " |
| 238 |
"et l'appel système sous-jacent sur lequel elle s'appuie. Le texte principal " |
| 239 |
"décrit la fonction enveloppe ; les différences avec l'appel système brut " |
| 240 |
"sont précisées vers la fin de cette page." |
| 241 |
|
| 242 |
#. type: Plain text |
| 243 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 244 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 245 |
msgid "The newer B<clone3>() system call." |
| 246 |
msgstr "Le nouvel appel système B<clone3>()." |
| 247 |
|
| 248 |
#. type: Plain text |
| 249 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 250 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 251 |
msgid "" |
| 252 |
"In the remainder of this page, the terminology \"the clone call\" is used " |
| 253 |
"when noting details that apply to all of these interfaces." |
| 254 |
msgstr "" |
| 255 |
"Dans la suite de cette page, le terme « appel clone » est utilisé pour " |
| 256 |
"évoquer les détails applicables à toutes ces interfaces." |
| 257 |
|
| 258 |
#. type: SS |
| 259 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 260 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 261 |
#, no-wrap |
| 262 |
msgid "The clone() wrapper function" |
| 263 |
msgstr "La fonction enveloppe clone()" |
| 264 |
|
| 265 |
#. type: Plain text |
| 266 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 267 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 268 |
msgid "" |
| 269 |
"When the child process is created with the B<clone>() wrapper function, it " |
| 270 |
"commences execution by calling the function pointed to by the argument " |
| 271 |
"I<fn>. (This differs from B<fork>(2), where execution continues in the " |
| 272 |
"child from the point of the B<fork>(2) call.) The I<arg> argument is " |
| 273 |
"passed as the argument of the function I<fn>." |
| 274 |
msgstr "" |
| 275 |
"Quand le processus enfant est créé par la fonction enveloppe B<clone>(), il " |
| 276 |
"débute son exécution par un appel à la fonction vers laquelle pointe " |
| 277 |
"l'argument I<fn> (cela est différent de B<fork>(2), pour lequel l'exécution " |
| 278 |
"continue dans le processus enfant à partir du moment de l'appel de " |
| 279 |
"B<fork>(2)). L'argument I<arg> est passé comme argument de la fonction I<fn>." |
| 280 |
|
| 281 |
#. type: Plain text |
| 282 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 283 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 284 |
msgid "" |
| 285 |
"When the I<fn>(I<arg>) function returns, the child process terminates. The " |
| 286 |
"integer returned by I<fn> is the exit status for the child process. The " |
| 287 |
"child process may also terminate explicitly by calling B<exit>(2) or after " |
| 288 |
"receiving a fatal signal." |
| 289 |
msgstr "" |
| 290 |
"Quand la fonction I<fn>(I<arg>) renvoie, le processus enfant se termine. La " |
| 291 |
"valeur entière renvoyée par I<fn> est utilisée comme code de retour du " |
| 292 |
"processus enfant. Ce dernier peut également se terminer de manière explicite " |
| 293 |
"en invoquant la fonction B<exit>(2) ou après la réception d'un signal fatal." |
| 294 |
|
| 295 |
#. type: Plain text |
| 296 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 297 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 298 |
msgid "" |
| 299 |
"The I<stack> argument specifies the location of the stack used by the child " |
| 300 |
"process. Since the child and calling process may share memory, it is not " |
| 301 |
"possible for the child process to execute in the same stack as the calling " |
| 302 |
"process. The calling process must therefore set up memory space for the " |
| 303 |
"child stack and pass a pointer to this space to B<clone>(). Stacks grow " |
| 304 |
"downward on all processors that run Linux (except the HP PA processors), so " |
| 305 |
"I<stack> usually points to the topmost address of the memory space set up " |
| 306 |
"for the child stack. Note that B<clone>() does not provide a means whereby " |
| 307 |
"the caller can inform the kernel of the size of the stack area." |
| 308 |
msgstr "" |
| 309 |
"L'argument I<stack> indique l'emplacement de la pile utilisée par le " |
| 310 |
"processus enfant. Comme les processus enfant et appelant peuvent partager de " |
| 311 |
"la mémoire, il n'est généralement pas possible pour l'enfant d'utiliser la " |
| 312 |
"même pile que son parent. Le processus appelant doit donc préparer un espace " |
| 313 |
"mémoire pour stocker la pile de son enfant, et transmettre à B<clone> un " |
| 314 |
"pointeur sur cet emplacement. Les piles croissent vers le bas sur tous les " |
| 315 |
"processeurs implémentant Linux (sauf le HP PA), donc I<stack> doit pointer " |
| 316 |
"sur la plus haute adresse de l'espace mémoire prévu pour la pile du " |
| 317 |
"processus enfant. Remarquez que B<clone>() ne fournit aucun moyen pour que " |
| 318 |
"l'appelant puisse informer le noyau de la taille de la zone de la pile." |
| 319 |
|
| 320 |
#. type: Plain text |
| 321 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 322 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 323 |
msgid "The remaining arguments to B<clone>() are discussed below." |
| 324 |
msgstr "Les paramètres restants de B<clone>() sont décrits ci-dessous." |
| 325 |
|
| 326 |
#. type: tbl table |
| 327 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 328 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 329 |
#, no-wrap |
| 330 |
msgid "clone3()" |
| 331 |
msgstr "clone3()" |
| 332 |
|
| 333 |
#. type: Plain text |
| 334 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 335 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 336 |
msgid "" |
| 337 |
"The B<clone3>() system call provides a superset of the functionality of the " |
| 338 |
"older B<clone>() interface. It also provides a number of API improvements, " |
| 339 |
"including: space for additional flags bits; cleaner separation in the use of " |
| 340 |
"various arguments; and the ability to specify the size of the child's stack " |
| 341 |
"area." |
| 342 |
msgstr "" |
| 343 |
"L'appel système B<clone3>() fournit un sur-ensemble de la fonctionnalité de " |
| 344 |
"l'ancienne interface de B<clone>(). Il offre également un certain nombre " |
| 345 |
"d'améliorations de l'API dont : un espace pour des bits d'attributs " |
| 346 |
"supplémentaires, une séparation plus propre dans l'utilisation de plusieurs " |
| 347 |
"paramètres et la possibilité d'indiquer la taille de la zone de la pile de " |
| 348 |
"l'enfant." |
| 349 |
|
| 350 |
#. type: Plain text |
| 351 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 352 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 353 |
msgid "" |
| 354 |
"As with B<fork>(2), B<clone3>() returns in both the parent and the child. " |
| 355 |
"It returns 0 in the child process and returns the PID of the child in the " |
| 356 |
"parent." |
| 357 |
msgstr "" |
| 358 |
"Comme avec B<fork>(2), B<clone3>() renvoie à la fois au parent et à " |
| 359 |
"l'enfant. Il renvoie B<0> dans le processus enfant et il renvoie le PID de " |
| 360 |
"l'enfant dans le parent." |
| 361 |
|
| 362 |
#. type: Plain text |
| 363 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 364 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 365 |
msgid "" |
| 366 |
"The I<cl_args> argument of B<clone3>() is a structure of the following form:" |
| 367 |
msgstr "" |
| 368 |
"Le paramètre I<cl_args> de B<clone3>() est une structure ayant la forme " |
| 369 |
"suivante :" |
| 370 |
|
| 371 |
#. type: Plain text |
| 372 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 373 |
#: opensuse-tumbleweed |
| 374 |
#, no-wrap |
| 375 |
msgid "" |
| 376 |
"struct clone_args {\n" |
| 377 |
" u64 flags; /* Flags bit mask */\n" |
| 378 |
" u64 pidfd; /* Where to store PID file descriptor\n" |
| 379 |
" (\\f[I]int *\\fR) */\n" |
| 380 |
" u64 child_tid; /* Where to store child TID,\n" |
| 381 |
" in child\\[aq]s memory (\\f[I]pid_t *\\fR) */\n" |
| 382 |
" u64 parent_tid; /* Where to store child TID,\n" |
| 383 |
" in parent\\[aq]s memory (\\f[I]pid_t *\\fR) */\n" |
| 384 |
" u64 exit_signal; /* Signal to deliver to parent on\n" |
| 385 |
" child termination */\n" |
| 386 |
" u64 stack; /* Pointer to lowest byte of stack */\n" |
| 387 |
" u64 stack_size; /* Size of stack */\n" |
| 388 |
" u64 tls; /* Location of new TLS */\n" |
| 389 |
" u64 set_tid; /* Pointer to a \\f[I]pid_t\\fR array\n" |
| 390 |
" (since Linux 5.5) */\n" |
| 391 |
" u64 set_tid_size; /* Number of elements in \\f[I]set_tid\\fR\n" |
| 392 |
" (since Linux 5.5) */\n" |
| 393 |
" u64 cgroup; /* File descriptor for target cgroup\n" |
| 394 |
" of child (since Linux 5.7) */\n" |
| 395 |
"};\n" |
| 396 |
msgstr "" |
| 397 |
"struct clone_args {\n" |
| 398 |
" u64 flags; /* Masque de bit d'attribut */\n" |
| 399 |
" u64 pidfd; /* Où stocker le descripteur de fichier du PID\n" |
| 400 |
" (\\f[I]int *\\fR) */\n" |
| 401 |
" u64 child_tid; /* Où stocker le TID enfant,\n" |
| 402 |
" dans la mémoire de l'enfant (\\f[I]pid_t *\\fR) */\n" |
| 403 |
" u64 parent_tid; /* Où stocker le TID enfant,\n" |
| 404 |
" dans la mémoire du parent (\\f[I]pid_t *\\fR) */\n" |
| 405 |
" u64 exit_signal; /* Signal à envoyer au parent quand\n" |
| 406 |
" l'enfant se termine */\n" |
| 407 |
" u64 stack; /* Pointeur vers l'octet le plus faible de la pile */\n" |
| 408 |
" u64 stack_size; /* Taille de la pile */\n" |
| 409 |
" u64 tls; /* Emplacement du nouveau TLS */\n" |
| 410 |
" u64 set_tid; /* Pointeur vers un tableau \\f[I]pid_t\\fR\n" |
| 411 |
" (depuis Linux 5.5) */\n" |
| 412 |
" u64 set_tid_size; /* Nombre d'éléments dans \\f[I]set_tid\\fR\n" |
| 413 |
" (depuis Linux 5.5) */\n" |
| 414 |
" u64 cgroup; /* Descripteur de fichier du cgroup cible\n" |
| 415 |
" de l'enfant (depuis Linux 5.7) */\n" |
| 416 |
"};\n" |
| 417 |
|
| 418 |
#. type: Plain text |
| 419 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 420 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 421 |
msgid "" |
| 422 |
"The I<size> argument that is supplied to B<clone3>() should be initialized " |
| 423 |
"to the size of this structure. (The existence of the I<size> argument " |
| 424 |
"permits future extensions to the I<clone_args> structure.)" |
| 425 |
msgstr "" |
| 426 |
"Le paramètre I<size> fourni à B<clone3>() doit être initialisé à la taille " |
| 427 |
"de cette structure (l'existence du paramètre I<size> autorise des extensions " |
| 428 |
"futures de la structure I<clone_args>)." |
| 429 |
|
| 430 |
#. type: Plain text |
| 431 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 432 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 433 |
msgid "" |
| 434 |
"The stack for the child process is specified via I<cl_args.stack>, which " |
| 435 |
"points to the lowest byte of the stack area, and I<cl_args.stack_size>, " |
| 436 |
"which specifies the size of the stack in bytes. In the case where the " |
| 437 |
"B<CLONE_VM> flag (see below) is specified, a stack must be explicitly " |
| 438 |
"allocated and specified. Otherwise, these two fields can be specified as " |
| 439 |
"NULL and 0, which causes the child to use the same stack area as the parent " |
| 440 |
"(in the child's own virtual address space)." |
| 441 |
msgstr "" |
| 442 |
"La pile du processus enfant est indiquée avec I<cl_args.stack>, qui pointe " |
| 443 |
"vers l'octet le plus faible de la zone de la pile, et avec " |
| 444 |
"I<cl_args.stack_size>, qui indique la taille de la pile en octets. Si " |
| 445 |
"l'attribut B<CLONE_VM> est indiqué (voir ci-dessous), une pile doit être " |
| 446 |
"explicitement allouée et indiquée. Sinon, ces deux champs peuvent valoir " |
| 447 |
"NULL et B<0>, ce qui amène l'enfant à utiliser la même zone de pile que son " |
| 448 |
"parent (dans l'espace d'adressage virtuel de son propre enfant)." |
| 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 "The remaining fields in the I<cl_args> argument are discussed below." |
| 454 |
msgstr "Les autres champs du paramètre I<cl_args> sont abordés ci-dessous." |
| 455 |
|
| 456 |
#. type: SS |
| 457 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 458 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 459 |
#, no-wrap |
| 460 |
msgid "Equivalence between clone() and clone3() arguments" |
| 461 |
msgstr "Équivalence entre les paramètres de clone() et de clone3()" |
| 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 |
"Unlike the older B<clone>() interface, where arguments are passed " |
| 468 |
"individually, in the newer B<clone3>() interface the arguments are packaged " |
| 469 |
"into the I<clone_args> structure shown above. This structure allows for a " |
| 470 |
"superset of the information passed via the B<clone>() arguments." |
| 471 |
msgstr "" |
| 472 |
"Contrairement à l'ancienne interface B<clone>(), où les paramètres sont " |
| 473 |
"passés individuellement, ceux de la nouvelle interface B<clone3>() sont " |
| 474 |
"empaquetés dans la structure I<clone_args> présentée ci-dessus. Cette " |
| 475 |
"structure permet de passer un ensemble d'informations à l’aide des arguments " |
| 476 |
"de B<clone>()." |
| 477 |
|
| 478 |
#. type: Plain text |
| 479 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 480 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 481 |
msgid "" |
| 482 |
"The following table shows the equivalence between the arguments of " |
| 483 |
"B<clone>() and the fields in the I<clone_args> argument supplied to " |
| 484 |
"B<clone3>():" |
| 485 |
msgstr "" |
| 486 |
"Le tableau suivant montre l'équivalence entre les paramètres de B<clone>() " |
| 487 |
"et les champs du paramètre I<clone_args> fournis à B<clone3>() :" |
| 488 |
|
| 489 |
#. type: tbl table |
| 490 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 491 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 492 |
#, no-wrap |
| 493 |
msgid "clone()" |
| 494 |
msgstr "clone()" |
| 495 |
|
| 496 |
#. type: tbl table |
| 497 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 498 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 499 |
#, no-wrap |
| 500 |
msgid "Notes" |
| 501 |
msgstr "NOTES" |
| 502 |
|
| 503 |
#. type: tbl table |
| 504 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 505 |
#: opensuse-tumbleweed |
| 506 |
#, no-wrap |
| 507 |
msgid "\\f[I]cl_args\\fR field" |
| 508 |
msgstr "Champ \\f[I]cl_args\\fR" |
| 509 |
|
| 510 |
#. type: tbl table |
| 511 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 512 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 513 |
#, no-wrap |
| 514 |
msgid "flags & \\[ti]0xff" |
| 515 |
msgstr "attributs & \\[ti]0xff" |
| 516 |
|
| 517 |
#. type: tbl table |
| 518 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 519 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 520 |
#, no-wrap |
| 521 |
msgid "flags" |
| 522 |
msgstr "attributs" |
| 523 |
|
| 524 |
#. type: tbl table |
| 525 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 526 |
#: opensuse-tumbleweed |
| 527 |
#, no-wrap |
| 528 |
msgid "" |
| 529 |
"For most flags;\n" |
| 530 |
"details below" |
| 531 |
msgstr "" |
| 532 |
"Pour la plupart des attributs ;\n" |
| 533 |
"détails ci-dessous" |
| 534 |
|
| 535 |
#. type: tbl table |
| 536 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 537 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 538 |
#, no-wrap |
| 539 |
msgid "parent_tid" |
| 540 |
msgstr "parent_tid" |
| 541 |
|
| 542 |
#. type: tbl table |
| 543 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 544 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 545 |
#, no-wrap |
| 546 |
msgid "pidfd" |
| 547 |
msgstr "pidfd" |
| 548 |
|
| 549 |
#. type: tbl table |
| 550 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 551 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 552 |
#, no-wrap |
| 553 |
msgid "See CLONE_PIDFD" |
| 554 |
msgstr "Voir CLONE_PIDFD" |
| 555 |
|
| 556 |
#. type: tbl table |
| 557 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 558 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 559 |
#, no-wrap |
| 560 |
msgid "child_tid" |
| 561 |
msgstr "child_tid" |
| 562 |
|
| 563 |
#. type: tbl table |
| 564 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 565 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 566 |
#, no-wrap |
| 567 |
msgid "See CLONE_CHILD_SETTID" |
| 568 |
msgstr "Voir CLONE_CHILD_SETTID" |
| 569 |
|
| 570 |
#. type: tbl table |
| 571 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 572 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 573 |
#, no-wrap |
| 574 |
msgid "See CLONE_PARENT_SETTID" |
| 575 |
msgstr "Voir CLONE_PARENT_SETTID" |
| 576 |
|
| 577 |
#. type: tbl table |
| 578 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 579 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 580 |
#, no-wrap |
| 581 |
msgid "flags & 0xff" |
| 582 |
msgstr "attributs & 0xff" |
| 583 |
|
| 584 |
#. type: tbl table |
| 585 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 586 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 587 |
#, no-wrap |
| 588 |
msgid "exit_signal" |
| 589 |
msgstr "exit_signal" |
| 590 |
|
| 591 |
#. type: tbl table |
| 592 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 593 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 594 |
#, no-wrap |
| 595 |
msgid "stack" |
| 596 |
msgstr "stack" |
| 597 |
|
| 598 |
#. type: tbl table |
| 599 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 600 |
#: opensuse-tumbleweed |
| 601 |
#, no-wrap |
| 602 |
msgid "\\f[R]---\\fR" |
| 603 |
msgstr "\\f[R]---\\fR" |
| 604 |
|
| 605 |
#. type: tbl table |
| 606 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 607 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 608 |
#, no-wrap |
| 609 |
msgid "stack_size" |
| 610 |
msgstr "stack_size" |
| 611 |
|
| 612 |
#. type: tbl table |
| 613 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 614 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 615 |
#, no-wrap |
| 616 |
msgid "tls" |
| 617 |
msgstr "tls" |
| 618 |
|
| 619 |
#. type: tbl table |
| 620 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 621 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 622 |
#, no-wrap |
| 623 |
msgid "See CLONE_SETTLS" |
| 624 |
msgstr "Voir CLONE_SETTLS" |
| 625 |
|
| 626 |
#. type: tbl table |
| 627 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 628 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 629 |
#, no-wrap |
| 630 |
msgid "set_tid" |
| 631 |
msgstr "set_tid" |
| 632 |
|
| 633 |
#. type: tbl table |
| 634 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 635 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 636 |
#, no-wrap |
| 637 |
msgid "See below for details" |
| 638 |
msgstr "Voir ci-dessous pour des détails" |
| 639 |
|
| 640 |
#. type: tbl table |
| 641 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 642 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 643 |
#, no-wrap |
| 644 |
msgid "set_tid_size" |
| 645 |
msgstr "set_tid_size" |
| 646 |
|
| 647 |
#. type: tbl table |
| 648 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 649 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 650 |
#, no-wrap |
| 651 |
msgid "cgroup" |
| 652 |
msgstr "cgroup" |
| 653 |
|
| 654 |
#. type: tbl table |
| 655 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 656 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 657 |
#, no-wrap |
| 658 |
msgid "See CLONE_INTO_CGROUP" |
| 659 |
msgstr "Voir CLONE_INTO_CGROUP" |
| 660 |
|
| 661 |
#. type: SS |
| 662 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 663 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 664 |
#, no-wrap |
| 665 |
msgid "The child termination signal" |
| 666 |
msgstr "Signal de fin de l'enfant" |
| 667 |
|
| 668 |
#. type: Plain text |
| 669 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 670 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 671 |
msgid "" |
| 672 |
"When the child process terminates, a signal may be sent to the parent. The " |
| 673 |
"termination signal is specified in the low byte of I<flags> (B<clone>()) or " |
| 674 |
"in I<cl_args.exit_signal> (B<clone3>()). If this signal is specified as " |
| 675 |
"anything other than B<SIGCHLD>, then the parent process must specify the " |
| 676 |
"B<__WALL> or B<__WCLONE> options when waiting for the child with " |
| 677 |
"B<wait>(2). If no signal (i.e., zero) is specified, then the parent process " |
| 678 |
"is not signaled when the child terminates." |
| 679 |
msgstr "" |
| 680 |
"Quand le processus enfant se termine, un signal peut être envoyé au parent. " |
| 681 |
"Le signal de fin est indiqué dans l'octet de poids faible de I<flags> " |
| 682 |
"(B<clone>()) ou dans I<cl_args.exit_signal> (B<clone3>()). Si ce signal est " |
| 683 |
"différent de B<SIGCHLD>, le processus parent doit également spécifier les " |
| 684 |
"options B<__WALL> ou B<__WCLONE> lorsqu'il attend la fin de l'enfant avec " |
| 685 |
"B<wait>(2). Si aucun signal n'est indiqué (donc zéro), le processus parent " |
| 686 |
"ne sera pas notifié de la terminaison de l'enfant." |
| 687 |
|
| 688 |
#. type: SS |
| 689 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 690 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 691 |
#, no-wrap |
| 692 |
msgid "The set_tid array" |
| 693 |
msgstr "Le tableau set_tid" |
| 694 |
|
| 695 |
#. type: Plain text |
| 696 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 697 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 698 |
msgid "" |
| 699 |
"By default, the kernel chooses the next sequential PID for the new process " |
| 700 |
"in each of the PID namespaces where it is present. When creating a process " |
| 701 |
"with B<clone3>(), the I<set_tid> array (available since Linux 5.5) can be " |
| 702 |
"used to select specific PIDs for the process in some or all of the PID " |
| 703 |
"namespaces where it is present. If the PID of the newly created process " |
| 704 |
"should be set only for the current PID namespace or in the newly created PID " |
| 705 |
"namespace (if I<flags> contains B<CLONE_NEWPID>) then the first element in " |
| 706 |
"the I<set_tid> array has to be the desired PID and I<set_tid_size> needs to " |
| 707 |
"be 1." |
| 708 |
msgstr "" |
| 709 |
"Par défaut, le noyau choisit le PID séquentiel suivant pour le nouveau " |
| 710 |
"processus dans chacun des espaces de noms de PID où il est présent. Lors de " |
| 711 |
"la création d'un processus avec B<clone3>(), le tableau I<set_tid> (depuis " |
| 712 |
"Linux 5.5) peut être utilisé pour sélectionner des PID spécifiques pour le " |
| 713 |
"processus dans tout ou partie des espaces de noms où il est présent. Si le " |
| 714 |
"PID du processus nouvellement créé ne doit être positionné que dans l'espace " |
| 715 |
"de noms du processus actuel ou dans celui du PID nouvellement créé (si " |
| 716 |
"I<flags> contient B<CLONE_NEWPID>), le premier élément du tableau I<set_tid> " |
| 717 |
"doit être le PID souhaité et I<set_tid_size> doit valoir B<1>." |
| 718 |
|
| 719 |
#. type: Plain text |
| 720 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 721 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 722 |
msgid "" |
| 723 |
"If the PID of the newly created process should have a certain value in " |
| 724 |
"multiple PID namespaces, then the I<set_tid> array can have multiple " |
| 725 |
"entries. The first entry defines the PID in the most deeply nested PID " |
| 726 |
"namespace and each of the following entries contains the PID in the " |
| 727 |
"corresponding ancestor PID namespace. The number of PID namespaces in which " |
| 728 |
"a PID should be set is defined by I<set_tid_size> which cannot be larger " |
| 729 |
"than the number of currently nested PID namespaces." |
| 730 |
msgstr "" |
| 731 |
"Si le PID du processus nouvellement créé doit avoir une certaine valeur dans " |
| 732 |
"plusieurs espaces de noms de PID, le tableau I<set_tid> peut avoir plusieurs " |
| 733 |
"entrées. La première entrée définit le PID de l'espace de noms le plus " |
| 734 |
"imbriqué, puis chacune des entrées suivantes contient le PID de l'espace de " |
| 735 |
"noms supérieur correspondant. Le nombre d'espaces de noms de PID où un PID " |
| 736 |
"doit être positionné est défini par I<set_tid_size>, qui ne peut pas être " |
| 737 |
"plus grand que le nombre d'espaces de noms de PID imbriqués." |
| 738 |
|
| 739 |
#. type: Plain text |
| 740 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 741 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 742 |
msgid "" |
| 743 |
"To create a process with the following PIDs in a PID namespace hierarchy:" |
| 744 |
msgstr "" |
| 745 |
"Pour créer un processus dont les PID suivants s'inscrivent dans la " |
| 746 |
"hiérarchie de l'espace de noms de PID :" |
| 747 |
|
| 748 |
#. type: tbl table |
| 749 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 750 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 751 |
#, no-wrap |
| 752 |
msgid "PID NS level" |
| 753 |
msgstr "Niveau esp. noms du PID" |
| 754 |
|
| 755 |
#. type: tbl table |
| 756 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 757 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 758 |
#, no-wrap |
| 759 |
msgid "Requested PID" |
| 760 |
msgstr "PID demandé" |
| 761 |
|
| 762 |
#. type: tbl table |
| 763 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 764 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 765 |
#, no-wrap |
| 766 |
msgid "0" |
| 767 |
msgstr "0" |
| 768 |
|
| 769 |
#. type: tbl table |
| 770 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 771 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 772 |
#, no-wrap |
| 773 |
msgid "31496" |
| 774 |
msgstr "31496" |
| 775 |
|
| 776 |
#. type: tbl table |
| 777 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 778 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 779 |
#, no-wrap |
| 780 |
msgid "Outermost PID namespace" |
| 781 |
msgstr "Espace de noms du PID le plus à l'extérieur" |
| 782 |
|
| 783 |
#. type: tbl table |
| 784 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 785 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 786 |
#, no-wrap |
| 787 |
msgid "1" |
| 788 |
msgstr "1" |
| 789 |
|
| 790 |
#. type: tbl table |
| 791 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 792 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 793 |
#, no-wrap |
| 794 |
msgid "42" |
| 795 |
msgstr "42" |
| 796 |
|
| 797 |
#. type: tbl table |
| 798 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 799 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 800 |
#, no-wrap |
| 801 |
msgid "2" |
| 802 |
msgstr "2" |
| 803 |
|
| 804 |
#. type: tbl table |
| 805 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 806 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 807 |
#, no-wrap |
| 808 |
msgid "7" |
| 809 |
msgstr "7" |
| 810 |
|
| 811 |
#. type: tbl table |
| 812 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 813 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 814 |
#, no-wrap |
| 815 |
msgid "Innermost PID namespace" |
| 816 |
msgstr "Espace de noms du PID le plus à l'intérieur" |
| 817 |
|
| 818 |
#. type: Plain text |
| 819 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 820 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 821 |
msgid "Set the array to:" |
| 822 |
msgstr "Positionner le tableau sur :" |
| 823 |
|
| 824 |
#. type: Plain text |
| 825 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 826 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 827 |
#, no-wrap |
| 828 |
msgid "" |
| 829 |
"set_tid[0] = 7;\n" |
| 830 |
"set_tid[1] = 42;\n" |
| 831 |
"set_tid[2] = 31496;\n" |
| 832 |
"set_tid_size = 3;\n" |
| 833 |
msgstr "" |
| 834 |
"set_tid[0] = 7;\n" |
| 835 |
"set_tid[1] = 42;\n" |
| 836 |
"set_tid[2] = 31496;\n" |
| 837 |
"set_tid_size = 3;\n" |
| 838 |
|
| 839 |
#. type: Plain text |
| 840 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 841 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 842 |
msgid "" |
| 843 |
"If only the PIDs in the two innermost PID namespaces need to be specified, " |
| 844 |
"set the array to:" |
| 845 |
msgstr "" |
| 846 |
"Si seuls les PID des deux espaces de noms de PID les plus à l’intérieur " |
| 847 |
"doivent être indiqués, positionnez le tableau sur :" |
| 848 |
|
| 849 |
#. type: Plain text |
| 850 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 851 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 852 |
#, no-wrap |
| 853 |
msgid "" |
| 854 |
"set_tid[0] = 7;\n" |
| 855 |
"set_tid[1] = 42;\n" |
| 856 |
"set_tid_size = 2;\n" |
| 857 |
msgstr "" |
| 858 |
"set_tid[0] = 7;\n" |
| 859 |
"set_tid[1] = 42;\n" |
| 860 |
"set_tid_size = 2;\n" |
| 861 |
|
| 862 |
#. type: Plain text |
| 863 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 864 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 865 |
msgid "" |
| 866 |
"The PID in the PID namespaces outside the two innermost PID namespaces is " |
| 867 |
"selected the same way as any other PID is selected." |
| 868 |
msgstr "" |
| 869 |
"Le PID dans les espaces de noms de PID en dehors des deux espaces de noms " |
| 870 |
"les plus à l’intérieur sera sélectionné de la même manière qu'on sélectionne " |
| 871 |
"n'importe quel autre PID." |
| 872 |
|
| 873 |
#. commit 124ea650d3072b005457faed69909221c2905a1f |
| 874 |
#. commit 1caef81da05a84a40dbf02110e967ce6d1135ff6 |
| 875 |
#. type: Plain text |
| 876 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 877 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 878 |
msgid "" |
| 879 |
"The I<set_tid> feature requires B<CAP_SYS_ADMIN> or (since Linux 5.9) " |
| 880 |
"B<CAP_CHECKPOINT_RESTORE> in all owning user namespaces of the target PID " |
| 881 |
"namespaces." |
| 882 |
msgstr "" |
| 883 |
"La fonctionnalité I<set_tid> exige B<CAP_SYS_ADMIN> ou (depuis Linux 5.9) " |
| 884 |
"B<CAP_CHECKPOINT_RESTORE> dans tous les espaces de noms appartenant à " |
| 885 |
"l'utilisateur des espaces de noms du processus cible." |
| 886 |
|
| 887 |
#. type: Plain text |
| 888 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 889 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 890 |
msgid "" |
| 891 |
"Callers may only choose a PID greater than 1 in a given PID namespace if an " |
| 892 |
"B<init> process (i.e., a process with PID 1) already exists in that " |
| 893 |
"namespace. Otherwise the PID entry for this PID namespace must be 1." |
| 894 |
msgstr "" |
| 895 |
"Les appelants ne peuvent choisir qu'un PID supérieur à B<1> dans un espace " |
| 896 |
"de noms de PID donné si un processus B<init> (à savoir un processus dont le " |
| 897 |
"PID est B<1>) existe déjà dans cet espace de noms. Sinon, l'entrée du PID " |
| 898 |
"dans cet espace de noms de PID doit valoir B<1>." |
| 899 |
|
| 900 |
#. type: SS |
| 901 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 902 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 903 |
#, no-wrap |
| 904 |
msgid "The flags mask" |
| 905 |
msgstr "Le masque flags" |
| 906 |
|
| 907 |
#. type: Plain text |
| 908 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 909 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 910 |
msgid "" |
| 911 |
"Both B<clone>() and B<clone3>() allow a flags bit mask that modifies their " |
| 912 |
"behavior and allows the caller to specify what is shared between the calling " |
| 913 |
"process and the child process. This bit mask\\[em]the I<flags> argument of " |
| 914 |
"B<clone>() or the I<cl_args.flags> field passed to B<clone3>()\\[em]is " |
| 915 |
"referred to as the I<flags> mask in the remainder of this page." |
| 916 |
msgstr "" |
| 917 |
"Tant B<clone>() que B<clone3>() permettent d'utiliser un masque de bit flags " |
| 918 |
"pour modifier leur comportement, et elles permettent à l'appelant d'indiquer " |
| 919 |
"ce qui est partagé entre le processus appelant et son enfant. Ce masque de " |
| 920 |
"bit – le paramètre I<flags> de B<clone>() ou le champ I<cl_args.flags> passé " |
| 921 |
"à B<clone3>() – est désigné comme le masque I<flags> dans le reste de cette " |
| 922 |
"page." |
| 923 |
|
| 924 |
#. type: Plain text |
| 925 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 926 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 927 |
msgid "" |
| 928 |
"The I<flags> mask is specified as a bitwise OR of zero or more of the " |
| 929 |
"constants listed below. Except as noted below, these flags are available " |
| 930 |
"(and have the same effect) in both B<clone>() and B<clone3>()." |
| 931 |
msgstr "" |
| 932 |
"Le masque I<flags> est indiqué comme un OU binaire de zéro ou plus des " |
| 933 |
"constantes ci-dessous. Sauf explicitement indiqués, ces attributs sont " |
| 934 |
"disponibles (et ont le même effet) dans B<clone>() et dans B<clone3>()." |
| 935 |
|
| 936 |
#. type: TP |
| 937 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 938 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 939 |
#, no-wrap |
| 940 |
msgid "B<CLONE_CHILD_CLEARTID> (since Linux 2.5.49)" |
| 941 |
msgstr "B<CLONE_CHILD_CLEARTID> (depuis Linux 2.5.49)" |
| 942 |
|
| 943 |
#. type: Plain text |
| 944 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 945 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 946 |
msgid "" |
| 947 |
"Clear (zero) the child thread ID at the location pointed to by I<child_tid> " |
| 948 |
"(B<clone>()) or I<cl_args.child_tid> (B<clone3>()) in child memory when " |
| 949 |
"the child exits, and do a wakeup on the futex at that address. The address " |
| 950 |
"involved may be changed by the B<set_tid_address>(2) system call. This is " |
| 951 |
"used by threading libraries." |
| 952 |
msgstr "" |
| 953 |
"Effacer (zéro) l'ID du thread enfant situé là où pointe I<child_tid> " |
| 954 |
"(B<clone>()) ou I<cl_args.child_tid> (B<clone3>()) dans la mémoire de " |
| 955 |
"l'enfant lorsqu'il se termine, et provoquer le réveil avec le futex à cette " |
| 956 |
"adresse. L'adresse concernée peut être modifiée par l'appel système " |
| 957 |
"B<set_tid_address>(2). Cela est utilisé dans les bibliothèques de gestion de " |
| 958 |
"threads." |
| 959 |
|
| 960 |
#. type: TP |
| 961 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 962 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 963 |
#, no-wrap |
| 964 |
msgid "B<CLONE_CHILD_SETTID> (since Linux 2.5.49)" |
| 965 |
msgstr "B<CLONE_CHILD_SETTID> (depuis Linux 2.5.49)" |
| 966 |
|
| 967 |
#. type: Plain text |
| 968 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 969 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 970 |
msgid "" |
| 971 |
"Store the child thread ID at the location pointed to by I<child_tid> " |
| 972 |
"(B<clone>()) or I<cl_args.child_tid> (B<clone3>()) in the child's memory. " |
| 973 |
"The store operation completes before the clone call returns control to user " |
| 974 |
"space in the child process. (Note that the store operation may not have " |
| 975 |
"completed before the clone call returns in the parent process, which is " |
| 976 |
"relevant if the B<CLONE_VM> flag is also employed.)" |
| 977 |
msgstr "" |
| 978 |
"Enregistrer l'ID du thread de l'enfant là où pointe I<child_tid> " |
| 979 |
"((B<clone>()) ou I<cl_args.child_tid> (B<clone3>()) dans la mémoire de " |
| 980 |
"l'enfant. L'opération d'enregistrement se termine avant que l'appel clone ne " |
| 981 |
"redonne le contrôle à l'espace utilisateur dans le processus enfant " |
| 982 |
"(remarquez que l'opération d'enregistrement peut ne pas être terminée avant " |
| 983 |
"que l'appel clone ne renvoie au processus parent, ce qui sera pertinent si " |
| 984 |
"l'attribut B<CLONE_VM> est également utilisé)." |
| 985 |
|
| 986 |
#. type: TP |
| 987 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 988 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 989 |
#, no-wrap |
| 990 |
msgid "B<CLONE_CLEAR_SIGHAND> (since Linux 5.5)" |
| 991 |
msgstr "B<CLONE_CLEAR_SIGHAND> (depuis Linux 5.5)" |
| 992 |
|
| 993 |
#. commit b612e5df4587c934bd056bf05f4a1deca4de4f75 |
| 994 |
#. type: Plain text |
| 995 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 996 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 997 |
msgid "" |
| 998 |
"By default, signal dispositions in the child thread are the same as in the " |
| 999 |
"parent. If this flag is specified, then all signals that are handled in the " |
| 1000 |
"parent (and not set to B<SIG_IGN>) are reset to their default dispositions " |
| 1001 |
"(B<SIG_DFL>) in the child." |
| 1002 |
msgstr "" |
| 1003 |
"Par défaut, l'état des signaux du thread de l'enfant est le même que celui " |
| 1004 |
"du parent. Si cet attribut est positionné, tous les signaux gérés par le " |
| 1005 |
"parent (et non définis à B<SIG_IGN>) sont réinitialisés à leur état par " |
| 1006 |
"défaut (B<SIG_DFL>) dans l'enfant." |
| 1007 |
|
| 1008 |
#. type: Plain text |
| 1009 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1010 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1011 |
msgid "" |
| 1012 |
"Specifying this flag together with B<CLONE_SIGHAND> is nonsensical and " |
| 1013 |
"disallowed." |
| 1014 |
msgstr "" |
| 1015 |
"Indiquer cet attribut avec B<CLONE_SIGHAND> n'a pas de sens et n'est pas " |
| 1016 |
"autorisé." |
| 1017 |
|
| 1018 |
#. type: TP |
| 1019 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1020 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1021 |
#, no-wrap |
| 1022 |
msgid "B<CLONE_DETACHED> (historical)" |
| 1023 |
msgstr "B<CLONE_DETACHED> (historique)" |
| 1024 |
|
| 1025 |
#. added in Linux 2.5.32; removed in Linux 2.6.0-test4 |
| 1026 |
#. type: Plain text |
| 1027 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 1028 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 1029 |
msgid "" |
| 1030 |
"For a while (during the Linux 2.5 development series) there was a " |
| 1031 |
"B<CLONE_DETACHED> flag, which caused the parent not to receive a signal when " |
| 1032 |
"the child terminated. Ultimately, the effect of this flag was subsumed " |
| 1033 |
"under the B<CLONE_THREAD> flag and by the time Linux 2.6.0 was released, " |
| 1034 |
"this flag had no effect. Since Linux 2.6.2, the need to give this flag " |
| 1035 |
"together with B<CLONE_THREAD> disappeared." |
| 1036 |
msgstr "" |
| 1037 |
"Pendant un moment (pendant la série de versions au cours du développement de " |
| 1038 |
"Linux 2.5), il y a eu un attribut B<CLONE_DETACHED>, avec lequel le parent " |
| 1039 |
"ne recevait pas de signal quand l'enfant se terminait. Au final, l'effet de " |
| 1040 |
"cet attribut a été inhibé par l'attribut B<CLONE_THREAD> et quand Linux " |
| 1041 |
"2.6.0 a été publié, cet attribut n'avait pas d'effet. Depuis Linux 2.6.2, il " |
| 1042 |
"n'a plus été nécessaire de fournir cet attribut avec B<CLONE_THREAD>." |
| 1043 |
|
| 1044 |
#. type: Plain text |
| 1045 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1046 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1047 |
msgid "" |
| 1048 |
"This flag is still defined, but it is usually ignored when calling " |
| 1049 |
"B<clone>(). However, see the description of B<CLONE_PIDFD> for some " |
| 1050 |
"exceptions." |
| 1051 |
msgstr "" |
| 1052 |
"Cet attribut est toujours défini, mais il est généralement ignoré lors d'un " |
| 1053 |
"appel B<clone>(). Toutefois, voir la description de B<CLONE_PIDFD> pour " |
| 1054 |
"certaines exceptions." |
| 1055 |
|
| 1056 |
#. type: TP |
| 1057 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1058 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1059 |
#, no-wrap |
| 1060 |
msgid "B<CLONE_FILES> (since Linux 2.0)" |
| 1061 |
msgstr "B<CLONE_FILES> (depuis Linux 2.0)" |
| 1062 |
|
| 1063 |
#. type: Plain text |
| 1064 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1065 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1066 |
msgid "" |
| 1067 |
"If B<CLONE_FILES> is set, the calling process and the child process share " |
| 1068 |
"the same file descriptor table. Any file descriptor created by the calling " |
| 1069 |
"process or by the child process is also valid in the other process. " |
| 1070 |
"Similarly, if one of the processes closes a file descriptor, or changes its " |
| 1071 |
"associated flags (using the B<fcntl>(2) B<F_SETFD> operation), the other " |
| 1072 |
"process is also affected. If a process sharing a file descriptor table " |
| 1073 |
"calls B<execve>(2), its file descriptor table is duplicated (unshared)." |
| 1074 |
msgstr "" |
| 1075 |
"Si l'attribut B<CLONE_FILES> est positionné, le processus appelant et le " |
| 1076 |
"processus enfant partagent la même table de descripteurs de fichier. Tout " |
| 1077 |
"descripteur créé par un processus est également valable pour l'autre " |
| 1078 |
"processus. De même si un processus ferme un descripteur, ou modifie ses " |
| 1079 |
"attributs (en utilisant l'opération B<fcntl>(2) B<F_SETFD>), l'autre " |
| 1080 |
"processus en est aussi affecté. Si un processus qui partage une table de " |
| 1081 |
"descripteurs de fichier appelle B<execve>(2), sa table est dupliquée (non " |
| 1082 |
"partagée)." |
| 1083 |
|
| 1084 |
#. type: Plain text |
| 1085 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1086 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1087 |
msgid "" |
| 1088 |
"If B<CLONE_FILES> is not set, the child process inherits a copy of all file " |
| 1089 |
"descriptors opened in the calling process at the time of the clone call. " |
| 1090 |
"Subsequent operations that open or close file descriptors, or change file " |
| 1091 |
"descriptor flags, performed by either the calling process or the child " |
| 1092 |
"process do not affect the other process. Note, however, that the duplicated " |
| 1093 |
"file descriptors in the child refer to the same open file descriptions as " |
| 1094 |
"the corresponding file descriptors in the calling process, and thus share " |
| 1095 |
"file offsets and file status flags (see B<open>(2))." |
| 1096 |
msgstr "" |
| 1097 |
"Si B<CLONE_FILES> n'est pas positionné, le processus enfant hérite d'une " |
| 1098 |
"copie des descripteurs de fichier ouverts par l'appelant au moment de " |
| 1099 |
"l'appel B<clone>(). Les opérations d'ouverture et de fermeture ou de " |
| 1100 |
"modification d'attributs du descripteur de fichier subséquentes, effectuées " |
| 1101 |
"par le processus appelant ou son enfant, ne concernent pas l'autre " |
| 1102 |
"processus. Remarquez toutefois que les copies des descripteurs de fichier " |
| 1103 |
"dans l'enfant sont associées aux mêmes descriptions de fichiers ouverts que " |
| 1104 |
"les descripteurs de fichier correspondants dans le processus appelant, " |
| 1105 |
"partageant ainsi les attributs de position et d’états du fichier (consultez " |
| 1106 |
"B<open>(2))." |
| 1107 |
|
| 1108 |
#. type: TP |
| 1109 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1110 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1111 |
#, no-wrap |
| 1112 |
msgid "B<CLONE_FS> (since Linux 2.0)" |
| 1113 |
msgstr "B<CLONE_FS> (depuis Linux 2.0)" |
| 1114 |
|
| 1115 |
#. type: Plain text |
| 1116 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1117 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1118 |
msgid "" |
| 1119 |
"If B<CLONE_FS> is set, the caller and the child process share the same " |
| 1120 |
"filesystem information. This includes the root of the filesystem, the " |
| 1121 |
"current working directory, and the umask. Any call to B<chroot>(2), " |
| 1122 |
"B<chdir>(2), or B<umask>(2) performed by the calling process or the child " |
| 1123 |
"process also affects the other process." |
| 1124 |
msgstr "" |
| 1125 |
"Si l'attribut B<CLONE_FS> est positionné, le processus appelant et le " |
| 1126 |
"processus enfant partagent les mêmes informations concernant le système de " |
| 1127 |
"fichiers. Cela inclut la racine du système de fichiers, le répertoire de " |
| 1128 |
"travail, et l'umask. Tout appel à B<chroot>(2), B<chdir>(2) ou B<umask>(2) " |
| 1129 |
"effectué par un processus aura également une influence sur l'autre processus." |
| 1130 |
|
| 1131 |
#. type: Plain text |
| 1132 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1133 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1134 |
msgid "" |
| 1135 |
"If B<CLONE_FS> is not set, the child process works on a copy of the " |
| 1136 |
"filesystem information of the calling process at the time of the clone " |
| 1137 |
"call. Calls to B<chroot>(2), B<chdir>(2), or B<umask>(2) performed later " |
| 1138 |
"by one of the processes do not affect the other process." |
| 1139 |
msgstr "" |
| 1140 |
"Si B<CLONE_FS> n'est pas positionné, le processus enfant travaille sur une " |
| 1141 |
"copie des informations de l'appelant concernant le système de fichiers au " |
| 1142 |
"moment de l'appel clone. Les appels à B<chroot>(2), B<chdir>(2), B<umask>(2) " |
| 1143 |
"effectués ensuite par un processus n'affectent pas l'autre processus." |
| 1144 |
|
| 1145 |
#. type: TP |
| 1146 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1147 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1148 |
#, no-wrap |
| 1149 |
msgid "B<CLONE_INTO_CGROUP> (since Linux 5.7)" |
| 1150 |
msgstr "B<CLONE_INTO_CGROUP> (depuis Linux 5.7)" |
| 1151 |
|
| 1152 |
#. commit ef2c41cf38a7559bbf91af42d5b6a4429db8fc68 |
| 1153 |
#. type: Plain text |
| 1154 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1155 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1156 |
msgid "" |
| 1157 |
"By default, a child process is placed in the same version 2 cgroup as its " |
| 1158 |
"parent. The B<CLONE_INTO_CGROUP> flag allows the child process to be " |
| 1159 |
"created in a different version 2 cgroup. (Note that B<CLONE_INTO_CGROUP> " |
| 1160 |
"has effect only for version 2 cgroups.)" |
| 1161 |
msgstr "" |
| 1162 |
"Par défaut, un processus enfant est mis dans le même cgroup version 2 que " |
| 1163 |
"son parent. L'attribut B<CLONE_INTO_CGROUP> permet au processus enfant " |
| 1164 |
"d'être créé dans un cgroup version 2 différent (remarquez que " |
| 1165 |
"B<CLONE_INTO_CGROUP> n'a d'effet que sur les cgroup version 2)." |
| 1166 |
|
| 1167 |
#. type: Plain text |
| 1168 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1169 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1170 |
msgid "" |
| 1171 |
"In order to place the child process in a different cgroup, the caller " |
| 1172 |
"specifies B<CLONE_INTO_CGROUP> in I<cl_args.flags> and passes a file " |
| 1173 |
"descriptor that refers to a version 2 cgroup in the I<cl_args.cgroup> " |
| 1174 |
"field. (This file descriptor can be obtained by opening a cgroup v2 " |
| 1175 |
"directory using either the B<O_RDONLY> or the B<O_PATH> flag.) Note that " |
| 1176 |
"all of the usual restrictions (described in B<cgroups>(7)) on placing a " |
| 1177 |
"process into a version 2 cgroup apply." |
| 1178 |
msgstr "" |
| 1179 |
"Pour mettre le processus enfant dans un cgroup différent, l'appelant indique " |
| 1180 |
"B<CLONE_INTO_CGROUP> dans I<cl_args.flags> et passe un descripteur de " |
| 1181 |
"fichier qui se rapporte à un cgroup version 2 du champ I<cl_args.cgroup> (le " |
| 1182 |
"descripteur de fichier peut être obtenu en ouvrant un répertoire cgroup v2, " |
| 1183 |
"en utilisant l'attribut B<O_RDONLY> ou B<O_PATH>). Remarquez que toutes les " |
| 1184 |
"restrictions habituelles (décrites dans B<cgroups>(7)) quant au " |
| 1185 |
"positionnement d'un processus dans un cgroup version 2 s'appliquent." |
| 1186 |
|
| 1187 |
#. type: Plain text |
| 1188 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1189 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1190 |
msgid "" |
| 1191 |
"Among the possible use cases for B<CLONE_INTO_CGROUP> are the following:" |
| 1192 |
msgstr "" |
| 1193 |
"Voici certains des cas d'utilisation possibles de B<CLONE_INTO_CGROUP> :" |
| 1194 |
|
| 1195 |
#. type: Plain text |
| 1196 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1197 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1198 |
msgid "" |
| 1199 |
"Spawning a process into a cgroup different from the parent's cgroup makes it " |
| 1200 |
"possible for a service manager to directly spawn new services into dedicated " |
| 1201 |
"cgroups. This eliminates the accounting jitter that would be caused if the " |
| 1202 |
"child process was first created in the same cgroup as the parent and then " |
| 1203 |
"moved into the target cgroup. Furthermore, spawning the child process " |
| 1204 |
"directly into a target cgroup is significantly cheaper than moving the child " |
| 1205 |
"process into the target cgroup after it has been created." |
| 1206 |
msgstr "" |
| 1207 |
"Créer un processus dans un autre cgroup que celui du parent permet au " |
| 1208 |
"gestionnaire de service de placer directement de nouveaux services dans des " |
| 1209 |
"cgroup dédiés. Cela élimine les contraintes comptables qui existeraient si " |
| 1210 |
"le processus enfant était créé d'abord dans le même cgroup que le parent " |
| 1211 |
"puis déplacé dans un cgroup cible. De plus, la création d'un processus " |
| 1212 |
"enfant directement dans un cgroup cible coûte beaucoup moins cher que de " |
| 1213 |
"déplacer le processus enfant dans le cgroup cible après l'avoir créé." |
| 1214 |
|
| 1215 |
#. type: Plain text |
| 1216 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1217 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1218 |
msgid "" |
| 1219 |
"The B<CLONE_INTO_CGROUP> flag also allows the creation of frozen child " |
| 1220 |
"processes by spawning them into a frozen cgroup. (See B<cgroups>(7) for a " |
| 1221 |
"description of the freezer controller.)" |
| 1222 |
msgstr "" |
| 1223 |
"L'attribut B<CLONE_INTO_CGROUP> permet également la création de processus " |
| 1224 |
"enfants gelés en les créant dans un cgroup gelé (voir B<cgroups>(7) pour une " |
| 1225 |
"description des contrôleurs de gel)." |
| 1226 |
|
| 1227 |
#. type: Plain text |
| 1228 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1229 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1230 |
msgid "" |
| 1231 |
"For threaded applications (or even thread implementations which make use of " |
| 1232 |
"cgroups to limit individual threads), it is possible to establish a fixed " |
| 1233 |
"cgroup layout before spawning each thread directly into its target cgroup." |
| 1234 |
msgstr "" |
| 1235 |
"Pour les applications threadées (voire même les implémentations de thread " |
| 1236 |
"qui utilisent des cgroup pour limiter les threads individuels), il est " |
| 1237 |
"possible d'établir une couche de cgroup fixe avant de créer chaque thread " |
| 1238 |
"directement dans son cgroup cible." |
| 1239 |
|
| 1240 |
#. type: TP |
| 1241 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1242 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1243 |
#, no-wrap |
| 1244 |
msgid "B<CLONE_IO> (since Linux 2.6.25)" |
| 1245 |
msgstr "B<CLONE_IO> (depuis Linux 2.6.25)" |
| 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 |
"If B<CLONE_IO> is set, then the new process shares an I/O context with the " |
| 1252 |
"calling process. If this flag is not set, then (as with B<fork>(2)) the " |
| 1253 |
"new process has its own I/O context." |
| 1254 |
msgstr "" |
| 1255 |
"Si B<CLONE_IO> est défini, alors le nouveau processus partage un contexte " |
| 1256 |
"d'entrées-sorties avec le processus appelant. Si cet attribut n'est pas " |
| 1257 |
"défini, alors (comme pour B<fork>(2)) le nouveau processus a son propre " |
| 1258 |
"contexte d'entrées-sorties." |
| 1259 |
|
| 1260 |
#. The following based on text from Jens Axboe |
| 1261 |
#. the anticipatory and CFQ scheduler |
| 1262 |
#. with CFQ and AS. |
| 1263 |
#. type: Plain text |
| 1264 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1265 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1266 |
msgid "" |
| 1267 |
"The I/O context is the I/O scope of the disk scheduler (i.e., what the I/O " |
| 1268 |
"scheduler uses to model scheduling of a process's I/O). If processes share " |
| 1269 |
"the same I/O context, they are treated as one by the I/O scheduler. As a " |
| 1270 |
"consequence, they get to share disk time. For some I/O schedulers, if two " |
| 1271 |
"processes share an I/O context, they will be allowed to interleave their " |
| 1272 |
"disk access. If several threads are doing I/O on behalf of the same process " |
| 1273 |
"(B<aio_read>(3), for instance), they should employ B<CLONE_IO> to get better " |
| 1274 |
"I/O performance." |
| 1275 |
msgstr "" |
| 1276 |
"Le contexte d'entrées-sorties correspond à la visibilité que l'ordonnanceur " |
| 1277 |
"de disques a des entrées-sorties (c'est-à-dire, ce que l'ordonnanceur " |
| 1278 |
"d'entrées-sorties utilise pour modéliser l'ordonnancement des entrées-" |
| 1279 |
"sorties d'un processus). Si des processus partagent le même contexte " |
| 1280 |
"d'entrées-sorties, ils sont traités comme un seul par l'ordonnanceur " |
| 1281 |
"d'entrées-sorties. Par conséquent, ils partagent le même temps d'accès aux " |
| 1282 |
"disques. Pour certains ordonnanceurs d'entrées-sorties, si deux processus " |
| 1283 |
"partagent un contexte d'entrées-sorties, ils seront autorisés à intercaler " |
| 1284 |
"leurs accès disque. Si plusieurs threads utilisent des entrées-sorties pour " |
| 1285 |
"le même processus (B<aio_read>(3), par exemple), ils devraient utiliser " |
| 1286 |
"B<CLONE_IO> pour obtenir de meilleures performances d'entrées-sorties." |
| 1287 |
|
| 1288 |
#. type: Plain text |
| 1289 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1290 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1291 |
msgid "" |
| 1292 |
"If the kernel is not configured with the B<CONFIG_BLOCK> option, this flag " |
| 1293 |
"is a no-op." |
| 1294 |
msgstr "" |
| 1295 |
"Si le noyau n'a pas été configuré avec l'option B<CONFIG_BLOCK>, cet " |
| 1296 |
"attribut n'a aucun effet." |
| 1297 |
|
| 1298 |
#. type: TP |
| 1299 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1300 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1301 |
#, no-wrap |
| 1302 |
msgid "B<CLONE_NEWCGROUP> (since Linux 4.6)" |
| 1303 |
msgstr "B<CLONE_NEWCGROUP> (depuis Linux 4.6)" |
| 1304 |
|
| 1305 |
#. type: Plain text |
| 1306 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1307 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1308 |
msgid "" |
| 1309 |
"Create the process in a new cgroup namespace. If this flag is not set, then " |
| 1310 |
"(as with B<fork>(2)) the process is created in the same cgroup namespaces " |
| 1311 |
"as the calling process." |
| 1312 |
msgstr "" |
| 1313 |
"Créer le processus dans un nouvel espace de noms cgroup. Si cet attribut " |
| 1314 |
"n'est pas invoqué, alors (comme pour B<fork>(2)) le processus est créé dans " |
| 1315 |
"le même espace de noms cgroup que le processus appelant." |
| 1316 |
|
| 1317 |
#. type: Plain text |
| 1318 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1319 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1320 |
msgid "" |
| 1321 |
"For further information on cgroup namespaces, see B<cgroup_namespaces>(7)." |
| 1322 |
msgstr "" |
| 1323 |
"Pour plus d'informations sur les espaces de noms cgroup, consultez " |
| 1324 |
"B<cgroup_namespaces>(7)." |
| 1325 |
|
| 1326 |
#. type: Plain text |
| 1327 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1328 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1329 |
msgid "" |
| 1330 |
"Only a privileged process (B<CAP_SYS_ADMIN>) can employ B<CLONE_NEWCGROUP>." |
| 1331 |
msgstr "" |
| 1332 |
"Seul un processus disposant de privilèges (B<CAP_SYS_ADMIN>) peut utiliser " |
| 1333 |
"B<CLONE_NEWCGROUP>." |
| 1334 |
|
| 1335 |
#. type: TP |
| 1336 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1337 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1338 |
#, no-wrap |
| 1339 |
msgid "B<CLONE_NEWIPC> (since Linux 2.6.19)" |
| 1340 |
msgstr "B<CLONE_NEWIPC> (depuis Linux 2.6.19)" |
| 1341 |
|
| 1342 |
#. type: Plain text |
| 1343 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1344 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1345 |
msgid "" |
| 1346 |
"If B<CLONE_NEWIPC> is set, then create the process in a new IPC namespace. " |
| 1347 |
"If this flag is not set, then (as with B<fork>(2)), the process is created " |
| 1348 |
"in the same IPC namespace as the calling process." |
| 1349 |
msgstr "" |
| 1350 |
"Si B<CLONE_NEWIPC> est invoqué, alors le processus est créé dans un nouvel " |
| 1351 |
"espace de noms utilisateur IPC. Si cet attribut n'est pas invoqué, alors " |
| 1352 |
"(comme pour B<fork>(2)) le processus est créé dans le même espace de noms " |
| 1353 |
"utilisateur IPC que le processus appelant." |
| 1354 |
|
| 1355 |
#. type: Plain text |
| 1356 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1357 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1358 |
msgid "For further information on IPC namespaces, see B<ipc_namespaces>(7)." |
| 1359 |
msgstr "" |
| 1360 |
"Pour plus d'informations sur les espaces de noms IPC, reportez vous à " |
| 1361 |
"B<ipc_namespaces>(7)." |
| 1362 |
|
| 1363 |
#. type: Plain text |
| 1364 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1365 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1366 |
msgid "" |
| 1367 |
"Only a privileged process (B<CAP_SYS_ADMIN>) can employ B<CLONE_NEWIPC>. " |
| 1368 |
"This flag can't be specified in conjunction with B<CLONE_SYSVSEM>." |
| 1369 |
msgstr "" |
| 1370 |
"Seul un processus disposant de privilèges (B<CAP_SYS_ADMIN>) peut utiliser " |
| 1371 |
"B<CLONE_NEWIPC>. Cet attribut ne peut pas être employé en association avec " |
| 1372 |
"B<CLONE_SYSVSEM>." |
| 1373 |
|
| 1374 |
#. type: TP |
| 1375 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1376 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1377 |
#, no-wrap |
| 1378 |
msgid "B<CLONE_NEWNET> (since Linux 2.6.24)" |
| 1379 |
msgstr "B<CLONE_NEWNET> (depuis Linux 2.6.24)" |
| 1380 |
|
| 1381 |
#. type: Plain text |
| 1382 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1383 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1384 |
msgid "" |
| 1385 |
"(The implementation of this flag was completed only by about Linux 2.6.29.)" |
| 1386 |
msgstr "" |
| 1387 |
"(L'implémentation de cet attribut n'est complète que depuis Linux 2.6.29.)" |
| 1388 |
|
| 1389 |
#. type: Plain text |
| 1390 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1391 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1392 |
msgid "" |
| 1393 |
"If B<CLONE_NEWNET> is set, then create the process in a new network " |
| 1394 |
"namespace. If this flag is not set, then (as with B<fork>(2)) the process " |
| 1395 |
"is created in the same network namespace as the calling process." |
| 1396 |
msgstr "" |
| 1397 |
"Si B<CLONE_NEWNET> est invoqué, alors le processus est créé dans un nouvel " |
| 1398 |
"espace de noms réseau. Si cet attribut n'est pas invoqué, alors (comme pour " |
| 1399 |
"B<fork>(2)) le processus est créé dans le même espace de noms réseau que le " |
| 1400 |
"processus appelant." |
| 1401 |
|
| 1402 |
#. type: Plain text |
| 1403 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1404 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1405 |
msgid "" |
| 1406 |
"For further information on network namespaces, see B<network_namespaces>(7)." |
| 1407 |
msgstr "" |
| 1408 |
"Pour plus d'informations sur les espaces de noms réseau, reportez vous à " |
| 1409 |
"B<network_namespaces>(7)." |
| 1410 |
|
| 1411 |
#. type: Plain text |
| 1412 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1413 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1414 |
msgid "" |
| 1415 |
"Only a privileged process (B<CAP_SYS_ADMIN>) can employ B<CLONE_NEWNET>." |
| 1416 |
msgstr "" |
| 1417 |
"Seul un processus disposant de privilèges (B<CAP_SYS_ADMIN>) peut appeler " |
| 1418 |
"B<CLONE_NEWNET>." |
| 1419 |
|
| 1420 |
#. type: TP |
| 1421 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1422 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1423 |
#, no-wrap |
| 1424 |
msgid "B<CLONE_NEWNS> (since Linux 2.4.19)" |
| 1425 |
msgstr "B<CLONE_NEWNS> (depuis Linux 2.4.19)" |
| 1426 |
|
| 1427 |
#. type: Plain text |
| 1428 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1429 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1430 |
msgid "" |
| 1431 |
"If B<CLONE_NEWNS> is set, the cloned child is started in a new mount " |
| 1432 |
"namespace, initialized with a copy of the namespace of the parent. If " |
| 1433 |
"B<CLONE_NEWNS> is not set, the child lives in the same mount namespace as " |
| 1434 |
"the parent." |
| 1435 |
msgstr "" |
| 1436 |
"Si l'attribut B<CLONE_NEWNS> est invoqué, l'enfant cloné démarre dans un " |
| 1437 |
"nouvel espace de noms de montage, initialisé avec une copie de l'espace de " |
| 1438 |
"noms du parent. Si B<CLONE_NEWNS> n'est pas invoqué, alors l'enfant existe " |
| 1439 |
"dans le même espace de noms de montage que le parent." |
| 1440 |
|
| 1441 |
#. type: Plain text |
| 1442 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1443 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1444 |
msgid "" |
| 1445 |
"For further information on mount namespaces, see B<namespaces>(7) and " |
| 1446 |
"B<mount_namespaces>(7)." |
| 1447 |
msgstr "" |
| 1448 |
"Pour plus d'informations sur les espaces de noms de montage, consultez " |
| 1449 |
"B<namespaces>(7) et B<mount_namespaces>(7)." |
| 1450 |
|
| 1451 |
#. See https://lwn.net/Articles/543273/ |
| 1452 |
#. type: Plain text |
| 1453 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1454 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1455 |
msgid "" |
| 1456 |
"Only a privileged process (B<CAP_SYS_ADMIN>) can employ B<CLONE_NEWNS>. It " |
| 1457 |
"is not permitted to specify both B<CLONE_NEWNS> and B<CLONE_FS> in the same " |
| 1458 |
"clone call." |
| 1459 |
msgstr "" |
| 1460 |
"Seul un processus disposant de privilèges (B<CAP_SYS_ADMIN>) peut utiliser " |
| 1461 |
"l'attribut B<CLONE_NEWNS>. Il n'est pas possible de spécifier à la fois " |
| 1462 |
"B<CLONE_NEWNS> et B<CLONE_FS> pour le même appel clone." |
| 1463 |
|
| 1464 |
#. type: TP |
| 1465 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1466 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1467 |
#, no-wrap |
| 1468 |
msgid "B<CLONE_NEWPID> (since Linux 2.6.24)" |
| 1469 |
msgstr "B<CLONE_NEWPID> (depuis Linux 2.6.24)" |
| 1470 |
|
| 1471 |
#. This explanation draws a lot of details from |
| 1472 |
#. http://lwn.net/Articles/259217/ |
| 1473 |
#. Authors: Pavel Emelyanov <[email protected]> |
| 1474 |
#. and Kir Kolyshkin <[email protected]> |
| 1475 |
#. The primary kernel commit is 30e49c263e36341b60b735cbef5ca37912549264 |
| 1476 |
#. Author: Pavel Emelyanov <[email protected]> |
| 1477 |
#. type: Plain text |
| 1478 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1479 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1480 |
msgid "" |
| 1481 |
"If B<CLONE_NEWPID> is set, then create the process in a new PID namespace. " |
| 1482 |
"If this flag is not set, then (as with B<fork>(2)) the process is created " |
| 1483 |
"in the same PID namespace as the calling process." |
| 1484 |
msgstr "" |
| 1485 |
"Si B<CLONE_NEWPID> est invoqué, alors le processus est créé dans un nouvel " |
| 1486 |
"espace de noms PID. Si cet attribut n'est pas invoqué, alors (comme pour " |
| 1487 |
"B<fork>(2)) le processus est créé dans le même espace de noms PID que le " |
| 1488 |
"processus appelant." |
| 1489 |
|
| 1490 |
#. type: Plain text |
| 1491 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1492 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1493 |
msgid "" |
| 1494 |
"For further information on PID namespaces, see B<namespaces>(7) and " |
| 1495 |
"B<pid_namespaces>(7)." |
| 1496 |
msgstr "" |
| 1497 |
"Pour plus d'informations sur les espaces de noms PID, consultez " |
| 1498 |
"B<namespaces>(7) et B<pid_namespaces>(7)." |
| 1499 |
|
| 1500 |
#. type: Plain text |
| 1501 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1502 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1503 |
msgid "" |
| 1504 |
"Only a privileged process (B<CAP_SYS_ADMIN>) can employ B<CLONE_NEWPID>. " |
| 1505 |
"This flag can't be specified in conjunction with B<CLONE_THREAD>." |
| 1506 |
msgstr "" |
| 1507 |
"Seul un processus disposant de privilèges (B<CAP_SYS_ADMIN>) peut utiliser " |
| 1508 |
"B<CLONE_NEWPID>. Cet attribut ne peut pas être employé en association avec " |
| 1509 |
"B<CLONE_THREAD>." |
| 1510 |
|
| 1511 |
#. type: TP |
| 1512 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1513 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1514 |
#, no-wrap |
| 1515 |
msgid "B<CLONE_NEWUSER>" |
| 1516 |
msgstr "B<CLONE_NEWUSER>" |
| 1517 |
|
| 1518 |
#. type: Plain text |
| 1519 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1520 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1521 |
msgid "" |
| 1522 |
"(This flag first became meaningful for B<clone>() in Linux 2.6.23, the " |
| 1523 |
"current B<clone>() semantics were merged in Linux 3.5, and the final pieces " |
| 1524 |
"to make the user namespaces completely usable were merged in Linux 3.8.)" |
| 1525 |
msgstr "" |
| 1526 |
"(Cet attribut est apparu dans B<clone>() pour la première fois dans " |
| 1527 |
"Linux 2.6.23, les sémantiques actuelles de B<clone>() ont été ajoutées dans " |
| 1528 |
"Linux 3.5, et les derniers modules rendant les espaces de noms utilisateur " |
| 1529 |
"complètement opérationnels sont apparus dans Linux 3.8.)" |
| 1530 |
|
| 1531 |
#. type: Plain text |
| 1532 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1533 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1534 |
msgid "" |
| 1535 |
"If B<CLONE_NEWUSER> is set, then create the process in a new user " |
| 1536 |
"namespace. If this flag is not set, then (as with B<fork>(2)) the process " |
| 1537 |
"is created in the same user namespace as the calling process." |
| 1538 |
msgstr "" |
| 1539 |
"Si B<CLONE_NEWUSER> est invoqué, alors le processus est créé dans un nouvel " |
| 1540 |
"espace de noms utilisateur. Si cet attribut n'est pas invoqué, alors (comme " |
| 1541 |
"pour B<fork>(2)) le processus est créé dans le même espace de noms " |
| 1542 |
"utilisateur que le processus appelant." |
| 1543 |
|
| 1544 |
#. type: Plain text |
| 1545 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1546 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1547 |
msgid "" |
| 1548 |
"For further information on user namespaces, see B<namespaces>(7) and " |
| 1549 |
"B<user_namespaces>(7)." |
| 1550 |
msgstr "" |
| 1551 |
"Pour plus d'informations sur les espaces de noms utilisateur, consultez " |
| 1552 |
"B<namespaces>(7) et B<user_namespaces>(7)." |
| 1553 |
|
| 1554 |
#. Before Linux 2.6.29, it appears that only CAP_SYS_ADMIN was needed |
| 1555 |
#. type: Plain text |
| 1556 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1557 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1558 |
msgid "" |
| 1559 |
"Before Linux 3.8, use of B<CLONE_NEWUSER> required that the caller have " |
| 1560 |
"three capabilities: B<CAP_SYS_ADMIN>, B<CAP_SETUID>, and B<CAP_SETGID>. " |
| 1561 |
"Starting with Linux 3.8, no privileges are needed to create a user namespace." |
| 1562 |
msgstr "" |
| 1563 |
"Avant Linux 3.8, les processus appelant devaient disposer de trois capacités " |
| 1564 |
"pour utiliser B<CLONE_NEWUSER> : B<CAP_SYS_ADMIN>, B<CAP_SETUID> et " |
| 1565 |
"B<CAP_SETGID>. À partir de Linux 3.8, il n'est plus nécessaire de disposer " |
| 1566 |
"de privilèges pour créer des espaces de noms utilisateur." |
| 1567 |
|
| 1568 |
#. #-#-#-#-# archlinux: clone.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 1569 |
#. commit e66eded8309ebf679d3d3c1f5820d1f2ca332c71 |
| 1570 |
#. https://lwn.net/Articles/543273/ |
| 1571 |
#. The fix actually went into Linux 3.9 and into Linux 3.8.3. |
| 1572 |
#. However, user namespaces were, for practical purposes, |
| 1573 |
#. unusable in earlier Linux 3.8.x because of the various filesystems |
| 1574 |
#. that didn't support userns. |
| 1575 |
#. type: Plain text |
| 1576 |
#. #-#-#-#-# debian-trixie: clone.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 1577 |
#. commit e66eded8309ebf679d3d3c1f5820d1f2ca332c71 |
| 1578 |
#. https://lwn.net/Articles/543273/ |
| 1579 |
#. The fix actually went into Linux 3.9 and into Linux 3.8.3. However, user namespaces |
| 1580 |
#. were, for practical purposes, unusable in earlier Linux 3.8.x because of the |
| 1581 |
#. various filesystems that didn't support userns. |
| 1582 |
#. type: Plain text |
| 1583 |
#. #-#-#-#-# debian-unstable: clone.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 1584 |
#. commit e66eded8309ebf679d3d3c1f5820d1f2ca332c71 |
| 1585 |
#. https://lwn.net/Articles/543273/ |
| 1586 |
#. The fix actually went into Linux 3.9 and into Linux 3.8.3. |
| 1587 |
#. However, user namespaces were, for practical purposes, |
| 1588 |
#. unusable in earlier Linux 3.8.x because of the various filesystems |
| 1589 |
#. that didn't support userns. |
| 1590 |
#. type: Plain text |
| 1591 |
#. #-#-#-#-# fedora-44: clone.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 1592 |
#. commit e66eded8309ebf679d3d3c1f5820d1f2ca332c71 |
| 1593 |
#. https://lwn.net/Articles/543273/ |
| 1594 |
#. The fix actually went into Linux 3.9 and into Linux 3.8.3. However, user namespaces |
| 1595 |
#. were, for practical purposes, unusable in earlier Linux 3.8.x because of the |
| 1596 |
#. various filesystems that didn't support userns. |
| 1597 |
#. type: Plain text |
| 1598 |
#. #-#-#-#-# fedora-rawhide: clone.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 1599 |
#. commit e66eded8309ebf679d3d3c1f5820d1f2ca332c71 |
| 1600 |
#. https://lwn.net/Articles/543273/ |
| 1601 |
#. The fix actually went into Linux 3.9 and into Linux 3.8.3. However, user namespaces |
| 1602 |
#. were, for practical purposes, unusable in earlier Linux 3.8.x because of the |
| 1603 |
#. various filesystems that didn't support userns. |
| 1604 |
#. type: Plain text |
| 1605 |
#. #-#-#-#-# mageia-cauldron: clone.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 1606 |
#. commit e66eded8309ebf679d3d3c1f5820d1f2ca332c71 |
| 1607 |
#. https://lwn.net/Articles/543273/ |
| 1608 |
#. The fix actually went into Linux 3.9 and into Linux 3.8.3. |
| 1609 |
#. However, user namespaces were, for practical purposes, |
| 1610 |
#. unusable in earlier Linux 3.8.x because of the various filesystems |
| 1611 |
#. that didn't support userns. |
| 1612 |
#. type: Plain text |
| 1613 |
#. #-#-#-#-# opensuse-leap-16-1: clone.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 1614 |
#. commit e66eded8309ebf679d3d3c1f5820d1f2ca332c71 |
| 1615 |
#. https://lwn.net/Articles/543273/ |
| 1616 |
#. The fix actually went into Linux 3.9 and into Linux 3.8.3. |
| 1617 |
#. However, user namespaces were, for practical purposes, |
| 1618 |
#. unusable in earlier Linux 3.8.x because of the various filesystems |
| 1619 |
#. that didn't support userns. |
| 1620 |
#. type: Plain text |
| 1621 |
#. #-#-#-#-# opensuse-tumbleweed: clone.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 1622 |
#. commit e66eded8309ebf679d3d3c1f5820d1f2ca332c71 |
| 1623 |
#. https://lwn.net/Articles/543273/ |
| 1624 |
#. The fix actually went into Linux 3.9 and into Linux 3.8.3. |
| 1625 |
#. However, user namespaces were, for practical purposes, |
| 1626 |
#. unusable in earlier Linux 3.8.x because of the various filesystems |
| 1627 |
#. that didn't support userns. |
| 1628 |
#. type: Plain text |
| 1629 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1630 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1631 |
msgid "" |
| 1632 |
"This flag can't be specified in conjunction with B<CLONE_THREAD> or " |
| 1633 |
"B<CLONE_PARENT>. For security reasons, B<CLONE_NEWUSER> cannot be specified " |
| 1634 |
"in conjunction with B<CLONE_FS>." |
| 1635 |
msgstr "" |
| 1636 |
"Cet attribut ne peut pas être utilisé en association avec B<CLONE_THREAD> ou " |
| 1637 |
"avec B<CLONE_PARENT>. Pour des raisons de sécurité, B<CLONE_NEWUSER> ne peut " |
| 1638 |
"pas être utilisé en association avec B<CLONE_FS>." |
| 1639 |
|
| 1640 |
#. type: TP |
| 1641 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1642 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1643 |
#, no-wrap |
| 1644 |
msgid "B<CLONE_NEWUTS> (since Linux 2.6.19)" |
| 1645 |
msgstr "B<CLONE_NEWUTS> (depuis Linux 2.6.19)" |
| 1646 |
|
| 1647 |
#. type: Plain text |
| 1648 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1649 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1650 |
msgid "" |
| 1651 |
"If B<CLONE_NEWUTS> is set, then create the process in a new UTS namespace, " |
| 1652 |
"whose identifiers are initialized by duplicating the identifiers from the " |
| 1653 |
"UTS namespace of the calling process. If this flag is not set, then (as " |
| 1654 |
"with B<fork>(2)) the process is created in the same UTS namespace as the " |
| 1655 |
"calling process." |
| 1656 |
msgstr "" |
| 1657 |
"Si B<CLONE_NEWUTS> est défini, créez le processus dans un nouvel espace de " |
| 1658 |
"noms UTS, dont les identifiants sont initialisés en dupliquant les " |
| 1659 |
"identifiants de l'espace de noms UTS du processus appelant. Si cet attribut " |
| 1660 |
"n'est pas défini, alors (comme pour B<fork>(2)) le processus est créé dans " |
| 1661 |
"le même espace de noms UTS que le processus appelant." |
| 1662 |
|
| 1663 |
#. type: Plain text |
| 1664 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1665 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1666 |
msgid "For further information on UTS namespaces, see B<uts_namespaces>(7)." |
| 1667 |
msgstr "" |
| 1668 |
"Pour obtenir plus d'informations sur les espaces de noms UTS, consultez " |
| 1669 |
"B<namespaces>(7)." |
| 1670 |
|
| 1671 |
#. type: Plain text |
| 1672 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1673 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1674 |
msgid "" |
| 1675 |
"Only a privileged process (B<CAP_SYS_ADMIN>) can employ B<CLONE_NEWUTS>." |
| 1676 |
msgstr "" |
| 1677 |
"Seul un processus disposant de privilèges (B<CAP_SYS_ADMIN>) peut utiliser " |
| 1678 |
"B<CLONE_NEWUTS>." |
| 1679 |
|
| 1680 |
#. type: TP |
| 1681 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1682 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1683 |
#, no-wrap |
| 1684 |
msgid "B<CLONE_PARENT> (since Linux 2.3.12)" |
| 1685 |
msgstr "B<CLONE_PARENT> (depuis Linux 2.3.12)" |
| 1686 |
|
| 1687 |
#. type: Plain text |
| 1688 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1689 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1690 |
msgid "" |
| 1691 |
"If B<CLONE_PARENT> is set, then the parent of the new child (as returned by " |
| 1692 |
"B<getppid>(2)) will be the same as that of the calling process." |
| 1693 |
msgstr "" |
| 1694 |
"Si B<CLONE_PARENT> est présent, le parent du nouvel enfant (comme il est " |
| 1695 |
"indiqué par B<getppid>(2)) sera le même que celui du processus appelant." |
| 1696 |
|
| 1697 |
#. type: Plain text |
| 1698 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1699 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1700 |
msgid "" |
| 1701 |
"If B<CLONE_PARENT> is not set, then (as with B<fork>(2)) the child's parent " |
| 1702 |
"is the calling process." |
| 1703 |
msgstr "" |
| 1704 |
"Si B<CLONE_PARENT> n'est pas fourni, alors (comme pour B<fork>(2)) le parent " |
| 1705 |
"du processus enfant sera le processus appelant." |
| 1706 |
|
| 1707 |
#. type: Plain text |
| 1708 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1709 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1710 |
msgid "" |
| 1711 |
"Note that it is the parent process, as returned by B<getppid>(2), which is " |
| 1712 |
"signaled when the child terminates, so that if B<CLONE_PARENT> is set, then " |
| 1713 |
"the parent of the calling process, rather than the calling process itself, " |
| 1714 |
"is signaled." |
| 1715 |
msgstr "" |
| 1716 |
"Remarquez que c'est le processus parent, tel qu'indiqué par B<getppid>(2), " |
| 1717 |
"qui est notifié lors de la fin de l'enfant. Ainsi, si B<CLONE_PARENT> est " |
| 1718 |
"présent, alors c'est le parent du processus appelant, et non ce dernier, qui " |
| 1719 |
"sera notifié." |
| 1720 |
|
| 1721 |
#. type: Plain text |
| 1722 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1723 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1724 |
msgid "" |
| 1725 |
"The B<CLONE_PARENT> flag can't be used in clone calls by the global init " |
| 1726 |
"process (PID 1 in the initial PID namespace) and init processes in other " |
| 1727 |
"PID namespaces. This restriction prevents the creation of multi-rooted " |
| 1728 |
"process trees as well as the creation of unreapable zombies in the initial " |
| 1729 |
"PID namespace." |
| 1730 |
msgstr "" |
| 1731 |
"L'attribut B<CLONE_PARENT> ne peut pas être utilisé dans des appels clone " |
| 1732 |
"par le processus d'initialisation global (PID B<1> dans l'espace de noms PID " |
| 1733 |
"initial) et par les processus initiaux dans les autres espaces de noms PID. " |
| 1734 |
"Cette restriction empêche la création d'arbres de processus à plusieurs " |
| 1735 |
"racines ou de zombies non récupérables dans l'espace de noms PID initial." |
| 1736 |
|
| 1737 |
#. type: TP |
| 1738 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1739 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1740 |
#, no-wrap |
| 1741 |
msgid "B<CLONE_PARENT_SETTID> (since Linux 2.5.49)" |
| 1742 |
msgstr "B<CLONE_PARENT_SETTID> (depuis Linux 2.5.49)" |
| 1743 |
|
| 1744 |
#. type: Plain text |
| 1745 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1746 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1747 |
msgid "" |
| 1748 |
"Store the child thread ID at the location pointed to by I<parent_tid> " |
| 1749 |
"(B<clone>()) or I<cl_args.parent_tid> (B<clone3>()) in the parent's " |
| 1750 |
"memory. (In Linux 2.5.32-2.5.48 there was a flag B<CLONE_SETTID> that did " |
| 1751 |
"this.) The store operation completes before the clone call returns control " |
| 1752 |
"to user space." |
| 1753 |
msgstr "" |
| 1754 |
"Enregistrer l'ID du thread enfant à l'endroit vers lequel pointe " |
| 1755 |
"I<parent_tid> (B<clone>()) ou I<cl_args.parent_tid> (B<clone3>()) dans la " |
| 1756 |
"mémoire du parent (dans Linux 2.5.32-2.5.48 il y a un attribut " |
| 1757 |
"B<CLONE_SETTID> qui fait cela). L'opération d'enregistrement s'achève avant " |
| 1758 |
"que l'opération clone ne donne le contrôle à l'espace utilisateur." |
| 1759 |
|
| 1760 |
#. type: TP |
| 1761 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1762 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1763 |
#, no-wrap |
| 1764 |
msgid "B<CLONE_PID> (Linux 2.0 to Linux 2.5.15)" |
| 1765 |
msgstr "B<CLONE_PID> (de Linux 2.0 à Linux 2.5.15)" |
| 1766 |
|
| 1767 |
#. type: Plain text |
| 1768 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1769 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1770 |
msgid "" |
| 1771 |
"If B<CLONE_PID> is set, the child process is created with the same process " |
| 1772 |
"ID as the calling process. This is good for hacking the system, but " |
| 1773 |
"otherwise of not much use. From Linux 2.3.21 onward, this flag could be " |
| 1774 |
"specified only by the system boot process (PID 0). The flag disappeared " |
| 1775 |
"completely from the kernel sources in Linux 2.5.16. Subsequently, the " |
| 1776 |
"kernel silently ignored this bit if it was specified in the I<flags> mask. " |
| 1777 |
"Much later, the same bit was recycled for use as the B<CLONE_PIDFD> flag." |
| 1778 |
msgstr "" |
| 1779 |
"Si l'attribut B<CLONE_PID> est positionné, les processus appelant et enfant " |
| 1780 |
"ont le même numéro de processus. C'est bien pour bidouiller le système, mais " |
| 1781 |
"autrement il n'est plus utilisé. Depuis Linux 2.3.21, cet attribut ne peut " |
| 1782 |
"être utilisé que par le processus de démarrage du système (PID 0). Il a " |
| 1783 |
"disparu dans Linux 2.5.16. Si bien que le noyau ignorait silencieusement le " |
| 1784 |
"bit s'il était indiqué dans le masque I<flags>. Bien plus tard, le même bit " |
| 1785 |
"a été recyclé pour être utilisé comme attribut de B<CLONE_PIDFD>." |
| 1786 |
|
| 1787 |
#. type: TP |
| 1788 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1789 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1790 |
#, no-wrap |
| 1791 |
msgid "B<CLONE_PIDFD> (since Linux 5.2)" |
| 1792 |
msgstr "B<CLONE_PIDFD> (depuis Linux 5.2)" |
| 1793 |
|
| 1794 |
#. commit b3e5838252665ee4cfa76b82bdf1198dca81e5be |
| 1795 |
#. type: Plain text |
| 1796 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1797 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1798 |
msgid "" |
| 1799 |
"If this flag is specified, a PID file descriptor referring to the child " |
| 1800 |
"process is allocated and placed at a specified location in the parent's " |
| 1801 |
"memory. The close-on-exec flag is set on this new file descriptor. PID " |
| 1802 |
"file descriptors can be used for the purposes described in B<pidfd_open>(2)." |
| 1803 |
msgstr "" |
| 1804 |
"Si cet attribut est indiqué, un descripteur de fichier PID renvoyant au " |
| 1805 |
"processus enfant est alloué et placé à un endroit donné dans la mémoire du " |
| 1806 |
"parent. L'attribut close-on-exec est positionné sur ce nouveau descripteur " |
| 1807 |
"de fichier. Les descripteurs de fichier PID peuvent être utilisés pour des " |
| 1808 |
"objectifs décrits dans B<pidfd_open>(2)." |
| 1809 |
|
| 1810 |
#. type: Plain text |
| 1811 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1812 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1813 |
msgid "" |
| 1814 |
"When using B<clone3>(), the PID file descriptor is placed at the location " |
| 1815 |
"pointed to by I<cl_args.pidfd>." |
| 1816 |
msgstr "" |
| 1817 |
"Quand on utilise B<clone3>(), le descripteur de fichier PID est placé à un " |
| 1818 |
"endroit vers lequel pointe I<cl_args.pidfd>." |
| 1819 |
|
| 1820 |
#. type: Plain text |
| 1821 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1822 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1823 |
msgid "" |
| 1824 |
"When using B<clone>(), the PID file descriptor is placed at the location " |
| 1825 |
"pointed to by I<parent_tid>. Since the I<parent_tid> argument is used to " |
| 1826 |
"return the PID file descriptor, B<CLONE_PIDFD> cannot be used with " |
| 1827 |
"B<CLONE_PARENT_SETTID> when calling B<clone>()." |
| 1828 |
msgstr "" |
| 1829 |
"Quand on utilise B<clone>(), le descripteur de fichier PID est placé à un " |
| 1830 |
"endroit vers lequel pointe I<parent_tid>. Comme le paramètre I<parent_tid> " |
| 1831 |
"est utilisé pour renvoyer le descripteur de fichier PID, B<CLONE_PIDFD> ne " |
| 1832 |
"peut pas être utilisé avec B<CLONE_PARENT_SETTID> lors d'un appel B<clone>()." |
| 1833 |
|
| 1834 |
#. commit 83b290c9e3b5d95891f43a4aeadf6071cbff25d3 |
| 1835 |
#. type: Plain text |
| 1836 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 1837 |
#: opensuse-tumbleweed |
| 1838 |
msgid "" |
| 1839 |
"If B<CLONE_PIDFD> is specified together with B<CLONE_THREAD>, the obtained " |
| 1840 |
"PID file descriptor refers to a specific thread, as opposed to a thread-" |
| 1841 |
"group leader if B<CLONE_THREAD> is not specified. This feature is available " |
| 1842 |
"since Linux 6.9." |
| 1843 |
msgstr "" |
| 1844 |
|
| 1845 |
#. type: Plain text |
| 1846 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1847 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1848 |
msgid "" |
| 1849 |
"If the obsolete B<CLONE_DETACHED> flag is specified alongside B<CLONE_PIDFD> " |
| 1850 |
"when calling B<clone>(), an error is returned. An error also results if " |
| 1851 |
"B<CLONE_DETACHED> is specified when calling B<clone3>(). This error " |
| 1852 |
"behavior ensures that the bit corresponding to B<CLONE_DETACHED> can be " |
| 1853 |
"reused for further PID file descriptor features in the future." |
| 1854 |
msgstr "" |
| 1855 |
"Si l'attribut obsolète B<CLONE_DETACHED> est indiqué avec B<CLONE_PIDFD> " |
| 1856 |
"lors d'un appel à B<clone>(), une erreur est renvoyée. Une erreur se produit " |
| 1857 |
"aussi si B<CLONE_DETACHED> est spécifié lors d'un appel à B<clone3>(). Ce " |
| 1858 |
"comportement garantit que le bit qui correspond à B<CLONE_DETACHED> pourra " |
| 1859 |
"être utilisé à l'avenir pour des fonctionnalités supplémentaires du " |
| 1860 |
"descripteur de fichier PID." |
| 1861 |
|
| 1862 |
#. type: TP |
| 1863 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1864 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1865 |
#, no-wrap |
| 1866 |
msgid "B<CLONE_PTRACE> (since Linux 2.2)" |
| 1867 |
msgstr "B<CLONE_PTRACE> (depuis Linux 2.2)" |
| 1868 |
|
| 1869 |
#. type: Plain text |
| 1870 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1871 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1872 |
msgid "" |
| 1873 |
"If B<CLONE_PTRACE> is specified, and the calling process is being traced, " |
| 1874 |
"then trace the child also (see B<ptrace>(2))." |
| 1875 |
msgstr "" |
| 1876 |
"Si l'attribut B<CLONE_PTRACE> est positionné et si l'appelant est suivi par " |
| 1877 |
"un débogueur, alors l'enfant sera également suivi (consultez B<ptrace>(2))." |
| 1878 |
|
| 1879 |
#. type: TP |
| 1880 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1881 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1882 |
#, no-wrap |
| 1883 |
msgid "B<CLONE_SETTLS> (since Linux 2.5.32)" |
| 1884 |
msgstr "B<CLONE_SETTLS> (depuis Linux 2.5.32)" |
| 1885 |
|
| 1886 |
#. type: Plain text |
| 1887 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1888 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1889 |
msgid "The TLS (Thread Local Storage) descriptor is set to I<tls>." |
| 1890 |
msgstr "Le descripteur TLS (Thread Local Storage) est positionné sur I<tls>." |
| 1891 |
|
| 1892 |
#. type: Plain text |
| 1893 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1894 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1895 |
#, fuzzy |
| 1896 |
#| msgid "" |
| 1897 |
#| "The interpretation of I<tls> and the resulting effect is architecture " |
| 1898 |
#| "dependent. On x86, I<tls> is interpreted as a I<struct user_desc\\ *> " |
| 1899 |
#| "(see B<set_thread_area>(2)). On x86-64 it is the new value to be set for " |
| 1900 |
#| "the %fs base register (see the B<ARCH_SET_FS> argument to " |
| 1901 |
#| "B<arch_prctl>(2)). On architectures with a dedicated TLS register, it is " |
| 1902 |
#| "the new value of that register." |
| 1903 |
msgid "" |
| 1904 |
"The interpretation of I<tls> and the resulting effect is architecture " |
| 1905 |
"dependent. On x86, I<tls> is interpreted as a I<struct user_desc\\ *> (see " |
| 1906 |
"B<set_thread_area>(2)). On x86-64 it is the new value to be set for the %fs " |
| 1907 |
"base register (see the B<ARCH_SET_FS> argument to B<arch_prctl>(2)). On " |
| 1908 |
"architectures with a dedicated TLS register, it is the new value of that " |
| 1909 |
"register." |
| 1910 |
msgstr "" |
| 1911 |
"L'interprétation de I<tls> et les effets qui en découlent dépendent de " |
| 1912 |
"l'architecture. Sur x86, I<tls> est interprété comme une I<struct " |
| 1913 |
"user_desc\\ *> (voir B<set_thread_area>(2)). Sur x86-64, il s'agit de la " |
| 1914 |
"nouvelle valeur à positionner pour le registre de base %fs (voir le " |
| 1915 |
"paramètre B<ARCH_SET_FS> de B<arch_prctl>(2)). Sur les architectures ayant " |
| 1916 |
"un registre TLS dédié, il s'agit de la nouvelle valeur de ce registre." |
| 1917 |
|
| 1918 |
#. type: Plain text |
| 1919 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1920 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1921 |
msgid "" |
| 1922 |
"Use of this flag requires detailed knowledge and generally it should not be " |
| 1923 |
"used except in libraries implementing threading." |
| 1924 |
msgstr "" |
| 1925 |
"L'utilisation de cet attribut exige une connaissance détaillée et n'est " |
| 1926 |
"généralement pas souhaitable, sauf dans l'implémentation de bibliothèques de " |
| 1927 |
"gestion des threads." |
| 1928 |
|
| 1929 |
#. type: TP |
| 1930 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1931 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1932 |
#, no-wrap |
| 1933 |
msgid "B<CLONE_SIGHAND> (since Linux 2.0)" |
| 1934 |
msgstr "B<CLONE_SIGHAND> (depuis Linux 2.0)" |
| 1935 |
|
| 1936 |
#. type: Plain text |
| 1937 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1938 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1939 |
msgid "" |
| 1940 |
"If B<CLONE_SIGHAND> is set, the calling process and the child process share " |
| 1941 |
"the same table of signal handlers. If the calling process or child process " |
| 1942 |
"calls B<sigaction>(2) to change the behavior associated with a signal, the " |
| 1943 |
"behavior is changed in the other process as well. However, the calling " |
| 1944 |
"process and child processes still have distinct signal masks and sets of " |
| 1945 |
"pending signals. So, one of them may block or unblock signals using " |
| 1946 |
"B<sigprocmask>(2) without affecting the other process." |
| 1947 |
msgstr "" |
| 1948 |
"Si l'attribut B<CLONE_SIGHAND> est positionné, le processus appelant et le " |
| 1949 |
"processus enfant partagent la même table de gestionnaires de signaux. Si " |
| 1950 |
"l'appelant, ou l'enfant, appelle B<sigaction>(2) pour modifier le " |
| 1951 |
"comportement associé à un signal, ce comportement est également changé pour " |
| 1952 |
"l'autre processus. Néanmoins, l'appelant et l'enfant ont toujours des " |
| 1953 |
"masques de signaux distincts, et leurs ensembles de signaux bloqués sont " |
| 1954 |
"indépendants. L'un des processus peut donc bloquer ou débloquer un signal en " |
| 1955 |
"utilisant B<sigprocmask>(2) sans affecter l'autre processus." |
| 1956 |
|
| 1957 |
#. type: Plain text |
| 1958 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1959 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1960 |
msgid "" |
| 1961 |
"If B<CLONE_SIGHAND> is not set, the child process inherits a copy of the " |
| 1962 |
"signal handlers of the calling process at the time of the clone call. Calls " |
| 1963 |
"to B<sigaction>(2) performed later by one of the processes have no effect " |
| 1964 |
"on the other process." |
| 1965 |
msgstr "" |
| 1966 |
"Si B<CLONE_SIGHAND> n'est pas utilisé, le processus enfant hérite d'une " |
| 1967 |
"copie des gestionnaires de signaux de l'appelant lors de l'invocation de " |
| 1968 |
"B<clone>(). Les appels à B<sigaction>(2) effectués ensuite depuis l'un des " |
| 1969 |
"processus n'ont pas d'effets sur l'autre processus." |
| 1970 |
|
| 1971 |
#. Precisely: Linux 2.6.0-test6 |
| 1972 |
#. type: Plain text |
| 1973 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1974 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1975 |
msgid "" |
| 1976 |
"Since Linux 2.6.0, the I<flags> mask must also include B<CLONE_VM> if " |
| 1977 |
"B<CLONE_SIGHAND> is specified." |
| 1978 |
msgstr "" |
| 1979 |
"Depuis Linux 2.6.0, le masque I<flags> doit aussi inclure B<CLONE_VM> si " |
| 1980 |
"B<CLONE_SIGHAND> est spécifié" |
| 1981 |
|
| 1982 |
#. type: TP |
| 1983 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1984 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1985 |
#, no-wrap |
| 1986 |
msgid "B<CLONE_STOPPED> (since Linux 2.6.0)" |
| 1987 |
msgstr "B<CLONE_STOPPED> (depuis Linux 2.6.0)" |
| 1988 |
|
| 1989 |
#. Precisely: Linux 2.6.0-test2 |
| 1990 |
#. type: Plain text |
| 1991 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1992 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1993 |
msgid "" |
| 1994 |
"If B<CLONE_STOPPED> is set, then the child is initially stopped (as though " |
| 1995 |
"it was sent a B<SIGSTOP> signal), and must be resumed by sending it a " |
| 1996 |
"B<SIGCONT> signal." |
| 1997 |
msgstr "" |
| 1998 |
"Si l'attribut B<CLONE_STOPPED> est positionné, l'enfant est initialement " |
| 1999 |
"stoppé (comme s'il avait reçu le signal B<SIGSTOP>), et doit être relancé en " |
| 2000 |
"lui envoyant le signal B<SIGCONT>." |
| 2001 |
|
| 2002 |
#. glibc 2.8 removed this defn from bits/sched.h |
| 2003 |
#. type: Plain text |
| 2004 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2005 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2006 |
msgid "" |
| 2007 |
"This flag was I<deprecated> from Linux 2.6.25 onward, and was I<removed> " |
| 2008 |
"altogether in Linux 2.6.38. Since then, the kernel silently ignores it " |
| 2009 |
"without error. Starting with Linux 4.6, the same bit was reused for the " |
| 2010 |
"B<CLONE_NEWCGROUP> flag." |
| 2011 |
msgstr "" |
| 2012 |
"Cet attribut a été rendu I<obsolète> par Linux 2.6.25, puis il a été " |
| 2013 |
"I<supprimé> dans Linux 2.6.38. Depuis lors, le noyau l'ignore " |
| 2014 |
"silencieusement sans erreur. À partir de Linux 4.6, le même bit a été " |
| 2015 |
"réutilisé comme attribut de B<CLONE_NEWCGROUP>." |
| 2016 |
|
| 2017 |
#. type: TP |
| 2018 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2019 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2020 |
#, no-wrap |
| 2021 |
msgid "B<CLONE_SYSVSEM> (since Linux 2.5.10)" |
| 2022 |
msgstr "B<CLONE_SYSVSEM> (depuis Linux 2.5.10)" |
| 2023 |
|
| 2024 |
#. type: Plain text |
| 2025 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2026 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2027 |
msgid "" |
| 2028 |
"If B<CLONE_SYSVSEM> is set, then the child and the calling process share a " |
| 2029 |
"single list of System V semaphore adjustment (I<semadj>) values (see " |
| 2030 |
"B<semop>(2)). In this case, the shared list accumulates I<semadj> values " |
| 2031 |
"across all processes sharing the list, and semaphore adjustments are " |
| 2032 |
"performed only when the last process that is sharing the list terminates (or " |
| 2033 |
"ceases sharing the list using B<unshare>(2)). If this flag is not set, then " |
| 2034 |
"the child has a separate I<semadj> list that is initially empty." |
| 2035 |
msgstr "" |
| 2036 |
"Si B<CLONE_SYSVSEM> est positionné, l'enfant et le processus appelant " |
| 2037 |
"partagent une même liste de valeurs d’ajustement de sémaphores System V " |
| 2038 |
"(consultez B<semop>(2)). Dans ce cas, cette liste regroupe toutes les " |
| 2039 |
"valeurs I<semadj> des processus partageant cette liste, et les modifications " |
| 2040 |
"des sémaphores sont effectuées seulement lorsque le dernier processus de la " |
| 2041 |
"liste se termine (ou cesse de partager la liste en invoquant B<unshare>(2)). " |
| 2042 |
"Si cet attribut n'est pas utilisé, l'enfant a une liste I<semadj> séparée, " |
| 2043 |
"initialement vide." |
| 2044 |
|
| 2045 |
#. type: TP |
| 2046 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2047 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2048 |
#, no-wrap |
| 2049 |
msgid "B<CLONE_THREAD> (since Linux 2.4.0)" |
| 2050 |
msgstr "B<CLONE_THREAD> (depuis Linux 2.4.0)" |
| 2051 |
|
| 2052 |
#. Precisely: Linux 2.6.0-test8 |
| 2053 |
#. type: Plain text |
| 2054 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2055 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2056 |
msgid "" |
| 2057 |
"If B<CLONE_THREAD> is set, the child is placed in the same thread group as " |
| 2058 |
"the calling process. To make the remainder of the discussion of " |
| 2059 |
"B<CLONE_THREAD> more readable, the term \"thread\" is used to refer to the " |
| 2060 |
"processes within a thread group." |
| 2061 |
msgstr "" |
| 2062 |
"Si B<CLONE_THREAD> est présent, l'enfant est placé dans le même groupe de " |
| 2063 |
"threads que le processus appelant. Afin de rendre l'explication de " |
| 2064 |
"B<CLONE_THREAD> plus lisible, le terme «\\ thread\\ » est utilisé pour " |
| 2065 |
"parler des processus dans un même groupe de threads." |
| 2066 |
|
| 2067 |
#. type: Plain text |
| 2068 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2069 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2070 |
msgid "" |
| 2071 |
"Thread groups were a feature added in Linux 2.4 to support the POSIX threads " |
| 2072 |
"notion of a set of threads that share a single PID. Internally, this shared " |
| 2073 |
"PID is the so-called thread group identifier (TGID) for the thread group. " |
| 2074 |
"Since Linux 2.4, calls to B<getpid>(2) return the TGID of the caller." |
| 2075 |
msgstr "" |
| 2076 |
"Les groupes de threads sont une fonctionnalité ajoutée dans Linux 2.4 pour " |
| 2077 |
"gérer la notion POSIX d'ensemble de threads partageant un même PID. En " |
| 2078 |
"interne, ce PID partagé est appelé identifiant de groupe de threads (TGID). " |
| 2079 |
"Depuis Linux 2.4, l'appel B<getpid>(2) renvoie l'identifiant du groupe de " |
| 2080 |
"threads de l'appelant." |
| 2081 |
|
| 2082 |
#. type: Plain text |
| 2083 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2084 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2085 |
msgid "" |
| 2086 |
"The threads within a group can be distinguished by their (system-wide) " |
| 2087 |
"unique thread IDs (TID). A new thread's TID is available as the function " |
| 2088 |
"result returned to the caller, and a thread can obtain its own TID using " |
| 2089 |
"B<gettid>(2)." |
| 2090 |
msgstr "" |
| 2091 |
"Les threads dans un groupe peuvent être distingués par leur identifiant de " |
| 2092 |
"thread (TID, unique sur le système). Le TID d'un nouveau thread est " |
| 2093 |
"disponible sous la forme du résultat d'une fonction renvoyé à l'appelant et " |
| 2094 |
"un thread peut obtenir son propre TID en utilisant B<gettid>(2)." |
| 2095 |
|
| 2096 |
#. type: Plain text |
| 2097 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2098 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2099 |
msgid "" |
| 2100 |
"When a clone call is made without specifying B<CLONE_THREAD>, then the " |
| 2101 |
"resulting thread is placed in a new thread group whose TGID is the same as " |
| 2102 |
"the thread's TID. This thread is the I<leader> of the new thread group." |
| 2103 |
msgstr "" |
| 2104 |
"Quand clone est appelé sans positionner B<CLONE_THREAD>, le nouveau thread " |
| 2105 |
"est placé dans un nouveau groupe de threads dont le TGID est identique au " |
| 2106 |
"TID du nouveau thread. Ce thread est le I<leader> du nouveau groupe." |
| 2107 |
|
| 2108 |
#. type: Plain text |
| 2109 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2110 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2111 |
msgid "" |
| 2112 |
"A new thread created with B<CLONE_THREAD> has the same parent process as the " |
| 2113 |
"process that made the clone call (i.e., like B<CLONE_PARENT>), so that calls " |
| 2114 |
"to B<getppid>(2) return the same value for all of the threads in a thread " |
| 2115 |
"group. When a B<CLONE_THREAD> thread terminates, the thread that created it " |
| 2116 |
"is not sent a B<SIGCHLD> (or other termination) signal; nor can the status " |
| 2117 |
"of such a thread be obtained using B<wait>(2). (The thread is said to be " |
| 2118 |
"I<detached>.)" |
| 2119 |
msgstr "" |
| 2120 |
"Un nouveau thread créé en utilisant B<CLONE_THREAD> a le même processus " |
| 2121 |
"parent que le processus réalisant l'appel clone (de même qu'avec " |
| 2122 |
"B<CLONE_PARENT>), ainsi les appels à B<getppid>(2) renvoient la même valeur " |
| 2123 |
"à tous les threads dans un même groupe. Lorsqu'un thread créé avec " |
| 2124 |
"B<CLONE_THREAD> termine, le thread qui l’a créé ne reçoit pas le signal " |
| 2125 |
"B<SIGCHLD> (ou autre notification de terminaison)\\ ; de même, l'état d'un " |
| 2126 |
"tel thread ne peut pas être obtenu par B<wait>(2). Le thread est dit " |
| 2127 |
"I<détaché>." |
| 2128 |
|
| 2129 |
#. type: Plain text |
| 2130 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2131 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2132 |
msgid "" |
| 2133 |
"After all of the threads in a thread group terminate the parent process of " |
| 2134 |
"the thread group is sent a B<SIGCHLD> (or other termination) signal." |
| 2135 |
msgstr "" |
| 2136 |
"Lorsque tous les threads d'un groupe de threads terminent, le processus " |
| 2137 |
"parent du groupe reçoit un signal B<SIGCHLD> (ou un autre indicateur de " |
| 2138 |
"terminaison)." |
| 2139 |
|
| 2140 |
#. type: Plain text |
| 2141 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2142 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2143 |
msgid "" |
| 2144 |
"If any of the threads in a thread group performs an B<execve>(2), then all " |
| 2145 |
"threads other than the thread group leader are terminated, and the new " |
| 2146 |
"program is executed in the thread group leader." |
| 2147 |
msgstr "" |
| 2148 |
"Si l'un des threads dans un groupe de threads appelle B<execve>(2), tous les " |
| 2149 |
"threads sauf le leader sont tués, et le nouveau programme est exécuté dans " |
| 2150 |
"le leader du groupe de threads." |
| 2151 |
|
| 2152 |
#. type: Plain text |
| 2153 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2154 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2155 |
msgid "" |
| 2156 |
"If one of the threads in a thread group creates a child using B<fork>(2), " |
| 2157 |
"then any thread in the group can B<wait>(2) for that child." |
| 2158 |
msgstr "" |
| 2159 |
"Si l'un des threads dans un groupe crée un enfant avec B<fork>(2), n'importe " |
| 2160 |
"lequel des threads du groupe peut utiliser B<wait>(2) sur cet enfant." |
| 2161 |
|
| 2162 |
#. Precisely: Linux 2.6.0-test6 |
| 2163 |
#. type: Plain text |
| 2164 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2165 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2166 |
msgid "" |
| 2167 |
"Since Linux 2.5.35, the I<flags> mask must also include B<CLONE_SIGHAND> if " |
| 2168 |
"B<CLONE_THREAD> is specified (and note that, since Linux 2.6.0, " |
| 2169 |
"B<CLONE_SIGHAND> also requires B<CLONE_VM> to be included)." |
| 2170 |
msgstr "" |
| 2171 |
"Depuis Linux 2.5.35, le masque I<flags> doit aussi inclure B<CLONE_SIGHAND> " |
| 2172 |
"si B<CLONE_THREAD> est spécifié (et remarquez que depuis Linux 2.6.0, " |
| 2173 |
"B<CLONE_SIGHAND> a également besoin de B<CLONE_VM>)." |
| 2174 |
|
| 2175 |
#. type: Plain text |
| 2176 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2177 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2178 |
msgid "" |
| 2179 |
"Signal dispositions and actions are process-wide: if an unhandled signal is " |
| 2180 |
"delivered to a thread, then it will affect (terminate, stop, continue, be " |
| 2181 |
"ignored in) all members of the thread group." |
| 2182 |
msgstr "" |
| 2183 |
"Les gestions de signaux sont définies au niveau des processus\\ : si un " |
| 2184 |
"signal sans gestionnaire est reçu par un thread, il affectera (tuera, " |
| 2185 |
"stoppera, relancera, ou sera ignoré par) tous les membres du groupe de " |
| 2186 |
"threads." |
| 2187 |
|
| 2188 |
#. type: Plain text |
| 2189 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2190 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2191 |
msgid "Each thread has its own signal mask, as set by B<sigprocmask>(2)." |
| 2192 |
msgstr "" |
| 2193 |
"Chaque thread a son propre masque de signal, tel que défini par " |
| 2194 |
"B<sigprocmask>(2)." |
| 2195 |
|
| 2196 |
#. type: Plain text |
| 2197 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2198 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2199 |
msgid "" |
| 2200 |
"A signal may be process-directed or thread-directed. A process-directed " |
| 2201 |
"signal is targeted at a thread group (i.e., a TGID), and is delivered to an " |
| 2202 |
"arbitrarily selected thread from among those that are not blocking the " |
| 2203 |
"signal. A signal may be process-directed because it was generated by the " |
| 2204 |
"kernel for reasons other than a hardware exception, or because it was sent " |
| 2205 |
"using B<kill>(2) or B<sigqueue>(3). A thread-directed signal is targeted " |
| 2206 |
"at (i.e., delivered to) a specific thread. A signal may be thread directed " |
| 2207 |
"because it was sent using B<tgkill>(2) or B<pthread_sigqueue>(3), or " |
| 2208 |
"because the thread executed a machine language instruction that triggered a " |
| 2209 |
"hardware exception (e.g., invalid memory access triggering B<SIGSEGV> or a " |
| 2210 |
"floating-point exception triggering B<SIGFPE>)." |
| 2211 |
msgstr "" |
| 2212 |
"Un signal peut être adressé à un processus ou à un thread. S'il s'adresse à " |
| 2213 |
"un processus, il cible un groupe de threads (c'est-à-dire un TGID), et il " |
| 2214 |
"est envoyé à un thread choisi arbitrairement parmi ceux ne bloquant pas les " |
| 2215 |
"signaux. Un signal peut s'adresser à un processus car il est généré par le " |
| 2216 |
"noyau pour d'autres raisons qu'une exception matérielle, ou parce qu'il a " |
| 2217 |
"été envoyé en utilisant B<kill>(2) ou B<sigqueue>(3). Si un signal s'adresse " |
| 2218 |
"à un thread, il cible (donc est envoyé) à un thread spécifique. Un signal " |
| 2219 |
"peut s'adresser à un thread du fait d'un envoi par B<tgkill>(2) ou " |
| 2220 |
"B<pthread_sigqueue>(3), ou parce que le thread a exécuté une instruction en " |
| 2221 |
"langage machine qui a provoqué une exception matérielle (comme un accès non " |
| 2222 |
"valable en mémoire, provoquant B<SIGSEGV>, ou une exception de virgule " |
| 2223 |
"flottante provoquant un B<SIGFPE>)." |
| 2224 |
|
| 2225 |
#. type: Plain text |
| 2226 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2227 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2228 |
msgid "" |
| 2229 |
"A call to B<sigpending>(2) returns a signal set that is the union of the " |
| 2230 |
"pending process-directed signals and the signals that are pending for the " |
| 2231 |
"calling thread." |
| 2232 |
msgstr "" |
| 2233 |
"Un appel à B<sigpending>(2) renvoie un jeu de signaux qui réunit les signaux " |
| 2234 |
"en attente adressés au processus et ceux en attente pour le thread appelant." |
| 2235 |
|
| 2236 |
#. type: Plain text |
| 2237 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2238 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2239 |
msgid "" |
| 2240 |
"If a process-directed signal is delivered to a thread group, and the thread " |
| 2241 |
"group has installed a handler for the signal, then the handler is invoked in " |
| 2242 |
"exactly one, arbitrarily selected member of the thread group that has not " |
| 2243 |
"blocked the signal. If multiple threads in a group are waiting to accept " |
| 2244 |
"the same signal using B<sigwaitinfo>(2), the kernel will arbitrarily select " |
| 2245 |
"one of these threads to receive the signal." |
| 2246 |
msgstr "" |
| 2247 |
"Si un signal adressé à un processus est envoyé à un groupe de threads, et si " |
| 2248 |
"le groupe a installé un gestionnaire pour ce signal, alors le gestionnaire " |
| 2249 |
"sera exécuté exactement dans un des membres du groupe de threads, choisi de " |
| 2250 |
"façon arbitraire parmi ceux qui n'ont pas bloqué ce signal. Si plusieurs " |
| 2251 |
"threads dans un groupe attendent le même signal en utilisant " |
| 2252 |
"B<sigwaitinfo>(2), le noyau choisira arbitrairement l'un d'entre eux pour " |
| 2253 |
"recevoir le signal." |
| 2254 |
|
| 2255 |
#. type: TP |
| 2256 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2257 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2258 |
#, no-wrap |
| 2259 |
msgid "B<CLONE_UNTRACED> (since Linux 2.5.46)" |
| 2260 |
msgstr "B<CLONE_UNTRACED> (depuis Linux 2.5.46)" |
| 2261 |
|
| 2262 |
#. type: Plain text |
| 2263 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2264 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2265 |
msgid "" |
| 2266 |
"If B<CLONE_UNTRACED> is specified, then a tracing process cannot force " |
| 2267 |
"B<CLONE_PTRACE> on this child process." |
| 2268 |
msgstr "" |
| 2269 |
"Si l'attribut B<CLONE_UNTRACED> est positionné, alors un processus traçant " |
| 2270 |
"le parent ne peut pas forcer B<CLONE_PTRACE> pour cet enfant." |
| 2271 |
|
| 2272 |
#. type: TP |
| 2273 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2274 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2275 |
#, no-wrap |
| 2276 |
msgid "B<CLONE_VFORK> (since Linux 2.2)" |
| 2277 |
msgstr "B<CLONE_VFORK> (depuis Linux 2.2)" |
| 2278 |
|
| 2279 |
#. type: Plain text |
| 2280 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2281 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2282 |
msgid "" |
| 2283 |
"If B<CLONE_VFORK> is set, the execution of the calling process is suspended " |
| 2284 |
"until the child releases its virtual memory resources via a call to " |
| 2285 |
"B<execve>(2) or B<_exit>(2) (as with B<vfork>(2))." |
| 2286 |
msgstr "" |
| 2287 |
"Si le bit B<CLONE_VFORK> est actif, l'exécution du processus appelant est " |
| 2288 |
"suspendue jusqu'à ce que l'enfant libère ses ressources de mémoire virtuelle " |
| 2289 |
"par un appel B<execve>(2) ou B<_exit>(2) (comme avec B<vfork>(2))." |
| 2290 |
|
| 2291 |
#. type: Plain text |
| 2292 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2293 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2294 |
msgid "" |
| 2295 |
"If B<CLONE_VFORK> is not set, then both the calling process and the child " |
| 2296 |
"are schedulable after the call, and an application should not rely on " |
| 2297 |
"execution occurring in any particular order." |
| 2298 |
msgstr "" |
| 2299 |
"Si B<CLONE_VFORK> n'est pas indiqué, alors les deux processus sont " |
| 2300 |
"ordonnancés à partir de la fin de l'appel, et l'application ne devrait pas " |
| 2301 |
"considérer que l'ordre d'exécution est déterminé dans un ordre particulier." |
| 2302 |
|
| 2303 |
#. type: TP |
| 2304 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2305 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2306 |
#, no-wrap |
| 2307 |
msgid "B<CLONE_VM> (since Linux 2.0)" |
| 2308 |
msgstr "B<CLONE_VM> (depuis Linux 2.0)" |
| 2309 |
|
| 2310 |
#. type: Plain text |
| 2311 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2312 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2313 |
msgid "" |
| 2314 |
"If B<CLONE_VM> is set, the calling process and the child process run in the " |
| 2315 |
"same memory space. In particular, memory writes performed by the calling " |
| 2316 |
"process or by the child process are also visible in the other process. " |
| 2317 |
"Moreover, any memory mapping or unmapping performed with B<mmap>(2) or " |
| 2318 |
"B<munmap>(2) by the child or calling process also affects the other process." |
| 2319 |
msgstr "" |
| 2320 |
"Si le bit B<CLONE_VM> est actif, le processus appelant et le processus " |
| 2321 |
"enfant s'exécutent dans le même espace mémoire. En particulier, les " |
| 2322 |
"écritures en mémoire effectuées par l'un des processus sont visibles par " |
| 2323 |
"l'autre. De même toute projection en mémoire, ou toute suppression de " |
| 2324 |
"projection, effectuée avec B<mmap>(2) ou B<munmap>(2) par l'un des processus " |
| 2325 |
"affectera également l'autre processus." |
| 2326 |
|
| 2327 |
#. type: Plain text |
| 2328 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2329 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2330 |
msgid "" |
| 2331 |
"If B<CLONE_VM> is not set, the child process runs in a separate copy of the " |
| 2332 |
"memory space of the calling process at the time of the clone call. Memory " |
| 2333 |
"writes or file mappings/unmappings performed by one of the processes do not " |
| 2334 |
"affect the other, as with B<fork>(2)." |
| 2335 |
msgstr "" |
| 2336 |
"Si B<CLONE_VM> n'est pas actif, le processus enfant utilisera une copie " |
| 2337 |
"distincte de l'espace mémoire de l'appelant au moment de l'appel clone. Les " |
| 2338 |
"écritures ou les associations/désassociations de fichiers en mémoire " |
| 2339 |
"effectuées par un processus n'affectent pas l'autre processus, comme cela se " |
| 2340 |
"passe avec B<fork>(2)." |
| 2341 |
|
| 2342 |
#. type: Plain text |
| 2343 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2344 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2345 |
msgid "" |
| 2346 |
"If the B<CLONE_VM> flag is specified and the B<CLONE_VFORK> flag is not " |
| 2347 |
"specified, then any alternate signal stack that was established by " |
| 2348 |
"B<sigaltstack>(2) is cleared in the child process." |
| 2349 |
msgstr "" |
| 2350 |
"Si l'attribut B<CLONE_VM> est indiqué et si l'attribut B<CLONE_VFORK> ne " |
| 2351 |
"l'est pas, toute autre pile de signal mise en place par B<sigaltstack>(2) " |
| 2352 |
"sera vidée dans le processus enfant." |
| 2353 |
|
| 2354 |
#. type: SH |
| 2355 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2356 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2357 |
#, no-wrap |
| 2358 |
msgid "RETURN VALUE" |
| 2359 |
msgstr "VALEUR RENVOYÉE" |
| 2360 |
|
| 2361 |
#. gettid(2) returns current->pid; |
| 2362 |
#. getpid(2) returns current->tgid; |
| 2363 |
#. type: Plain text |
| 2364 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2365 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2366 |
msgid "" |
| 2367 |
"On success, the thread ID of the child process is returned in the caller's " |
| 2368 |
"thread of execution. On failure, -1 is returned in the caller's context, no " |
| 2369 |
"child process is created, and I<errno> is set to indicate the error." |
| 2370 |
msgstr "" |
| 2371 |
"En cas de réussite, le TID du processus enfant est renvoyé dans le thread " |
| 2372 |
"d'exécution de l'appelant. En cas d'échec, B<-1> est renvoyé dans le " |
| 2373 |
"contexte de l'appelant, aucun enfant n'est créé, et I<errno> sera positionné " |
| 2374 |
"pour indiquer l'erreur." |
| 2375 |
|
| 2376 |
#. type: SH |
| 2377 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2378 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2379 |
#, no-wrap |
| 2380 |
msgid "ERRORS" |
| 2381 |
msgstr "ERREURS" |
| 2382 |
|
| 2383 |
#. type: TP |
| 2384 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 2385 |
#: opensuse-tumbleweed |
| 2386 |
#, no-wrap |
| 2387 |
msgid "B<E2BIG> (B<clone3>() only)" |
| 2388 |
msgstr "B<E2BIG> (B<clone3>() seulement)" |
| 2389 |
|
| 2390 |
#. type: Plain text |
| 2391 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 2392 |
#: opensuse-tumbleweed |
| 2393 |
msgid "" |
| 2394 |
"The kernel does not support some functionality requested in this " |
| 2395 |
"B<clone3>() call: The size argument is larger than what the kernel " |
| 2396 |
"supports, and there are non-zero values in the struct after the kernel-" |
| 2397 |
"supported size." |
| 2398 |
msgstr "" |
| 2399 |
|
| 2400 |
#. type: Plain text |
| 2401 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 2402 |
#: opensuse-tumbleweed |
| 2403 |
msgid "The size argument is larger than the page size." |
| 2404 |
msgstr "Le paramètre de taille est supérieur à la taille de la page." |
| 2405 |
|
| 2406 |
#. type: TP |
| 2407 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2408 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2409 |
#, no-wrap |
| 2410 |
msgid "B<EACCES> (B<clone3>() only)" |
| 2411 |
msgstr "B<EACCES> (B<clone3>() seulement)" |
| 2412 |
|
| 2413 |
#. type: Plain text |
| 2414 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2415 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2416 |
msgid "" |
| 2417 |
"B<CLONE_INTO_CGROUP> was specified in I<cl_args.flags>, but the restrictions " |
| 2418 |
"(described in B<cgroups>(7)) on placing the child process into the version " |
| 2419 |
"2 cgroup referred to by I<cl_args.cgroup> are not met." |
| 2420 |
msgstr "" |
| 2421 |
"B<CLONE_INTO_CGROUP> était indiqué dans I<cl_args.flags>, mais les " |
| 2422 |
"restrictions à la mise en place d'un processus enfant dans un " |
| 2423 |
"cgroup version 2 auquel se rapporte I<cl_args.cgroup> (décrites dans " |
| 2424 |
"B<cgroups>(7)) ne sont pas respectées." |
| 2425 |
|
| 2426 |
#. type: TP |
| 2427 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2428 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2429 |
#, no-wrap |
| 2430 |
msgid "B<EAGAIN>" |
| 2431 |
msgstr "B<EAGAIN>" |
| 2432 |
|
| 2433 |
#. type: Plain text |
| 2434 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2435 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2436 |
msgid "Too many processes are already running; see B<fork>(2)." |
| 2437 |
msgstr "Trop de processus en cours d'exécution. Consultez B<fork>(2)." |
| 2438 |
|
| 2439 |
#. type: TP |
| 2440 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2441 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2442 |
#, no-wrap |
| 2443 |
msgid "B<EBUSY> (B<clone3>() only)" |
| 2444 |
msgstr "B<EBUSY> (B<clone3>() seulement)" |
| 2445 |
|
| 2446 |
#. type: Plain text |
| 2447 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2448 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2449 |
msgid "" |
| 2450 |
"B<CLONE_INTO_CGROUP> was specified in I<cl_args.flags>, but the file " |
| 2451 |
"descriptor specified in I<cl_args.cgroup> refers to a version 2 cgroup in " |
| 2452 |
"which a domain controller is enabled." |
| 2453 |
msgstr "" |
| 2454 |
"B<CLONE_INTO_CGROUP> était indiqué dans I<cl_args.flags>, mais le " |
| 2455 |
"descripteur de fichier indiqué dans I<cl_args.cgroup> se rapporte à un " |
| 2456 |
"cgroup version 2 où un contrôleur de domaine est activé." |
| 2457 |
|
| 2458 |
#. type: TP |
| 2459 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2460 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2461 |
#, no-wrap |
| 2462 |
msgid "B<EEXIST> (B<clone3>() only)" |
| 2463 |
msgstr "B<EEXIST> (B<clone3>() seulement)" |
| 2464 |
|
| 2465 |
#. type: Plain text |
| 2466 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2467 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2468 |
msgid "" |
| 2469 |
"One (or more) of the PIDs specified in I<set_tid> already exists in the " |
| 2470 |
"corresponding PID namespace." |
| 2471 |
msgstr "" |
| 2472 |
"Un (ou plusieurs) PID indiqué dans le I<set_tid> existe déjà dans l'espace " |
| 2473 |
"de noms PID correspondant." |
| 2474 |
|
| 2475 |
#. type: TP |
| 2476 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2477 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2478 |
#, no-wrap |
| 2479 |
msgid "B<EINVAL>" |
| 2480 |
msgstr "B<EINVAL>" |
| 2481 |
|
| 2482 |
#. type: Plain text |
| 2483 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2484 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2485 |
msgid "" |
| 2486 |
"Both B<CLONE_SIGHAND> and B<CLONE_CLEAR_SIGHAND> were specified in the " |
| 2487 |
"I<flags> mask." |
| 2488 |
msgstr "" |
| 2489 |
"Tant B<CLONE_SIGHAND> que B<CLONE_CLEAR_SIGHAND> ont été indiqués dans le " |
| 2490 |
"masque I<flags>." |
| 2491 |
|
| 2492 |
#. Precisely: Linux 2.6.0-test6 |
| 2493 |
#. type: Plain text |
| 2494 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2495 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2496 |
msgid "" |
| 2497 |
"B<CLONE_SIGHAND> was specified in the I<flags> mask, but B<CLONE_VM> was " |
| 2498 |
"not. (Since Linux 2.6.0.)" |
| 2499 |
msgstr "" |
| 2500 |
"B<CLONE_SIGHAND> a été spécifié dans le masque I<flags>, mais pas " |
| 2501 |
"B<CLONE_VM> (depuis Linux 2.6.0)." |
| 2502 |
|
| 2503 |
#. .TP |
| 2504 |
#. .B EINVAL |
| 2505 |
#. Precisely one of |
| 2506 |
#. .B CLONE_DETACHED |
| 2507 |
#. and |
| 2508 |
#. .B CLONE_THREAD |
| 2509 |
#. was specified. |
| 2510 |
#. (Since Linux 2.6.0-test6.) |
| 2511 |
#. type: Plain text |
| 2512 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2513 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2514 |
msgid "" |
| 2515 |
"B<CLONE_THREAD> was specified in the I<flags> mask, but B<CLONE_SIGHAND> was " |
| 2516 |
"not. (Since Linux 2.5.35.)" |
| 2517 |
msgstr "" |
| 2518 |
"B<CLONE_THREAD> a été spécifié dans le masque I<flags>, mais pas " |
| 2519 |
"B<CLONE_SIGHAND> (depuis Linux 2.5.35)." |
| 2520 |
|
| 2521 |
#. type: Plain text |
| 2522 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2523 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2524 |
msgid "" |
| 2525 |
"B<CLONE_THREAD> was specified in the I<flags> mask, but the current process " |
| 2526 |
"previously called B<unshare>(2) with the B<CLONE_NEWPID> flag or used " |
| 2527 |
"B<setns>(2) to reassociate itself with a PID namespace." |
| 2528 |
msgstr "" |
| 2529 |
"B<CLONE_THREAD> a été indiqué dans le masque I<flags> mais le processus " |
| 2530 |
"actuel avait appelé B<unshare>(2) avec l'attribut B<CLONE_NEWPID> ou il " |
| 2531 |
"utilisait B<setns>(2) pour se réassocier à l'espace de noms PID." |
| 2532 |
|
| 2533 |
#. commit e66eded8309ebf679d3d3c1f5820d1f2ca332c71 |
| 2534 |
#. type: Plain text |
| 2535 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2536 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2537 |
msgid "" |
| 2538 |
"Both B<CLONE_FS> and B<CLONE_NEWNS> were specified in the I<flags> mask." |
| 2539 |
msgstr "" |
| 2540 |
"Tant B<CLONE_FS> que B<CLONE_NEWNS> ont été indiqués dans le masque I<flags>." |
| 2541 |
|
| 2542 |
#. type: TP |
| 2543 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2544 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2545 |
#, no-wrap |
| 2546 |
msgid "B<EINVAL> (since Linux 3.9)" |
| 2547 |
msgstr "B<EINVAL> (depuis Linux 3.9)" |
| 2548 |
|
| 2549 |
#. type: Plain text |
| 2550 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2551 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2552 |
msgid "" |
| 2553 |
"Both B<CLONE_NEWUSER> and B<CLONE_FS> were specified in the I<flags> mask." |
| 2554 |
msgstr "" |
| 2555 |
"Tant B<CLONE_NEWUSER> que B<CLONE_FS> ont été indiqués dans le masque " |
| 2556 |
"I<flags>." |
| 2557 |
|
| 2558 |
#. type: Plain text |
| 2559 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2560 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2561 |
msgid "" |
| 2562 |
"Both B<CLONE_NEWIPC> and B<CLONE_SYSVSEM> were specified in the I<flags> " |
| 2563 |
"mask." |
| 2564 |
msgstr "" |
| 2565 |
"Tant B<CLONE_NEWIPC> que B<CLONE_SYSVSEM> ont été indiqués dans le masque " |
| 2566 |
"I<flags>." |
| 2567 |
|
| 2568 |
#. type: Plain text |
| 2569 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2570 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2571 |
msgid "" |
| 2572 |
"B<CLONE_NEWPID> and one (or both) of B<CLONE_THREAD> or B<CLONE_PARENT> were " |
| 2573 |
"specified in the I<flags> mask." |
| 2574 |
msgstr "" |
| 2575 |
"B<CLONE_NEWPID> et B<CLONE_THREAD> ou B<CLONE_PARENT>, seuls ou ensemble,ont " |
| 2576 |
"été indiqués dans le masque I<flags>." |
| 2577 |
|
| 2578 |
#. type: Plain text |
| 2579 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2580 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2581 |
msgid "" |
| 2582 |
"B<CLONE_NEWUSER> and B<CLONE_THREAD> were specified in the I<flags> mask." |
| 2583 |
msgstr "" |
| 2584 |
"B<CLONE_NEWUSER> et B<CLONE_THREAD> ont été indiqués dans le masque I<flags>." |
| 2585 |
|
| 2586 |
#. type: TP |
| 2587 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2588 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2589 |
#, no-wrap |
| 2590 |
msgid "B<EINVAL> (since Linux 2.6.32)" |
| 2591 |
msgstr "B<EINVAL> (depuis Linux 2.6.32)" |
| 2592 |
|
| 2593 |
#. commit 123be07b0b399670a7cc3d82fef0cb4f93ef885c |
| 2594 |
#. type: Plain text |
| 2595 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2596 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2597 |
msgid "B<CLONE_PARENT> was specified, and the caller is an init process." |
| 2598 |
msgstr "" |
| 2599 |
"B<CLONE_PARENT> a été spécifié et l'appelant est un processus " |
| 2600 |
"d'initialisation." |
| 2601 |
|
| 2602 |
#. type: Plain text |
| 2603 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2604 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2605 |
msgid "" |
| 2606 |
"Returned by the glibc B<clone>() wrapper function when I<fn> or I<stack> is " |
| 2607 |
"specified as NULL." |
| 2608 |
msgstr "" |
| 2609 |
"Renvoyée par l'enveloppe glibc de B<clone>() quand I<fn> ou I<stack> valent " |
| 2610 |
"NULL." |
| 2611 |
|
| 2612 |
#. type: Plain text |
| 2613 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2614 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2615 |
msgid "" |
| 2616 |
"B<CLONE_NEWIPC> was specified in the I<flags> mask, but the kernel was not " |
| 2617 |
"configured with the B<CONFIG_SYSVIPC> and B<CONFIG_IPC_NS> options." |
| 2618 |
msgstr "" |
| 2619 |
"B<CLONE_NEWIPC> a été spécifié dans le masque I<flags>, mais le noyau n'a " |
| 2620 |
"pas été configuré avec les options B<CONFIG_SYSVIPC> et B<CONFIG_IPC_NS>." |
| 2621 |
|
| 2622 |
#. type: Plain text |
| 2623 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2624 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2625 |
msgid "" |
| 2626 |
"B<CLONE_NEWNET> was specified in the I<flags> mask, but the kernel was not " |
| 2627 |
"configured with the B<CONFIG_NET_NS> option." |
| 2628 |
msgstr "" |
| 2629 |
"B<CLONE_NEWNET> a été spécifié dans le masque I<flags>, mais le noyau n'a " |
| 2630 |
"pas été configuré avec l'option B<CONFIG_NET_NS>." |
| 2631 |
|
| 2632 |
#. type: Plain text |
| 2633 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2634 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2635 |
msgid "" |
| 2636 |
"B<CLONE_NEWPID> was specified in the I<flags> mask, but the kernel was not " |
| 2637 |
"configured with the B<CONFIG_PID_NS> option." |
| 2638 |
msgstr "" |
| 2639 |
"B<CLONE_NEWPID> a été spécifié dans le masque I<flags>, mais le noyau n'a " |
| 2640 |
"pas été configuré avec l'option B<CONFIG_PID_NS>." |
| 2641 |
|
| 2642 |
#. type: Plain text |
| 2643 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2644 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2645 |
msgid "" |
| 2646 |
"B<CLONE_NEWUSER> was specified in the I<flags> mask, but the kernel was not " |
| 2647 |
"configured with the B<CONFIG_USER_NS> option." |
| 2648 |
msgstr "" |
| 2649 |
"B<CLONE_NEWUSER> a été spécifié dans le masque I<flags>, mais le noyau n'a " |
| 2650 |
"pas été configuré avec l'option B<CONFIG_USER_NS>." |
| 2651 |
|
| 2652 |
#. type: Plain text |
| 2653 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2654 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2655 |
msgid "" |
| 2656 |
"B<CLONE_NEWUTS> was specified in the I<flags> mask, but the kernel was not " |
| 2657 |
"configured with the B<CONFIG_UTS_NS> option." |
| 2658 |
msgstr "" |
| 2659 |
"B<CLONE_NEWUTS> a été spécifié dans le masque I<flags>, mais le noyau n'a " |
| 2660 |
"pas été configuré avec l'option B<CONFIG_UTS_NS>." |
| 2661 |
|
| 2662 |
#. type: Plain text |
| 2663 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2664 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2665 |
msgid "" |
| 2666 |
"I<stack> is not aligned to a suitable boundary for this architecture. For " |
| 2667 |
"example, on aarch64, I<stack> must be a multiple of 16." |
| 2668 |
msgstr "" |
| 2669 |
"I<stack> n'est pas alignée sur une limite adaptée à cette architecture. Par " |
| 2670 |
"exemple, sur aarch64, I<stack> doit être un multiple de 16." |
| 2671 |
|
| 2672 |
#. type: TP |
| 2673 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2674 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2675 |
#, no-wrap |
| 2676 |
msgid "B<EINVAL> (B<clone3>() only)" |
| 2677 |
msgstr "B<EINVAL> (B<clone3>() seulement)" |
| 2678 |
|
| 2679 |
#. type: Plain text |
| 2680 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2681 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2682 |
msgid "B<CLONE_DETACHED> was specified in the I<flags> mask." |
| 2683 |
msgstr "B<CLONE_DETACHED> a été spécifié dans le masque I<flags>." |
| 2684 |
|
| 2685 |
#. type: TP |
| 2686 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2687 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2688 |
#, no-wrap |
| 2689 |
msgid "B<EINVAL> (B<clone>() only)" |
| 2690 |
msgstr "B<EINVAL> (B<clone>() seulement)" |
| 2691 |
|
| 2692 |
#. type: Plain text |
| 2693 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2694 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2695 |
msgid "" |
| 2696 |
"B<CLONE_PIDFD> was specified together with B<CLONE_DETACHED> in the I<flags> " |
| 2697 |
"mask." |
| 2698 |
msgstr "" |
| 2699 |
"B<CLONE_PIDFD> a été indiqué avec B<CLONE_DETACHED> dans le masque I<flags>." |
| 2700 |
|
| 2701 |
#. type: TP |
| 2702 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 2703 |
#: opensuse-tumbleweed |
| 2704 |
#, no-wrap |
| 2705 |
msgid "B<EINVAL> (before Linux 6.9)" |
| 2706 |
msgstr "B<EINVAL> (depuis Linux 6.9)" |
| 2707 |
|
| 2708 |
#. type: Plain text |
| 2709 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2710 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2711 |
msgid "" |
| 2712 |
"B<CLONE_PIDFD> was specified together with B<CLONE_THREAD> in the I<flags> " |
| 2713 |
"mask." |
| 2714 |
msgstr "" |
| 2715 |
"B<CLONE_PIDFD> a été indiqué avec B<CLONE_THREAD> dans le masque I<flags>." |
| 2716 |
|
| 2717 |
#. type: TP |
| 2718 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2719 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2720 |
#, no-wrap |
| 2721 |
msgid "B<EINVAL >(B<clone>() only)" |
| 2722 |
msgstr "B<EINVAL >(B<clone>() seulement)" |
| 2723 |
|
| 2724 |
#. type: Plain text |
| 2725 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2726 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2727 |
msgid "" |
| 2728 |
"B<CLONE_PIDFD> was specified together with B<CLONE_PARENT_SETTID> in the " |
| 2729 |
"I<flags> mask." |
| 2730 |
msgstr "" |
| 2731 |
"B<CLONE_PIDFD> a été indiqué avec B<CLONE_PARENT_SETTID> dans le masque " |
| 2732 |
"I<flags>." |
| 2733 |
|
| 2734 |
#. type: Plain text |
| 2735 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2736 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2737 |
msgid "I<set_tid_size> is greater than the number of nested PID namespaces." |
| 2738 |
msgstr "" |
| 2739 |
"I<set_tid_size> est supérieur au nombre de niveaux dans l'espace de noms PID." |
| 2740 |
|
| 2741 |
#. type: Plain text |
| 2742 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2743 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2744 |
msgid "One of the PIDs specified in I<set_tid> was an invalid." |
| 2745 |
msgstr "Un des PID indiqué dans I<set_tid> n'était pas valable." |
| 2746 |
|
| 2747 |
#. commit 7f192e3cd316ba58c88dfa26796cf77789dd9872 |
| 2748 |
#. type: Plain text |
| 2749 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2750 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2751 |
msgid "" |
| 2752 |
"B<CLONE_THREAD> or B<CLONE_PARENT> was specified in the I<flags> mask, but a " |
| 2753 |
"signal was specified in I<exit_signal>." |
| 2754 |
msgstr "" |
| 2755 |
"B<CLONE_THREAD> ou B<CLONE_PARENT> ont été spécifiés dans le masque " |
| 2756 |
"I<flags>, mais un signal a été spécifié dans I<exit_signal>." |
| 2757 |
|
| 2758 |
#. type: TP |
| 2759 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2760 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2761 |
#, no-wrap |
| 2762 |
msgid "B<EINVAL> (AArch64 only, Linux 4.6 and earlier)" |
| 2763 |
msgstr "B<EINVAL> (AArch64 seulement, Linux 4.6 et antérieur)" |
| 2764 |
|
| 2765 |
#. type: Plain text |
| 2766 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2767 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2768 |
msgid "I<stack> was not aligned to a 128-bit boundary." |
| 2769 |
msgstr "I<stack> n'était pas aligné sur une limite de 128 bits." |
| 2770 |
|
| 2771 |
#. type: TP |
| 2772 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2773 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2774 |
#, no-wrap |
| 2775 |
msgid "B<ENOMEM>" |
| 2776 |
msgstr "B<ENOMEM>" |
| 2777 |
|
| 2778 |
#. type: Plain text |
| 2779 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2780 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2781 |
msgid "" |
| 2782 |
"Cannot allocate sufficient memory to allocate a task structure for the " |
| 2783 |
"child, or to copy those parts of the caller's context that need to be copied." |
| 2784 |
msgstr "" |
| 2785 |
"Pas assez de mémoire pour copier les parties du contexte du processus " |
| 2786 |
"appelant qui doivent être dupliquées, ou pour allouer une structure de tâche " |
| 2787 |
"pour le processus enfant." |
| 2788 |
|
| 2789 |
#. type: TP |
| 2790 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2791 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2792 |
#, no-wrap |
| 2793 |
msgid "B<ENOSPC> (since Linux 3.7)" |
| 2794 |
msgstr "B<ENOSPC> (depuis Linux 3.7)" |
| 2795 |
|
| 2796 |
#. commit f2302505775fd13ba93f034206f1e2a587017929 |
| 2797 |
#. type: Plain text |
| 2798 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2799 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2800 |
msgid "" |
| 2801 |
"B<CLONE_NEWPID> was specified in the I<flags> mask, but the limit on the " |
| 2802 |
"nesting depth of PID namespaces would have been exceeded; see " |
| 2803 |
"B<pid_namespaces>(7)." |
| 2804 |
msgstr "" |
| 2805 |
"B<CLONE_NEWPID> a été spécifié dans le masque I<flags>, et l'appel " |
| 2806 |
"provoquerait un dépassement de la limite du nombre maximal d'espaces de noms " |
| 2807 |
"utilisateur imbriqués. Consultez B<pid_namespaces>(7)." |
| 2808 |
|
| 2809 |
#. type: TP |
| 2810 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2811 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2812 |
#, no-wrap |
| 2813 |
msgid "B<ENOSPC> (since Linux 4.9; beforehand B<EUSERS>)" |
| 2814 |
msgstr "B<ENOSPC> (depuis Linux 4.9 ; auparavant B<EUSERS>)" |
| 2815 |
|
| 2816 |
#. type: Plain text |
| 2817 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2818 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2819 |
msgid "" |
| 2820 |
"B<CLONE_NEWUSER> was specified in the I<flags> mask, and the call would " |
| 2821 |
"cause the limit on the number of nested user namespaces to be exceeded. See " |
| 2822 |
"B<user_namespaces>(7)." |
| 2823 |
msgstr "" |
| 2824 |
"B<CLONE_NEWUSER> a été spécifié dans le masque I<flags>, et l'appel " |
| 2825 |
"provoquerait un dépassement de la limite du nombre maximal d'espaces de noms " |
| 2826 |
"utilisateur imbriqués. Consultez B<user_namespaces>(7)." |
| 2827 |
|
| 2828 |
#. type: Plain text |
| 2829 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2830 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2831 |
msgid "" |
| 2832 |
"From Linux 3.11 to Linux 4.8, the error diagnosed in this case was B<EUSERS>." |
| 2833 |
msgstr "" |
| 2834 |
"De Linux 3.11 à Linux 4.8, l'erreur indiquée dans ce cas était B<EUSERS>." |
| 2835 |
|
| 2836 |
#. type: TP |
| 2837 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2838 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2839 |
#, no-wrap |
| 2840 |
msgid "B<ENOSPC> (since Linux 4.9)" |
| 2841 |
msgstr "B<ENOSPC> (depuis Linux 4.9)" |
| 2842 |
|
| 2843 |
#. type: Plain text |
| 2844 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2845 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2846 |
msgid "" |
| 2847 |
"One of the values in the I<flags> mask specified the creation of a new user " |
| 2848 |
"namespace, but doing so would have caused the limit defined by the " |
| 2849 |
"corresponding file in I</proc/sys/user> to be exceeded. For further " |
| 2850 |
"details, see B<namespaces>(7)." |
| 2851 |
msgstr "" |
| 2852 |
"Une des valeurs dans le masque I<flags> indiquait de créer un nouvel espace " |
| 2853 |
"de noms utilisateur, mais cela aurait provoqué un dépassement de la limite " |
| 2854 |
"définie par le fichier correspondant dans I</proc/sys/user>. Pour plus de " |
| 2855 |
"détails, voir B<namespaces>(7)." |
| 2856 |
|
| 2857 |
#. type: TP |
| 2858 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2859 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2860 |
#, no-wrap |
| 2861 |
msgid "B<EOPNOTSUPP> (B<clone3>() only)" |
| 2862 |
msgstr "B<EOPNOTSUPP> (B<clone3>() seulement)" |
| 2863 |
|
| 2864 |
#. type: Plain text |
| 2865 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2866 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2867 |
msgid "" |
| 2868 |
"B<CLONE_INTO_CGROUP> was specified in I<cl_args.flags>, but the file " |
| 2869 |
"descriptor specified in I<cl_args.cgroup> refers to a version 2 cgroup that " |
| 2870 |
"is in the I<domain invalid> state." |
| 2871 |
msgstr "" |
| 2872 |
"B<CLONE_INTO_CGROUP> était indiqué dans I<cl_args.flags>, mais le " |
| 2873 |
"descripteur de fichier indiqué dans I<cl_args.cgroup> se rapporte à un " |
| 2874 |
"cgroup version 2 dont l'état est I<domain invalid>." |
| 2875 |
|
| 2876 |
#. type: TP |
| 2877 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2878 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2879 |
#, no-wrap |
| 2880 |
msgid "B<EPERM>" |
| 2881 |
msgstr "B<EPERM>" |
| 2882 |
|
| 2883 |
#. type: Plain text |
| 2884 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2885 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2886 |
msgid "" |
| 2887 |
"B<CLONE_NEWCGROUP>, B<CLONE_NEWIPC>, B<CLONE_NEWNET>, B<CLONE_NEWNS>, " |
| 2888 |
"B<CLONE_NEWPID>, or B<CLONE_NEWUTS> was specified by an unprivileged process " |
| 2889 |
"(process without B<CAP_SYS_ADMIN>)." |
| 2890 |
msgstr "" |
| 2891 |
"B<CLONE_NEWCGROUP>, B<CLONE_NEWIPC>, B<CLONE_NEWNET>, B<CLONE_NEWNS>, " |
| 2892 |
"B<CLONE_NEWPID> ou B<CLONE_NEWUTS> a été spécifié par un processus non " |
| 2893 |
"privilégié (processus sans B<CAP_SYS_ADMIN>)." |
| 2894 |
|
| 2895 |
#. type: Plain text |
| 2896 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2897 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2898 |
msgid "" |
| 2899 |
"B<CLONE_PID> was specified by a process other than process 0. (This error " |
| 2900 |
"occurs only on Linux 2.5.15 and earlier.)" |
| 2901 |
msgstr "" |
| 2902 |
"B<CLONE_PID> a été spécifié par un processus autre que le processus 0 (cette " |
| 2903 |
"erreur n'arrive que sur Linux 2.5.15 et antérieurs)." |
| 2904 |
|
| 2905 |
#. type: Plain text |
| 2906 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2907 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2908 |
msgid "" |
| 2909 |
"B<CLONE_NEWUSER> was specified in the I<flags> mask, but either the " |
| 2910 |
"effective user ID or the effective group ID of the caller does not have a " |
| 2911 |
"mapping in the parent namespace (see B<user_namespaces>(7))." |
| 2912 |
msgstr "" |
| 2913 |
"B<CLONE_NEWUSER> a été spécifié dans le masque I<flags>, mais l'identifiant " |
| 2914 |
"utilisateur effectif ou l'identifiant de groupe effectif de l'appelant n'a " |
| 2915 |
"pas de correspondance dans l'espace de noms parent (consultez " |
| 2916 |
"B<user_namespaces>(7))." |
| 2917 |
|
| 2918 |
#. type: TP |
| 2919 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2920 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2921 |
#, no-wrap |
| 2922 |
msgid "B<EPERM> (since Linux 3.9)" |
| 2923 |
msgstr "B<EPERM> (depuis Linux 3.9)" |
| 2924 |
|
| 2925 |
#. commit 3151527ee007b73a0ebd296010f1c0454a919c7d |
| 2926 |
#. FIXME What is the rationale for this restriction? |
| 2927 |
#. type: Plain text |
| 2928 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2929 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2930 |
msgid "" |
| 2931 |
"B<CLONE_NEWUSER> was specified in the I<flags> mask and the caller is in a " |
| 2932 |
"chroot environment (i.e., the caller's root directory does not match the " |
| 2933 |
"root directory of the mount namespace in which it resides)." |
| 2934 |
msgstr "" |
| 2935 |
"B<CLONE_NEWUSER> a été spécifié dans le masque I<flags> et l'appelant se " |
| 2936 |
"trouve dans un environnement chroot (c'est-à-dire que le répertoire racine " |
| 2937 |
"de l'appelant ne correspond pas au répertoire racine de l'espace de noms de " |
| 2938 |
"montage dans lequel il se trouve)." |
| 2939 |
|
| 2940 |
#. type: TP |
| 2941 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2942 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2943 |
#, no-wrap |
| 2944 |
msgid "B<EPERM> (B<clone3>() only)" |
| 2945 |
msgstr "B<EPERM> (B<clone3>() seulement)" |
| 2946 |
|
| 2947 |
#. type: Plain text |
| 2948 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2949 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2950 |
msgid "" |
| 2951 |
"I<set_tid_size> was greater than zero, and the caller lacks the " |
| 2952 |
"B<CAP_SYS_ADMIN> capability in one or more of the user namespaces that own " |
| 2953 |
"the corresponding PID namespaces." |
| 2954 |
msgstr "" |
| 2955 |
"I<set_tid_size> était supérieur à zéro et l'appelant n'a pas la capacité " |
| 2956 |
"B<CAP_SYS_ADMIN> dans un ou plusieurs des espaces de noms utilisateur qui " |
| 2957 |
"possèdent les espaces de noms PID correspondants." |
| 2958 |
|
| 2959 |
#. type: TP |
| 2960 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2961 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2962 |
#, no-wrap |
| 2963 |
msgid "B<ERESTARTNOINTR> (since Linux 2.6.17)" |
| 2964 |
msgstr "B<ERESTARTNOINTR> (depuis Linux 2.6.17)" |
| 2965 |
|
| 2966 |
#. commit 4a2c7a7837da1b91468e50426066d988050e4d56 |
| 2967 |
#. type: Plain text |
| 2968 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2969 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2970 |
msgid "" |
| 2971 |
"System call was interrupted by a signal and will be restarted. (This can be " |
| 2972 |
"seen only during a trace.)" |
| 2973 |
msgstr "" |
| 2974 |
"L'appel système a été interrompu par un signal et va être redémarré (cela " |
| 2975 |
"n'est visible qu'à l'occasion d'un B<trace>())." |
| 2976 |
|
| 2977 |
#. type: TP |
| 2978 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2979 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2980 |
#, no-wrap |
| 2981 |
msgid "B<EUSERS> (Linux 3.11 to Linux 4.8)" |
| 2982 |
msgstr "B<EUSERS> (Linux 3.11 à Linux 4.8)" |
| 2983 |
|
| 2984 |
#. type: Plain text |
| 2985 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2986 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2987 |
msgid "" |
| 2988 |
"B<CLONE_NEWUSER> was specified in the I<flags> mask, and the limit on the " |
| 2989 |
"number of nested user namespaces would be exceeded. See the discussion of " |
| 2990 |
"the B<ENOSPC> error above." |
| 2991 |
msgstr "" |
| 2992 |
"B<CLONE_NEWUSER> a été spécifié dans le masque I<flags>, et l'appel " |
| 2993 |
"provoquerait un dépassement de la limite du nombre maximal d'espaces de noms " |
| 2994 |
"utilisateur imbriqués. Voir le point sur l'erreur B<ENOSPC> ci-dessus." |
| 2995 |
|
| 2996 |
#. type: SH |
| 2997 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2998 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2999 |
#, no-wrap |
| 3000 |
msgid "VERSIONS" |
| 3001 |
msgstr "VERSIONS" |
| 3002 |
|
| 3003 |
#. type: Plain text |
| 3004 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3005 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3006 |
msgid "" |
| 3007 |
"The glibc B<clone>() wrapper function makes some changes in the memory " |
| 3008 |
"pointed to by I<stack> (changes required to set the stack up correctly for " |
| 3009 |
"the child) I<before> invoking the B<clone>() system call. So, in cases " |
| 3010 |
"where B<clone>() is used to recursively create children, do not use the " |
| 3011 |
"buffer employed for the parent's stack as the stack of the child." |
| 3012 |
msgstr "" |
| 3013 |
"La fonction enveloppe B<clone>() de la glibc effectue des changements dans " |
| 3014 |
"la mémoire vers laquelle pointe I<stack> (ce sont des changements " |
| 3015 |
"nécessaires pour positionner correctement la pile pour l'enfant) I<avant> de " |
| 3016 |
"recourir à l'appel système B<clone>(). Dès lors, lorsque B<clone>() est " |
| 3017 |
"utilisé pour créer des enfants de manière récursive, n'utilisez pas le " |
| 3018 |
"tampon servant à la pile du parent en tant que pile de l'enfant." |
| 3019 |
|
| 3020 |
#. type: Plain text |
| 3021 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3022 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3023 |
msgid "" |
| 3024 |
"On i386, B<clone>() should not be called through vsyscall, but directly " |
| 3025 |
"through I<int $0x80>." |
| 3026 |
msgstr "" |
| 3027 |
"Sur i386, B<clone>() ne devrait pas être appelé à l’aide de vsyscall, mais " |
| 3028 |
"directement en utilisant I<int $0x80>." |
| 3029 |
|
| 3030 |
#. type: SS |
| 3031 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3032 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3033 |
#, no-wrap |
| 3034 |
msgid "C library/kernel differences" |
| 3035 |
msgstr "Différences entre bibliothèque C et noyau" |
| 3036 |
|
| 3037 |
#. type: Plain text |
| 3038 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3039 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3040 |
msgid "" |
| 3041 |
"The raw B<clone>() system call corresponds more closely to B<fork>(2) in " |
| 3042 |
"that execution in the child continues from the point of the call. As such, " |
| 3043 |
"the I<fn> and I<arg> arguments of the B<clone>() wrapper function are " |
| 3044 |
"omitted." |
| 3045 |
msgstr "" |
| 3046 |
"L'appel système B<clone> brut ressemble plus à B<fork>(2), en ceci que " |
| 3047 |
"l'exécution dans le processus enfant continue à partir du point d'appel. À " |
| 3048 |
"ce titre, les arguments I<fn> et I<arg> de la fonction enveloppe de " |
| 3049 |
"B<clone>() sont omis." |
| 3050 |
|
| 3051 |
#. type: Plain text |
| 3052 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3053 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3054 |
msgid "" |
| 3055 |
"In contrast to the glibc wrapper, the raw B<clone>() system call accepts " |
| 3056 |
"NULL as a I<stack> argument (and B<clone3>() likewise allows " |
| 3057 |
"I<cl_args.stack> to be NULL). In this case, the child uses a duplicate of " |
| 3058 |
"the parent's stack. (Copy-on-write semantics ensure that the child gets " |
| 3059 |
"separate copies of stack pages when either process modifies the stack.) In " |
| 3060 |
"this case, for correct operation, the B<CLONE_VM> option should not be " |
| 3061 |
"specified. (If the child I<shares> the parent's memory because of the use " |
| 3062 |
"of the B<CLONE_VM> flag, then no copy-on-write duplication occurs and chaos " |
| 3063 |
"is likely to result.)" |
| 3064 |
msgstr "" |
| 3065 |
"Contrairement à l'enveloppe de la glibc, l'appel système brut B<clone>() " |
| 3066 |
"accepte NULL en paramètre de I<stack> (et de même, B<clone3>() permet à " |
| 3067 |
"I<cl_args.stack> d'être NULL). Dans ce cas l'enfant utilise une copie de la " |
| 3068 |
"pile du parent (la sémantique de copie-en-écriture assure que l'enfant " |
| 3069 |
"recevra une copie indépendante des pages de la pile dès qu'un des deux " |
| 3070 |
"processus la modifiera). Pour que cela fonctionne, il faut naturellement que " |
| 3071 |
"B<CLONE_VM> ne soit pas présent (si l'enfant I<partage> la mémoire du parent " |
| 3072 |
"du fait d'une utilisation de B<CLONE_VM>, aucune duplication à l’aide de la " |
| 3073 |
"copie-en-écriture ne se produit et il peut s'ensuivre probablement un grand " |
| 3074 |
"chaos)." |
| 3075 |
|
| 3076 |
#. type: Plain text |
| 3077 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3078 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3079 |
msgid "" |
| 3080 |
"The order of the arguments also differs in the raw system call, and there " |
| 3081 |
"are variations in the arguments across architectures, as detailed in the " |
| 3082 |
"following paragraphs." |
| 3083 |
msgstr "" |
| 3084 |
"L'ordre des paramètres change aussi dans l'appel système brut et des " |
| 3085 |
"variations existent dans les paramètres en fonction des architectures, comme " |
| 3086 |
"indiqué dans les paragraphes suivants." |
| 3087 |
|
| 3088 |
#. type: Plain text |
| 3089 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3090 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3091 |
msgid "" |
| 3092 |
"The raw system call interface on x86-64 and some other architectures " |
| 3093 |
"(including sh, tile, and alpha) is:" |
| 3094 |
msgstr "" |
| 3095 |
"L'interface de l'appel système brut sur des architectures x86-64 et quelques " |
| 3096 |
"autres (dont sh, tile et alpha), est :" |
| 3097 |
|
| 3098 |
#. type: Plain text |
| 3099 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3100 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3101 |
#, no-wrap |
| 3102 |
msgid "" |
| 3103 |
"B<long clone(unsigned long >I<flags>B<, void *>I<stack>B<,>\n" |
| 3104 |
"B< int *>I<parent_tid>B<, int *>I<child_tid>B<,>\n" |
| 3105 |
"B< unsigned long >I<tls>B<);>\n" |
| 3106 |
msgstr "" |
| 3107 |
"B<long clone(unsigned long >I<flags>B<, void *>I<stack>B<,>\n" |
| 3108 |
"B< int *>I<parent_tid>B<, int *>I<child_tid>B<,>\n" |
| 3109 |
"B< unsigned long >I<tls>B<);>\n" |
| 3110 |
|
| 3111 |
#. CONFIG_CLONE_BACKWARDS |
| 3112 |
#. type: Plain text |
| 3113 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3114 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3115 |
msgid "" |
| 3116 |
"On x86-32, and several other common architectures (including score, ARM, ARM " |
| 3117 |
"64, PA-RISC, arc, Power PC, xtensa, and MIPS), the order of the last two " |
| 3118 |
"arguments is reversed:" |
| 3119 |
msgstr "" |
| 3120 |
"Sur x86-32 et d'autres architectures classiques (dont score, ARM, ARM 64, PA-" |
| 3121 |
"RISC, arc, Power PC, xtensa et MIPS), l'ordre des deux derniers paramètres " |
| 3122 |
"est inversé :" |
| 3123 |
|
| 3124 |
#. type: Plain text |
| 3125 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3126 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3127 |
#, no-wrap |
| 3128 |
msgid "" |
| 3129 |
"B<long clone(unsigned long >I<flags>B<, void *>I<stack>B<,>\n" |
| 3130 |
"B< int *>I<parent_tid>B<, unsigned long >I<tls>B<,>\n" |
| 3131 |
"B< int *>I<child_tid>B<);>\n" |
| 3132 |
msgstr "" |
| 3133 |
"B<long clone(unsigned long >I<flags>B<, void *>I<stack>B<,>\n" |
| 3134 |
"B< int *>I<parent_tid>B<, unsigned long >I<tls>B<,>\n" |
| 3135 |
"B< int *>I<child_tid>B<);>\n" |
| 3136 |
|
| 3137 |
#. CONFIG_CLONE_BACKWARDS2 |
| 3138 |
#. type: Plain text |
| 3139 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3140 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3141 |
msgid "" |
| 3142 |
"On the cris and s390 architectures, the order of the first two arguments is " |
| 3143 |
"reversed:" |
| 3144 |
msgstr "" |
| 3145 |
"Sur les architectures cris et s390, l'ordre des deux premiers paramètres est " |
| 3146 |
"inversé :" |
| 3147 |
|
| 3148 |
#. type: Plain text |
| 3149 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3150 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3151 |
#, no-wrap |
| 3152 |
msgid "" |
| 3153 |
"B<long clone(void *>I<stack>B<, unsigned long >I<flags>B<,>\n" |
| 3154 |
"B< int *>I<parent_tid>B<, int *>I<child_tid>B<,>\n" |
| 3155 |
"B< unsigned long >I<tls>B<);>\n" |
| 3156 |
msgstr "" |
| 3157 |
"B<long clone(void *>I<stack>B<, unsigned long >I<flags>B<,>\n" |
| 3158 |
"B< int *>I<parent_tid>B<, int *>I<child_tid>B<,>\n" |
| 3159 |
"B< unsigned long >I<tls>B<);>\n" |
| 3160 |
|
| 3161 |
#. CONFIG_CLONE_BACKWARDS3 |
| 3162 |
#. type: Plain text |
| 3163 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3164 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3165 |
msgid "On the microblaze architecture, an additional argument is supplied:" |
| 3166 |
msgstr "Sur l'architecture microblaze, il existe un paramètre supplémentaire :" |
| 3167 |
|
| 3168 |
#. type: Plain text |
| 3169 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 3170 |
#: opensuse-tumbleweed |
| 3171 |
#, no-wrap |
| 3172 |
msgid "" |
| 3173 |
"B<long clone(unsigned long >I<flags>B<, void *>I<stack>B<,>\n" |
| 3174 |
"B< int >I<stack_size>B<,>\\f[R] /* Size of stack */\\fR\n" |
| 3175 |
"B< int *>I<parent_tid>B<, int *>I<child_tid>B<,>\n" |
| 3176 |
"B< unsigned long >I<tls>B<);>\n" |
| 3177 |
msgstr "" |
| 3178 |
"B<long clone(unsigned long >I<flags>B<, void *>I<stack>B<,>\n" |
| 3179 |
"B< int >I<stack_size>B<,>\\f[R] /* Taille de la pile */\\fR\n" |
| 3180 |
"B< int *>I<parent_tid>B<, int *>I<child_tid>B<,>\n" |
| 3181 |
"B< unsigned long >I<tls>B<);>\n" |
| 3182 |
|
| 3183 |
#. type: SS |
| 3184 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3185 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3186 |
#, no-wrap |
| 3187 |
msgid "blackfin, m68k, and sparc" |
| 3188 |
msgstr "blackfin, m68k, et sparc" |
| 3189 |
|
| 3190 |
#. Mike Frysinger noted in a 2013 mail: |
| 3191 |
#. these arches don't define __ARCH_WANT_SYS_CLONE: |
| 3192 |
#. blackfin ia64 m68k sparc |
| 3193 |
#. type: Plain text |
| 3194 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3195 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3196 |
msgid "" |
| 3197 |
"The argument-passing conventions on blackfin, m68k, and sparc are different " |
| 3198 |
"from the descriptions above. For details, see the kernel (and glibc) source." |
| 3199 |
msgstr "" |
| 3200 |
"Les conventions de passage des arguments sur blackfin, m68k et sparc sont " |
| 3201 |
"différentes de celles décrites précédemment. Pour plus de détails, se " |
| 3202 |
"référer aux sources du noyau (et de la glibc)." |
| 3203 |
|
| 3204 |
#. type: SH |
| 3205 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3206 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3207 |
#, no-wrap |
| 3208 |
msgid "STANDARDS" |
| 3209 |
msgstr "NORMES" |
| 3210 |
|
| 3211 |
#. type: Plain text |
| 3212 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3213 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3214 |
msgid "Linux." |
| 3215 |
msgstr "Linux." |
| 3216 |
|
| 3217 |
#. type: SH |
| 3218 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3219 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3220 |
#, no-wrap |
| 3221 |
msgid "HISTORY" |
| 3222 |
msgstr "HISTORIQUE" |
| 3223 |
|
| 3224 |
#. type: TP |
| 3225 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3226 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3227 |
#, no-wrap |
| 3228 |
msgid "B<clone3>()" |
| 3229 |
msgstr "B<clone3>()" |
| 3230 |
|
| 3231 |
#. There is no entry for |
| 3232 |
#. .BR clone () |
| 3233 |
#. in libc5. |
| 3234 |
#. glibc2 provides |
| 3235 |
#. .BR clone () |
| 3236 |
#. as described in this manual page. |
| 3237 |
#. type: Plain text |
| 3238 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3239 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3240 |
msgid "Linux 5.3." |
| 3241 |
msgstr "Linux 5.3." |
| 3242 |
|
| 3243 |
#. type: SS |
| 3244 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3245 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3246 |
#, no-wrap |
| 3247 |
msgid "Linux 2.4 and earlier" |
| 3248 |
msgstr "Linux 2.4 et antérieurs" |
| 3249 |
|
| 3250 |
#. type: Plain text |
| 3251 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3252 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3253 |
msgid "" |
| 3254 |
"In the Linux 2.4.x series, B<CLONE_THREAD> generally does not make the " |
| 3255 |
"parent of the new thread the same as the parent of the calling process. " |
| 3256 |
"However, from Linux 2.4.7 to Linux 2.4.18 the B<CLONE_THREAD> flag implied " |
| 3257 |
"the B<CLONE_PARENT> flag (as in Linux 2.6.0 and later)." |
| 3258 |
msgstr "" |
| 3259 |
"Dans les séries 2.4.x de Linux, B<CLONE_THREAD> ne fait en général pas du " |
| 3260 |
"processus parent du nouveau thread un processus identique au parent du " |
| 3261 |
"processus appelant. Cependant, de Linux 2.4.7 à Linux 2.4.18, l'attribut " |
| 3262 |
"B<CLONE_THREAD> impliquait B<CLONE_PARENT> (de même que dans Linux 2.6.0 et " |
| 3263 |
"supérieurs)." |
| 3264 |
|
| 3265 |
#. type: Plain text |
| 3266 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3267 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3268 |
msgid "" |
| 3269 |
"In Linux 2.4 and earlier, B<clone>() does not take arguments I<parent_tid>, " |
| 3270 |
"I<tls>, and I<child_tid>." |
| 3271 |
msgstr "" |
| 3272 |
"Sous Linux\\ 2.4 et plus anciens, B<clone>() ne prend pas les paramètres " |
| 3273 |
"I<parent_tid>, I<tls>, et I<child_tid>." |
| 3274 |
|
| 3275 |
#. type: SS |
| 3276 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3277 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3278 |
#, no-wrap |
| 3279 |
msgid "ia64" |
| 3280 |
msgstr "ia64" |
| 3281 |
|
| 3282 |
#. type: Plain text |
| 3283 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3284 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3285 |
msgid "On ia64, a different interface is used:" |
| 3286 |
msgstr "Sur ia64, une interface différente est utilisée\\ :" |
| 3287 |
|
| 3288 |
#. type: Plain text |
| 3289 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 3290 |
#: opensuse-tumbleweed |
| 3291 |
#, no-wrap |
| 3292 |
msgid "" |
| 3293 |
"B<int __clone2(typeof(int (void *)) *>I<fn>B<,>\n" |
| 3294 |
"B< void *>I<stack_base>B<, size_t >I<stack_size>B<,>\n" |
| 3295 |
"B< int >I<flags>B<, void *>I<arg>B<, ...>\n" |
| 3296 |
"B< >\\f[R]/*B< pid_t *>I<parent_tid>B<, struct user_desc *>I<tls>B<,>\n" |
| 3297 |
"B< pid_t *>I<child_tid>B< >\\f[R]*/B< );>\n" |
| 3298 |
msgstr "" |
| 3299 |
"B<int __clone2(typeof(int (void *)) *>I<fn>B<,>\n" |
| 3300 |
"B< void *>I<stack_base>B<, size_t >I<stack_size>B<,>\n" |
| 3301 |
"B< int >I<flags>B<, void *>I<arg>B<, ...>\n" |
| 3302 |
"B< >\\f[R]/*B< pid_t *>I<parent_tid>B<, struct user_desc *>I<tls>B<,>\n" |
| 3303 |
"B< pid_t *>I<child_tid>B< >\\f[R]*/B< );>\n" |
| 3304 |
|
| 3305 |
#. type: Plain text |
| 3306 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3307 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3308 |
msgid "" |
| 3309 |
"The prototype shown above is for the glibc wrapper function; for the system " |
| 3310 |
"call itself, the prototype can be described as follows (it is identical to " |
| 3311 |
"the B<clone>() prototype on microblaze):" |
| 3312 |
msgstr "" |
| 3313 |
"Le prototype présenté ci-dessus vaut pour la fonction enveloppe de la " |
| 3314 |
"glibc ; pour l'appel système lui-même, il peut être décrit comme suit (il " |
| 3315 |
"est identique au prototype B<clone>() sur microblaze) :" |
| 3316 |
|
| 3317 |
#. type: Plain text |
| 3318 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 3319 |
#: opensuse-tumbleweed |
| 3320 |
#, no-wrap |
| 3321 |
msgid "" |
| 3322 |
"B<long clone2(unsigned long >I<flags>B<, void *>I<stack_base>B<,>\n" |
| 3323 |
"B< int >I<stack_size>B<,>\\f[R] /* Size of stack */\\fR\n" |
| 3324 |
"B< int *>I<parent_tid>B<, int *>I<child_tid>B<,>\n" |
| 3325 |
"B< unsigned long >I<tls>B<);>\n" |
| 3326 |
msgstr "" |
| 3327 |
"B<long clone2(unsigned long >I<flags>B<, void *>I<stack_base>B<,>\n" |
| 3328 |
"B< int >I<stack_size>B<,>\\f[R] /* Taille de la pile */\\fR\n" |
| 3329 |
"B< int *>I<parent_tid>B<, int *>I<child_tid>B<,>\n" |
| 3330 |
"B< unsigned long >I<tls>B<);>\n" |
| 3331 |
|
| 3332 |
#. type: Plain text |
| 3333 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3334 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3335 |
msgid "" |
| 3336 |
"B<__clone2>() operates in the same way as B<clone>(), except that " |
| 3337 |
"I<stack_base> points to the lowest address of the child's stack area, and " |
| 3338 |
"I<stack_size> specifies the size of the stack pointed to by I<stack_base>." |
| 3339 |
msgstr "" |
| 3340 |
"B<__clone2>() fonctionne comme B<clone>(), sauf que I<stack_base> pointe sur " |
| 3341 |
"la plus petite adresse de la pile de l'enfant et que I<stack_size> indique " |
| 3342 |
"la taille de la pile sur laquelle pointe I<stack_base>." |
| 3343 |
|
| 3344 |
#. type: SH |
| 3345 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3346 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3347 |
#, no-wrap |
| 3348 |
msgid "NOTES" |
| 3349 |
msgstr "NOTES" |
| 3350 |
|
| 3351 |
#. type: Plain text |
| 3352 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3353 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3354 |
msgid "" |
| 3355 |
"One use of these system calls is to implement threads: multiple flows of " |
| 3356 |
"control in a program that run concurrently in a shared address space." |
| 3357 |
msgstr "" |
| 3358 |
"Une utilisation de ces appels système consiste à implémenter des threads\\ : " |
| 3359 |
"un programme est scindé en plusieurs lignes de contrôle, s'exécutant " |
| 3360 |
"simultanément dans un espace mémoire partagée." |
| 3361 |
|
| 3362 |
#. type: Plain text |
| 3363 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3364 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3365 |
msgid "" |
| 3366 |
"The B<kcmp>(2) system call can be used to test whether two processes share " |
| 3367 |
"various resources such as a file descriptor table, System V semaphore undo " |
| 3368 |
"operations, or a virtual address space." |
| 3369 |
msgstr "" |
| 3370 |
"L'appel système B<kcmp>(2) peut être utilisé pour vérifier si deux " |
| 3371 |
"processus partagent des ressources, telles qu'une table de descripteurs de " |
| 3372 |
"fichier, des opérations Annuler le sémaphore sur System V, ou un espace " |
| 3373 |
"d'adressage virtuel." |
| 3374 |
|
| 3375 |
#. type: Plain text |
| 3376 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3377 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3378 |
msgid "" |
| 3379 |
"Handlers registered using B<pthread_atfork>(3) are not executed during a " |
| 3380 |
"clone call." |
| 3381 |
msgstr "" |
| 3382 |
"Les gestionnaires enregistrés en utilisant B<pthread_atfork>(3) ne sont pas " |
| 3383 |
"exécutés pendant un appel clone." |
| 3384 |
|
| 3385 |
#. type: SH |
| 3386 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3387 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3388 |
#, no-wrap |
| 3389 |
msgid "BUGS" |
| 3390 |
msgstr "BOGUES" |
| 3391 |
|
| 3392 |
#. type: Plain text |
| 3393 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3394 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3395 |
msgid "" |
| 3396 |
"GNU C library versions 2.3.4 up to and including 2.24 contained a wrapper " |
| 3397 |
"function for B<getpid>(2) that performed caching of PIDs. This caching " |
| 3398 |
"relied on support in the glibc wrapper for B<clone>(), but limitations in " |
| 3399 |
"the implementation meant that the cache was not up to date in some " |
| 3400 |
"circumstances. In particular, if a signal was delivered to the child " |
| 3401 |
"immediately after the B<clone>() call, then a call to B<getpid>(2) in a " |
| 3402 |
"handler for the signal could return the PID of the calling process (\"the " |
| 3403 |
"parent\"), if the clone wrapper had not yet had a chance to update the PID " |
| 3404 |
"cache in the child. (This discussion ignores the case where the child was " |
| 3405 |
"created using B<CLONE_THREAD>, when B<getpid>(2) I<should> return the same " |
| 3406 |
"value in the child and in the process that called B<clone>(), since the " |
| 3407 |
"caller and the child are in the same thread group. The stale-cache problem " |
| 3408 |
"also does not occur if the I<flags> argument includes B<CLONE_VM>.) To get " |
| 3409 |
"the truth, it was sometimes necessary to use code such as the following:" |
| 3410 |
msgstr "" |
| 3411 |
"Les versions de la bibliothèque C GNU jusqu'à la 2.24 comprise contenaient " |
| 3412 |
"une fonction enveloppe pour B<getpid>(2) qui effectuait un cache des PID. Ce " |
| 3413 |
"cache nécessitait une prise en charge par l'enveloppe de B<clone>() de la " |
| 3414 |
"glibc, mais des limites dans l'implémentation faisaient que le cache pouvait " |
| 3415 |
"ne pas être à jour sous certaines circonstances. En particulier, si un " |
| 3416 |
"signal était distribué à un enfant juste après l'appel à B<clone>(), alors " |
| 3417 |
"un appel à B<getpid>(2) dans le gestionnaire de signaux du signal pouvait " |
| 3418 |
"renvoyer le PID du processus appelant (le parent), si l'enveloppe de clone " |
| 3419 |
"n'avait toujours pas eu le temps de mettre le cache de PID à jour pour " |
| 3420 |
"l'enfant. (Ce point ignore le cas où l'enfant a été créé en utilisant " |
| 3421 |
"B<CLONE_THREAD>, quand B<getpid>(2) I<doit> renvoyer la même valeur pour " |
| 3422 |
"l'enfant et pour le processus qui a appelé B<clone>(), puisque l'appelant et " |
| 3423 |
"l'enfant se trouvent dans le même groupe de threads. Ce problème de cache " |
| 3424 |
"n'apparaît pas non plus si le paramètre I<flags> contient B<CLONE_VM>.) Pour " |
| 3425 |
"obtenir la véritable valeur, il peut être nécessaire d'utiliser quelque " |
| 3426 |
"chose comme ceci :" |
| 3427 |
|
| 3428 |
#. type: Plain text |
| 3429 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3430 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3431 |
#, no-wrap |
| 3432 |
msgid "" |
| 3433 |
"#include E<lt>syscall.hE<gt>\n" |
| 3434 |
"\\&\n" |
| 3435 |
"pid_t mypid;\n" |
| 3436 |
"\\&\n" |
| 3437 |
"mypid = syscall(SYS_getpid);\n" |
| 3438 |
msgstr "" |
| 3439 |
"#include E<lt>syscall.hE<gt>\n" |
| 3440 |
"\\&\n" |
| 3441 |
"pid_t mypid;\n" |
| 3442 |
"\\&\n" |
| 3443 |
"mypid = syscall(SYS_getpid);\n" |
| 3444 |
|
| 3445 |
#. type: Plain text |
| 3446 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3447 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3448 |
msgid "" |
| 3449 |
"Because of the stale-cache problem, as well as other problems noted in " |
| 3450 |
"B<getpid>(2), the PID caching feature was removed in glibc 2.25." |
| 3451 |
msgstr "" |
| 3452 |
"Suite à un problème de cache ancien, ainsi qu'à d'autres problèmes traités " |
| 3453 |
"dans B<getpid>(2), la fonctionnalité de mise en cache du PID a été supprimée " |
| 3454 |
"de la glibc 2.25." |
| 3455 |
|
| 3456 |
#. type: SH |
| 3457 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3458 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3459 |
#, no-wrap |
| 3460 |
msgid "EXAMPLES" |
| 3461 |
msgstr "EXEMPLES" |
| 3462 |
|
| 3463 |
#. type: Plain text |
| 3464 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3465 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3466 |
msgid "" |
| 3467 |
"The following program demonstrates the use of B<clone>() to create a child " |
| 3468 |
"process that executes in a separate UTS namespace. The child changes the " |
| 3469 |
"hostname in its UTS namespace. Both parent and child then display the " |
| 3470 |
"system hostname, making it possible to see that the hostname differs in the " |
| 3471 |
"UTS namespaces of the parent and child. For an example of the use of this " |
| 3472 |
"program, see B<setns>(2)." |
| 3473 |
msgstr "" |
| 3474 |
"Le programme suivant décrit l'usage de B<clone>() dans le but de créer un " |
| 3475 |
"processus enfant qui s'exécute dans un espace de noms UTS distinct. Le " |
| 3476 |
"processus enfant change le nom d'hôte (hostname) dans son propre espace UTS. " |
| 3477 |
"Les processus parent et enfant affichent chacun le nom d'hôte qui leur " |
| 3478 |
"correspond, permettant ainsi de constater la différence des noms d'hôtes " |
| 3479 |
"dans leurs espaces de noms UTS respectifs. Pour un exemple d’utilisation de " |
| 3480 |
"ce programme, consultez B<setns>(2)." |
| 3481 |
|
| 3482 |
#. type: Plain text |
| 3483 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3484 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3485 |
msgid "" |
| 3486 |
"Within the sample program, we allocate the memory that is to be used for the " |
| 3487 |
"child's stack using B<mmap>(2) rather than B<malloc>(3) for the following " |
| 3488 |
"reasons:" |
| 3489 |
msgstr "" |
| 3490 |
"Dans le programme d'exemple, nous allouons la mémoire qui doit être utilisée " |
| 3491 |
"pour la pile de l'enfant en utilisant B<mmap>(2) au lieu de B<malloc>(3) " |
| 3492 |
"pour les raisons suivantes :" |
| 3493 |
|
| 3494 |
#. type: Plain text |
| 3495 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3496 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3497 |
msgid "" |
| 3498 |
"B<mmap>(2) allocates a block of memory that starts on a page boundary and " |
| 3499 |
"is a multiple of the page size. This is useful if we want to establish a " |
| 3500 |
"guard page (a page with protection B<PROT_NONE>) at the end of the stack " |
| 3501 |
"using B<mprotect>(2)." |
| 3502 |
msgstr "" |
| 3503 |
"B<mmap>(2) alloue un bloc de mémoire commençant à la limite d'une page et " |
| 3504 |
"qui est un multiple de la taille de la page. Cela est utile si on veut " |
| 3505 |
"établir une page de protection (avec B<PROT_NONE>) à la fin de la pile en " |
| 3506 |
"utilisant B<mprotect>(2)." |
| 3507 |
|
| 3508 |
#. type: Plain text |
| 3509 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3510 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3511 |
msgid "" |
| 3512 |
"We can specify the B<MAP_STACK> flag to request a mapping that is suitable " |
| 3513 |
"for a stack. For the moment, this flag is a no-op on Linux, but it exists " |
| 3514 |
"and has effect on some other systems, so we should include it for " |
| 3515 |
"portability." |
| 3516 |
msgstr "" |
| 3517 |
"On peut indiquer l'attribut B<MAP_STACK> pour demander une association " |
| 3518 |
"adaptée à une pile. Pour le moment, cet attribut n'est pas opérationnel sur " |
| 3519 |
"Linux, mais il existe et a des effets sur d'autres systèmes, donc on doit " |
| 3520 |
"l'inclure pour la portabilité." |
| 3521 |
|
| 3522 |
#. type: SS |
| 3523 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3524 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3525 |
#, no-wrap |
| 3526 |
msgid "Program source" |
| 3527 |
msgstr "Source du programme" |
| 3528 |
|
| 3529 |
#. type: Plain text |
| 3530 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 3531 |
#: opensuse-tumbleweed |
| 3532 |
#, no-wrap |
| 3533 |
msgid "" |
| 3534 |
"#define _GNU_SOURCE\n" |
| 3535 |
"#include E<lt>err.hE<gt>\n" |
| 3536 |
"#include E<lt>sched.hE<gt>\n" |
| 3537 |
"#include E<lt>signal.hE<gt>\n" |
| 3538 |
"#include E<lt>stdint.hE<gt>\n" |
| 3539 |
"#include E<lt>stdio.hE<gt>\n" |
| 3540 |
"#include E<lt>stdlib.hE<gt>\n" |
| 3541 |
"#include E<lt>string.hE<gt>\n" |
| 3542 |
"#include E<lt>sys/mman.hE<gt>\n" |
| 3543 |
"#include E<lt>sys/types.hE<gt>\n" |
| 3544 |
"#include E<lt>sys/utsname.hE<gt>\n" |
| 3545 |
"#include E<lt>sys/wait.hE<gt>\n" |
| 3546 |
"#include E<lt>unistd.hE<gt>\n" |
| 3547 |
"\\&\n" |
| 3548 |
"static int /* Start function for cloned child */\n" |
| 3549 |
"childFunc(void *arg)\n" |
| 3550 |
"{\n" |
| 3551 |
" struct utsname uts;\n" |
| 3552 |
"\\&\n" |
| 3553 |
" /* Change hostname in UTS namespace of child. */\n" |
| 3554 |
"\\&\n" |
| 3555 |
" if (sethostname(arg, strlen(arg)) == -1)\n" |
| 3556 |
" err(EXIT_FAILURE, \"sethostname\");\n" |
| 3557 |
"\\&\n" |
| 3558 |
" /* Retrieve and display hostname. */\n" |
| 3559 |
"\\&\n" |
| 3560 |
" if (uname(&uts) == -1)\n" |
| 3561 |
" err(EXIT_FAILURE, \"uname\");\n" |
| 3562 |
" printf(\"uts.nodename in child: %s\\[rs]n\", uts.nodename);\n" |
| 3563 |
"\\&\n" |
| 3564 |
" /* Keep the namespace open for a while, by sleeping.\n" |
| 3565 |
" This allows some experimentation--for example, another\n" |
| 3566 |
" process might join the namespace. */\n" |
| 3567 |
"\\&\n" |
| 3568 |
" sleep(200);\n" |
| 3569 |
"\\&\n" |
| 3570 |
" return 0; /* Child terminates now */\n" |
| 3571 |
"}\n" |
| 3572 |
"\\&\n" |
| 3573 |
"#define STACK_SIZE (1024 * 1024) /* Stack size for cloned child */\n" |
| 3574 |
"\\&\n" |
| 3575 |
"int\n" |
| 3576 |
"main(int argc, char *argv[])\n" |
| 3577 |
"{\n" |
| 3578 |
" char *stack; /* Start of stack buffer */\n" |
| 3579 |
" char *stackTop; /* End of stack buffer */\n" |
| 3580 |
" pid_t pid;\n" |
| 3581 |
" struct utsname uts;\n" |
| 3582 |
"\\&\n" |
| 3583 |
" if (argc E<lt> 2) {\n" |
| 3584 |
" fprintf(stderr, \"Usage: %s E<lt>child-hostnameE<gt>\\[rs]n\", argv[0]);\n" |
| 3585 |
" exit(EXIT_SUCCESS);\n" |
| 3586 |
" }\n" |
| 3587 |
"\\&\n" |
| 3588 |
" /* Allocate memory to be used for the stack of the child. */\n" |
| 3589 |
"\\&\n" |
| 3590 |
" stack = mmap(NULL, STACK_SIZE, PROT_READ | PROT_WRITE,\n" |
| 3591 |
" MAP_PRIVATE | MAP_ANONYMOUS | MAP_STACK, -1, 0);\n" |
| 3592 |
" if (stack == MAP_FAILED)\n" |
| 3593 |
" err(EXIT_FAILURE, \"mmap\");\n" |
| 3594 |
"\\&\n" |
| 3595 |
" stackTop = stack + STACK_SIZE; /* Assume stack grows downward */\n" |
| 3596 |
"\\&\n" |
| 3597 |
" /* Create child that has its own UTS namespace;\n" |
| 3598 |
" child commences execution in childFunc(). */\n" |
| 3599 |
"\\&\n" |
| 3600 |
" pid = clone(childFunc, stackTop, CLONE_NEWUTS | SIGCHLD, argv[1]);\n" |
| 3601 |
" if (pid == -1)\n" |
| 3602 |
" err(EXIT_FAILURE, \"clone\");\n" |
| 3603 |
" if (munmap(stack, STACK_SIZE))\n" |
| 3604 |
" err(EXIT_FAILURE, \"munmap\");\n" |
| 3605 |
" printf(\"clone() returned %jd\\[rs]n\", (intmax_t) pid);\n" |
| 3606 |
"\\&\n" |
| 3607 |
" /* Parent falls through to here */\n" |
| 3608 |
"\\&\n" |
| 3609 |
" sleep(1); /* Give child time to change its hostname */\n" |
| 3610 |
"\\&\n" |
| 3611 |
" /* Display hostname in parent\\[aq]s UTS namespace. This will be\n" |
| 3612 |
" different from hostname in child\\[aq]s UTS namespace. */\n" |
| 3613 |
"\\&\n" |
| 3614 |
" if (uname(&uts) == -1)\n" |
| 3615 |
" err(EXIT_FAILURE, \"uname\");\n" |
| 3616 |
" printf(\"uts.nodename in parent: %s\\[rs]n\", uts.nodename);\n" |
| 3617 |
"\\&\n" |
| 3618 |
" if (waitpid(pid, NULL, 0) == -1) /* Wait for child */\n" |
| 3619 |
" err(EXIT_FAILURE, \"waitpid\");\n" |
| 3620 |
" printf(\"child has terminated\\[rs]n\");\n" |
| 3621 |
"\\&\n" |
| 3622 |
" exit(EXIT_SUCCESS);\n" |
| 3623 |
"}\n" |
| 3624 |
msgstr "" |
| 3625 |
"#define _GNU_SOURCE\n" |
| 3626 |
"#include E<lt>err.hE<gt>\n" |
| 3627 |
"#include E<lt>sched.hE<gt>\n" |
| 3628 |
"#include E<lt>signal.hE<gt>\n" |
| 3629 |
"#include E<lt>stdint.hE<gt>\n" |
| 3630 |
"#include E<lt>stdio.hE<gt>\n" |
| 3631 |
"#include E<lt>stdlib.hE<gt>\n" |
| 3632 |
"#include E<lt>string.hE<gt>\n" |
| 3633 |
"#include E<lt>sys/mman.hE<gt>\n" |
| 3634 |
"#include E<lt>sys/types.hE<gt>\n" |
| 3635 |
"#include E<lt>sys/utsname.hE<gt>\n" |
| 3636 |
"#include E<lt>sys/wait.hE<gt>\n" |
| 3637 |
"#include E<lt>unistd.hE<gt>\n" |
| 3638 |
"\\&\n" |
| 3639 |
"static int /* Start function for cloned child */\n" |
| 3640 |
"childFunc(void *arg)\n" |
| 3641 |
"{\n" |
| 3642 |
" struct utsname uts;\n" |
| 3643 |
"\\&\n" |
| 3644 |
" /* Change hostname in UTS namespace of child. */\n" |
| 3645 |
"\\&\n" |
| 3646 |
" if (sethostname(arg, strlen(arg)) == -1)\n" |
| 3647 |
" err(EXIT_FAILURE, \"sethostname\");\n" |
| 3648 |
"\\&\n" |
| 3649 |
" /* Retrieve and display hostname. */\n" |
| 3650 |
"\\&\n" |
| 3651 |
" if (uname(&uts) == -1)\n" |
| 3652 |
" err(EXIT_FAILURE, \"uname\");\n" |
| 3653 |
" printf(\"uts.nodename in child: %s\\[rs]n\", uts.nodename);\n" |
| 3654 |
"\\&\n" |
| 3655 |
" /* Keep the namespace open for a while, by sleeping.\n" |
| 3656 |
" This allows some experimentation--for example, another\n" |
| 3657 |
" process might join the namespace. */\n" |
| 3658 |
"\\&\n" |
| 3659 |
" sleep(200);\n" |
| 3660 |
"\\&\n" |
| 3661 |
" return 0; /* Child terminates now */\n" |
| 3662 |
"}\n" |
| 3663 |
"\\&\n" |
| 3664 |
"#define STACK_SIZE (1024 * 1024) /* Stack size for cloned child */\n" |
| 3665 |
"\\&\n" |
| 3666 |
"int\n" |
| 3667 |
"main(int argc, char *argv[])\n" |
| 3668 |
"{\n" |
| 3669 |
" char *stack; /* Start of stack buffer */\n" |
| 3670 |
" char *stackTop; /* End of stack buffer */\n" |
| 3671 |
" pid_t pid;\n" |
| 3672 |
" struct utsname uts;\n" |
| 3673 |
"\\&\n" |
| 3674 |
" if (argc E<lt> 2) {\n" |
| 3675 |
" fprintf(stderr, \"Usage: %s E<lt>child-hostnameE<gt>\\[rs]n\", argv[0]);\n" |
| 3676 |
" exit(EXIT_SUCCESS);\n" |
| 3677 |
" }\n" |
| 3678 |
"\\&\n" |
| 3679 |
" /* Allocate memory to be used for the stack of the child. */\n" |
| 3680 |
"\\&\n" |
| 3681 |
" stack = mmap(NULL, STACK_SIZE, PROT_READ | PROT_WRITE,\n" |
| 3682 |
" MAP_PRIVATE | MAP_ANONYMOUS | MAP_STACK, -1, 0);\n" |
| 3683 |
" if (stack == MAP_FAILED)\n" |
| 3684 |
" err(EXIT_FAILURE, \"mmap\");\n" |
| 3685 |
"\\&\n" |
| 3686 |
" stackTop = stack + STACK_SIZE; /* Assume stack grows downward */\n" |
| 3687 |
"\\&\n" |
| 3688 |
" /* Create child that has its own UTS namespace;\n" |
| 3689 |
" child commences execution in childFunc(). */\n" |
| 3690 |
"\\&\n" |
| 3691 |
" pid = clone(childFunc, stackTop, CLONE_NEWUTS | SIGCHLD, argv[1]);\n" |
| 3692 |
" if (pid == -1)\n" |
| 3693 |
" err(EXIT_FAILURE, \"clone\");\n" |
| 3694 |
" if (munmap(stack, STACK_SIZE))\n" |
| 3695 |
" err(EXIT_FAILURE, \"munmap\");\n" |
| 3696 |
" printf(\"clone() returned %jd\\[rs]n\", (intmax_t) pid);\n" |
| 3697 |
"\\&\n" |
| 3698 |
" /* Parent falls through to here */\n" |
| 3699 |
"\\&\n" |
| 3700 |
" sleep(1); /* Give child time to change its hostname */\n" |
| 3701 |
"\\&\n" |
| 3702 |
" /* Display hostname in parent\\[aq]s UTS namespace. This will be\n" |
| 3703 |
" different from hostname in child\\[aq]s UTS namespace. */\n" |
| 3704 |
"\\&\n" |
| 3705 |
" if (uname(&uts) == -1)\n" |
| 3706 |
" err(EXIT_FAILURE, \"uname\");\n" |
| 3707 |
" printf(\"uts.nodename in parent: %s\\[rs]n\", uts.nodename);\n" |
| 3708 |
"\\&\n" |
| 3709 |
" if (waitpid(pid, NULL, 0) == -1) /* Wait for child */\n" |
| 3710 |
" err(EXIT_FAILURE, \"waitpid\");\n" |
| 3711 |
" printf(\"child has terminated\\[rs]n\");\n" |
| 3712 |
"\\&\n" |
| 3713 |
" exit(EXIT_SUCCESS);\n" |
| 3714 |
"}\n" |
| 3715 |
|
| 3716 |
#. SRC END |
| 3717 |
#. type: SH |
| 3718 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3719 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3720 |
#, no-wrap |
| 3721 |
msgid "SEE ALSO" |
| 3722 |
msgstr "VOIR AUSSI" |
| 3723 |
|
| 3724 |
#. type: Plain text |
| 3725 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3726 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3727 |
msgid "" |
| 3728 |
"B<fork>(2), B<futex>(2), B<getpid>(2), B<gettid>(2), B<kcmp>(2), B<mmap>(2), " |
| 3729 |
"B<pidfd_open>(2), B<set_thread_area>(2), B<set_tid_address>(2), B<setns>(2), " |
| 3730 |
"B<tkill>(2), B<unshare>(2), B<wait>(2), B<capabilities>(7), " |
| 3731 |
"B<namespaces>(7), B<pthreads>(7)" |
| 3732 |
msgstr "" |
| 3733 |
"B<fork>(2), B<futex>(2), B<getpid>(2), B<gettid>(2), B<kcmp>(2), B<mmap>(2), " |
| 3734 |
"B<pidfd_open>(2), B<set_thread_area>(2), B<set_tid_address>(2), B<setns>(2), " |
| 3735 |
"B<tkill>(2), B<unshare>(2), B<wait>(2), B<capabilities>(7), " |
| 3736 |
"B<namespaces>(7), B<pthreads>(7)" |
| 3737 |
|
| 3738 |
#. type: TH |
| 3739 |
#: debian-trixie |
| 3740 |
#, no-wrap |
| 3741 |
msgid "2024-06-15" |
| 3742 |
msgstr "15 juin 2024" |
| 3743 |
|
| 3744 |
#. type: TH |
| 3745 |
#: debian-trixie |
| 3746 |
#, no-wrap |
| 3747 |
msgid "Linux man-pages 6.9.1" |
| 3748 |
msgstr "Pages du manuel de Linux 6.9.1" |
| 3749 |
|
| 3750 |
#. type: Plain text |
| 3751 |
#: debian-trixie |
| 3752 |
msgid "Standard C library (I<libc>, I<-lc>)" |
| 3753 |
msgstr "Bibliothèque C standard (I<libc>, I<-lc>)" |
| 3754 |
|
| 3755 |
#. type: Plain text |
| 3756 |
#: debian-trixie |
| 3757 |
#, no-wrap |
| 3758 |
msgid "" |
| 3759 |
"B<int clone(int (*>I<fn>B<)(void *_Nullable), void *>I<stack>B<, int >I<flags>B<,>\n" |
| 3760 |
"B< void *_Nullable >I<arg>B<, ...>I< >/*B< pid_t *_Nullable >I<parent_tid>B<,>\n" |
| 3761 |
"B< void *_Nullable >I<tls>B<,>\n" |
| 3762 |
"B< pid_t *_Nullable >I<child_tid>B< >*/B< );>\n" |
| 3763 |
msgstr "" |
| 3764 |
"B<int clone(int (*>I<fn>B<)(void *_Nullable), void *>I<stack>B<, int >I<flags>B<,>\n" |
| 3765 |
"B< void *_Nullable >I<arg>B<, ...>I< >/*B< pid_t *_Nullable >I<parent_tid>B<,>\n" |
| 3766 |
"B< void *_Nullable >I<tls>B<,>\n" |
| 3767 |
"B< pid_t *_Nullable >I<child_tid>B< >*/B< );>\n" |
| 3768 |
|
| 3769 |
#. type: Plain text |
| 3770 |
#: debian-trixie |
| 3771 |
#, no-wrap |
| 3772 |
msgid "/* For the prototype of the raw clone() system call, see NOTES */\n" |
| 3773 |
msgstr "/* Pour le prototype de l'appel système clone() brut, voir REMARQUES */\n" |
| 3774 |
|
| 3775 |
#. type: Plain text |
| 3776 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3777 |
#, no-wrap |
| 3778 |
msgid "" |
| 3779 |
"struct clone_args {\n" |
| 3780 |
" u64 flags; /* Flags bit mask */\n" |
| 3781 |
" u64 pidfd; /* Where to store PID file descriptor\n" |
| 3782 |
" (I<int *>) */\n" |
| 3783 |
" u64 child_tid; /* Where to store child TID,\n" |
| 3784 |
" in child\\[aq]s memory (I<pid_t *>) */\n" |
| 3785 |
" u64 parent_tid; /* Where to store child TID,\n" |
| 3786 |
" in parent\\[aq]s memory (I<pid_t *>) */\n" |
| 3787 |
" u64 exit_signal; /* Signal to deliver to parent on\n" |
| 3788 |
" child termination */\n" |
| 3789 |
" u64 stack; /* Pointer to lowest byte of stack */\n" |
| 3790 |
" u64 stack_size; /* Size of stack */\n" |
| 3791 |
" u64 tls; /* Location of new TLS */\n" |
| 3792 |
" u64 set_tid; /* Pointer to a I<pid_t> array\n" |
| 3793 |
" (since Linux 5.5) */\n" |
| 3794 |
" u64 set_tid_size; /* Number of elements in I<set_tid>\n" |
| 3795 |
" (since Linux 5.5) */\n" |
| 3796 |
" u64 cgroup; /* File descriptor for target cgroup\n" |
| 3797 |
" of child (since Linux 5.7) */\n" |
| 3798 |
"};\n" |
| 3799 |
msgstr "" |
| 3800 |
"struct clone_args {\n" |
| 3801 |
" u64 flags; /* Masque de bit d'attribut */\n" |
| 3802 |
" u64 pidfd; /* Où stocker le descripteur de fichier du PID\n" |
| 3803 |
" (I<int *>) */\n" |
| 3804 |
" u64 child_tid; /* Où stocker le TID enfant,\n" |
| 3805 |
" dans la mémoire de l'enfant (I<pid_t *>) */\n" |
| 3806 |
" u64 parent_tid; /* Où stocker le TID enfant,\n" |
| 3807 |
" dans la mémoire du parent (I<pid_t *>) */\n" |
| 3808 |
" u64 exit_signal; /* Signal à envoyer au parent quand\n" |
| 3809 |
" l'enfant se termine */\n" |
| 3810 |
" u64 stack; /* Pointeur vers l'octet le plus faible de la pile */\n" |
| 3811 |
" u64 stack_size; /* Taille de la pile */\n" |
| 3812 |
" u64 tls; /* Emplacement du nouveau TLS */\n" |
| 3813 |
" u64 set_tid; /* Pointeur vers un tableau I<pid_t>\n" |
| 3814 |
" (depuis Linux 5.5) */\n" |
| 3815 |
" u64 set_tid_size; /* Nombre d'éléments dans I<set_tid>\n" |
| 3816 |
" (depuis Linux 5.5) */\n" |
| 3817 |
" u64 cgroup; /* Descripteur de fichier du cgroup cible\n" |
| 3818 |
" de l'enfant (depuis Linux 5.7) */\n" |
| 3819 |
"};\n" |
| 3820 |
|
| 3821 |
#. type: tbl table |
| 3822 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3823 |
#, no-wrap |
| 3824 |
msgid "I<cl_args> field" |
| 3825 |
msgstr "Champ I<cl_args>" |
| 3826 |
|
| 3827 |
#. type: tbl table |
| 3828 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3829 |
#, no-wrap |
| 3830 |
msgid "For most flags; details below" |
| 3831 |
msgstr "Pour la plupart des attributs, détails ci-dessous" |
| 3832 |
|
| 3833 |
#. type: tbl table |
| 3834 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3835 |
#, no-wrap |
| 3836 |
msgid "I<--->" |
| 3837 |
msgstr "I<--->" |
| 3838 |
|
| 3839 |
#. added in Linux 2.5.32; removed in Linux 2.6.0-test4 |
| 3840 |
#. type: Plain text |
| 3841 |
#: debian-trixie |
| 3842 |
msgid "" |
| 3843 |
"For a while (during the Linux 2.5 development series) there was a " |
| 3844 |
"B<CLONE_DETACHED> flag, which caused the parent not to receive a signal when " |
| 3845 |
"the child terminated. Ultimately, the effect of this flag was subsumed " |
| 3846 |
"under the B<CLONE_THREAD> flag and by the time Linux 2.6.0 was released, " |
| 3847 |
"this flag had no effect. Starting in Linux 2.6.2, the need to give this " |
| 3848 |
"flag together with B<CLONE_THREAD> disappeared." |
| 3849 |
msgstr "" |
| 3850 |
"Pendant un moment (pendant la série de versions au cours du développement de " |
| 3851 |
"Linux 2.5), il y a eu un attribut B<CLONE_DETACHED>, avec lequel le parent " |
| 3852 |
"ne recevait pas de signal quand l'enfant se terminait. Au final, l'effet de " |
| 3853 |
"cet attribut a été inhibé par l'attribut B<CLONE_THREAD> et quand Linux " |
| 3854 |
"2.6.0 a été publié, cet attribut n'avait pas d'effet. À partir de Linux " |
| 3855 |
"2.6.2, il n'a plus été nécessaire de fournir cet attribut avec " |
| 3856 |
"B<CLONE_THREAD>." |
| 3857 |
|
| 3858 |
#. type: Plain text |
| 3859 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3860 |
msgid "" |
| 3861 |
"It is currently not possible to use this flag together with B<CLONE_THREAD.> " |
| 3862 |
"This means that the process identified by the PID file descriptor will " |
| 3863 |
"always be a thread group leader." |
| 3864 |
msgstr "" |
| 3865 |
"Il n'est pas possible actuellement d'utiliser cet attribut avec " |
| 3866 |
"B<CLONE_THREAD.> Cela veut dire que le processus identifié par le " |
| 3867 |
"descripteur de fichier PID sera toujours un leader dans le groupe de threads." |
| 3868 |
|
| 3869 |
#. type: Plain text |
| 3870 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3871 |
#, no-wrap |
| 3872 |
msgid "" |
| 3873 |
"B<long clone(unsigned long >I<flags>B<, void *>I<stack>B<,>\n" |
| 3874 |
"B< int >I<stack_size>B<,> /* Size of stack */\n" |
| 3875 |
"B< int *>I<parent_tid>B<, int *>I<child_tid>B<,>\n" |
| 3876 |
"B< unsigned long >I<tls>B<);>\n" |
| 3877 |
msgstr "" |
| 3878 |
"B<long clone(unsigned long >I<flags>B<, void *>I<stack>B<,>\n" |
| 3879 |
"B< int >I<stack_size>B<,> /* Taille de la pile */\n" |
| 3880 |
"B< int *>I<parent_tid>B<, int *>I<child_tid>B<,>\n" |
| 3881 |
"B< unsigned long >I<tls>B<);>\n" |
| 3882 |
|
| 3883 |
#. type: Plain text |
| 3884 |
#: debian-trixie |
| 3885 |
#, no-wrap |
| 3886 |
msgid "" |
| 3887 |
"B<int __clone2(int (*>I<fn>B<)(void *),>\n" |
| 3888 |
"B< void *>I<stack_base>B<, size_t >I<stack_size>B<,>\n" |
| 3889 |
"B< int >I<flags>B<, void *>I<arg>B<, ...>\n" |
| 3890 |
"B< /* pid_t *>I<parent_tid>B<, struct user_desc *>I<tls>B<,>\n" |
| 3891 |
"B< pid_t *>I<child_tid>B< */ );>\n" |
| 3892 |
msgstr "" |
| 3893 |
"B<int __clone2(int (*>I<fn>B<)(void *),>\n" |
| 3894 |
"B< void *>I<stack_base>B<, size_t >I<stack_size>B<,>\n" |
| 3895 |
"B< int >I<flags>B<, void *>I<arg>B<, ...>\n" |
| 3896 |
"B< /* pid_t *>I<parent_tid>B<, struct user_desc *>I<tls>B<,>\n" |
| 3897 |
"B< pid_t *>I<child_tid>B< */ );>\n" |
| 3898 |
|
| 3899 |
#. type: Plain text |
| 3900 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3901 |
#, no-wrap |
| 3902 |
msgid "" |
| 3903 |
"B<long clone2(unsigned long >I<flags>B<, void *>I<stack_base>B<,>\n" |
| 3904 |
"B< int >I<stack_size>B<,> /* Size of stack */\n" |
| 3905 |
"B< int *>I<parent_tid>B<, int *>I<child_tid>B<,>\n" |
| 3906 |
"B< unsigned long >I<tls>B<);>\n" |
| 3907 |
msgstr "" |
| 3908 |
"B<long clone2(unsigned long >I<flags>B<, void *>I<stack_base>B<,>\n" |
| 3909 |
"B< int >I<stack_size>B<,> /* Taille de la pile */\n" |
| 3910 |
"B< int *>I<parent_tid>B<, int *>I<child_tid>B<,>\n" |
| 3911 |
"B< unsigned long >I<tls>B<);>\n" |
| 3912 |
|
| 3913 |
#. type: Plain text |
| 3914 |
#: debian-trixie |
| 3915 |
#, no-wrap |
| 3916 |
msgid "" |
| 3917 |
"#define _GNU_SOURCE\n" |
| 3918 |
"#include E<lt>err.hE<gt>\n" |
| 3919 |
"#include E<lt>sched.hE<gt>\n" |
| 3920 |
"#include E<lt>signal.hE<gt>\n" |
| 3921 |
"#include E<lt>stdint.hE<gt>\n" |
| 3922 |
"#include E<lt>stdio.hE<gt>\n" |
| 3923 |
"#include E<lt>stdlib.hE<gt>\n" |
| 3924 |
"#include E<lt>string.hE<gt>\n" |
| 3925 |
"#include E<lt>sys/mman.hE<gt>\n" |
| 3926 |
"#include E<lt>sys/types.hE<gt>\n" |
| 3927 |
"#include E<lt>sys/utsname.hE<gt>\n" |
| 3928 |
"#include E<lt>sys/wait.hE<gt>\n" |
| 3929 |
"#include E<lt>unistd.hE<gt>\n" |
| 3930 |
"\\&\n" |
| 3931 |
"static int /* Start function for cloned child */\n" |
| 3932 |
"childFunc(void *arg)\n" |
| 3933 |
"{\n" |
| 3934 |
" struct utsname uts;\n" |
| 3935 |
"\\&\n" |
| 3936 |
" /* Change hostname in UTS namespace of child. */\n" |
| 3937 |
"\\&\n" |
| 3938 |
" if (sethostname(arg, strlen(arg)) == -1)\n" |
| 3939 |
" err(EXIT_FAILURE, \"sethostname\");\n" |
| 3940 |
"\\&\n" |
| 3941 |
" /* Retrieve and display hostname. */\n" |
| 3942 |
"\\&\n" |
| 3943 |
" if (uname(&uts) == -1)\n" |
| 3944 |
" err(EXIT_FAILURE, \"uname\");\n" |
| 3945 |
" printf(\"uts.nodename in child: %s\\[rs]n\", uts.nodename);\n" |
| 3946 |
"\\&\n" |
| 3947 |
" /* Keep the namespace open for a while, by sleeping.\n" |
| 3948 |
" This allows some experimentation--for example, another\n" |
| 3949 |
" process might join the namespace. */\n" |
| 3950 |
"\\&\n" |
| 3951 |
" sleep(200);\n" |
| 3952 |
"\\&\n" |
| 3953 |
" return 0; /* Child terminates now */\n" |
| 3954 |
"}\n" |
| 3955 |
"\\&\n" |
| 3956 |
"#define STACK_SIZE (1024 * 1024) /* Stack size for cloned child */\n" |
| 3957 |
"\\&\n" |
| 3958 |
"int\n" |
| 3959 |
"main(int argc, char *argv[])\n" |
| 3960 |
"{\n" |
| 3961 |
" char *stack; /* Start of stack buffer */\n" |
| 3962 |
" char *stackTop; /* End of stack buffer */\n" |
| 3963 |
" pid_t pid;\n" |
| 3964 |
" struct utsname uts;\n" |
| 3965 |
"\\&\n" |
| 3966 |
" if (argc E<lt> 2) {\n" |
| 3967 |
" fprintf(stderr, \"Usage: %s E<lt>child-hostnameE<gt>\\[rs]n\", argv[0]);\n" |
| 3968 |
" exit(EXIT_SUCCESS);\n" |
| 3969 |
" }\n" |
| 3970 |
"\\&\n" |
| 3971 |
" /* Allocate memory to be used for the stack of the child. */\n" |
| 3972 |
"\\&\n" |
| 3973 |
" stack = mmap(NULL, STACK_SIZE, PROT_READ | PROT_WRITE,\n" |
| 3974 |
" MAP_PRIVATE | MAP_ANONYMOUS | MAP_STACK, -1, 0);\n" |
| 3975 |
" if (stack == MAP_FAILED)\n" |
| 3976 |
" err(EXIT_FAILURE, \"mmap\");\n" |
| 3977 |
"\\&\n" |
| 3978 |
" stackTop = stack + STACK_SIZE; /* Assume stack grows downward */\n" |
| 3979 |
"\\&\n" |
| 3980 |
" /* Create child that has its own UTS namespace;\n" |
| 3981 |
" child commences execution in childFunc(). */\n" |
| 3982 |
"\\&\n" |
| 3983 |
" pid = clone(childFunc, stackTop, CLONE_NEWUTS | SIGCHLD, argv[1]);\n" |
| 3984 |
" if (pid == -1)\n" |
| 3985 |
" err(EXIT_FAILURE, \"clone\");\n" |
| 3986 |
" printf(\"clone() returned %jd\\[rs]n\", (intmax_t) pid);\n" |
| 3987 |
"\\&\n" |
| 3988 |
" /* Parent falls through to here */\n" |
| 3989 |
"\\&\n" |
| 3990 |
" sleep(1); /* Give child time to change its hostname */\n" |
| 3991 |
"\\&\n" |
| 3992 |
" /* Display hostname in parent\\[aq]s UTS namespace. This will be\n" |
| 3993 |
" different from hostname in child\\[aq]s UTS namespace. */\n" |
| 3994 |
"\\&\n" |
| 3995 |
" if (uname(&uts) == -1)\n" |
| 3996 |
" err(EXIT_FAILURE, \"uname\");\n" |
| 3997 |
" printf(\"uts.nodename in parent: %s\\[rs]n\", uts.nodename);\n" |
| 3998 |
"\\&\n" |
| 3999 |
" if (waitpid(pid, NULL, 0) == -1) /* Wait for child */\n" |
| 4000 |
" err(EXIT_FAILURE, \"waitpid\");\n" |
| 4001 |
" printf(\"child has terminated\\[rs]n\");\n" |
| 4002 |
"\\&\n" |
| 4003 |
" exit(EXIT_SUCCESS);\n" |
| 4004 |
"}\n" |
| 4005 |
msgstr "" |
| 4006 |
"#define _GNU_SOURCE\n" |
| 4007 |
"#include E<lt>err.hE<gt>\n" |
| 4008 |
"#include E<lt>sched.hE<gt>\n" |
| 4009 |
"#include E<lt>signal.hE<gt>\n" |
| 4010 |
"#include E<lt>stdint.hE<gt>\n" |
| 4011 |
"#include E<lt>stdio.hE<gt>\n" |
| 4012 |
"#include E<lt>stdlib.hE<gt>\n" |
| 4013 |
"#include E<lt>string.hE<gt>\n" |
| 4014 |
"#include E<lt>sys/mman.hE<gt>\n" |
| 4015 |
"#include E<lt>sys/types.hE<gt>\n" |
| 4016 |
"#include E<lt>sys/utsname.hE<gt>\n" |
| 4017 |
"#include E<lt>sys/wait.hE<gt>\n" |
| 4018 |
"#include E<lt>unistd.hE<gt>\n" |
| 4019 |
"\\&\n" |
| 4020 |
"static int /* Commencer la fonction pour l'enfant cloné */\n" |
| 4021 |
"childFunc(void *arg)\n" |
| 4022 |
"{\n" |
| 4023 |
" struct utsname uts;\n" |
| 4024 |
"\\&\n" |
| 4025 |
" /* Modifier le nom d'hôte dans l'espace de noms UTS de l'enfant. */\n" |
| 4026 |
"\\&\n" |
| 4027 |
" if (sethostname(arg, strlen(arg)) == -1)\n" |
| 4028 |
" err(EXIT_FAILURE, \"sethostname\");\n" |
| 4029 |
"\\&\n" |
| 4030 |
" /* Récupérer et afficher le nom d'hôte. */\n" |
| 4031 |
"\\&\n" |
| 4032 |
" if (uname(&uts) == -1)\n" |
| 4033 |
" err(EXIT_FAILURE, \"uname\");\n" |
| 4034 |
" printf(\"uts.nodename dans l'enfant : %s\\[rs]n\", uts.nodename);\n" |
| 4035 |
"\\&\n" |
| 4036 |
" /* Rester en sommeil (fonction sleep) pour conserver l'espace\n" |
| 4037 |
" de noms ouvert pendant un moment. Cela permet de réaliser\n" |
| 4038 |
" quelques expérimentations — par exemple, un autre processus\n" |
| 4039 |
" pourrait rejoindre l'espace de noms. */\n" |
| 4040 |
"\\&\n" |
| 4041 |
" sleep(200);\n" |
| 4042 |
"\\&\n" |
| 4043 |
" return 0; /* Le processus enfant se termine à ce moment */\n" |
| 4044 |
"}\n" |
| 4045 |
"\\&\n" |
| 4046 |
"#define STACK_SIZE (1024 * 1024) /* Taille de la pile pour \n" |
| 4047 |
" l'enfant cloné */\n" |
| 4048 |
"\\&\n" |
| 4049 |
"int\n" |
| 4050 |
"main(int argc, char *argv[])\n" |
| 4051 |
"{\n" |
| 4052 |
" char *stack; /* Début du tampon de la pile */\n" |
| 4053 |
" char *stackTop; /* Fin du tampon de la pile */\n" |
| 4054 |
" pid_t pid;\n" |
| 4055 |
" struct utsname uts;\n" |
| 4056 |
"\\&\n" |
| 4057 |
" if (argc E<lt> 2) {\n" |
| 4058 |
" fprintf(stderr, \"Utilisation : %s E<lt>nom_d_hôte-enfantE<gt>\\en\", argv[0]);\n" |
| 4059 |
" exit(EXIT_SUCCESS);\n" |
| 4060 |
" }\n" |
| 4061 |
"\\&\n" |
| 4062 |
" /* Allouer la mémoire à utiliser pour la pile du processus enfant. */\n" |
| 4063 |
"\\&\n" |
| 4064 |
" stack = mmap(NULL, STACK_SIZE, PROT_READ | PROT_WRITE,\n" |
| 4065 |
" MAP_PRIVATE | MAP_ANONYMOUS | MAP_STACK, -1, 0);\n" |
| 4066 |
" if (stack == MAP_FAILED)\n" |
| 4067 |
" err(EXIT_FAILURE, \"mmap\");\n" |
| 4068 |
"\\&\n" |
| 4069 |
" stackTop = stack + STACK_SIZE; /* On suppose que la pile grandit vers\n" |
| 4070 |
" le bas */\n" |
| 4071 |
"\\&\n" |
| 4072 |
" /* Créer un processus enfant disposant de son propre\n" |
| 4073 |
" espace de noms UTS ; le processus enfant débute\n" |
| 4074 |
" son exécution dans childFunc(). */\n" |
| 4075 |
"\\&\n" |
| 4076 |
" pid = clone(childFunc, stackTop, CLONE_NEWUTS | SIGCHLD, argv[1]);\n" |
| 4077 |
" if (pid == -1)\n" |
| 4078 |
" err(EXIT_FAILURE, \"clone\");\n" |
| 4079 |
" printf(\"clone() a renvoyé %jd\\[rs]n\", (intmax_t) pid);\n" |
| 4080 |
"\\&\n" |
| 4081 |
" /* Le parent se retrouve ici */\n" |
| 4082 |
"\\&\n" |
| 4083 |
" sleep(1); /* Laisser le temps au processus enfant de\n" |
| 4084 |
" changer son nom d'hôte */\n" |
| 4085 |
"\\&\n" |
| 4086 |
" /* Afficher le nom d'hôte pour l'espace de noms UTS du processus parent.\n" |
| 4087 |
" Celui-ci sera différent du nom d'hôte pour l'espace de noms UTS du\n" |
| 4088 |
" processus enfant. */\n" |
| 4089 |
"\\&\n" |
| 4090 |
" if (uname(&uts) == -1)\n" |
| 4091 |
" err(EXIT_FAILURE, \"uname\");\n" |
| 4092 |
" printf(\"uts.nodename dans le parent : %s\\[rs]n\", uts.nodename);\n" |
| 4093 |
"\\&\n" |
| 4094 |
" if (waitpid(pid, NULL, 0) == -1) /* Attendre le processus enfant */\n" |
| 4095 |
" err(EXIT_FAILURE, \"waitpid\");\n" |
| 4096 |
" printf(\"Fin du processus enfant\\[rs]n\");\n" |
| 4097 |
"\\&\n" |
| 4098 |
" exit(EXIT_SUCCESS);\n" |
| 4099 |
"}\n" |
| 4100 |
|
| 4101 |
#. type: TH |
| 4102 |
#: fedora-44 fedora-rawhide |
| 4103 |
#, no-wrap |
| 4104 |
msgid "2025-02-10" |
| 4105 |
msgstr "10 février 2025" |
| 4106 |
|
| 4107 |
#. type: TH |
| 4108 |
#: fedora-44 fedora-rawhide |
| 4109 |
#, no-wrap |
| 4110 |
msgid "Linux man-pages 6.13" |
| 4111 |
msgstr "Pages du manuel de Linux 6.13" |
| 4112 |
|
| 4113 |
#. type: Plain text |
| 4114 |
#: fedora-44 fedora-rawhide |
| 4115 |
#, no-wrap |
| 4116 |
msgid "/* For the prototype of the raw clone() system call, see VERSIONS. */\n" |
| 4117 |
msgstr "/* Pour le prototype de l'appel système clone() brut, voir VERSIONS. */\n" |
| 4118 |
|
| 4119 |
#. type: Plain text |
| 4120 |
#: fedora-44 fedora-rawhide |
| 4121 |
#, no-wrap |
| 4122 |
msgid "" |
| 4123 |
"B<int __clone2(typeof(int (void *)) *>I<fn>B<,>\n" |
| 4124 |
"B< void *>I<stack_base>B<, size_t >I<stack_size>B<,>\n" |
| 4125 |
"B< int >I<flags>B<, void *>I<arg>B<, ...>\n" |
| 4126 |
"B< >/*B< pid_t *>I<parent_tid>B<, struct user_desc *>I<tls>B<,>\n" |
| 4127 |
"B< pid_t *>I<child_tid>B< >*/B< );>\n" |
| 4128 |
msgstr "" |
| 4129 |
"B<int __clone2(typeof(int (void *)) *>I<fn>B<,>\n" |
| 4130 |
"B< void *>I<stack_base>B<, size_t >I<stack_size>B<,>\n" |
| 4131 |
"B< int >I<flags>B<, void *>I<arg>B<, ...>\n" |
| 4132 |
"B< >/*B< pid_t *>I<parent_tid>B<, struct user_desc *>I<tls>B<,>\n" |
| 4133 |
"B< pid_t *>I<child_tid>B< >*/B< );>\n" |
| 4134 |
|
| 4135 |
#. type: Plain text |
| 4136 |
#: fedora-44 fedora-rawhide |
| 4137 |
#, no-wrap |
| 4138 |
msgid "" |
| 4139 |
"#define _GNU_SOURCE\n" |
| 4140 |
"#include E<lt>err.hE<gt>\n" |
| 4141 |
"#include E<lt>sched.hE<gt>\n" |
| 4142 |
"#include E<lt>signal.hE<gt>\n" |
| 4143 |
"#include E<lt>stdint.hE<gt>\n" |
| 4144 |
"#include E<lt>stdio.hE<gt>\n" |
| 4145 |
"#include E<lt>stdlib.hE<gt>\n" |
| 4146 |
"#include E<lt>string.hE<gt>\n" |
| 4147 |
"#include E<lt>sys/mman.hE<gt>\n" |
| 4148 |
"#include E<lt>sys/types.hE<gt>\n" |
| 4149 |
"#include E<lt>sys/utsname.hE<gt>\n" |
| 4150 |
"#include E<lt>sys/wait.hE<gt>\n" |
| 4151 |
"#include E<lt>unistd.hE<gt>\n" |
| 4152 |
"\\&\n" |
| 4153 |
"static int /* Start function for cloned child */\n" |
| 4154 |
"childFunc(void *arg)\n" |
| 4155 |
"{\n" |
| 4156 |
" struct utsname uts;\n" |
| 4157 |
"\\&\n" |
| 4158 |
" /* Change hostname in UTS namespace of child. */\n" |
| 4159 |
"\\&\n" |
| 4160 |
" if (sethostname(arg, strlen(arg)) == -1)\n" |
| 4161 |
" err(EXIT_FAILURE, \"sethostname\");\n" |
| 4162 |
"\\&\n" |
| 4163 |
" /* Retrieve and display hostname. */\n" |
| 4164 |
"\\&\n" |
| 4165 |
" if (uname(&uts) == -1)\n" |
| 4166 |
" err(EXIT_FAILURE, \"uname\");\n" |
| 4167 |
" printf(\"uts.nodename in child: %s\\[rs]n\", uts.nodename);\n" |
| 4168 |
"\\&\n" |
| 4169 |
" /* Keep the namespace open for a while, by sleeping.\n" |
| 4170 |
" This allows some experimentation--for example, another\n" |
| 4171 |
" process might join the namespace. */\n" |
| 4172 |
"\\&\n" |
| 4173 |
" sleep(200);\n" |
| 4174 |
"\\&\n" |
| 4175 |
" return 0; /* Child terminates now */\n" |
| 4176 |
"}\n" |
| 4177 |
"\\&\n" |
| 4178 |
"#define STACK_SIZE (1024 * 1024) /* Stack size for cloned child */\n" |
| 4179 |
"\\&\n" |
| 4180 |
"int\n" |
| 4181 |
"main(int argc, char *argv[])\n" |
| 4182 |
"{\n" |
| 4183 |
" char *stack; /* Start of stack buffer */\n" |
| 4184 |
" char *stackTop; /* End of stack buffer */\n" |
| 4185 |
" pid_t pid;\n" |
| 4186 |
" struct utsname uts;\n" |
| 4187 |
"\\&\n" |
| 4188 |
" if (argc E<lt> 2) {\n" |
| 4189 |
" fprintf(stderr, \"Usage: %s E<lt>child-hostnameE<gt>\\[rs]n\", argv[0]);\n" |
| 4190 |
" exit(EXIT_SUCCESS);\n" |
| 4191 |
" }\n" |
| 4192 |
"\\&\n" |
| 4193 |
" /* Allocate memory to be used for the stack of the child. */\n" |
| 4194 |
"\\&\n" |
| 4195 |
" stack = mmap(NULL, STACK_SIZE, PROT_READ | PROT_WRITE,\n" |
| 4196 |
" MAP_PRIVATE | MAP_ANONYMOUS | MAP_STACK, -1, 0);\n" |
| 4197 |
" if (stack == MAP_FAILED)\n" |
| 4198 |
" err(EXIT_FAILURE, \"mmap\");\n" |
| 4199 |
"\\&\n" |
| 4200 |
" stackTop = stack + STACK_SIZE; /* Assume stack grows downward */\n" |
| 4201 |
"\\&\n" |
| 4202 |
" /* Create child that has its own UTS namespace;\n" |
| 4203 |
" child commences execution in childFunc(). */\n" |
| 4204 |
"\\&\n" |
| 4205 |
" pid = clone(childFunc, stackTop, CLONE_NEWUTS | SIGCHLD, argv[1]);\n" |
| 4206 |
" if (pid == -1)\n" |
| 4207 |
" err(EXIT_FAILURE, \"clone\");\n" |
| 4208 |
" if (munmap(stack, STACK_SIZE))\n" |
| 4209 |
" err(EXIT_FAILURE, \"munmap\");\n" |
| 4210 |
" printf(\"clone() returned %jd\\[rs]n\", (intmax_t) pid);\n" |
| 4211 |
"\\&\n" |
| 4212 |
" /* Parent falls through to here */\n" |
| 4213 |
"\\&\n" |
| 4214 |
" sleep(1); /* Give child time to change its hostname */\n" |
| 4215 |
"\\&\n" |
| 4216 |
" /* Display hostname in parent\\[aq]s UTS namespace. This will be\n" |
| 4217 |
" different from hostname in child\\[aq]s UTS namespace. */\n" |
| 4218 |
"\\&\n" |
| 4219 |
" if (uname(&uts) == -1)\n" |
| 4220 |
" err(EXIT_FAILURE, \"uname\");\n" |
| 4221 |
" printf(\"uts.nodename in parent: %s\\[rs]n\", uts.nodename);\n" |
| 4222 |
"\\&\n" |
| 4223 |
" if (waitpid(pid, NULL, 0) == -1) /* Wait for child */\n" |
| 4224 |
" err(EXIT_FAILURE, \"waitpid\");\n" |
| 4225 |
" printf(\"child has terminated\\[rs]n\");\n" |
| 4226 |
"\\&\n" |
| 4227 |
" exit(EXIT_SUCCESS);\n" |
| 4228 |
"}\n" |
| 4229 |
msgstr "" |
| 4230 |
"#define _GNU_SOURCE\n" |
| 4231 |
"#include E<lt>err.hE<gt>\n" |
| 4232 |
"#include E<lt>sched.hE<gt>\n" |
| 4233 |
"#include E<lt>signal.hE<gt>\n" |
| 4234 |
"#include E<lt>stdint.hE<gt>\n" |
| 4235 |
"#include E<lt>stdio.hE<gt>\n" |
| 4236 |
"#include E<lt>stdlib.hE<gt>\n" |
| 4237 |
"#include E<lt>string.hE<gt>\n" |
| 4238 |
"#include E<lt>sys/mman.hE<gt>\n" |
| 4239 |
"#include E<lt>sys/types.hE<gt>\n" |
| 4240 |
"#include E<lt>sys/utsname.hE<gt>\n" |
| 4241 |
"#include E<lt>sys/wait.hE<gt>\n" |
| 4242 |
"#include E<lt>unistd.hE<gt>\n" |
| 4243 |
"\\&\n" |
| 4244 |
"static int /* Start function for cloned child */\n" |
| 4245 |
"childFunc(void *arg)\n" |
| 4246 |
"{\n" |
| 4247 |
" struct utsname uts;\n" |
| 4248 |
"\\&\n" |
| 4249 |
" /* Change hostname in UTS namespace of child. */\n" |
| 4250 |
"\\&\n" |
| 4251 |
" if (sethostname(arg, strlen(arg)) == -1)\n" |
| 4252 |
" err(EXIT_FAILURE, \"sethostname\");\n" |
| 4253 |
"\\&\n" |
| 4254 |
" /* Retrieve and display hostname. */\n" |
| 4255 |
"\\&\n" |
| 4256 |
" if (uname(&uts) == -1)\n" |
| 4257 |
" err(EXIT_FAILURE, \"uname\");\n" |
| 4258 |
" printf(\"uts.nodename in child: %s\\[rs]n\", uts.nodename);\n" |
| 4259 |
"\\&\n" |
| 4260 |
" /* Keep the namespace open for a while, by sleeping.\n" |
| 4261 |
" This allows some experimentation--for example, another\n" |
| 4262 |
" process might join the namespace. */\n" |
| 4263 |
"\\&\n" |
| 4264 |
" sleep(200);\n" |
| 4265 |
"\\&\n" |
| 4266 |
" return 0; /* Child terminates now */\n" |
| 4267 |
"}\n" |
| 4268 |
"\\&\n" |
| 4269 |
"#define STACK_SIZE (1024 * 1024) /* Stack size for cloned child */\n" |
| 4270 |
"\\&\n" |
| 4271 |
"int\n" |
| 4272 |
"main(int argc, char *argv[])\n" |
| 4273 |
"{\n" |
| 4274 |
" char *stack; /* Start of stack buffer */\n" |
| 4275 |
" char *stackTop; /* End of stack buffer */\n" |
| 4276 |
" pid_t pid;\n" |
| 4277 |
" struct utsname uts;\n" |
| 4278 |
"\\&\n" |
| 4279 |
" if (argc E<lt> 2) {\n" |
| 4280 |
" fprintf(stderr, \"Usage: %s E<lt>child-hostnameE<gt>\\[rs]n\", argv[0]);\n" |
| 4281 |
" exit(EXIT_SUCCESS);\n" |
| 4282 |
" }\n" |
| 4283 |
"\\&\n" |
| 4284 |
" /* Allocate memory to be used for the stack of the child. */\n" |
| 4285 |
"\\&\n" |
| 4286 |
" stack = mmap(NULL, STACK_SIZE, PROT_READ | PROT_WRITE,\n" |
| 4287 |
" MAP_PRIVATE | MAP_ANONYMOUS | MAP_STACK, -1, 0);\n" |
| 4288 |
" if (stack == MAP_FAILED)\n" |
| 4289 |
" err(EXIT_FAILURE, \"mmap\");\n" |
| 4290 |
"\\&\n" |
| 4291 |
" stackTop = stack + STACK_SIZE; /* Assume stack grows downward */\n" |
| 4292 |
"\\&\n" |
| 4293 |
" /* Create child that has its own UTS namespace;\n" |
| 4294 |
" child commences execution in childFunc(). */\n" |
| 4295 |
"\\&\n" |
| 4296 |
" pid = clone(childFunc, stackTop, CLONE_NEWUTS | SIGCHLD, argv[1]);\n" |
| 4297 |
" if (pid == -1)\n" |
| 4298 |
" err(EXIT_FAILURE, \"clone\");\n" |
| 4299 |
" if (munmap(stack, STACK_SIZE))\n" |
| 4300 |
" err(EXIT_FAILURE, \"munmap\");\n" |
| 4301 |
" printf(\"clone() returned %jd\\[rs]n\", (intmax_t) pid);\n" |
| 4302 |
"\\&\n" |
| 4303 |
" /* Parent falls through to here */\n" |
| 4304 |
"\\&\n" |
| 4305 |
" sleep(1); /* Give child time to change its hostname */\n" |
| 4306 |
"\\&\n" |
| 4307 |
" /* Display hostname in parent\\[aq]s UTS namespace. This will be\n" |
| 4308 |
" different from hostname in child\\[aq]s UTS namespace. */\n" |
| 4309 |
"\\&\n" |
| 4310 |
" if (uname(&uts) == -1)\n" |
| 4311 |
" err(EXIT_FAILURE, \"uname\");\n" |
| 4312 |
" printf(\"uts.nodename in parent: %s\\[rs]n\", uts.nodename);\n" |
| 4313 |
"\\&\n" |
| 4314 |
" if (waitpid(pid, NULL, 0) == -1) /* Wait for child */\n" |
| 4315 |
" err(EXIT_FAILURE, \"waitpid\");\n" |
| 4316 |
" printf(\"child has terminated\\[rs]n\");\n" |
| 4317 |
"\\&\n" |
| 4318 |
" exit(EXIT_SUCCESS);\n" |
| 4319 |
"}\n" |
| 4320 |
|
| 4321 |
#. type: TH |
| 4322 |
#: mageia-cauldron |
| 4323 |
#, no-wrap |
| 4324 |
msgid "Linux man-pages 6.17" |
| 4325 |
msgstr "Pages du manuel de Linux 6.17" |
| 4326 |
|
| 4327 |
#. type: TH |
| 4328 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 4329 |
#, no-wrap |
| 4330 |
msgid "Linux man-pages (unreleased)" |
| 4331 |
msgstr "Pages du manuel de Linux (non publiées)" |