Debian Codegraph @

po/fr/man2/unshare.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-Pierre Giraud <[email protected]>, 2021-2026.
21 msgid ""
22 msgstr ""
23 "Project-Id-Version: manpages-l10n 4.23.0\n"
24 "POT-Creation-Date: 2026-06-05 06:50+0200\n"
25 "PO-Revision-Date: 2026-03-28 12:29+0100\n"
26 "Last-Translator: Jean-Pierre Giraud <[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 25.04.0\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 "unshare"
40 msgstr "unshare"
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 "unshare - disassociate parts of the process execution context"
66 msgstr "unshare - Désassocier certaines parties du contexte d'exécution"
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>\n"
94 "B<#include E<lt>sched.hE<gt>>\n"
95 msgstr ""
96 "B<#define _GNU_SOURCE>\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 unshare(int >I<flags>B<);>\n"
104 msgstr "B<int unshare(int >I<flags>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 "B<unshare>() allows a process (or thread) to disassociate parts of its "
118 "execution context that are currently being shared with other processes (or "
119 "threads). Part of the execution context, such as the mount namespace, is "
120 "shared implicitly when a new process is created using B<fork>(2) or "
121 "B<vfork>(2), while other parts, such as virtual memory, may be shared by "
122 "explicit request when creating a process or thread using B<clone>(2)."
123 msgstr ""
124 "B<unshare>() permet à un processus (ou à un thread) de désassocier certaines "
125 "parties de son contexte d'exécution qui sont actuellement partagées avec "
126 "d'autres processus (ou d'autres threads). Une partie du contexte "
127 "d'exécution, comme l'espace de noms de montage, est implicitement partagée "
128 "quand un processus est créé avec B<fork>(2) ou B<vfork>(2), alors que "
129 "d'autres parties, comme la mémoire virtuelle, peuvent être partagées en "
130 "faisant explicitement la demande lors de la création d'un processus ou d'un "
131 "thread avec B<clone>(2)."
132
133 #. type: Plain text
134 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
135 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
136 msgid ""
137 "The main use of B<unshare>() is to allow a process to control its shared "
138 "execution context without creating a new process."
139 msgstr ""
140 "L'intérêt principal de B<unshare>() est de permettre à un processus de "
141 "contrôler son contexte d'exécution partagé sans avoir à créer un nouveau "
142 "processus."
143
144 #. type: Plain text
145 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
146 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
147 msgid ""
148 "The I<flags> argument is a bit mask that specifies which parts of the "
149 "execution context should be unshared. This argument is specified by ORing "
150 "together zero or more of the following constants:"
151 msgstr ""
152 "L'argument I<flags> est un masque de bits qui indique quelles parties du "
153 "contexte d'exécution doivent être désassociées. Cet argument est construit "
154 "comme un OU binaire entre les constantes suivantes\\ :"
155
156 #. type: TP
157 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
158 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
159 #, no-wrap
160 msgid "B<CLONE_FILES>"
161 msgstr "B<CLONE_FILES>"
162
163 #. type: Plain text
164 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
165 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
166 msgid ""
167 "Reverse the effect of the B<clone>(2) B<CLONE_FILES> flag. Unshare the "
168 "file descriptor table, so that the calling process no longer shares its file "
169 "descriptors with any other process."
170 msgstr ""
171 "A l'effet inverse de l'attribut B<CLONE_FILES> de B<clone>(2). Supprimer le "
172 "partage de la table des descripteurs de fichier, afin que le processus "
173 "appelant ne partage plus ses descripteurs de fichier avec d'autres processus."
174
175 #. type: TP
176 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
177 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
178 #, no-wrap
179 msgid "B<CLONE_FS>"
180 msgstr "B<CLONE_FS>"
181
182 #. type: Plain text
183 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
184 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
185 msgid ""
186 "Reverse the effect of the B<clone>(2) B<CLONE_FS> flag. Unshare filesystem "
187 "attributes, so that the calling process no longer shares its root directory "
188 "(B<chroot>(2)), current directory (B<chdir>(2)), or umask (B<umask>(2)) "
189 "attributes with any other process."
190 msgstr ""
191 "Annuler l'effet de l'attribut B<CLONE_FS> de B<clone>(2). Supprimer le "
192 "partage des attributs de système de fichiers, afin que le processus appelant "
193 "ne partage plus son répertoire racine (B<chroot>(2)), son répertoire courant "
194 "(B<chdir>(2)) et sa valeur d'umask (B<umask>(2)) avec d'autres processus."
195
196 #. type: TP
197 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
198 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
199 #, no-wrap
200 msgid "B<CLONE_NEWCGROUP> (since Linux 4.6)"
201 msgstr "B<CLONE_NEWCGROUP> (depuis Linux 4.6)"
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 "This flag has the same effect as the B<clone>(2) B<CLONE_NEWCGROUP> flag. "
208 "Unshare the cgroup namespace. Use of B<CLONE_NEWCGROUP> requires the "
209 "B<CAP_SYS_ADMIN> capability."
210 msgstr ""
211 "Cet attribut a le même effet que l'attribut B<CLONE_NEWCGROUP> de "
212 "B<clone>(2). Départager l'espace de noms cgroup. L'utilisation de "
213 "B<CLONE_NEWCGROUP> nécessite la capacité B<CAP_SYS_ADMIN>."
214
215 #. type: TP
216 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
217 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
218 #, no-wrap
219 msgid "B<CLONE_NEWIPC> (since Linux 2.6.19)"
220 msgstr "B<CLONE_NEWIPC> (depuis Linux 2.6.19)"
221
222 #. type: Plain text
223 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
224 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
225 msgid ""
226 "This flag has the same effect as the B<clone>(2) B<CLONE_NEWIPC> flag. "
227 "Unshare the IPC namespace, so that the calling process has a private copy of "
228 "the IPC namespace which is not shared with any other process. Specifying "
229 "this flag automatically implies B<CLONE_SYSVSEM> as well. Use of "
230 "B<CLONE_NEWIPC> requires the B<CAP_SYS_ADMIN> capability."
231 msgstr ""
232 "Cet attribut a le même effet que l'attribut B<CLONE_NEWIPC> de B<clone>(2). "
233 "Supprimer le partage de l'espace de noms IPC, afin que le processus appelant "
234 "ait une copie privée de l'espace de noms IPC qui ne soit pas partagée avec "
235 "d'autres processus. L'utilisation de cet attribut implique automatiquement "
236 "aussi B<CLONE_SYSVSEM>. L'utilisation de B<CLONE_NEWIPC> nécessite la "
237 "capacité B<CAP_SYS_ADMIN>."
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_NEWNET> (since Linux 2.6.24)"
244 msgstr "B<CLONE_NEWNET> (depuis Linux 2.6.24)"
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 ""
250 "This flag has the same effect as the B<clone>(2) B<CLONE_NEWNET> flag. "
251 "Unshare the network namespace, so that the calling process is moved into a "
252 "new network namespace which is not shared with any previously existing "
253 "process. Use of B<CLONE_NEWNET> requires the B<CAP_SYS_ADMIN> capability."
254 msgstr ""
255 "Cet attribut a le même effet que l'attribut B<CLONE_NEWNET> de B<clone>(2). "
256 "Supprimer le partage de l'espace de noms de réseau, afin que le processus "
257 "appelant soit déplacé dans un nouvel espace de noms de réseau qui n'est pas "
258 "partagé avec d'autres processus. B<CLONE_NEWNET> nécessite la capacité "
259 "B<CAP_SYS_ADMIN>."
260
261 #. type: TP
262 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
263 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
264 #, no-wrap
265 msgid "B<CLONE_NEWNS>"
266 msgstr "B<CLONE_NEWNS>"
267
268 #. These flag name are inconsistent:
269 #. CLONE_NEWNS does the same thing in clone(), but CLONE_VM,
270 #. CLONE_FS, and CLONE_FILES reverse the action of the clone()
271 #. flags of the same name.
272 #. type: Plain text
273 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
274 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
275 msgid ""
276 "This flag has the same effect as the B<clone>(2) B<CLONE_NEWNS> flag. "
277 "Unshare the mount namespace, so that the calling process has a private copy "
278 "of its namespace which is not shared with any other process. Specifying "
279 "this flag automatically implies B<CLONE_FS> as well. Use of B<CLONE_NEWNS> "
280 "requires the B<CAP_SYS_ADMIN> capability. For further information, see "
281 "B<mount_namespaces>(7)."
282 msgstr ""
283 "Cet attribut a le même effet que l'attribut B<CLONE_NEWNS> de B<clone>(2). "
284 "Supprimer le partage de l'espace de noms de montage, afin que le processus "
285 "appelant ait une copie privée de son espace de noms qui ne soit pas partagée "
286 "avec d'autres processus. L'utilisation de cet attribut implique "
287 "automatiquement aussi B<CLONE_FS>. L'utilisation de B<CLONE_NEWNS> nécessite "
288 "la capacité B<CAP_SYS_ADMIN>. Pour plus d'informations, consultez "
289 "B<mount_namespaces>(7)."
290
291 #. type: TP
292 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
293 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
294 #, no-wrap
295 msgid "B<CLONE_NEWPID> (since Linux 3.8)"
296 msgstr "B<CLONE_NEWPID> (depuis Linux 3.8)"
297
298 #. type: Plain text
299 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
300 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
301 msgid ""
302 "This flag has the same effect as the B<clone>(2) B<CLONE_NEWPID> flag. "
303 "Unshare the PID namespace, so that the calling process has a new PID "
304 "namespace for its children which is not shared with any previously existing "
305 "process. The calling process is I<not> moved into the new namespace. The "
306 "first child created by the calling process will have the process ID 1 and "
307 "will assume the role of B<init>(1) in the new namespace. B<CLONE_NEWPID> "
308 "automatically implies B<CLONE_THREAD> as well. Use of B<CLONE_NEWPID> "
309 "requires the B<CAP_SYS_ADMIN> capability. For further information, see "
310 "B<pid_namespaces>(7)."
311 msgstr ""
312 "Cet attribut a le même effet que l'attribut B<CLONE_NEWNS> de B<clone>(2). "
313 "Supprimr le partage l'espace de noms PID, afin que le processus génère un "
314 "nouvel espace de noms PID qui ne soit pas partagé avec d'autres processus "
315 "antérieurs et qui sera celui de ses enfants. Le processus appelant I<ne "
316 "change pas> d'espace de noms. Le premier enfant créé par le processus "
317 "appelant aura l'identifiant 1 et sera B<init>(1) dans le nouvel espace de "
318 "noms. B<CLONE_NEWPID> implique automatiquement B<CLONE_THREAD>. "
319 "L'utilisation de B<CLONE_NEWPID> nécessite de disposer de la capacité "
320 "B<CAP_SYS_ADMIN>. Pour plus d'informations, consultez B<pid_namespaces>(7)."
321
322 #. type: TP
323 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
324 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
325 #, no-wrap
326 msgid "B<CLONE_NEWTIME> (since Linux 5.6)"
327 msgstr "B<CLONE_NEWTIME> (depuis Linux 5.6)"
328
329 #. type: Plain text
330 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
331 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
332 msgid ""
333 "Unshare the time namespace, so that the calling process has a new time "
334 "namespace for its children which is not shared with any previously existing "
335 "process. The calling process is I<not> moved into the new namespace. Use "
336 "of B<CLONE_NEWTIME> requires the B<CAP_SYS_ADMIN> capability. For further "
337 "information, see B<time_namespaces>(7)."
338 msgstr ""
339 "Supprimer le partage de l'espace de noms temps, afin que le processus "
340 "appelant ait une copie privée de son espace de noms qui ne soit pas partagée "
341 "avec d'autres processus. Le processus appelant I<n'est pas> déplacé dans le "
342 "nouvel espace de noms. L'utilisation de B<CLONE_NEWTIME> nécessite la "
343 "capacité B<CAP_SYS_ADMIN>. Pour plus d'informations, consultez "
344 "B<time_namespaces>(7)."
345
346 #. type: TP
347 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
348 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
349 #, no-wrap
350 msgid "B<CLONE_NEWUSER> (since Linux 3.8)"
351 msgstr "B<CLONE_NEWUSER> (depuis Linux 3.8)"
352
353 #. type: Plain text
354 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
355 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
356 msgid ""
357 "This flag has the same effect as the B<clone>(2) B<CLONE_NEWUSER> flag. "
358 "Unshare the user namespace, so that the calling process is moved into a new "
359 "user namespace which is not shared with any previously existing process. As "
360 "with the child process created by B<clone>(2) with the B<CLONE_NEWUSER> "
361 "flag, the caller obtains a full set of capabilities in the new namespace."
362 msgstr ""
363 "Cet attribut a le même effet que l'attribut B<CLONE_NEWUSER> de B<clone>(2). "
364 "Supprimer le partage de l'espace de noms utilisateur, afin que le processus "
365 "appelant soit déplacé dans un nouvel espace de noms utilisateur qui n'est "
366 "pas partagé avec d'autres processus. Comme pour les enfants créés par "
367 "B<clone>(2) avec l'attribut B<CLONE_NEWUSER>, l'appelant obtient un ensemble "
368 "complet de capacités dans le nouvel espace de noms."
369
370 #. commit e66eded8309ebf679d3d3c1f5820d1f2ca332c71
371 #. https://lwn.net/Articles/543273/
372 #. type: Plain text
373 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
374 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
375 msgid ""
376 "B<CLONE_NEWUSER> requires that the calling process is not threaded; "
377 "specifying B<CLONE_NEWUSER> automatically implies B<CLONE_THREAD>. Since "
378 "Linux 3.9, B<CLONE_NEWUSER> also automatically implies B<CLONE_FS>. "
379 "B<CLONE_NEWUSER> requires that the user ID and group ID of the calling "
380 "process are mapped to user IDs and group IDs in the user namespace of the "
381 "calling process at the time of the call."
382 msgstr ""
383 "B<CLONE_NEWUSER> nécessite que le processus appelant ne soit pas multi-"
384 "threadé ; si B<CLONE_NEWUSER> est spécifié, B<CLONE_THREAD> l'est "
385 "automatiquement. À partir de Linux 3.9, B<CLONE_NEWUSER> implique également "
386 "automatiquement B<CLONE_FS>. B<CLONE_NEWUSER> nécessite que les identifiants "
387 "utilisateur et groupe du processus appelant correspondent aux identifiants "
388 "utilisateur et groupe dans l'espace de noms utilisateur du processus "
389 "appelant au moment de l'appel."
390
391 #. type: Plain text
392 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
393 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
394 msgid "For further information on user namespaces, see B<user_namespaces>(7)."
395 msgstr ""
396 "Pour obtenir plus d'informations sur les espaces de noms utilisateur, "
397 "consultez B<user_namespaces>(7)."
398
399 #. type: TP
400 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
401 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
402 #, no-wrap
403 msgid "B<CLONE_NEWUTS> (since Linux 2.6.19)"
404 msgstr "B<CLONE_NEWUTS> (depuis Linux 2.6.19)"
405
406 #. type: Plain text
407 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
408 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
409 msgid ""
410 "This flag has the same effect as the B<clone>(2) B<CLONE_NEWUTS> flag. "
411 "Unshare the UTS IPC namespace, so that the calling process has a private "
412 "copy of the UTS namespace which is not shared with any other process. Use "
413 "of B<CLONE_NEWUTS> requires the B<CAP_SYS_ADMIN> capability."
414 msgstr ""
415 "Cet attribut a le même effet que l'attribut B<CLONE_NEWUTS> de B<clone>(2). "
416 "Départager l'espace de noms IPC UTS, afin que le processus appelant ait une "
417 "copie privée de l'espace de noms UTS qui ne soit pas partagée avec d'autres "
418 "processus. L'utilisation de B<CLONE_NEWUTS> nécessite la capacité "
419 "B<CAP_SYS_ADMIN>."
420
421 #. type: TP
422 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
423 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
424 #, no-wrap
425 msgid "B<CLONE_SYSVSEM> (since Linux 2.6.26)"
426 msgstr "B<CLONE_SYSVSEM> (depuis Linux 2.6.26)"
427
428 #. commit 9edff4ab1f8d82675277a04e359d0ed8bf14a7b7
429 #. CLONE_NEWNS If CLONE_SIGHAND is set and signals are also being shared
430 #. (i.e., current->signal->count > 1), force CLONE_THREAD.
431 #. type: Plain text
432 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
433 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
434 msgid ""
435 "This flag reverses the effect of the B<clone>(2) B<CLONE_SYSVSEM> flag. "
436 "Unshare System\\ V semaphore adjustment (I<semadj>) values, so that the "
437 "calling process has a new empty I<semadj> list that is not shared with any "
438 "other process. If this is the last process that has a reference to the "
439 "process's current I<semadj> list, then the adjustments in that list are "
440 "applied to the corresponding semaphores, as described in B<semop>(2)."
441 msgstr ""
442 "Cet attribut inverse l'effet de l'attribut B<CLONE_SYSVSEM> de B<clone>(2). "
443 "Supprimer le partage des valeurs d'ajustement des sémaphores System V "
444 "(I<semadj>), afin que le processus appelant ait une nouvelle liste I<semadj> "
445 "vide qui ne soit partagée avec aucun autre processus. S'il s'agit du dernier "
446 "processus ayant une référence à la liste (I<semadj>) du processus courant, "
447 "alors les ajustements de cette liste sont appliqués aux sémaphores "
448 "correspondants, tels que décrit dans B<semop>(2)."
449
450 #
451 #. As at 3.9, the following forced implications also apply,
452 #. although the relevant flags are not yet implemented.
453 #. If CLONE_THREAD is set force CLONE_VM.
454 #. If CLONE_VM is set, force CLONE_SIGHAND.
455 #. See kernel/fork.c::check_unshare_flags()
456 #. type: Plain text
457 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
458 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
459 msgid ""
460 "In addition, B<CLONE_THREAD>, B<CLONE_SIGHAND>, and B<CLONE_VM> can be "
461 "specified in I<flags> if the caller is single threaded (i.e., it is not "
462 "sharing its address space with another process or thread). In this case, "
463 "these flags have no effect. (Note also that specifying B<CLONE_THREAD> "
464 "automatically implies B<CLONE_VM>, and specifying B<CLONE_VM> automatically "
465 "implies B<CLONE_SIGHAND>.) If the process is multithreaded, then the use of "
466 "these flags results in an error."
467 msgstr ""
468 "De plus, B<CLONE_THREAD>, B<CLONE_SIGHAND> et B<CLONE_VM> peuvent être "
469 "invoqués dans I<flags> si l'appelant est mono-threadé (c'est-à-dire s'il ne "
470 "partage pas son espace d'adressage avec un autre processus ou un autre "
471 "thread). Dans ce cas, ces attributs sont sans effet. Notez également que "
472 "spécifier B<CLONE_THREAD> implique automatiquement B<CLONE_VM>, et que "
473 "spécifier B<CLONE_VM> implique automatiquement B<CLONE_SIGHAND>. Si le "
474 "processus est multi-threadé, al’utilisation de ces attributs mène à une "
475 "erreur."
476
477 #. type: Plain text
478 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
479 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
480 msgid ""
481 "If I<flags> is specified as zero, then B<unshare>() is a no-op; no changes "
482 "are made to the calling process's execution context."
483 msgstr ""
484 "Si I<flags> vaut zéro, B<unshare>() n'a aucun effet\\ : le contexte "
485 "d'exécution du processus appelant n'est pas modifié."
486
487 #. type: SH
488 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
489 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
490 #, no-wrap
491 msgid "RETURN VALUE"
492 msgstr "VALEUR RENVOYÉE"
493
494 #. type: Plain text
495 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
496 #: opensuse-tumbleweed
497 msgid ""
498 "On success, zero is returned. On failure, -1 is returned and I<errno> is "
499 "set to indicate the error."
500 msgstr ""
501 "S'ils réussissent, ces appels renvoient zéro. En cas d'échec, ils renvoient "
502 "B<-1> et I<errno> est positionné pour indiquer l'erreur."
503
504 #. type: SH
505 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
506 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
507 #, no-wrap
508 msgid "ERRORS"
509 msgstr "ERREURS"
510
511 #. type: TP
512 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
513 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
514 #, no-wrap
515 msgid "B<EINVAL>"
516 msgstr "B<EINVAL>"
517
518 #. type: Plain text
519 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
520 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
521 msgid "An invalid bit was specified in I<flags>."
522 msgstr "Un attribut non autorisé est indiqué dans I<flags>."
523
524 #. type: Plain text
525 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
526 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
527 msgid ""
528 "B<CLONE_THREAD>, B<CLONE_SIGHAND>, or B<CLONE_VM> was specified in I<flags>, "
529 "and the caller is multithreaded."
530 msgstr ""
531 "B<CLONE_THREAD>, B<CLONE_SIGHAND> ou B<CLONE_VM> figurait dans I<flags>, et "
532 "l'appelant était multi-threadé."
533
534 #. type: Plain text
535 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
536 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
537 msgid ""
538 "B<CLONE_NEWIPC> was specified in I<flags>, but the kernel was not configured "
539 "with the B<CONFIG_SYSVIPC> and B<CONFIG_IPC_NS> options."
540 msgstr ""
541 "B<CLONE_NEWIPC> a été spécifié dans I<flags>, mais le noyau n'a pas été "
542 "configuré avec les options B<CONFIG_SYSVIPC> et B<CONFIG_IPC_NS>."
543
544 #. type: Plain text
545 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
546 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
547 msgid ""
548 "B<CLONE_NEWNET> was specified in I<flags>, but the kernel was not configured "
549 "with the B<CONFIG_NET_NS> option."
550 msgstr ""
551 "B<CLONE_NEWNET> a été spécifié dans I<flags>, mais le noyau n'a pas été "
552 "configuré avec l'option B<CONFIG_NET_NS>."
553
554 #. type: Plain text
555 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
556 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
557 msgid ""
558 "B<CLONE_NEWPID> was specified in I<flags>, but the kernel was not configured "
559 "with the B<CONFIG_PID_NS> option."
560 msgstr ""
561 "B<CLONE_NEWPID> a été spécifié dans le I<flags>, mais le noyau n'a pas été "
562 "configuré avec l'option B<CONFIG_PID_NS>."
563
564 #. type: Plain text
565 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
566 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
567 msgid ""
568 "B<CLONE_NEWUSER> was specified in I<flags>, but the kernel was not "
569 "configured with the B<CONFIG_USER_NS> option."
570 msgstr ""
571 "B<CLONE_NEWUSER> a été spécifié dans I<flags>, mais le noyau n'a pas été "
572 "configuré avec l'option B<CONFIG_USER_NS>."
573
574 #. type: Plain text
575 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
576 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
577 msgid ""
578 "B<CLONE_NEWUTS> was specified in I<flags>, but the kernel was not configured "
579 "with the B<CONFIG_UTS_NS> option."
580 msgstr ""
581 "B<CLONE_NEWUTS> a été spécifié dans I<flags>, mais le noyau n'a pas été "
582 "configuré avec l'option B<CONFIG_UTS_NS>."
583
584 #. type: Plain text
585 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
586 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
587 msgid ""
588 "B<CLONE_NEWPID> was specified in I<flags>, but the process has previously "
589 "called B<unshare>() with the B<CLONE_NEWPID> flag."
590 msgstr ""
591 "B<CLONE_NEWPID> a été spécifié dans I<flags>, mais le processus a appelé "
592 "auparavant B<unshare>() avec l'attribut B<CLONE_NEWPID>."
593
594 #. type: TP
595 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
596 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
597 #, no-wrap
598 msgid "B<ENOMEM>"
599 msgstr "B<ENOMEM>"
600
601 #. type: Plain text
602 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
603 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
604 msgid ""
605 "Cannot allocate sufficient memory to copy parts of caller's context that "
606 "need to be unshared."
607 msgstr ""
608 "Impossible d'allouer suffisamment de mémoire pour copier les parties du "
609 "contexte de l'appelant qui doivent être rendues privées."
610
611 #. type: TP
612 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
613 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
614 #, no-wrap
615 msgid "B<ENOSPC> (since Linux 3.7)"
616 msgstr "B<ENOSPC> (depuis Linux 3.7)"
617
618 #. commit f2302505775fd13ba93f034206f1e2a587017929
619 #. type: Plain text
620 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
621 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
622 msgid ""
623 "B<CLONE_NEWPID> was specified in flags, but the limit on the nesting depth "
624 "of PID namespaces would have been exceeded; see B<pid_namespaces>(7)."
625 msgstr ""
626 "B<CLONE_NEWPID> a été spécifié dans les attributs et l'appel provoquerait un "
627 "dépassement de la limite du nombre maximal d'espaces de noms utilisateur "
628 "imbriqués. Consultez B<pid_namespaces>(7)."
629
630 #. type: TP
631 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
632 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
633 #, no-wrap
634 msgid "B<ENOSPC> (since Linux 4.9; beforehand B<EUSERS>)"
635 msgstr "B<ENOSPC> (depuis Linux 4.9 ; auparavant B<EUSERS>)"
636
637 #. type: Plain text
638 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
639 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
640 msgid ""
641 "B<CLONE_NEWUSER> was specified in I<flags>, and the call would cause the "
642 "limit on the number of nested user namespaces to be exceeded. See "
643 "B<user_namespaces>(7)."
644 msgstr ""
645 "B<CLONE_NEWUSER> a été spécifié dans I<flags> et l'appel provoquerait un "
646 "dépassement de la limite du nombre maximal d'espaces de noms utilisateur "
647 "imbriqués. Consultez B<user_namespaces>(7)."
648
649 #. type: Plain text
650 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
651 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
652 msgid ""
653 "From Linux 3.11 to Linux 4.8, the error diagnosed in this case was B<EUSERS>."
654 msgstr ""
655 "De Linux 3.11 à Linux 4.8, l'erreur indiquée dans ce cas était B<EUSERS>."
656
657 #. type: TP
658 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
659 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
660 #, no-wrap
661 msgid "B<ENOSPC> (since Linux 4.9)"
662 msgstr "B<ENOSPC> (depuis Linux 4.9)"
663
664 #. type: Plain text
665 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
666 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
667 msgid ""
668 "One of the values in I<flags> specified the creation of a new user "
669 "namespace, but doing so would have caused the limit defined by the "
670 "corresponding file in I</proc/sys/user> to be exceeded. For further "
671 "details, see B<namespaces>(7)."
672 msgstr ""
673 "Une des valeurs dans I<flags> indiquait de créer un nouvel espace de noms "
674 "utilisateur, mais cela aurait provoqué un dépassement de la limite définie "
675 "par le fichier correspondant dans I</proc/sys/user>. Pour plus de détails, "
676 "voir B<namespaces>(7)."
677
678 #. type: TP
679 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
680 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
681 #, no-wrap
682 msgid "B<EPERM>"
683 msgstr "B<EPERM>"
684
685 #. type: Plain text
686 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
687 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
688 msgid ""
689 "The calling process did not have the required privileges for this operation."
690 msgstr ""
691 "Le processus appelant n'avait pas les privilèges appropriés pour effectuer "
692 "cette opération."
693
694 #. type: Plain text
695 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
696 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
697 msgid ""
698 "B<CLONE_NEWUSER> was specified in I<flags>, but either the effective user ID "
699 "or the effective group ID of the caller does not have a mapping in the "
700 "parent namespace (see B<user_namespaces>(7))."
701 msgstr ""
702 "B<CLONE_NEWUSER> a été spécifié dans I<flags>, mais l'identifiant "
703 "utilisateur effectif ou l'identifiant de groupe effectif de l'appelant n'a "
704 "pas de correspondance dans l'espace de noms parent (consultez "
705 "B<user_namespaces>(7))."
706
707 #. type: TP
708 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
709 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
710 #, no-wrap
711 msgid "B<EPERM> (since Linux 3.9)"
712 msgstr "B<EPERM> (depuis Linux 3.9)"
713
714 #. commit 3151527ee007b73a0ebd296010f1c0454a919c7d
715 #. FIXME What is the rationale for this restriction?
716 #. type: Plain text
717 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
718 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
719 msgid ""
720 "B<CLONE_NEWUSER> was specified in I<flags> and the caller is in a chroot "
721 "environment (i.e., the caller's root directory does not match the root "
722 "directory of the mount namespace in which it resides)."
723 msgstr ""
724 "B<CLONE_NEWUSER> a été spécifié dans I<flags> et l'appelant se trouve dans "
725 "un environnement chroot (c'est-à-dire que le répertoire racine de l'appelant "
726 "ne correspond pas au répertoire racine de l'espace de noms de montage dans "
727 "lequel il se trouve)."
728
729 #. type: TP
730 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
731 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
732 #, no-wrap
733 msgid "B<EUSERS> (from Linux 3.11 to Linux 4.8)"
734 msgstr "B<EUSERS> (de Linux 3.11 à Linux 4.8)"
735
736 #. type: Plain text
737 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
738 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
739 msgid ""
740 "B<CLONE_NEWUSER> was specified in I<flags>, and the limit on the number of "
741 "nested user namespaces would be exceeded. See the discussion of the "
742 "B<ENOSPC> error above."
743 msgstr ""
744 "B<CLONE_NEWUSER> a été spécifié dans I<flags>, et l'appel provoquerait un "
745 "dépassement de la limite du nombre maximal d'espaces de noms utilisateur "
746 "imbriqués. Voir le point sur l'erreur B<ENOSPC> ci-dessus."
747
748 #. type: SH
749 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
750 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
751 #, no-wrap
752 msgid "STANDARDS"
753 msgstr "NORMES"
754
755 #. type: Plain text
756 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
757 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
758 msgid "Linux."
759 msgstr "Linux."
760
761 #. type: SH
762 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
763 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
764 #, no-wrap
765 msgid "HISTORY"
766 msgstr "HISTORIQUE"
767
768 #. type: Plain text
769 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
770 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
771 msgid "Linux 2.6.16."
772 msgstr "Linux 2.6.16."
773
774 #. type: SH
775 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
776 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
777 #, no-wrap
778 msgid "NOTES"
779 msgstr "NOTES"
780
781 #. #-#-#-#-# archlinux: unshare.2.pot (PACKAGE VERSION) #-#-#-#-#
782 #. FIXME all of the following needs to be reviewed for the current kernel
783 #. However, we can do unshare(CLONE_SIGHAND) if CLONE_SIGHAND
784 #. was not specified when doing clone(); i.e., unsharing
785 #. signal handlers is permitted if we are not actually
786 #. sharing signal handlers. mtk
787 #. However, we can do unshare(CLONE_VM) if CLONE_VM
788 #. was not specified when doing clone(); i.e., unsharing
789 #. virtual memory is permitted if we are not actually
790 #. sharing virtual memory. mtk
791 #. 9) Future Work
792 #. --------------
793 #. The current implementation of unshare does not allow unsharing of
794 #. signals and signal handlers. Signals are complex to begin with and
795 #. to unshare signals and/or signal handlers of a currently running
796 #. process is even more complex. If in the future there is a specific
797 #. need to allow unsharing of signals and/or signal handlers, it can
798 #. be incrementally added to unshare without affecting legacy
799 #. applications using unshare.
800 #. type: Plain text
801 #. #-#-#-#-# debian-trixie: unshare.2.pot (PACKAGE VERSION) #-#-#-#-#
802 #. FIXME all of the following needs to be reviewed for the current kernel
803 #. However, we can do unshare(CLONE_SIGHAND) if CLONE_SIGHAND
804 #. was not specified when doing clone(); i.e., unsharing
805 #. signal handlers is permitted if we are not actually
806 #. sharing signal handlers. mtk
807 #. However, we can do unshare(CLONE_VM) if CLONE_VM
808 #. was not specified when doing clone(); i.e., unsharing
809 #. virtual memory is permitted if we are not actually
810 #. sharing virtual memory. mtk
811 #. 9) Future Work
812 #. --------------
813 #. The current implementation of unshare does not allow unsharing of
814 #. signals and signal handlers. Signals are complex to begin with and
815 #. to unshare signals and/or signal handlers of a currently running
816 #. process is even more complex. If in the future there is a specific
817 #. need to allow unsharing of signals and/or signal handlers, it can
818 #. be incrementally added to unshare without affecting legacy
819 #. applications using unshare.
820 #. type: Plain text
821 #. #-#-#-#-# debian-unstable: unshare.2.pot (PACKAGE VERSION) #-#-#-#-#
822 #. FIXME all of the following needs to be reviewed for the current kernel
823 #. However, we can do unshare(CLONE_SIGHAND) if CLONE_SIGHAND
824 #. was not specified when doing clone(); i.e., unsharing
825 #. signal handlers is permitted if we are not actually
826 #. sharing signal handlers. mtk
827 #. However, we can do unshare(CLONE_VM) if CLONE_VM
828 #. was not specified when doing clone(); i.e., unsharing
829 #. virtual memory is permitted if we are not actually
830 #. sharing virtual memory. mtk
831 #. 9) Future Work
832 #. --------------
833 #. The current implementation of unshare does not allow unsharing of
834 #. signals and signal handlers. Signals are complex to begin with and
835 #. to unshare signals and/or signal handlers of a currently running
836 #. process is even more complex. If in the future there is a specific
837 #. need to allow unsharing of signals and/or signal handlers, it can
838 #. be incrementally added to unshare without affecting legacy
839 #. applications using unshare.
840 #. type: Plain text
841 #. #-#-#-#-# fedora-44: unshare.2.pot (PACKAGE VERSION) #-#-#-#-#
842 #. FIXME all of the following needs to be reviewed for the current kernel
843 #. However, we can do unshare(CLONE_SIGHAND) if CLONE_SIGHAND
844 #. was not specified when doing clone(); i.e., unsharing
845 #. signal handlers is permitted if we are not actually
846 #. sharing signal handlers. mtk
847 #. However, we can do unshare(CLONE_VM) if CLONE_VM
848 #. was not specified when doing clone(); i.e., unsharing
849 #. virtual memory is permitted if we are not actually
850 #. sharing virtual memory. mtk
851 #. 9) Future Work
852 #. --------------
853 #. The current implementation of unshare does not allow unsharing of
854 #. signals and signal handlers. Signals are complex to begin with and
855 #. to unshare signals and/or signal handlers of a currently running
856 #. process is even more complex. If in the future there is a specific
857 #. need to allow unsharing of signals and/or signal handlers, it can
858 #. be incrementally added to unshare without affecting legacy
859 #. applications using unshare.
860 #. type: Plain text
861 #. #-#-#-#-# fedora-rawhide: unshare.2.pot (PACKAGE VERSION) #-#-#-#-#
862 #. FIXME all of the following needs to be reviewed for the current kernel
863 #. However, we can do unshare(CLONE_SIGHAND) if CLONE_SIGHAND
864 #. was not specified when doing clone(); i.e., unsharing
865 #. signal handlers is permitted if we are not actually
866 #. sharing signal handlers. mtk
867 #. However, we can do unshare(CLONE_VM) if CLONE_VM
868 #. was not specified when doing clone(); i.e., unsharing
869 #. virtual memory is permitted if we are not actually
870 #. sharing virtual memory. mtk
871 #. 9) Future Work
872 #. --------------
873 #. The current implementation of unshare does not allow unsharing of
874 #. signals and signal handlers. Signals are complex to begin with and
875 #. to unshare signals and/or signal handlers of a currently running
876 #. process is even more complex. If in the future there is a specific
877 #. need to allow unsharing of signals and/or signal handlers, it can
878 #. be incrementally added to unshare without affecting legacy
879 #. applications using unshare.
880 #. type: Plain text
881 #. #-#-#-#-# mageia-cauldron: unshare.2.pot (PACKAGE VERSION) #-#-#-#-#
882 #. FIXME all of the following needs to be reviewed for the current kernel
883 #. However, we can do unshare(CLONE_SIGHAND) if CLONE_SIGHAND
884 #. was not specified when doing clone(); i.e., unsharing
885 #. signal handlers is permitted if we are not actually
886 #. sharing signal handlers. mtk
887 #. However, we can do unshare(CLONE_VM) if CLONE_VM
888 #. was not specified when doing clone(); i.e., unsharing
889 #. virtual memory is permitted if we are not actually
890 #. sharing virtual memory. mtk
891 #. 9) Future Work
892 #. --------------
893 #. The current implementation of unshare does not allow unsharing of
894 #. signals and signal handlers. Signals are complex to begin with and
895 #. to unshare signals and/or signal handlers of a currently running
896 #. process is even more complex. If in the future there is a specific
897 #. need to allow unsharing of signals and/or signal handlers, it can
898 #. be incrementally added to unshare without affecting legacy
899 #. applications using unshare.
900 #. type: Plain text
901 #. #-#-#-#-# opensuse-leap-16-1: unshare.2.pot (PACKAGE VERSION) #-#-#-#-#
902 #. FIXME all of the following needs to be reviewed for the current kernel
903 #. However, we can do unshare(CLONE_SIGHAND) if CLONE_SIGHAND
904 #. was not specified when doing clone(); i.e., unsharing
905 #. signal handlers is permitted if we are not actually
906 #. sharing signal handlers. mtk
907 #. However, we can do unshare(CLONE_VM) if CLONE_VM
908 #. was not specified when doing clone(); i.e., unsharing
909 #. virtual memory is permitted if we are not actually
910 #. sharing virtual memory. mtk
911 #. 9) Future Work
912 #. --------------
913 #. The current implementation of unshare does not allow unsharing of
914 #. signals and signal handlers. Signals are complex to begin with and
915 #. to unshare signals and/or signal handlers of a currently running
916 #. process is even more complex. If in the future there is a specific
917 #. need to allow unsharing of signals and/or signal handlers, it can
918 #. be incrementally added to unshare without affecting legacy
919 #. applications using unshare.
920 #. type: Plain text
921 #. #-#-#-#-# opensuse-tumbleweed: unshare.2.pot (PACKAGE VERSION) #-#-#-#-#
922 #. FIXME all of the following needs to be reviewed for the current kernel
923 #. However, we can do unshare(CLONE_SIGHAND) if CLONE_SIGHAND
924 #. was not specified when doing clone(); i.e., unsharing
925 #. signal handlers is permitted if we are not actually
926 #. sharing signal handlers. mtk
927 #. However, we can do unshare(CLONE_VM) if CLONE_VM
928 #. was not specified when doing clone(); i.e., unsharing
929 #. virtual memory is permitted if we are not actually
930 #. sharing virtual memory. mtk
931 #. 9) Future Work
932 #. --------------
933 #. The current implementation of unshare does not allow unsharing of
934 #. signals and signal handlers. Signals are complex to begin with and
935 #. to unshare signals and/or signal handlers of a currently running
936 #. process is even more complex. If in the future there is a specific
937 #. need to allow unsharing of signals and/or signal handlers, it can
938 #. be incrementally added to unshare without affecting legacy
939 #. applications using unshare.
940 #. type: Plain text
941 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
942 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
943 msgid ""
944 "Not all of the process attributes that can be shared when a new process is "
945 "created using B<clone>(2) can be unshared using B<unshare>(). In "
946 "particular, as at kernel 3.8, B<unshare>() does not implement flags that "
947 "reverse the effects of B<CLONE_SIGHAND>, B<CLONE_THREAD>, or B<CLONE_VM>. "
948 "Such functionality may be added in the future, if required."
949 msgstr ""
950 "Tous les attributs de processus qui peuvent être partagés lorsqu'un "
951 "processus est créé avec B<clone>(2) ne peuvent pas être rendus privés avec "
952 "B<unshare>(). En particulier, dans le noyau 3.8, B<unshare>() n'implémente "
953 "pas de drapeaux inversant les effets de B<CLONE_SIGHAND>, B<CLONE_THREAD> ou "
954 "B<CLONE_VM>. Cette fonctionnalité pourra être ajoutée plus tard si "
955 "nécessaire."
956
957 #. type: Plain text
958 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
959 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
960 msgid ""
961 "Creating all kinds of namespace, except user namespaces, requires the "
962 "B<CAP_SYS_ADMIN> capability. However, since creating a user namespace "
963 "automatically confers a full set of capabilities, creating both a user "
964 "namespace and any other type of namespace in the same B<unshare>() call "
965 "does not require the B<CAP_SYS_ADMIN> capability in the original namespace."
966 msgstr ""
967 "La création de tout type d'espace de noms, à l'exception des noms des "
968 "espaces de noms utilisateur, requiert la capacité B<CAP_SYS_ADMIN>. "
969 "Cependant, dans la mesure où la création d'un espace de noms utilisateur "
970 "confère un ensemble complet de capacités, créer à la fois un espace de noms "
971 "utilisateur et un espace de noms de n'importe quel type dans le même appel "
972 "de B<unshare>() ne nécessite pas la capacité B<CAP_SYS_ADMIN> dans l'espace "
973 "de nom d'origine."
974
975 #. type: SH
976 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
977 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
978 #, no-wrap
979 msgid "EXAMPLES"
980 msgstr "EXEMPLES"
981
982 #. type: Plain text
983 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
984 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
985 msgid ""
986 "The program below provides a simple implementation of the B<unshare>(1) "
987 "command, which unshares one or more namespaces and executes the command "
988 "supplied in its command-line arguments. Here's an example of the use of "
989 "this program, running a shell in a new mount namespace, and verifying that "
990 "the original shell and the new shell are in separate mount namespaces:"
991 msgstr ""
992 "Le programme ci-dessous est une implémentation simple de la commande "
993 "B<unshare>(1) qui supprime le partage d'un ou plusieurs espaces de noms et "
994 "exécute la commande fournie en argument. Voici un exemple d'utilisation du "
995 "programme qui exécute un shell dans un nouvel espace de noms de montage, "
996 "puis vérifie que le shell initial et le nouveau shell sont bien dans des "
997 "espaces de noms de montage séparés :"
998
999 #. type: Plain text
1000 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1001 #: opensuse-tumbleweed
1002 #, no-wrap
1003 msgid ""
1004 "$B< readlink /proc/$$/ns/mnt>;\n"
1005 "mnt:[4026531840]\n"
1006 "$B< sudo ./unshare -m /bin/bash>;\n"
1007 "#B< readlink /proc/$$/ns/mnt>;\n"
1008 "mnt:[4026532325]\n"
1009 msgstr ""
1010 "$ B<readlink /proc/$$/ns/mnt>;\n"
1011 "mnt:[4026531840]\n"
1012 "$ B<sudo ./unshare -m /bin/bash>;\n"
1013 "# B<readlink /proc/$$/ns/mnt>;\n"
1014 "mnt:[4026532325]\n"
1015
1016 #. type: Plain text
1017 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1018 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1019 msgid ""
1020 "The differing output of the two B<readlink>(1) commands shows that the two "
1021 "shells are in different mount namespaces."
1022 msgstr ""
1023 "Les deux chaînes renvoyées par B<readlink>(1) sont différentes, ce qui "
1024 "montre que les deux shells se trouvent dans des espaces de noms de montage "
1025 "différents."
1026
1027 #. type: SS
1028 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1029 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1030 #, no-wrap
1031 msgid "Program source"
1032 msgstr "Source du programme"
1033
1034 #. type: Plain text
1035 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1036 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1037 #, no-wrap
1038 msgid ""
1039 "/* unshare.c\n"
1040 "\\&\n"
1041 " A simple implementation of the unshare(1) command: unshare\n"
1042 " namespaces and execute a command.\n"
1043 "*/\n"
1044 "#define _GNU_SOURCE\n"
1045 "#include E<lt>err.hE<gt>\n"
1046 "#include E<lt>sched.hE<gt>\n"
1047 "#include E<lt>stdio.hE<gt>\n"
1048 "#include E<lt>stdlib.hE<gt>\n"
1049 "#include E<lt>unistd.hE<gt>\n"
1050 "\\&\n"
1051 "static void\n"
1052 "usage(char *pname)\n"
1053 "{\n"
1054 " fprintf(stderr, \"Usage: %s [options] program [arg...]\\[rs]n\", pname);\n"
1055 " fprintf(stderr, \"Options can be:\\[rs]n\");\n"
1056 " fprintf(stderr, \" -C unshare cgroup namespace\\[rs]n\");\n"
1057 " fprintf(stderr, \" -i unshare IPC namespace\\[rs]n\");\n"
1058 " fprintf(stderr, \" -m unshare mount namespace\\[rs]n\");\n"
1059 " fprintf(stderr, \" -n unshare network namespace\\[rs]n\");\n"
1060 " fprintf(stderr, \" -p unshare PID namespace\\[rs]n\");\n"
1061 " fprintf(stderr, \" -t unshare time namespace\\[rs]n\");\n"
1062 " fprintf(stderr, \" -u unshare UTS namespace\\[rs]n\");\n"
1063 " fprintf(stderr, \" -U unshare user namespace\\[rs]n\");\n"
1064 " exit(EXIT_FAILURE);\n"
1065 "}\n"
1066 "\\&\n"
1067 "int\n"
1068 "main(int argc, char *argv[])\n"
1069 "{\n"
1070 " int flags, opt;\n"
1071 "\\&\n"
1072 " flags = 0;\n"
1073 "\\&\n"
1074 " while ((opt = getopt(argc, argv, \"CimnptuU\")) != -1) {\n"
1075 " switch (opt) {\n"
1076 " case \\[aq]C\\[aq]: flags |= CLONE_NEWCGROUP; break;\n"
1077 " case \\[aq]i\\[aq]: flags |= CLONE_NEWIPC; break;\n"
1078 " case \\[aq]m\\[aq]: flags |= CLONE_NEWNS; break;\n"
1079 " case \\[aq]n\\[aq]: flags |= CLONE_NEWNET; break;\n"
1080 " case \\[aq]p\\[aq]: flags |= CLONE_NEWPID; break;\n"
1081 " case \\[aq]t\\[aq]: flags |= CLONE_NEWTIME; break;\n"
1082 " case \\[aq]u\\[aq]: flags |= CLONE_NEWUTS; break;\n"
1083 " case \\[aq]U\\[aq]: flags |= CLONE_NEWUSER; break;\n"
1084 " default: usage(argv[0]);\n"
1085 " }\n"
1086 " }\n"
1087 "\\&\n"
1088 " if (optind E<gt>= argc)\n"
1089 " usage(argv[0]);\n"
1090 "\\&\n"
1091 " if (unshare(flags) == -1)\n"
1092 " err(EXIT_FAILURE, \"unshare\");\n"
1093 "\\&\n"
1094 " execvp(argv[optind], &argv[optind]);\n"
1095 " err(EXIT_FAILURE, \"execvp\");\n"
1096 "}\n"
1097 msgstr ""
1098 "/* unshare.c\n"
1099 "\\&\n"
1100 " Une implémentation simple de la commande unshare(1) : supprimer\n"
1101 " le partage des espaces de noms et exécuter une commande.\n"
1102 "*/\n"
1103 "#define _GNU_SOURCE\n"
1104 "#include E<lt>err.hE<gt>\n"
1105 "#include E<lt>sched.hE<gt>\n"
1106 "#include E<lt>stdio.hE<gt>\n"
1107 "#include E<lt>stdlib.hE<gt>\n"
1108 "#include E<lt>unistd.hE<gt>\n"
1109 "\\&\n"
1110 "static void\n"
1111 "usage(char *pname)\n"
1112 "{\n"
1113 " fprintf(stderr, \"utilisation : %s [options] program [arg...]\\[rs]n\", \n"
1114 " pname);\n"
1115 " fprintf(stderr, \"Les options sont :\\[rs]n\");\n"
1116 " fprintf(stderr, \" -C supprime le partage de l'espace de noms\n"
1117 " cgroup\\[rs]n\");\n"
1118 " fprintf(stderr, \" -i supprime le partage de l'espace de noms\n"
1119 " IPC\\[rs]n\");\n"
1120 " fprintf(stderr, \" -m supprime le partage de l'espace de noms de\n"
1121 " montage\\[rs]n\");\n"
1122 " fprintf(stderr, \" -n supprime le partage de l'espace de noms\n"
1123 " réseau\\[rs]n\");\n"
1124 " fprintf(stderr, \" -p supprime le partage de l'espace de noms\n"
1125 " PID\\[rs]n\");\n"
1126 " fprintf(stderr, \" -t supprime le partage de l'espace de noms\n"
1127 " temps\\[rs]n\");\n"
1128 " fprintf(stderr, \" -u supprime le partage de l'espace de noms\n"
1129 " UTS\\[rs]n\");\n"
1130 " fprintf(stderr, \" -U supprime le partage de l'espace de noms\n"
1131 " utilisateur\\[rs]n\");\n"
1132 " exit(EXIT_FAILURE);\n"
1133 "}\n"
1134 "\\&\n"
1135 "int\n"
1136 "main(int argc, char *argv[])\n"
1137 "{\n"
1138 " int flags, opt;\n"
1139 "\\&\n"
1140 " flags = 0;\n"
1141 "\\&\n"
1142 " while ((opt = getopt(argc, argv, \"CimnptuU\")) != -1) {\n"
1143 " switch (opt) {\n"
1144 " case \\[aq]C\\[aq]: flags |= CLONE_NEWCGROUP; break;\n"
1145 " case \\[aq]i\\[aq]: flags |= CLONE_NEWIPC; break;\n"
1146 " case \\[aq]m\\[aq]: flags |= CLONE_NEWNS; break;\n"
1147 " case \\[aq]n\\[aq]: flags |= CLONE_NEWNET; break;\n"
1148 " case \\[aq]p\\[aq]: flags |= CLONE_NEWPID; break;\n"
1149 " case \\[aq]t\\[aq]: flags |= CLONE_NEWTIME; break;\n"
1150 " case \\[aq]u\\[aq]: flags |= CLONE_NEWUTS; break;\n"
1151 " case \\[aq]U\\[aq]: flags |= CLONE_NEWUSER; break;\n"
1152 " default: usage(argv[0]);\n"
1153 " }\n"
1154 " }\n"
1155 "\\&\n"
1156 " if (optind E<gt>= argc)\n"
1157 " usage(argv[0]);\n"
1158 "\\&\n"
1159 " if (unshare(flags) == -1)\n"
1160 " err(EXIT_FAILURE, \"unshare\");\n"
1161 "\\&\n"
1162 " execvp(argv[optind], &argv[optind]);\n"
1163 " err(EXIT_FAILURE, \"execvp\");\n"
1164 "}\n"
1165
1166 #. SRC END
1167 #. type: SH
1168 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1169 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1170 #, no-wrap
1171 msgid "SEE ALSO"
1172 msgstr "VOIR AUSSI"
1173
1174 #. type: Plain text
1175 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1176 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1177 msgid ""
1178 "B<unshare>(1), B<clone>(2), B<fork>(2), B<kcmp>(2), B<setns>(2), "
1179 "B<vfork>(2), B<namespaces>(7)"
1180 msgstr ""
1181 "B<unshare>(1), B<clone>(2), B<fork>(2), B<kcmp>(2), B<setns>(2), "
1182 "B<vfork>(2), B<namespaces>(7)"
1183
1184 #. type: Plain text
1185 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1186 #: opensuse-tumbleweed
1187 msgid ""
1188 "I<Documentation/userspace-api/unshare.rst> in the Linux kernel source tree"
1189 msgstr ""
1190 "I<Documentation/userspace-api/unshare.rst> dans les sources du noyau Linux"
1191
1192 #. type: TH
1193 #: debian-trixie
1194 #, no-wrap
1195 msgid "2024-06-15"
1196 msgstr "15 juin 2024"
1197
1198 #. type: TH
1199 #: debian-trixie
1200 #, no-wrap
1201 msgid "Linux man-pages 6.9.1"
1202 msgstr "Pages du manuel de Linux 6.9.1"
1203
1204 #. type: Plain text
1205 #: debian-trixie
1206 msgid "Standard C library (I<libc>, I<-lc>)"
1207 msgstr "Bibliothèque C standard (I<libc>, I<-lc>)"
1208
1209 #. type: Plain text
1210 #: debian-trixie fedora-44 fedora-rawhide
1211 msgid ""
1212 "On success, zero returned. On failure, -1 is returned and I<errno> is set "
1213 "to indicate the error."
1214 msgstr ""
1215 "S'il réussit l'appel renvoie zéro, sinon il renvoie B<-1> et I<errno> est "
1216 "défini pour indiquer l'erreur."
1217
1218 #. type: Plain text
1219 #: debian-trixie fedora-44 fedora-rawhide
1220 #, no-wrap
1221 msgid ""
1222 "$ B<readlink /proc/$$/ns/mnt>\n"
1223 "mnt:[4026531840]\n"
1224 "$ B<sudo ./unshare -m /bin/bash>\n"
1225 "# B<readlink /proc/$$/ns/mnt>\n"
1226 "mnt:[4026532325]\n"
1227 msgstr ""
1228 "$ B<readlink /proc/$$/ns/mnt>\n"
1229 "mnt:[4026531840]\n"
1230 "$ B<sudo ./unshare -m /bin/bash>\n"
1231 "# B<readlink /proc/$$/ns/mnt>\n"
1232 "mnt:[4026532325]\n"
1233
1234 #. commit f504d47be5e8fa7ecf2bf660b18b42e6960c0eb2
1235 #. type: Plain text
1236 #: debian-trixie fedora-44 fedora-rawhide
1237 msgid ""
1238 "I<Documentation/userspace-api/unshare.rst> in the Linux kernel source tree "
1239 "(or I<Documentation/unshare.txt> before Linux 4.12)"
1240 msgstr ""
1241 "I<Documentation/userspace-api/unshare.rst> dans les sources du noyau Linux "
1242 "(ou I<Documentation/unshare.txt> avant Linux 4.12)."
1243
1244 #. type: TH
1245 #: fedora-44 fedora-rawhide
1246 #, no-wrap
1247 msgid "2024-07-23"
1248 msgstr "23 juillet 2024"
1249
1250 #. type: TH
1251 #: fedora-44 fedora-rawhide
1252 #, no-wrap
1253 msgid "Linux man-pages 6.13"
1254 msgstr "Pages du manuel de Linux 6.13"
1255
1256 #. type: TH
1257 #: mageia-cauldron
1258 #, no-wrap
1259 msgid "Linux man-pages 6.17"
1260 msgstr "Pages du manuel de Linux 6.17"
1261
1262 #. type: TH
1263 #: opensuse-leap-16-1 opensuse-tumbleweed
1264 #, no-wrap
1265 msgid "Linux man-pages (unreleased)"
1266 msgstr "Pages du manuel de Linux (non publiées)"