Debian Codegraph @

po/fr/man2/setns.2.po

raw
1 # French translation of manpages
2 # This file is distributed under the same license as the manpages-l10n package.
3 # Copyright © of this file:
4 # Christophe Blaess <https://www.blaess.fr/christophe/>, 1996-2003.
5 # Stéphan Rafin <[email protected]>, 2002.
6 # Thierry Vignaud <[email protected]>, 1999, 2002.
7 # François Micaux, 2002.
8 # Alain Portal <[email protected]>, 2003-2008.
9 # Jean-Philippe Guérard <[email protected]>, 2005-2006.
10 # Jean-Luc Coulon (f5ibh) <[email protected]>, 2006-2007.
11 # Julien Cristau <[email protected]>, 2006-2007.
12 # Thomas Huriaux <[email protected]>, 2006-2008.
13 # Nicolas François <[email protected]>, 2006-2008.
14 # Florentin Duneau <[email protected]>, 2006-2010.
15 # Simon Paillard <[email protected]>, 2006.
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]>, 2021-2024.
21 msgid ""
22 msgstr ""
23 "Project-Id-Version: manpages-l10n 4.25.0\n"
24 "POT-Creation-Date: 2026-06-05 06:43+0200\n"
25 "PO-Revision-Date: 2024-12-31 19:33+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 "setns"
40 msgstr "setns"
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 "setns - reassociate thread with a namespace"
66 msgstr "setns - Réassocier un thread avec un espace de noms"
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 ""
93 "B<#define _GNU_SOURCE> /* See feature_test_macros(7) */\n"
94 "B<#include E<lt>sched.hE<gt>>\n"
95 msgstr ""
96 "B<#define _GNU_SOURCE> /* Consultez feature_test_macros(7) */\n"
97 "B<#include E<lt>sched.hE<gt>>\n"
98
99 #. type: Plain text
100 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
101 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
102 #, no-wrap
103 msgid "B<int setns(int >I<fd>B<, int >I<nstype>B<);>\n"
104 msgstr "B<int setns(int >I<fd>B<, int >I<nstype>B<);>\n"
105
106 #. type: SH
107 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
108 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
109 #, no-wrap
110 msgid "DESCRIPTION"
111 msgstr "DESCRIPTION"
112
113 #. type: Plain text
114 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
115 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
116 msgid ""
117 "The B<setns>() system call allows the calling thread to move into different "
118 "namespaces. The I<fd> argument is one of the following:"
119 msgstr ""
120 "L'appel système B<setns>() permet au thread appelant de se déplacer dans "
121 "divers espaces de noms. Le paramètre I<fd> est un des suivants :"
122
123 #. type: IP
124 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
125 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
126 #, no-wrap
127 msgid "\\[bu]"
128 msgstr "-"
129
130 #. type: Plain text
131 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
132 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
133 msgid ""
134 "a file descriptor referring to one of the magic links in a I</proc/>pidI</ns/"
135 "> directory (or a bind mount to such a link);"
136 msgstr ""
137 "un descripteur de fichier renvoyant à un des liens magiques du répertoire I</"
138 "proc/>pidI</ns/> (ou un montage en boucle vers un tel lien) ;"
139
140 #. type: Plain text
141 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
142 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
143 msgid "a PID file descriptor (see B<pidfd_open>(2))."
144 msgstr "un descripteur de fichier de PID (B<pidfd_open>(2))."
145
146 #. type: Plain text
147 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
148 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
149 msgid "The I<nstype> argument is interpreted differently in each case."
150 msgstr "La paramètre I<nstype> est interprété différemment dans chaque cas."
151
152 #. type: SS
153 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
154 #: opensuse-tumbleweed
155 #, fuzzy, no-wrap
156 #| msgid "fd refers to a /proc/[pid]/ns/ link"
157 msgid "fd refers to a \\f[I]/proc/\\fBpid\\f[I]/ns/\\fB link"
158 msgstr "fd renvoie à un lien /proc/[pid]/ns/"
159
160 #. type: Plain text
161 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
162 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
163 msgid ""
164 "If I<fd> refers to a I</proc/>pidI</ns/> link, then B<setns>() reassociates "
165 "the calling thread with the namespace associated with that link, subject to "
166 "any constraints imposed by the I<nstype> argument. In this usage, each call "
167 "to B<setns>() changes just one of the caller's namespace memberships."
168 msgstr ""
169 "Si I<fd> renvoie à un I</proc/>pidI</ns/>, B<setns>() ré-associe le thread "
170 "appelant à l'espace de noms associé à ce lien, dans les contraintes posées "
171 "par le paramètre I<nstype>. Dans cet utilisation, l'appel B<setns>() ne "
172 "change qu'un des membres de l'espace de noms de l'appelant."
173
174 #. type: Plain text
175 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
176 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
177 msgid ""
178 "The I<nstype> argument specifies which type of namespace the calling thread "
179 "may be reassociated with. This argument can have I<one> of the following "
180 "values:"
181 msgstr ""
182 "L'argument I<nstype> indique les types d'espaces de noms auxquels le thread "
183 "appelant peut être réassocié. Cet argument peut prendre I<une> des valeurs "
184 "suivantes :"
185
186 #. type: TP
187 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
188 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
189 #, no-wrap
190 msgid "B<0>"
191 msgstr "B<0>"
192
193 #. type: Plain text
194 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
195 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
196 msgid "Allow any type of namespace to be joined."
197 msgstr "I<fd> peut faire référence à n'importe quel type d'espace de noms."
198
199 #. type: TP
200 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
201 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
202 #, no-wrap
203 msgid "B<CLONE_NEWCGROUP> (since Linux 4.6)"
204 msgstr "B<CLONE_NEWCGROUP> (depuis Linux 4.6)"
205
206 #. type: Plain text
207 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
208 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
209 msgid "I<fd> must refer to a cgroup namespace."
210 msgstr "I<fd> doit faire référence à un espace de noms cgroup."
211
212 # #-#-#-#-# fr.po (perkamon_man-pages-fr_man2a-m) #-#-#-#-# NOTE: added in 2.6.19, not 2.4.19 (http://lwn.net/Articles/307884/). Fixed upstream
213 #. type: TP
214 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
215 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
216 #, no-wrap
217 msgid "B<CLONE_NEWIPC> (since Linux 3.0)"
218 msgstr "B<CLONE_NEWIPC> (à partir de Linux 3.0)"
219
220 #. type: Plain text
221 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
222 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
223 msgid "I<fd> must refer to an IPC namespace."
224 msgstr "I<fd> doit faire référence à un espace de noms IPC. "
225
226 #. type: TP
227 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
228 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
229 #, no-wrap
230 msgid "B<CLONE_NEWNET> (since Linux 3.0)"
231 msgstr "B<CLONE_NEWNET> (à partir de Linux 3.0)"
232
233 #. type: Plain text
234 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
235 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
236 msgid "I<fd> must refer to a network namespace."
237 msgstr "I<fd> doit faire référence à un espace de noms réseau."
238
239 #. type: TP
240 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
241 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
242 #, no-wrap
243 msgid "B<CLONE_NEWNS> (since Linux 3.8)"
244 msgstr "B<CLONE_NEWNS> (à partir de Linux 3.8)"
245
246 #. type: Plain text
247 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
248 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
249 msgid "I<fd> must refer to a mount namespace."
250 msgstr "I<fd> doit faire référence à un espace de noms de montage."
251
252 #. type: TP
253 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
254 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
255 #, no-wrap
256 msgid "B<CLONE_NEWPID> (since Linux 3.8)"
257 msgstr "B<CLONE_NEWPID> (depuis Linux 3.8)"
258
259 #. type: Plain text
260 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
261 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
262 msgid "I<fd> must refer to a descendant PID namespace."
263 msgstr "I<fd> doit faire référence à un espace de noms de PID descendant."
264
265 # #-#-#-#-# fr.po (perkamon_man-pages-fr_man2a-m) #-#-#-#-# NOTE: added in 2.6.19, not 2.4.19 (http://lwn.net/Articles/307884/). Fixed upstream
266 #. type: TP
267 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
268 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
269 #, no-wrap
270 msgid "B<CLONE_NEWTIME> (since Linux 5.8)"
271 msgstr "B<CLONE_NEWIPC> (depuis Linux 5.8)"
272
273 #. commit 76c12881a38aaa83e1eb4ce2fada36c3a732bad4
274 #. type: Plain text
275 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
276 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
277 msgid "I<fd> must refer to a time namespace."
278 msgstr "I<fd> doit faire référence à un espace de noms de temps."
279
280 #. type: TP
281 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
282 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
283 #, no-wrap
284 msgid "B<CLONE_NEWUSER> (since Linux 3.8)"
285 msgstr "B<CLONE_NEWUSER> (depuis Linux 3.8)"
286
287 #. type: Plain text
288 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
289 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
290 msgid "I<fd> must refer to a user namespace."
291 msgstr "I<fd> doit faire référence à un espace de noms utilisateur."
292
293 #. type: TP
294 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
295 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
296 #, no-wrap
297 msgid "B<CLONE_NEWUTS> (since Linux 3.0)"
298 msgstr "B<CLONE_NEWUTS> (à partir de Linux 3.0)"
299
300 #. type: Plain text
301 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
302 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
303 msgid "I<fd> must refer to a UTS namespace."
304 msgstr "I<fd> doit faire référence à un espace de noms UTS."
305
306 #. type: Plain text
307 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
308 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
309 msgid ""
310 "Specifying I<nstype> as 0 suffices if the caller knows (or does not care) "
311 "what type of namespace is referred to by I<fd>. Specifying a nonzero value "
312 "for I<nstype> is useful if the caller does not know what type of namespace "
313 "is referred to by I<fd> and wants to ensure that the namespace is of a "
314 "particular type. (The caller might not know the type of the namespace "
315 "referred to by I<fd> if the file descriptor was opened by another process "
316 "and, for example, passed to the caller via a UNIX domain socket.)"
317 msgstr ""
318 "Définir la valeur de I<nstype> à zéro est suffisant si le thread appelant "
319 "connaît (ou n'a pas besoin de connaître) le type d'espace de noms auquel "
320 "I<fd> fait référence. Définir I<nstype> à une valeur non nulle est utile si "
321 "l'appelant ne connaît pas le type de l'espace de noms référencé par I<fd> et "
322 "veut s'assurer que l'espace de noms est du type souhaité. L'appelant "
323 "pourrait ne pas connaître le type de l'espace de noms auquel I<fd> fait "
324 "référence si le descripteur de fichiers a été ouvert par un autre processus "
325 "et qu'il a, par exemple, été passé à l'appelant par un socket UNIX."
326
327 #. type: SS
328 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
329 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
330 #, no-wrap
331 msgid "fd is a PID file descriptor"
332 msgstr "fd est un descripteur de fichier de PID"
333
334 #. type: Plain text
335 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
336 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
337 msgid ""
338 "Since Linux 5.8, I<fd> may refer to a PID file descriptor obtained from "
339 "B<pidfd_open>(2) or B<clone>(2). In this usage, B<setns>() atomically "
340 "moves the calling thread into one or more of the same namespaces as the "
341 "thread referred to by I<fd>."
342 msgstr ""
343 "Depuis Linux 5.8, I<fd> peut renvoyer à un descripteur de fichier de PID "
344 "qu'on récupère avec B<pidfd_open>(2) ou B<clone>(2). Dans cette utilisation, "
345 "B<setns>() déplace de manière atomique le thread appelant dans un ou "
346 "plusieurs espaces de noms en tant que thread auquel I<fd> renvoie."
347
348 #. type: Plain text
349 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
350 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
351 msgid ""
352 "The I<nstype> argument is a bit mask specified by ORing together I<one or "
353 "more> of the B<CLONE_NEW*> namespace constants listed above. The caller is "
354 "moved into each of the target thread's namespaces that is specified in "
355 "I<nstype>; the caller's memberships in the remaining namespaces are left "
356 "unchanged."
357 msgstr ""
358 "Le paramètre I<nstype> est un masque de bits indiqué par une liaison et "
359 "I<une ou plusieurs> des constantes d'espace de noms B<CLONE_NEW*> listées ci-"
360 "dessus. L'appelant est déplacé dans chacun des espaces de nom du thread "
361 "cible indiqué dans I<nstype> ; l'appartenance de l'appelant aux autres "
362 "espaces de noms demeure inchangée."
363
364 #. type: Plain text
365 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
366 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
367 msgid ""
368 "For example, the following code would move the caller into the same user, "
369 "network, and UTS namespaces as PID 1234, but would leave the caller's other "
370 "namespace memberships unchanged:"
371 msgstr ""
372 "Par exemple, le code suivant déplace l'appelant dans les mêmes espace de "
373 "noms utilisateur, réseau et UTS sous le PID 1234, mais les autres "
374 "appartenances à l'espace de noms de l'appelant ne changent pas :"
375
376 #. type: Plain text
377 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
378 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
379 #, no-wrap
380 msgid ""
381 "int fd = pidfd_open(1234, 0);\n"
382 "setns(fd, CLONE_NEWUSER | CLONE_NEWNET | CLONE_NEWUTS);\n"
383 msgstr ""
384 "int fd = pidfd_open(1234, 0);\n"
385 "setns(fd, CLONE_NEWUSER | CLONE_NEWNET | CLONE_NEWUTS);\n"
386
387 #. type: SS
388 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
389 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
390 #, no-wrap
391 msgid "Details for specific namespace types"
392 msgstr "Détails sur des types d'espace de noms spécifiques"
393
394 #. type: Plain text
395 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
396 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
397 msgid ""
398 "Note the following details and restrictions when reassociating with specific "
399 "namespace types:"
400 msgstr ""
401 "Notez les détails et les restrictions suivantes lors de la ré-association à "
402 "certains types d'espace de noms spécifiques :"
403
404 #. type: TP
405 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
406 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
407 #, no-wrap
408 msgid "User namespaces"
409 msgstr "Espaces de nom utilisateur"
410
411 #. See kernel/user_namespace.c:userns_install() [3.8 source]
412 #. type: Plain text
413 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
414 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
415 msgid ""
416 "A process reassociating itself with a user namespace must have the "
417 "B<CAP_SYS_ADMIN> capability in the target user namespace. (This necessarily "
418 "implies that it is only possible to join a descendant user namespace.) Upon "
419 "successfully joining a user namespace, a process is granted all capabilities "
420 "in that namespace, regardless of its user and group IDs."
421 msgstr ""
422 "Un processus qui se ré-associe à un espace de noms utilisateur doit disposer "
423 "de la capacité B<CAP_SYS_ADMIN> dans l'espace de noms utilisateur cible "
424 "(donc, nécesairement, il n'est possible d'atteindre qu'un espace de noms "
425 "descendant). Lorsque le déplacement réussit, un processus se voit accorder "
426 "toutes les capacités de cet espace de noms, quels que soient ses "
427 "IDentifiants d'utilisateur et de groupe."
428
429 #. type: Plain text
430 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
431 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
432 msgid "A multithreaded process may not change user namespace with B<setns>()."
433 msgstr ""
434 "Un processus de plusieurs threads ne peut pas changer d'espace de noms "
435 "utilisateur avec B<setns>()."
436
437 #. type: Plain text
438 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
439 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
440 msgid ""
441 "It is not permitted to use B<setns>() to reenter the caller's current user "
442 "namespace. This prevents a caller that has dropped capabilities from "
443 "regaining those capabilities via a call to B<setns>()."
444 msgstr ""
445 "Il n'est pas permis d'utiliser B<setns>() pour revenir dans l'espace de noms "
446 "utilisateur de l'appelant. Cela empêche un appelant n'ayant plus ces "
447 "capacités de les retrouver à l'aide d'un appel à B<setns>()."
448
449 #. commit e66eded8309ebf679d3d3c1f5820d1f2ca332c71
450 #. https://lwn.net/Articles/543273/
451 #. type: Plain text
452 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
453 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
454 msgid ""
455 "For security reasons, a process can't join a new user namespace if it is "
456 "sharing filesystem-related attributes (the attributes whose sharing is "
457 "controlled by the B<clone>(2) B<CLONE_FS> flag) with another process."
458 msgstr ""
459 "Pour des raisons de sécurité, un processus ne peut pas atteindre un nouvel "
460 "espace de noms utilisateur s'il partage des attributs liés à un système de "
461 "fichiers (dont le partage est contrôlé avec le drapeau B<CLONE_FS> de "
462 "B<clone>(2)) avec un autre processus."
463
464 #. type: Plain text
465 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
466 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
467 msgid "For further details on user namespaces, see B<user_namespaces>(7)."
468 msgstr ""
469 "Pour obtenir plus d'informations sur les espaces de noms utilisateur, "
470 "consultez B<user_namespaces>(7)."
471
472 #. type: TP
473 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
474 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
475 #, no-wrap
476 msgid "Mount namespaces"
477 msgstr "Espaces de noms montage"
478
479 #. type: Plain text
480 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
481 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
482 msgid ""
483 "Changing the mount namespace requires that the caller possess both "
484 "B<CAP_SYS_CHROOT> and B<CAP_SYS_ADMIN> capabilities in its own user "
485 "namespace and B<CAP_SYS_ADMIN> in the user namespace that owns the target "
486 "mount namespace."
487 msgstr ""
488 "Pour pouvoir changer d'espace de noms de montage, l'appelant doit disposer "
489 "des capacités B<CAP_SYS_CHROOT> et B<CAP_SYS_ADMIN> dans son propre espace "
490 "de noms utilisateur, et de la capacité B<CAP_SYS_ADMIN> dans l'espace de "
491 "noms de montage cible."
492
493 #. Above check is in fs/namespace.c:mntns_install() [3.8 source]
494 #. type: Plain text
495 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
496 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
497 msgid ""
498 "A process can't join a new mount namespace if it is sharing filesystem-"
499 "related attributes (the attributes whose sharing is controlled by the "
500 "B<clone>(2) B<CLONE_FS> flag) with another process."
501 msgstr ""
502 "Un processus ne peut pas atteindre un nouvel espace de noms de montage s'il "
503 "partage des attributs relatifs à un système de fichiers (dont le partage est "
504 "contrôlé par le drapeau B<CLONE_FS> de B<clone>(2)) avec un autre processus."
505
506 #. type: Plain text
507 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
508 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
509 msgid ""
510 "See B<user_namespaces>(7) for details on the interaction of user namespaces "
511 "and mount namespaces."
512 msgstr ""
513 "Voir B<user_namespaces>(7) pour des détails sur l'interaction entre les "
514 "espaces de noms utilisateur et de montage."
515
516 #. type: TP
517 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
518 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
519 #, no-wrap
520 msgid "PID namespaces"
521 msgstr "Espaces de noms PID"
522
523 #. type: Plain text
524 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
525 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
526 msgid ""
527 "In order to reassociate itself with a new PID namespace, the caller must "
528 "have the B<CAP_SYS_ADMIN> capability both in its own user namespace and in "
529 "the user namespace that owns the target PID namespace."
530 msgstr ""
531 "Pour se ré-associer à un nouvel espace de noms PID, l'appelant doit avoir la "
532 "capacité B<CAP_SYS_ADMIN> dans son espace de noms utilisateur et dans celui "
533 "auquel appartient l'espace de noms PID cible."
534
535 #. type: Plain text
536 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
537 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
538 msgid ""
539 "Reassociating the PID namespace has somewhat different from other namespace "
540 "types. Reassociating the calling thread with a PID namespace changes only "
541 "the PID namespace that subsequently created child processes of the caller "
542 "will be placed in; it does not change the PID namespace of the caller itself."
543 msgstr ""
544 "Réassocier l'espace de noms d'un PID a un comportement différent des autres "
545 "types d'espace de noms. La ré-association du thread appelant avec un espace "
546 "de noms de PID change seulement l'espace de noms de PID dans lequel les "
547 "processus enfants de l'appelant seront créés ; cela ne change pas l'espace "
548 "de noms PID de l'appelant."
549
550 #. type: Plain text
551 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
552 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
553 msgid ""
554 "Reassociating with a PID namespace is allowed only if the target PID "
555 "namespace is a descendant (child, grandchild, etc.) of, or is the same as, "
556 "the current PID namespace of the caller."
557 msgstr ""
558 "La ré-association à un espace de noms PID n'est autorisée que si l'espace de "
559 "noms PID cible est un descendant (l'enfant, le petit-enfant, etc) ou est le "
560 "même que celui de l'appelant."
561
562 #. type: Plain text
563 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
564 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
565 msgid "For further details on PID namespaces, see B<pid_namespaces>(7)."
566 msgstr ""
567 "Pour plus d'informations sur les espaces de noms des PIDs, reportez vous à "
568 "B<namespaces>(7)."
569
570 #. type: TP
571 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
572 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
573 #, no-wrap
574 msgid "Cgroup namespaces"
575 msgstr "Espaces de noms cgroup"
576
577 #. type: Plain text
578 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
579 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
580 msgid ""
581 "In order to reassociate itself with a new cgroup namespace, the caller must "
582 "have the B<CAP_SYS_ADMIN> capability both in its own user namespace and in "
583 "the user namespace that owns the target cgroup namespace."
584 msgstr ""
585 "Pour se ré-associer à un nouvel espace de noms cgroup, l'appelant doit avoir "
586 "la capacité B<CAP_SYS_ADMIN> dans son propre espace de noms utilisateur et "
587 "dans celui auquel appartient l'espace de noms cgroup cible."
588
589 #. type: Plain text
590 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
591 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
592 msgid ""
593 "Using B<setns>() to change the caller's cgroup namespace does not change "
594 "the caller's cgroup memberships."
595 msgstr ""
596 "L'utilisation de B<setns>() pour changer d'espace de noms cgroup ne change "
597 "pas l'appartenance cgroup de l'appelant."
598
599 #. type: TP
600 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
601 #: opensuse-leap-16-1 opensuse-tumbleweed
602 #, no-wrap
603 msgid "Time namespaces"
604 msgstr "Espaces de noms temps"
605
606 #. type: Plain text
607 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
608 #: opensuse-leap-16-1 opensuse-tumbleweed
609 msgid ""
610 "In order to reassociate itself with a new time namespace, the caller must "
611 "have the B<CAP_SYS_ADMIN> capability both in its own user namespace and in "
612 "the user namespace that owns the target namespace."
613 msgstr ""
614 "Pour se ré-associer à un nouvel espace de noms temps, l'appelant doit avoir "
615 "la capacité B<CAP_SYS_ADMIN> dans son espace de noms utilisateur et dans "
616 "celui auquel appartient l'espace de noms cible."
617
618 #. type: Plain text
619 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
620 #: opensuse-leap-16-1 opensuse-tumbleweed
621 msgid "A multithreaded process may not change time namespace with B<setns>()."
622 msgstr ""
623 "Un processus de plusieurs threads ne peut pas changer d'espace de noms temps "
624 "avec B<setns>()."
625
626 #. type: TP
627 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
628 #: opensuse-leap-16-1 opensuse-tumbleweed
629 #, no-wrap
630 msgid "Network, IPC, and UTS namespaces"
631 msgstr "Espaces de noms réseau, IPC et UTS"
632
633 #. type: Plain text
634 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
635 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
636 msgid ""
637 "In order to reassociate itself with a new network, IPC, time, or UTS "
638 "namespace, the caller must have the B<CAP_SYS_ADMIN> capability both in its "
639 "own user namespace and in the user namespace that owns the target namespace."
640 msgstr ""
641 "Pour se ré-associer à un nouvel espace de noms réseau, IPC, de temps ou UTS, "
642 "l'appelant doit disposer des capacités B<CAP_SYS_ADMIN> dans son propre "
643 "espace de noms utilisateur et dans l'espace de noms utilisateur qui possède "
644 "l'espace de noms cible."
645
646 #. type: SH
647 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
648 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
649 #, no-wrap
650 msgid "RETURN VALUE"
651 msgstr "VALEUR RENVOYÉE"
652
653 #. type: Plain text
654 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
655 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
656 msgid ""
657 "On success, B<setns>() returns 0. On failure, -1 is returned and I<errno> "
658 "is set to indicate the error."
659 msgstr ""
660 "S'il réussit, I<setns>() renvoie B<0>, sinon il renvoie B<-1> et I<errno> "
661 "est positionné pour indiquer l'erreur."
662
663 #. type: SH
664 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
665 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
666 #, no-wrap
667 msgid "ERRORS"
668 msgstr "ERREURS"
669
670 #. type: TP
671 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
672 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
673 #, no-wrap
674 msgid "B<EBADF>"
675 msgstr "B<EBADF>"
676
677 #. type: Plain text
678 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
679 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
680 msgid "I<fd> is not a valid file descriptor."
681 msgstr "I<fd> n'est pas un descripteur de fichier valable."
682
683 #. type: TP
684 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
685 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
686 #, no-wrap
687 msgid "B<EINVAL>"
688 msgstr "B<EINVAL>"
689
690 #. type: Plain text
691 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
692 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
693 msgid ""
694 "I<fd> refers to a namespace whose type does not match that specified in "
695 "I<nstype>."
696 msgstr ""
697 "I<fd> fait référence à un espace de noms dont le type ne correspond pas à "
698 "celui indiqué dans I<nstype>."
699
700 #. type: Plain text
701 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
702 #: opensuse-tumbleweed
703 #, fuzzy
704 #| msgid ""
705 #| "There is problem with reassociating the thread with the specified "
706 #| "namespace."
707 msgid ""
708 "There is a problem with reassociating the thread with the specified "
709 "namespace."
710 msgstr ""
711 "Il y a un problème pour ré-associer le thread avec l'espace de noms indiqué."
712
713 #. type: Plain text
714 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
715 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
716 msgid ""
717 "The caller tried to join an ancestor (parent, grandparent, and so on) PID "
718 "namespace."
719 msgstr ""
720 "L'appelant a essayé d'atteindre un espace de noms PID ancêtre (parent, grand-"
721 "parent, etc)."
722
723 #. type: Plain text
724 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
725 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
726 msgid ""
727 "The caller attempted to join the user namespace in which it is already a "
728 "member."
729 msgstr ""
730 "L'appelant a tenté d'intégrer un espace de noms utilisateur dont il est déjà "
731 "membre."
732
733 #. commit e66eded8309ebf679d3d3c1f5820d1f2ca332c71
734 #. type: Plain text
735 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
736 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
737 msgid ""
738 "The caller shares filesystem (B<CLONE_FS>) state (in particular, the root "
739 "directory) with other processes and tried to join a new user namespace."
740 msgstr ""
741 "L'appelant partage un état de système de fichiers (B<CLONE_FS>), notamment "
742 "le répertoire racine, avec d'autres processus et a tenté d'intégrer un "
743 "nouvel espace de noms."
744
745 #. See kernel/user_namespace.c::userns_install() [kernel 3.15 sources]
746 #. type: Plain text
747 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
748 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
749 msgid "The caller is multithreaded and tried to join a new user namespace."
750 msgstr ""
751 "L'appelant est multi-threadé et a tenté d'intégrer un nouvel espace de noms "
752 "utilisateur."
753
754 #. type: Plain text
755 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
756 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
757 msgid ""
758 "I<fd> is a PID file descriptor and I<nstype> is invalid (e.g., it is 0)."
759 msgstr ""
760 "I<fd> est un descripteur de fichier de PID et I<nstype> n'est pas valable "
761 "(il vaut par exemple B<0>)."
762
763 #. type: TP
764 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
765 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
766 #, no-wrap
767 msgid "B<ENOMEM>"
768 msgstr "B<ENOMEM>"
769
770 #. type: Plain text
771 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
772 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
773 msgid "Cannot allocate sufficient memory to change the specified namespace."
774 msgstr ""
775 "Impossible d'allouer suffisamment de mémoire pour changer l'espace de noms "
776 "indiqué."
777
778 #. type: TP
779 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
780 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
781 #, no-wrap
782 msgid "B<EPERM>"
783 msgstr "B<EPERM>"
784
785 #. type: Plain text
786 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
787 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
788 msgid ""
789 "The calling thread did not have the required capability for this operation."
790 msgstr ""
791 "Le processus appelant n'avait pas la capacité appropriée pour effectuer "
792 "cette opération."
793
794 #. type: TP
795 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
796 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
797 #, no-wrap
798 msgid "B<ESRCH>"
799 msgstr "B<ESRCH>"
800
801 #. type: Plain text
802 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
803 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
804 msgid ""
805 "I<fd> is a PID file descriptor but the process it refers to no longer exists "
806 "(i.e., it has terminated and been waited on)."
807 msgstr ""
808 "I<fd> est un descripteur de fichier PID mais le processus auquel il renvoie "
809 "n'existe plus (c'est-à-dire qu'il s'est terminé et attend)."
810
811 #. type: SH
812 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
813 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
814 #, no-wrap
815 msgid "STANDARDS"
816 msgstr "NORMES"
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 "Linux."
822 msgstr "Linux."
823
824 #. type: SH
825 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
826 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
827 #, no-wrap
828 msgid "VERSIONS"
829 msgstr "VERSIONS"
830
831 #. type: Plain text
832 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
833 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
834 msgid "Linux 3.0, glibc 2.14."
835 msgstr "Linux 3.0, glibc 2.14."
836
837 #. type: SH
838 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
839 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
840 #, no-wrap
841 msgid "NOTES"
842 msgstr "NOTES"
843
844 #. type: Plain text
845 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
846 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
847 msgid ""
848 "For further information on the I</proc/>pidI</ns/> magic links, see "
849 "B<namespaces>(7)."
850 msgstr ""
851 "Pour obtenir plus d'informations sur les liens magiques I</proc/>pidI</ns/>, "
852 "consultez B<namespaces>(7)."
853
854 #. type: Plain text
855 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
856 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
857 msgid ""
858 "Not all of the attributes that can be shared when a new thread is created "
859 "using B<clone>(2) can be changed using B<setns>()."
860 msgstr ""
861 "Certains des attributs qui peuvent être partagés avec un nouveau thread créé "
862 "avec B<clone>(2) ne peuvent pas être modifiés en utilisant B<setns>()."
863
864 #. type: SH
865 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
866 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
867 #, no-wrap
868 msgid "EXAMPLES"
869 msgstr "EXEMPLES"
870
871 #. type: Plain text
872 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
873 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
874 msgid ""
875 "The program below takes two or more arguments. The first argument specifies "
876 "the pathname of a namespace file in an existing I</proc/>pidI</ns/> "
877 "directory. The remaining arguments specify a command and its arguments. "
878 "The program opens the namespace file, joins that namespace using B<setns>(), "
879 "and executes the specified command inside that namespace."
880 msgstr ""
881 "Le programme ci-dessous attend au moins deux arguments. Le premier précise "
882 "le chemin d'un fichier d'espace de noms dans un répertoire I</proc/>pidI</ns/"
883 "> qui doit exister préalablement. Les arguments suivants précisent une "
884 "commande et ses arguments. Le programme ouvre le fichier d'espace de noms, "
885 "s'associe à l'espace de noms en utilisant B<setns>(), et exécute la commande "
886 "indiquée dans cet espace de noms."
887
888 #. type: Plain text
889 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
890 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
891 msgid ""
892 "The following shell session demonstrates the use of this program (compiled "
893 "as a binary named I<ns_exec>) in conjunction with the B<CLONE_NEWUTS> "
894 "example program in the B<clone>(2) man page (complied as a binary named "
895 "I<newuts>)."
896 msgstr ""
897 "La session d'invite de commandes suivante présente l'utilisation du "
898 "programme (compilé en un binaire appelé I<ns_exec>) en lien avec le "
899 "programme B<CLONE_NEWUTS> donné en exemple dans la page de manuel "
900 "B<clone>(2) (compilé en un binaire appelé I<newuts>)."
901
902 #. type: Plain text
903 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
904 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
905 msgid ""
906 "We begin by executing the example program in B<clone>(2) in the "
907 "background. That program creates a child in a separate UTS namespace. The "
908 "child changes the hostname in its namespace, and then both processes display "
909 "the hostnames in their UTS namespaces, so that we can see that they are "
910 "different."
911 msgstr ""
912 "Nous commençons par exécuter le programme donné à titre d'exemple dans "
913 "B<clone>(2) en tâche de fond. Ce programme crée un processus enfant dans un "
914 "espace de noms UTS distinct. Le processus enfant change le nom d'hôte dans "
915 "son espace de noms, puis les deux processus affichent leur noms d'hôte dans "
916 "leurs espaces de noms UTS respectifs, de façon à bien montrer leur "
917 "différence."
918
919 #. type: Plain text
920 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
921 #: opensuse-tumbleweed
922 #, fuzzy, no-wrap
923 #| msgid ""
924 #| "$ B<su> # Need privilege for namespace operations\n"
925 #| "Password:\n"
926 #| "# B<./newuts bizarro &>\n"
927 #| "[1] 3549\n"
928 #| "clone() returned 3550\n"
929 #| "uts.nodename in child: bizarro\n"
930 #| "uts.nodename in parent: antero\n"
931 #| "# B<uname -n> # Verify hostname in the shell\n"
932 #| "antero\n"
933 msgid ""
934 "$B< su>; # Need privilege for namespace operations\n"
935 "Password:\n"
936 "#B< ./newuts bizarro &>\n"
937 "[1] 3549\n"
938 "clone() returned 3550\n"
939 "uts.nodename in child: bizarro\n"
940 "uts.nodename in parent: antero\n"
941 "#B< uname -n>; # Verify hostname in the shell\n"
942 "antero\n"
943 msgstr ""
944 "$ B<su> # Privilèges nécessaires aux opérations sur l'espace de noms\n"
945 "Mot de passe : \n"
946 "# B<./newuts bizarro &>\n"
947 "[1] 3549\n"
948 "clone() a renvoyé 3550\n"
949 "uts.nodename dans l'enfant : bizarro\n"
950 "uts.nodename dans le parent : antero\n"
951 "# B<uname -n> # Vérifier le nom d'hôte dans l'invite de commande\n"
952 "antero\n"
953
954 #. type: Plain text
955 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
956 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
957 msgid ""
958 "We then run the program shown below, using it to execute a shell. Inside "
959 "that shell, we verify that the hostname is the one set by the child created "
960 "by the first program:"
961 msgstr ""
962 "Nous appelons alors le programme présenté ci-dessous afin de lancer une "
963 "invite de commande. Dans cette invite, on vérifie que le nom d'hôte est bien "
964 "celui défini par le processus enfant créé dans le premier programme :"
965
966 #. type: Plain text
967 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
968 #: opensuse-tumbleweed
969 #, fuzzy, no-wrap
970 #| msgid ""
971 #| "# B<./ns_exec /proc/3550/ns/uts /bin/bash>\n"
972 #| "# B<uname -n> # Executed in shell started by ns_exec\n"
973 #| "bizarro\n"
974 msgid ""
975 "#B< ./ns_exec /proc/3550/ns/uts /bin/bash>;\n"
976 "#B< uname -n>; # Executed in shell started by ns_exec\n"
977 "bizarro\n"
978 msgstr ""
979 "# B<./ns_exec /proc/3550/ns/uts /bin/bash>\n"
980 "# B<uname -n> # Exécuté dans l'invite lancée par ns_exec\n"
981 "bizarro\n"
982
983 #. type: SS
984 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
985 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
986 #, no-wrap
987 msgid "Program source"
988 msgstr "Source du programme"
989
990 #. type: Plain text
991 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
992 #: opensuse-tumbleweed
993 #, fuzzy, no-wrap
994 #| msgid ""
995 #| "#define _GNU_SOURCE\n"
996 #| "#include E<lt>err.hE<gt>\n"
997 #| "#include E<lt>fcntl.hE<gt>\n"
998 #| "#include E<lt>sched.hE<gt>\n"
999 #| "#include E<lt>stdio.hE<gt>\n"
1000 #| "#include E<lt>stdlib.hE<gt>\n"
1001 #| "#include E<lt>unistd.hE<gt>\n"
1002 #| "\\&\n"
1003 #| "int\n"
1004 #| "main(int argc, char *argv[])\n"
1005 #| "{\n"
1006 #| " int fd;\n"
1007 #| "\\&\n"
1008 #| " if (argc E<lt> 3) {\n"
1009 #| " fprintf(stderr, \"%s /proc/PID/ns/FILE cmd args...\\[rs]n\", argv[0]);\n"
1010 #| " exit(EXIT_FAILURE);\n"
1011 #| " }\n"
1012 #| "\\&\n"
1013 #| " /* Get file descriptor for namespace; the file descriptor is opened\n"
1014 #| " with O_CLOEXEC so as to ensure that it is not inherited by the\n"
1015 #| " program that is later executed. */\n"
1016 #| "\\&\n"
1017 #| " fd = open(argv[1], O_RDONLY | O_CLOEXEC);\n"
1018 #| " if (fd == -1)\n"
1019 #| " err(EXIT_FAILURE, \"open\");\n"
1020 #| "\\&\n"
1021 #| " if (setns(fd, 0) == -1) /* Join that namespace */\n"
1022 #| " err(EXIT_FAILURE, \"setns\");\n"
1023 #| "\\&\n"
1024 #| " execvp(argv[2], &argv[2]); /* Execute a command in namespace */\n"
1025 #| " err(EXIT_FAILURE, \"execvp\");\n"
1026 #| "}\n"
1027 msgid ""
1028 "#define _GNU_SOURCE\n"
1029 "#include E<lt>err.hE<gt>\n"
1030 "#include E<lt>fcntl.hE<gt>\n"
1031 "#include E<lt>sched.hE<gt>\n"
1032 "#include E<lt>stdio.hE<gt>\n"
1033 "#include E<lt>stdlib.hE<gt>\n"
1034 "#include E<lt>unistd.hE<gt>\n"
1035 "\\&\n"
1036 "int\n"
1037 "main(int argc, char *argv[])\n"
1038 "{\n"
1039 " int fd;\n"
1040 "\\&\n"
1041 " if (argc E<lt> 3) {\n"
1042 " fprintf(stderr, \"%s /proc/PID/ns/FILE cmd args...\\[rs]n\", argv[0]);\n"
1043 " exit(EXIT_FAILURE);\n"
1044 " }\n"
1045 "\\&\n"
1046 " /* Get file descriptor for namespace; the file descriptor is opened\n"
1047 " with O_CLOEXEC so as to ensure that it is not inherited by the\n"
1048 " program that is later executed. */\n"
1049 "\\&\n"
1050 " fd = open(argv[1], O_RDONLY | O_CLOEXEC);\n"
1051 " if (fd == -1)\n"
1052 " err(EXIT_FAILURE, \"open\");\n"
1053 "\\&\n"
1054 " if (setns(fd, 0) == -1) /* Join that namespace */\n"
1055 " err(EXIT_FAILURE, \"setns\");\n"
1056 "\\&\n"
1057 " execvp(argv[2], &argv[2]); /* Execute a command in namespace */\n"
1058 " err(EXIT_FAILURE, \"execvp\");\n"
1059 "}\n"
1060 msgstr ""
1061 "#define _GNU_SOURCE\n"
1062 "#include E<lt>err.hE<gt>\n"
1063 "#include E<lt>fcntl.hE<gt>\n"
1064 "#include E<lt>sched.hE<gt>\n"
1065 "#include E<lt>stdio.hE<gt>\n"
1066 "#include E<lt>stdlib.hE<gt>\n"
1067 "#include E<lt>unistd.hE<gt>\n"
1068 "\\&\n"
1069 "int\n"
1070 "main(int argc, char *argv[])\n"
1071 "{\n"
1072 " int fd;\n"
1073 "\\&\n"
1074 " if (argc E<lt> 3) {\n"
1075 " fprintf(stderr, \"%s /proc/PID/ns/FILE cmd args...\\[rs]n\", argv[0]);\n"
1076 " exit(EXIT_FAILURE);\n"
1077 " }\n"
1078 "\\&\n"
1079 " /* Récupérer le descripteur de fichier de l'espace de noms ; le descripteur\n"
1080 " de fichier est ouvert avec O_CLOEXEC pour garantir qu'il n'est pas\n"
1081 " récupéré par le programme exécuté en dernier. */\n"
1082 "\\&\n"
1083 " fd = open(argv[1], O_RDONLY | O_CLOEXEC);\n"
1084 " if (fd == -1)\n"
1085 " err(EXIT_FAILURE, \"open\");\n"
1086 "\\&\n"
1087 " if (setns(fd, 0) == -1) /* Rejoindre cet espace de noms */\n"
1088 " err(EXIT_FAILURE, \"setns\");\n"
1089 "\\&\n"
1090 " execvp(argv[2], &argv[2]); /* Exécuter une commande dans l'espace de noms */\n"
1091 " err(EXIT_FAILURE, \"execvp\");\n"
1092 "}\n"
1093
1094 #. SRC END
1095 #. type: SH
1096 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1097 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1098 #, no-wrap
1099 msgid "SEE ALSO"
1100 msgstr "VOIR AUSSI"
1101
1102 #. type: Plain text
1103 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1104 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1105 msgid ""
1106 "B<nsenter>(1), B<clone>(2), B<fork>(2), B<unshare>(2), B<vfork>(2), "
1107 "B<namespaces>(7), B<unix>(7)"
1108 msgstr ""
1109 "B<nsenter>(1), B<clone>(2), B<fork>(2), B<unshare>(2), B<vfork>(2), "
1110 "B<namespaces>(7), B<unix>(7)"
1111
1112 #. type: TH
1113 #: debian-trixie
1114 #, no-wrap
1115 msgid "2024-06-15"
1116 msgstr "15 juin 2024"
1117
1118 #. type: TH
1119 #: debian-trixie
1120 #, no-wrap
1121 msgid "Linux man-pages 6.9.1"
1122 msgstr "Pages du manuel de Linux 6.9.1"
1123
1124 #. type: Plain text
1125 #: debian-trixie
1126 msgid "Standard C library (I<libc>, I<-lc>)"
1127 msgstr "Bibliothèque C standard (I<libc>, I<-lc>)"
1128
1129 #. type: SS
1130 #: debian-trixie fedora-44 fedora-rawhide
1131 #, no-wrap
1132 msgid "fd refers to a I</proc/>pidI</ns/> link"
1133 msgstr "fd renvoie à un lien I</proc/>pidI</ns/>"
1134
1135 #. type: TP
1136 #: debian-trixie
1137 #, no-wrap
1138 msgid "Network, IPC, time, and UTS namespaces"
1139 msgstr "Espaces de noms réseau, IPC, de temps et UTS"
1140
1141 #. type: Plain text
1142 #: debian-trixie fedora-44 fedora-rawhide
1143 msgid ""
1144 "There is problem with reassociating the thread with the specified namespace."
1145 msgstr ""
1146 "Il y a un problème pour ré-associer le thread avec l'espace de noms indiqué."
1147
1148 #. type: Plain text
1149 #: debian-trixie fedora-44 fedora-rawhide
1150 #, no-wrap
1151 msgid ""
1152 "$ B<su> # Need privilege for namespace operations\n"
1153 "Password:\n"
1154 "# B<./newuts bizarro &>\n"
1155 "[1] 3549\n"
1156 "clone() returned 3550\n"
1157 "uts.nodename in child: bizarro\n"
1158 "uts.nodename in parent: antero\n"
1159 "# B<uname -n> # Verify hostname in the shell\n"
1160 "antero\n"
1161 msgstr ""
1162 "$ B<su> # Privilèges nécessaires aux opérations sur l'espace de noms\n"
1163 "Mot de passe : \n"
1164 "# B<./newuts bizarro &>\n"
1165 "[1] 3549\n"
1166 "clone() a renvoyé 3550\n"
1167 "uts.nodename dans l'enfant : bizarro\n"
1168 "uts.nodename dans le parent : antero\n"
1169 "# B<uname -n> # Vérifier le nom d'hôte dans l'invite de commande\n"
1170 "antero\n"
1171
1172 #. type: Plain text
1173 #: debian-trixie fedora-44 fedora-rawhide
1174 #, no-wrap
1175 msgid ""
1176 "# B<./ns_exec /proc/3550/ns/uts /bin/bash>\n"
1177 "# B<uname -n> # Executed in shell started by ns_exec\n"
1178 "bizarro\n"
1179 msgstr ""
1180 "# B<./ns_exec /proc/3550/ns/uts /bin/bash>\n"
1181 "# B<uname -n> # Exécuté dans l'invite lancée par ns_exec\n"
1182 "bizarro\n"
1183
1184 #. type: Plain text
1185 #: debian-trixie fedora-44 fedora-rawhide
1186 #, no-wrap
1187 msgid ""
1188 "#define _GNU_SOURCE\n"
1189 "#include E<lt>err.hE<gt>\n"
1190 "#include E<lt>fcntl.hE<gt>\n"
1191 "#include E<lt>sched.hE<gt>\n"
1192 "#include E<lt>stdio.hE<gt>\n"
1193 "#include E<lt>stdlib.hE<gt>\n"
1194 "#include E<lt>unistd.hE<gt>\n"
1195 "\\&\n"
1196 "int\n"
1197 "main(int argc, char *argv[])\n"
1198 "{\n"
1199 " int fd;\n"
1200 "\\&\n"
1201 " if (argc E<lt> 3) {\n"
1202 " fprintf(stderr, \"%s /proc/PID/ns/FILE cmd args...\\[rs]n\", argv[0]);\n"
1203 " exit(EXIT_FAILURE);\n"
1204 " }\n"
1205 "\\&\n"
1206 " /* Get file descriptor for namespace; the file descriptor is opened\n"
1207 " with O_CLOEXEC so as to ensure that it is not inherited by the\n"
1208 " program that is later executed. */\n"
1209 "\\&\n"
1210 " fd = open(argv[1], O_RDONLY | O_CLOEXEC);\n"
1211 " if (fd == -1)\n"
1212 " err(EXIT_FAILURE, \"open\");\n"
1213 "\\&\n"
1214 " if (setns(fd, 0) == -1) /* Join that namespace */\n"
1215 " err(EXIT_FAILURE, \"setns\");\n"
1216 "\\&\n"
1217 " execvp(argv[2], &argv[2]); /* Execute a command in namespace */\n"
1218 " err(EXIT_FAILURE, \"execvp\");\n"
1219 "}\n"
1220 msgstr ""
1221 "#define _GNU_SOURCE\n"
1222 "#include E<lt>err.hE<gt>\n"
1223 "#include E<lt>fcntl.hE<gt>\n"
1224 "#include E<lt>sched.hE<gt>\n"
1225 "#include E<lt>stdio.hE<gt>\n"
1226 "#include E<lt>stdlib.hE<gt>\n"
1227 "#include E<lt>unistd.hE<gt>\n"
1228 "\\&\n"
1229 "int\n"
1230 "main(int argc, char *argv[])\n"
1231 "{\n"
1232 " int fd;\n"
1233 "\\&\n"
1234 " if (argc E<lt> 3) {\n"
1235 " fprintf(stderr, \"%s /proc/PID/ns/FILE cmd args...\\[rs]n\", argv[0]);\n"
1236 " exit(EXIT_FAILURE);\n"
1237 " }\n"
1238 "\\&\n"
1239 " /* Récupérer le descripteur de fichier de l'espace de noms ; le descripteur\n"
1240 " de fichier est ouvert avec O_CLOEXEC pour garantir qu'il n'est pas\n"
1241 " récupéré par le programme exécuté en dernier. */\n"
1242 "\\&\n"
1243 " fd = open(argv[1], O_RDONLY | O_CLOEXEC);\n"
1244 " if (fd == -1)\n"
1245 " err(EXIT_FAILURE, \"open\");\n"
1246 "\\&\n"
1247 " if (setns(fd, 0) == -1) /* Rejoindre cet espace de noms */\n"
1248 " err(EXIT_FAILURE, \"setns\");\n"
1249 "\\&\n"
1250 " execvp(argv[2], &argv[2]); /* Exécuter une commande dans l'espace de noms */\n"
1251 " err(EXIT_FAILURE, \"execvp\");\n"
1252 "}\n"
1253
1254 #. type: TH
1255 #: fedora-44 fedora-rawhide
1256 #, no-wrap
1257 msgid "2025-01-07"
1258 msgstr "7 janvier 2025"
1259
1260 #. type: TH
1261 #: fedora-44 fedora-rawhide
1262 #, no-wrap
1263 msgid "Linux man-pages 6.13"
1264 msgstr "Pages du manuel de Linux 6.13"
1265
1266 #. type: TH
1267 #: mageia-cauldron
1268 #, no-wrap
1269 msgid "Linux man-pages 6.17"
1270 msgstr "Pages du manuel de Linux 6.17"
1271
1272 #. type: TH
1273 #: opensuse-leap-16-1 opensuse-tumbleweed
1274 #, no-wrap
1275 msgid "Linux man-pages (unreleased)"
1276 msgstr "Pages du manuel de Linux (non publiées)"