| 1 |
# SOME DESCRIPTIVE TITLE |
| 2 |
# Copyright (C) YEAR Free Software Foundation, Inc. |
| 3 |
# This file is distributed under the same license as the PACKAGE package. |
| 4 |
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. |
| 5 |
# |
| 6 |
#, fuzzy |
| 7 |
msgid "" |
| 8 |
msgstr "" |
| 9 |
"Project-Id-Version: PACKAGE VERSION\n" |
| 10 |
"POT-Creation-Date: 2026-06-05 06:50+0200\n" |
| 11 |
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" |
| 12 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" |
| 13 |
"Language-Team: LANGUAGE <[email protected]>\n" |
| 14 |
"Language: \n" |
| 15 |
"MIME-Version: 1.0\n" |
| 16 |
"Content-Type: text/plain; charset=UTF-8\n" |
| 17 |
"Content-Transfer-Encoding: 8bit\n" |
| 18 |
|
| 19 |
#. type: TH |
| 20 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 21 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 22 |
#, no-wrap |
| 23 |
msgid "unshare" |
| 24 |
msgstr "" |
| 25 |
|
| 26 |
#. type: TH |
| 27 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 28 |
#: opensuse-tumbleweed |
| 29 |
#, no-wrap |
| 30 |
msgid "2026-02-08" |
| 31 |
msgstr "" |
| 32 |
|
| 33 |
#. type: TH |
| 34 |
#: archlinux debian-unstable |
| 35 |
#, no-wrap |
| 36 |
msgid "Linux man-pages 6.18" |
| 37 |
msgstr "" |
| 38 |
|
| 39 |
#. type: SH |
| 40 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 41 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 42 |
#, no-wrap |
| 43 |
msgid "NAME" |
| 44 |
msgstr "" |
| 45 |
|
| 46 |
#. type: Plain text |
| 47 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 48 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 49 |
msgid "unshare - disassociate parts of the process execution context" |
| 50 |
msgstr "" |
| 51 |
|
| 52 |
#. type: SH |
| 53 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 54 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 55 |
#, no-wrap |
| 56 |
msgid "LIBRARY" |
| 57 |
msgstr "" |
| 58 |
|
| 59 |
#. type: Plain text |
| 60 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 61 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 62 |
msgid "Standard C library (I<libc>,\\ I<-lc>)" |
| 63 |
msgstr "" |
| 64 |
|
| 65 |
#. type: SH |
| 66 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 67 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 68 |
#, no-wrap |
| 69 |
msgid "SYNOPSIS" |
| 70 |
msgstr "" |
| 71 |
|
| 72 |
#. type: Plain text |
| 73 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 74 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 75 |
#, no-wrap |
| 76 |
msgid "" |
| 77 |
"B<#define _GNU_SOURCE>\n" |
| 78 |
"B<#include E<lt>sched.hE<gt>>\n" |
| 79 |
msgstr "" |
| 80 |
|
| 81 |
#. type: Plain text |
| 82 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 83 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 84 |
#, no-wrap |
| 85 |
msgid "B<int unshare(int >I<flags>B<);>\n" |
| 86 |
msgstr "" |
| 87 |
|
| 88 |
#. type: SH |
| 89 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 90 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 91 |
#, no-wrap |
| 92 |
msgid "DESCRIPTION" |
| 93 |
msgstr "" |
| 94 |
|
| 95 |
#. type: Plain text |
| 96 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 97 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 98 |
msgid "" |
| 99 |
"B<unshare>() allows a process (or thread) to disassociate parts of its " |
| 100 |
"execution context that are currently being shared with other processes (or " |
| 101 |
"threads). Part of the execution context, such as the mount namespace, is " |
| 102 |
"shared implicitly when a new process is created using B<fork>(2) or " |
| 103 |
"B<vfork>(2), while other parts, such as virtual memory, may be shared by " |
| 104 |
"explicit request when creating a process or thread using B<clone>(2)." |
| 105 |
msgstr "" |
| 106 |
|
| 107 |
#. type: Plain text |
| 108 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 109 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 110 |
msgid "" |
| 111 |
"The main use of B<unshare>() is to allow a process to control its shared " |
| 112 |
"execution context without creating a new process." |
| 113 |
msgstr "" |
| 114 |
|
| 115 |
#. type: Plain text |
| 116 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 117 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 118 |
msgid "" |
| 119 |
"The I<flags> argument is a bit mask that specifies which parts of the " |
| 120 |
"execution context should be unshared. This argument is specified by ORing " |
| 121 |
"together zero or more of the following constants:" |
| 122 |
msgstr "" |
| 123 |
|
| 124 |
#. type: TP |
| 125 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 126 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 127 |
#, no-wrap |
| 128 |
msgid "B<CLONE_FILES>" |
| 129 |
msgstr "" |
| 130 |
|
| 131 |
#. type: Plain text |
| 132 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 133 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 134 |
msgid "" |
| 135 |
"Reverse the effect of the B<clone>(2) B<CLONE_FILES> flag. Unshare the " |
| 136 |
"file descriptor table, so that the calling process no longer shares its file " |
| 137 |
"descriptors with any other process." |
| 138 |
msgstr "" |
| 139 |
|
| 140 |
#. type: TP |
| 141 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 142 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 143 |
#, no-wrap |
| 144 |
msgid "B<CLONE_FS>" |
| 145 |
msgstr "" |
| 146 |
|
| 147 |
#. type: Plain text |
| 148 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 149 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 150 |
msgid "" |
| 151 |
"Reverse the effect of the B<clone>(2) B<CLONE_FS> flag. Unshare filesystem " |
| 152 |
"attributes, so that the calling process no longer shares its root directory " |
| 153 |
"(B<chroot>(2)), current directory (B<chdir>(2)), or umask (B<umask>(2)) " |
| 154 |
"attributes with any other process." |
| 155 |
msgstr "" |
| 156 |
|
| 157 |
#. type: TP |
| 158 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 159 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 160 |
#, no-wrap |
| 161 |
msgid "B<CLONE_NEWCGROUP> (since Linux 4.6)" |
| 162 |
msgstr "" |
| 163 |
|
| 164 |
#. type: Plain text |
| 165 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 166 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 167 |
msgid "" |
| 168 |
"This flag has the same effect as the B<clone>(2) B<CLONE_NEWCGROUP> flag. " |
| 169 |
"Unshare the cgroup namespace. Use of B<CLONE_NEWCGROUP> requires the " |
| 170 |
"B<CAP_SYS_ADMIN> capability." |
| 171 |
msgstr "" |
| 172 |
|
| 173 |
#. type: TP |
| 174 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 175 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 176 |
#, no-wrap |
| 177 |
msgid "B<CLONE_NEWIPC> (since Linux 2.6.19)" |
| 178 |
msgstr "" |
| 179 |
|
| 180 |
#. type: Plain text |
| 181 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 182 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 183 |
msgid "" |
| 184 |
"This flag has the same effect as the B<clone>(2) B<CLONE_NEWIPC> flag. " |
| 185 |
"Unshare the IPC namespace, so that the calling process has a private copy of " |
| 186 |
"the IPC namespace which is not shared with any other process. Specifying " |
| 187 |
"this flag automatically implies B<CLONE_SYSVSEM> as well. Use of " |
| 188 |
"B<CLONE_NEWIPC> requires the B<CAP_SYS_ADMIN> capability." |
| 189 |
msgstr "" |
| 190 |
|
| 191 |
#. type: TP |
| 192 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 193 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 194 |
#, no-wrap |
| 195 |
msgid "B<CLONE_NEWNET> (since Linux 2.6.24)" |
| 196 |
msgstr "" |
| 197 |
|
| 198 |
#. type: Plain text |
| 199 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 200 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 201 |
msgid "" |
| 202 |
"This flag has the same effect as the B<clone>(2) B<CLONE_NEWNET> flag. " |
| 203 |
"Unshare the network namespace, so that the calling process is moved into a " |
| 204 |
"new network namespace which is not shared with any previously existing " |
| 205 |
"process. Use of B<CLONE_NEWNET> requires the B<CAP_SYS_ADMIN> capability." |
| 206 |
msgstr "" |
| 207 |
|
| 208 |
#. type: TP |
| 209 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 210 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 211 |
#, no-wrap |
| 212 |
msgid "B<CLONE_NEWNS>" |
| 213 |
msgstr "" |
| 214 |
|
| 215 |
#. These flag name are inconsistent: |
| 216 |
#. CLONE_NEWNS does the same thing in clone(), but CLONE_VM, |
| 217 |
#. CLONE_FS, and CLONE_FILES reverse the action of the clone() |
| 218 |
#. flags of the same name. |
| 219 |
#. type: Plain text |
| 220 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 221 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 222 |
msgid "" |
| 223 |
"This flag has the same effect as the B<clone>(2) B<CLONE_NEWNS> flag. " |
| 224 |
"Unshare the mount namespace, so that the calling process has a private copy " |
| 225 |
"of its namespace which is not shared with any other process. Specifying " |
| 226 |
"this flag automatically implies B<CLONE_FS> as well. Use of B<CLONE_NEWNS> " |
| 227 |
"requires the B<CAP_SYS_ADMIN> capability. For further information, see " |
| 228 |
"B<mount_namespaces>(7)." |
| 229 |
msgstr "" |
| 230 |
|
| 231 |
#. type: TP |
| 232 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 233 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 234 |
#, no-wrap |
| 235 |
msgid "B<CLONE_NEWPID> (since Linux 3.8)" |
| 236 |
msgstr "" |
| 237 |
|
| 238 |
#. type: Plain text |
| 239 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 240 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 241 |
msgid "" |
| 242 |
"This flag has the same effect as the B<clone>(2) B<CLONE_NEWPID> flag. " |
| 243 |
"Unshare the PID namespace, so that the calling process has a new PID " |
| 244 |
"namespace for its children which is not shared with any previously existing " |
| 245 |
"process. The calling process is I<not> moved into the new namespace. The " |
| 246 |
"first child created by the calling process will have the process ID 1 and " |
| 247 |
"will assume the role of B<init>(1) in the new namespace. B<CLONE_NEWPID> " |
| 248 |
"automatically implies B<CLONE_THREAD> as well. Use of B<CLONE_NEWPID> " |
| 249 |
"requires the B<CAP_SYS_ADMIN> capability. For further information, see " |
| 250 |
"B<pid_namespaces>(7)." |
| 251 |
msgstr "" |
| 252 |
|
| 253 |
#. type: TP |
| 254 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 255 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 256 |
#, no-wrap |
| 257 |
msgid "B<CLONE_NEWTIME> (since Linux 5.6)" |
| 258 |
msgstr "" |
| 259 |
|
| 260 |
#. type: Plain text |
| 261 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 262 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 263 |
msgid "" |
| 264 |
"Unshare the time namespace, so that the calling process has a new time " |
| 265 |
"namespace for its children which is not shared with any previously existing " |
| 266 |
"process. The calling process is I<not> moved into the new namespace. Use " |
| 267 |
"of B<CLONE_NEWTIME> requires the B<CAP_SYS_ADMIN> capability. For further " |
| 268 |
"information, see B<time_namespaces>(7)." |
| 269 |
msgstr "" |
| 270 |
|
| 271 |
#. type: TP |
| 272 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 273 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 274 |
#, no-wrap |
| 275 |
msgid "B<CLONE_NEWUSER> (since Linux 3.8)" |
| 276 |
msgstr "" |
| 277 |
|
| 278 |
#. type: Plain text |
| 279 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 280 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 281 |
msgid "" |
| 282 |
"This flag has the same effect as the B<clone>(2) B<CLONE_NEWUSER> flag. " |
| 283 |
"Unshare the user namespace, so that the calling process is moved into a new " |
| 284 |
"user namespace which is not shared with any previously existing process. As " |
| 285 |
"with the child process created by B<clone>(2) with the B<CLONE_NEWUSER> " |
| 286 |
"flag, the caller obtains a full set of capabilities in the new namespace." |
| 287 |
msgstr "" |
| 288 |
|
| 289 |
#. commit e66eded8309ebf679d3d3c1f5820d1f2ca332c71 |
| 290 |
#. https://lwn.net/Articles/543273/ |
| 291 |
#. type: Plain text |
| 292 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 293 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 294 |
msgid "" |
| 295 |
"B<CLONE_NEWUSER> requires that the calling process is not threaded; " |
| 296 |
"specifying B<CLONE_NEWUSER> automatically implies B<CLONE_THREAD>. Since " |
| 297 |
"Linux 3.9, B<CLONE_NEWUSER> also automatically implies B<CLONE_FS>. " |
| 298 |
"B<CLONE_NEWUSER> requires that the user ID and group ID of the calling " |
| 299 |
"process are mapped to user IDs and group IDs in the user namespace of the " |
| 300 |
"calling process at the time of the call." |
| 301 |
msgstr "" |
| 302 |
|
| 303 |
#. type: Plain text |
| 304 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 305 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 306 |
msgid "For further information on user namespaces, see B<user_namespaces>(7)." |
| 307 |
msgstr "" |
| 308 |
|
| 309 |
#. type: TP |
| 310 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 311 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 312 |
#, no-wrap |
| 313 |
msgid "B<CLONE_NEWUTS> (since Linux 2.6.19)" |
| 314 |
msgstr "" |
| 315 |
|
| 316 |
#. type: Plain text |
| 317 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 318 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 319 |
msgid "" |
| 320 |
"This flag has the same effect as the B<clone>(2) B<CLONE_NEWUTS> flag. " |
| 321 |
"Unshare the UTS IPC namespace, so that the calling process has a private " |
| 322 |
"copy of the UTS namespace which is not shared with any other process. Use " |
| 323 |
"of B<CLONE_NEWUTS> requires the B<CAP_SYS_ADMIN> capability." |
| 324 |
msgstr "" |
| 325 |
|
| 326 |
#. type: TP |
| 327 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 328 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 329 |
#, no-wrap |
| 330 |
msgid "B<CLONE_SYSVSEM> (since Linux 2.6.26)" |
| 331 |
msgstr "" |
| 332 |
|
| 333 |
#. commit 9edff4ab1f8d82675277a04e359d0ed8bf14a7b7 |
| 334 |
#. CLONE_NEWNS If CLONE_SIGHAND is set and signals are also being shared |
| 335 |
#. (i.e., current->signal->count > 1), force CLONE_THREAD. |
| 336 |
#. type: Plain text |
| 337 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 338 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 339 |
msgid "" |
| 340 |
"This flag reverses the effect of the B<clone>(2) B<CLONE_SYSVSEM> flag. " |
| 341 |
"Unshare System\\ V semaphore adjustment (I<semadj>) values, so that the " |
| 342 |
"calling process has a new empty I<semadj> list that is not shared with any " |
| 343 |
"other process. If this is the last process that has a reference to the " |
| 344 |
"process's current I<semadj> list, then the adjustments in that list are " |
| 345 |
"applied to the corresponding semaphores, as described in B<semop>(2)." |
| 346 |
msgstr "" |
| 347 |
|
| 348 |
# |
| 349 |
#. As at 3.9, the following forced implications also apply, |
| 350 |
#. although the relevant flags are not yet implemented. |
| 351 |
#. If CLONE_THREAD is set force CLONE_VM. |
| 352 |
#. If CLONE_VM is set, force CLONE_SIGHAND. |
| 353 |
#. See kernel/fork.c::check_unshare_flags() |
| 354 |
#. type: Plain text |
| 355 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 356 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 357 |
msgid "" |
| 358 |
"In addition, B<CLONE_THREAD>, B<CLONE_SIGHAND>, and B<CLONE_VM> can be " |
| 359 |
"specified in I<flags> if the caller is single threaded (i.e., it is not " |
| 360 |
"sharing its address space with another process or thread). In this case, " |
| 361 |
"these flags have no effect. (Note also that specifying B<CLONE_THREAD> " |
| 362 |
"automatically implies B<CLONE_VM>, and specifying B<CLONE_VM> automatically " |
| 363 |
"implies B<CLONE_SIGHAND>.) If the process is multithreaded, then the use of " |
| 364 |
"these flags results in an error." |
| 365 |
msgstr "" |
| 366 |
|
| 367 |
#. type: Plain text |
| 368 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 369 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 370 |
msgid "" |
| 371 |
"If I<flags> is specified as zero, then B<unshare>() is a no-op; no changes " |
| 372 |
"are made to the calling process's execution context." |
| 373 |
msgstr "" |
| 374 |
|
| 375 |
#. type: SH |
| 376 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 377 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 378 |
#, no-wrap |
| 379 |
msgid "RETURN VALUE" |
| 380 |
msgstr "" |
| 381 |
|
| 382 |
#. type: Plain text |
| 383 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 384 |
#: opensuse-tumbleweed |
| 385 |
msgid "" |
| 386 |
"On success, zero is returned. On failure, -1 is returned and I<errno> is " |
| 387 |
"set to indicate the error." |
| 388 |
msgstr "" |
| 389 |
|
| 390 |
#. type: SH |
| 391 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 392 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 393 |
#, no-wrap |
| 394 |
msgid "ERRORS" |
| 395 |
msgstr "" |
| 396 |
|
| 397 |
#. type: TP |
| 398 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 399 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 400 |
#, no-wrap |
| 401 |
msgid "B<EINVAL>" |
| 402 |
msgstr "" |
| 403 |
|
| 404 |
#. type: Plain text |
| 405 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 406 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 407 |
msgid "An invalid bit was specified in I<flags>." |
| 408 |
msgstr "" |
| 409 |
|
| 410 |
#. type: Plain text |
| 411 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 412 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 413 |
msgid "" |
| 414 |
"B<CLONE_THREAD>, B<CLONE_SIGHAND>, or B<CLONE_VM> was specified in I<flags>, " |
| 415 |
"and the caller is multithreaded." |
| 416 |
msgstr "" |
| 417 |
|
| 418 |
#. type: Plain text |
| 419 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 420 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 421 |
msgid "" |
| 422 |
"B<CLONE_NEWIPC> was specified in I<flags>, but the kernel was not configured " |
| 423 |
"with the B<CONFIG_SYSVIPC> and B<CONFIG_IPC_NS> options." |
| 424 |
msgstr "" |
| 425 |
|
| 426 |
#. type: Plain text |
| 427 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 428 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 429 |
msgid "" |
| 430 |
"B<CLONE_NEWNET> was specified in I<flags>, but the kernel was not configured " |
| 431 |
"with the B<CONFIG_NET_NS> option." |
| 432 |
msgstr "" |
| 433 |
|
| 434 |
#. type: Plain text |
| 435 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 436 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 437 |
msgid "" |
| 438 |
"B<CLONE_NEWPID> was specified in I<flags>, but the kernel was not configured " |
| 439 |
"with the B<CONFIG_PID_NS> option." |
| 440 |
msgstr "" |
| 441 |
|
| 442 |
#. type: Plain text |
| 443 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 444 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 445 |
msgid "" |
| 446 |
"B<CLONE_NEWUSER> was specified in I<flags>, but the kernel was not " |
| 447 |
"configured with the B<CONFIG_USER_NS> option." |
| 448 |
msgstr "" |
| 449 |
|
| 450 |
#. type: Plain text |
| 451 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 452 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 453 |
msgid "" |
| 454 |
"B<CLONE_NEWUTS> was specified in I<flags>, but the kernel was not configured " |
| 455 |
"with the B<CONFIG_UTS_NS> option." |
| 456 |
msgstr "" |
| 457 |
|
| 458 |
#. type: Plain text |
| 459 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 460 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 461 |
msgid "" |
| 462 |
"B<CLONE_NEWPID> was specified in I<flags>, but the process has previously " |
| 463 |
"called B<unshare>() with the B<CLONE_NEWPID> flag." |
| 464 |
msgstr "" |
| 465 |
|
| 466 |
#. type: TP |
| 467 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 468 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 469 |
#, no-wrap |
| 470 |
msgid "B<ENOMEM>" |
| 471 |
msgstr "" |
| 472 |
|
| 473 |
#. type: Plain text |
| 474 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 475 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 476 |
msgid "" |
| 477 |
"Cannot allocate sufficient memory to copy parts of caller's context that " |
| 478 |
"need to be unshared." |
| 479 |
msgstr "" |
| 480 |
|
| 481 |
#. type: TP |
| 482 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 483 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 484 |
#, no-wrap |
| 485 |
msgid "B<ENOSPC> (since Linux 3.7)" |
| 486 |
msgstr "" |
| 487 |
|
| 488 |
#. commit f2302505775fd13ba93f034206f1e2a587017929 |
| 489 |
#. type: Plain text |
| 490 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 491 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 492 |
msgid "" |
| 493 |
"B<CLONE_NEWPID> was specified in flags, but the limit on the nesting depth " |
| 494 |
"of PID namespaces would have been exceeded; see B<pid_namespaces>(7)." |
| 495 |
msgstr "" |
| 496 |
|
| 497 |
#. type: TP |
| 498 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 499 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 500 |
#, no-wrap |
| 501 |
msgid "B<ENOSPC> (since Linux 4.9; beforehand B<EUSERS>)" |
| 502 |
msgstr "" |
| 503 |
|
| 504 |
#. type: Plain text |
| 505 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 506 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 507 |
msgid "" |
| 508 |
"B<CLONE_NEWUSER> was specified in I<flags>, and the call would cause the " |
| 509 |
"limit on the number of nested user namespaces to be exceeded. See " |
| 510 |
"B<user_namespaces>(7)." |
| 511 |
msgstr "" |
| 512 |
|
| 513 |
#. type: Plain text |
| 514 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 515 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 516 |
msgid "" |
| 517 |
"From Linux 3.11 to Linux 4.8, the error diagnosed in this case was B<EUSERS>." |
| 518 |
msgstr "" |
| 519 |
|
| 520 |
#. type: TP |
| 521 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 522 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 523 |
#, no-wrap |
| 524 |
msgid "B<ENOSPC> (since Linux 4.9)" |
| 525 |
msgstr "" |
| 526 |
|
| 527 |
#. type: Plain text |
| 528 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 529 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 530 |
msgid "" |
| 531 |
"One of the values in I<flags> specified the creation of a new user " |
| 532 |
"namespace, but doing so would have caused the limit defined by the " |
| 533 |
"corresponding file in I</proc/sys/user> to be exceeded. For further " |
| 534 |
"details, see B<namespaces>(7)." |
| 535 |
msgstr "" |
| 536 |
|
| 537 |
#. type: TP |
| 538 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 539 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 540 |
#, no-wrap |
| 541 |
msgid "B<EPERM>" |
| 542 |
msgstr "" |
| 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 |
"The calling process did not have the required privileges for this operation." |
| 549 |
msgstr "" |
| 550 |
|
| 551 |
#. type: Plain text |
| 552 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 553 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 554 |
msgid "" |
| 555 |
"B<CLONE_NEWUSER> was specified in I<flags>, but either the effective user ID " |
| 556 |
"or the effective group ID of the caller does not have a mapping in the " |
| 557 |
"parent namespace (see B<user_namespaces>(7))." |
| 558 |
msgstr "" |
| 559 |
|
| 560 |
#. type: TP |
| 561 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 562 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 563 |
#, no-wrap |
| 564 |
msgid "B<EPERM> (since Linux 3.9)" |
| 565 |
msgstr "" |
| 566 |
|
| 567 |
#. commit 3151527ee007b73a0ebd296010f1c0454a919c7d |
| 568 |
#. FIXME What is the rationale for this restriction? |
| 569 |
#. type: Plain text |
| 570 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 571 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 572 |
msgid "" |
| 573 |
"B<CLONE_NEWUSER> was specified in I<flags> and the caller is in a chroot " |
| 574 |
"environment (i.e., the caller's root directory does not match the root " |
| 575 |
"directory of the mount namespace in which it resides)." |
| 576 |
msgstr "" |
| 577 |
|
| 578 |
#. type: TP |
| 579 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 580 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 581 |
#, no-wrap |
| 582 |
msgid "B<EUSERS> (from Linux 3.11 to Linux 4.8)" |
| 583 |
msgstr "" |
| 584 |
|
| 585 |
#. type: Plain text |
| 586 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 587 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 588 |
msgid "" |
| 589 |
"B<CLONE_NEWUSER> was specified in I<flags>, and the limit on the number of " |
| 590 |
"nested user namespaces would be exceeded. See the discussion of the " |
| 591 |
"B<ENOSPC> error above." |
| 592 |
msgstr "" |
| 593 |
|
| 594 |
#. type: SH |
| 595 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 596 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 597 |
#, no-wrap |
| 598 |
msgid "STANDARDS" |
| 599 |
msgstr "" |
| 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 "Linux." |
| 605 |
msgstr "" |
| 606 |
|
| 607 |
#. type: SH |
| 608 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 609 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 610 |
#, no-wrap |
| 611 |
msgid "HISTORY" |
| 612 |
msgstr "" |
| 613 |
|
| 614 |
#. type: Plain text |
| 615 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 616 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 617 |
msgid "Linux 2.6.16." |
| 618 |
msgstr "" |
| 619 |
|
| 620 |
#. type: SH |
| 621 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 622 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 623 |
#, no-wrap |
| 624 |
msgid "NOTES" |
| 625 |
msgstr "" |
| 626 |
|
| 627 |
# |
| 628 |
#. #-#-#-#-# archlinux: unshare.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 629 |
#. FIXME all of the following needs to be reviewed for the current kernel |
| 630 |
#. However, we can do unshare(CLONE_SIGHAND) if CLONE_SIGHAND |
| 631 |
#. was not specified when doing clone(); i.e., unsharing |
| 632 |
#. signal handlers is permitted if we are not actually |
| 633 |
#. sharing signal handlers. mtk |
| 634 |
#. However, we can do unshare(CLONE_VM) if CLONE_VM |
| 635 |
#. was not specified when doing clone(); i.e., unsharing |
| 636 |
#. virtual memory is permitted if we are not actually |
| 637 |
#. sharing virtual memory. mtk |
| 638 |
#. 9) Future Work |
| 639 |
#. -------------- |
| 640 |
#. The current implementation of unshare does not allow unsharing of |
| 641 |
#. signals and signal handlers. Signals are complex to begin with and |
| 642 |
#. to unshare signals and/or signal handlers of a currently running |
| 643 |
#. process is even more complex. If in the future there is a specific |
| 644 |
#. need to allow unsharing of signals and/or signal handlers, it can |
| 645 |
#. be incrementally added to unshare without affecting legacy |
| 646 |
#. applications using unshare. |
| 647 |
#. type: Plain text |
| 648 |
#. #-#-#-#-# debian-trixie: unshare.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 649 |
#. FIXME all of the following needs to be reviewed for the current kernel |
| 650 |
#. However, we can do unshare(CLONE_SIGHAND) if CLONE_SIGHAND |
| 651 |
#. was not specified when doing clone(); i.e., unsharing |
| 652 |
#. signal handlers is permitted if we are not actually |
| 653 |
#. sharing signal handlers. mtk |
| 654 |
#. However, we can do unshare(CLONE_VM) if CLONE_VM |
| 655 |
#. was not specified when doing clone(); i.e., unsharing |
| 656 |
#. virtual memory is permitted if we are not actually |
| 657 |
#. sharing virtual memory. mtk |
| 658 |
#. 9) Future Work |
| 659 |
#. -------------- |
| 660 |
#. The current implementation of unshare does not allow unsharing of |
| 661 |
#. signals and signal handlers. Signals are complex to begin with and |
| 662 |
#. to unshare signals and/or signal handlers of a currently running |
| 663 |
#. process is even more complex. If in the future there is a specific |
| 664 |
#. need to allow unsharing of signals and/or signal handlers, it can |
| 665 |
#. be incrementally added to unshare without affecting legacy |
| 666 |
#. applications using unshare. |
| 667 |
#. type: Plain text |
| 668 |
#. #-#-#-#-# debian-unstable: unshare.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 669 |
#. FIXME all of the following needs to be reviewed for the current kernel |
| 670 |
#. However, we can do unshare(CLONE_SIGHAND) if CLONE_SIGHAND |
| 671 |
#. was not specified when doing clone(); i.e., unsharing |
| 672 |
#. signal handlers is permitted if we are not actually |
| 673 |
#. sharing signal handlers. mtk |
| 674 |
#. However, we can do unshare(CLONE_VM) if CLONE_VM |
| 675 |
#. was not specified when doing clone(); i.e., unsharing |
| 676 |
#. virtual memory is permitted if we are not actually |
| 677 |
#. sharing virtual memory. mtk |
| 678 |
#. 9) Future Work |
| 679 |
#. -------------- |
| 680 |
#. The current implementation of unshare does not allow unsharing of |
| 681 |
#. signals and signal handlers. Signals are complex to begin with and |
| 682 |
#. to unshare signals and/or signal handlers of a currently running |
| 683 |
#. process is even more complex. If in the future there is a specific |
| 684 |
#. need to allow unsharing of signals and/or signal handlers, it can |
| 685 |
#. be incrementally added to unshare without affecting legacy |
| 686 |
#. applications using unshare. |
| 687 |
#. type: Plain text |
| 688 |
#. #-#-#-#-# fedora-44: unshare.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 689 |
#. FIXME all of the following needs to be reviewed for the current kernel |
| 690 |
#. However, we can do unshare(CLONE_SIGHAND) if CLONE_SIGHAND |
| 691 |
#. was not specified when doing clone(); i.e., unsharing |
| 692 |
#. signal handlers is permitted if we are not actually |
| 693 |
#. sharing signal handlers. mtk |
| 694 |
#. However, we can do unshare(CLONE_VM) if CLONE_VM |
| 695 |
#. was not specified when doing clone(); i.e., unsharing |
| 696 |
#. virtual memory is permitted if we are not actually |
| 697 |
#. sharing virtual memory. mtk |
| 698 |
#. 9) Future Work |
| 699 |
#. -------------- |
| 700 |
#. The current implementation of unshare does not allow unsharing of |
| 701 |
#. signals and signal handlers. Signals are complex to begin with and |
| 702 |
#. to unshare signals and/or signal handlers of a currently running |
| 703 |
#. process is even more complex. If in the future there is a specific |
| 704 |
#. need to allow unsharing of signals and/or signal handlers, it can |
| 705 |
#. be incrementally added to unshare without affecting legacy |
| 706 |
#. applications using unshare. |
| 707 |
#. type: Plain text |
| 708 |
#. #-#-#-#-# fedora-rawhide: unshare.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 709 |
#. FIXME all of the following needs to be reviewed for the current kernel |
| 710 |
#. However, we can do unshare(CLONE_SIGHAND) if CLONE_SIGHAND |
| 711 |
#. was not specified when doing clone(); i.e., unsharing |
| 712 |
#. signal handlers is permitted if we are not actually |
| 713 |
#. sharing signal handlers. mtk |
| 714 |
#. However, we can do unshare(CLONE_VM) if CLONE_VM |
| 715 |
#. was not specified when doing clone(); i.e., unsharing |
| 716 |
#. virtual memory is permitted if we are not actually |
| 717 |
#. sharing virtual memory. mtk |
| 718 |
#. 9) Future Work |
| 719 |
#. -------------- |
| 720 |
#. The current implementation of unshare does not allow unsharing of |
| 721 |
#. signals and signal handlers. Signals are complex to begin with and |
| 722 |
#. to unshare signals and/or signal handlers of a currently running |
| 723 |
#. process is even more complex. If in the future there is a specific |
| 724 |
#. need to allow unsharing of signals and/or signal handlers, it can |
| 725 |
#. be incrementally added to unshare without affecting legacy |
| 726 |
#. applications using unshare. |
| 727 |
#. type: Plain text |
| 728 |
#. #-#-#-#-# mageia-cauldron: unshare.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 729 |
#. FIXME all of the following needs to be reviewed for the current kernel |
| 730 |
#. However, we can do unshare(CLONE_SIGHAND) if CLONE_SIGHAND |
| 731 |
#. was not specified when doing clone(); i.e., unsharing |
| 732 |
#. signal handlers is permitted if we are not actually |
| 733 |
#. sharing signal handlers. mtk |
| 734 |
#. However, we can do unshare(CLONE_VM) if CLONE_VM |
| 735 |
#. was not specified when doing clone(); i.e., unsharing |
| 736 |
#. virtual memory is permitted if we are not actually |
| 737 |
#. sharing virtual memory. mtk |
| 738 |
#. 9) Future Work |
| 739 |
#. -------------- |
| 740 |
#. The current implementation of unshare does not allow unsharing of |
| 741 |
#. signals and signal handlers. Signals are complex to begin with and |
| 742 |
#. to unshare signals and/or signal handlers of a currently running |
| 743 |
#. process is even more complex. If in the future there is a specific |
| 744 |
#. need to allow unsharing of signals and/or signal handlers, it can |
| 745 |
#. be incrementally added to unshare without affecting legacy |
| 746 |
#. applications using unshare. |
| 747 |
#. type: Plain text |
| 748 |
#. #-#-#-#-# opensuse-leap-16-1: unshare.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 749 |
#. FIXME all of the following needs to be reviewed for the current kernel |
| 750 |
#. However, we can do unshare(CLONE_SIGHAND) if CLONE_SIGHAND |
| 751 |
#. was not specified when doing clone(); i.e., unsharing |
| 752 |
#. signal handlers is permitted if we are not actually |
| 753 |
#. sharing signal handlers. mtk |
| 754 |
#. However, we can do unshare(CLONE_VM) if CLONE_VM |
| 755 |
#. was not specified when doing clone(); i.e., unsharing |
| 756 |
#. virtual memory is permitted if we are not actually |
| 757 |
#. sharing virtual memory. mtk |
| 758 |
#. 9) Future Work |
| 759 |
#. -------------- |
| 760 |
#. The current implementation of unshare does not allow unsharing of |
| 761 |
#. signals and signal handlers. Signals are complex to begin with and |
| 762 |
#. to unshare signals and/or signal handlers of a currently running |
| 763 |
#. process is even more complex. If in the future there is a specific |
| 764 |
#. need to allow unsharing of signals and/or signal handlers, it can |
| 765 |
#. be incrementally added to unshare without affecting legacy |
| 766 |
#. applications using unshare. |
| 767 |
#. type: Plain text |
| 768 |
#. #-#-#-#-# opensuse-tumbleweed: unshare.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 769 |
#. FIXME all of the following needs to be reviewed for the current kernel |
| 770 |
#. However, we can do unshare(CLONE_SIGHAND) if CLONE_SIGHAND |
| 771 |
#. was not specified when doing clone(); i.e., unsharing |
| 772 |
#. signal handlers is permitted if we are not actually |
| 773 |
#. sharing signal handlers. mtk |
| 774 |
#. However, we can do unshare(CLONE_VM) if CLONE_VM |
| 775 |
#. was not specified when doing clone(); i.e., unsharing |
| 776 |
#. virtual memory is permitted if we are not actually |
| 777 |
#. sharing virtual memory. mtk |
| 778 |
#. 9) Future Work |
| 779 |
#. -------------- |
| 780 |
#. The current implementation of unshare does not allow unsharing of |
| 781 |
#. signals and signal handlers. Signals are complex to begin with and |
| 782 |
#. to unshare signals and/or signal handlers of a currently running |
| 783 |
#. process is even more complex. If in the future there is a specific |
| 784 |
#. need to allow unsharing of signals and/or signal handlers, it can |
| 785 |
#. be incrementally added to unshare without affecting legacy |
| 786 |
#. applications using unshare. |
| 787 |
#. type: Plain text |
| 788 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 789 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 790 |
msgid "" |
| 791 |
"Not all of the process attributes that can be shared when a new process is " |
| 792 |
"created using B<clone>(2) can be unshared using B<unshare>(). In " |
| 793 |
"particular, as at kernel 3.8, B<unshare>() does not implement flags that " |
| 794 |
"reverse the effects of B<CLONE_SIGHAND>, B<CLONE_THREAD>, or B<CLONE_VM>. " |
| 795 |
"Such functionality may be added in the future, if required." |
| 796 |
msgstr "" |
| 797 |
|
| 798 |
#. type: Plain text |
| 799 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 800 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 801 |
msgid "" |
| 802 |
"Creating all kinds of namespace, except user namespaces, requires the " |
| 803 |
"B<CAP_SYS_ADMIN> capability. However, since creating a user namespace " |
| 804 |
"automatically confers a full set of capabilities, creating both a user " |
| 805 |
"namespace and any other type of namespace in the same B<unshare>() call " |
| 806 |
"does not require the B<CAP_SYS_ADMIN> capability in the original namespace." |
| 807 |
msgstr "" |
| 808 |
|
| 809 |
#. type: SH |
| 810 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 811 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 812 |
#, no-wrap |
| 813 |
msgid "EXAMPLES" |
| 814 |
msgstr "" |
| 815 |
|
| 816 |
#. type: Plain text |
| 817 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 818 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 819 |
msgid "" |
| 820 |
"The program below provides a simple implementation of the B<unshare>(1) " |
| 821 |
"command, which unshares one or more namespaces and executes the command " |
| 822 |
"supplied in its command-line arguments. Here's an example of the use of " |
| 823 |
"this program, running a shell in a new mount namespace, and verifying that " |
| 824 |
"the original shell and the new shell are in separate mount namespaces:" |
| 825 |
msgstr "" |
| 826 |
|
| 827 |
#. type: Plain text |
| 828 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 829 |
#: opensuse-tumbleweed |
| 830 |
#, no-wrap |
| 831 |
msgid "" |
| 832 |
"$B< readlink /proc/$$/ns/mnt>;\n" |
| 833 |
"mnt:[4026531840]\n" |
| 834 |
"$B< sudo ./unshare -m /bin/bash>;\n" |
| 835 |
"#B< readlink /proc/$$/ns/mnt>;\n" |
| 836 |
"mnt:[4026532325]\n" |
| 837 |
msgstr "" |
| 838 |
|
| 839 |
#. type: Plain text |
| 840 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 841 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 842 |
msgid "" |
| 843 |
"The differing output of the two B<readlink>(1) commands shows that the two " |
| 844 |
"shells are in different mount namespaces." |
| 845 |
msgstr "" |
| 846 |
|
| 847 |
#. type: SS |
| 848 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 849 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 850 |
#, no-wrap |
| 851 |
msgid "Program source" |
| 852 |
msgstr "" |
| 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 |
#, no-wrap |
| 858 |
msgid "" |
| 859 |
"/* unshare.c\n" |
| 860 |
"\\&\n" |
| 861 |
" A simple implementation of the unshare(1) command: unshare\n" |
| 862 |
" namespaces and execute a command.\n" |
| 863 |
"*/\n" |
| 864 |
"#define _GNU_SOURCE\n" |
| 865 |
"#include E<lt>err.hE<gt>\n" |
| 866 |
"#include E<lt>sched.hE<gt>\n" |
| 867 |
"#include E<lt>stdio.hE<gt>\n" |
| 868 |
"#include E<lt>stdlib.hE<gt>\n" |
| 869 |
"#include E<lt>unistd.hE<gt>\n" |
| 870 |
"\\&\n" |
| 871 |
"static void\n" |
| 872 |
"usage(char *pname)\n" |
| 873 |
"{\n" |
| 874 |
" fprintf(stderr, \"Usage: %s [options] program [arg...]\\[rs]n\", pname);\n" |
| 875 |
" fprintf(stderr, \"Options can be:\\[rs]n\");\n" |
| 876 |
" fprintf(stderr, \" -C unshare cgroup namespace\\[rs]n\");\n" |
| 877 |
" fprintf(stderr, \" -i unshare IPC namespace\\[rs]n\");\n" |
| 878 |
" fprintf(stderr, \" -m unshare mount namespace\\[rs]n\");\n" |
| 879 |
" fprintf(stderr, \" -n unshare network namespace\\[rs]n\");\n" |
| 880 |
" fprintf(stderr, \" -p unshare PID namespace\\[rs]n\");\n" |
| 881 |
" fprintf(stderr, \" -t unshare time namespace\\[rs]n\");\n" |
| 882 |
" fprintf(stderr, \" -u unshare UTS namespace\\[rs]n\");\n" |
| 883 |
" fprintf(stderr, \" -U unshare user namespace\\[rs]n\");\n" |
| 884 |
" exit(EXIT_FAILURE);\n" |
| 885 |
"}\n" |
| 886 |
"\\&\n" |
| 887 |
"int\n" |
| 888 |
"main(int argc, char *argv[])\n" |
| 889 |
"{\n" |
| 890 |
" int flags, opt;\n" |
| 891 |
"\\&\n" |
| 892 |
" flags = 0;\n" |
| 893 |
"\\&\n" |
| 894 |
" while ((opt = getopt(argc, argv, \"CimnptuU\")) != -1) {\n" |
| 895 |
" switch (opt) {\n" |
| 896 |
" case \\[aq]C\\[aq]: flags |= CLONE_NEWCGROUP; break;\n" |
| 897 |
" case \\[aq]i\\[aq]: flags |= CLONE_NEWIPC; break;\n" |
| 898 |
" case \\[aq]m\\[aq]: flags |= CLONE_NEWNS; break;\n" |
| 899 |
" case \\[aq]n\\[aq]: flags |= CLONE_NEWNET; break;\n" |
| 900 |
" case \\[aq]p\\[aq]: flags |= CLONE_NEWPID; break;\n" |
| 901 |
" case \\[aq]t\\[aq]: flags |= CLONE_NEWTIME; break;\n" |
| 902 |
" case \\[aq]u\\[aq]: flags |= CLONE_NEWUTS; break;\n" |
| 903 |
" case \\[aq]U\\[aq]: flags |= CLONE_NEWUSER; break;\n" |
| 904 |
" default: usage(argv[0]);\n" |
| 905 |
" }\n" |
| 906 |
" }\n" |
| 907 |
"\\&\n" |
| 908 |
" if (optind E<gt>= argc)\n" |
| 909 |
" usage(argv[0]);\n" |
| 910 |
"\\&\n" |
| 911 |
" if (unshare(flags) == -1)\n" |
| 912 |
" err(EXIT_FAILURE, \"unshare\");\n" |
| 913 |
"\\&\n" |
| 914 |
" execvp(argv[optind], &argv[optind]);\n" |
| 915 |
" err(EXIT_FAILURE, \"execvp\");\n" |
| 916 |
"}\n" |
| 917 |
msgstr "" |
| 918 |
|
| 919 |
#. SRC END |
| 920 |
#. type: SH |
| 921 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 922 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 923 |
#, no-wrap |
| 924 |
msgid "SEE ALSO" |
| 925 |
msgstr "" |
| 926 |
|
| 927 |
#. type: Plain text |
| 928 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 929 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 930 |
msgid "" |
| 931 |
"B<unshare>(1), B<clone>(2), B<fork>(2), B<kcmp>(2), B<setns>(2), " |
| 932 |
"B<vfork>(2), B<namespaces>(7)" |
| 933 |
msgstr "" |
| 934 |
|
| 935 |
#. type: Plain text |
| 936 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 937 |
#: opensuse-tumbleweed |
| 938 |
msgid "" |
| 939 |
"I<Documentation/userspace-api/unshare.rst> in the Linux kernel source tree" |
| 940 |
msgstr "" |
| 941 |
|
| 942 |
#. type: TH |
| 943 |
#: debian-trixie |
| 944 |
#, no-wrap |
| 945 |
msgid "2024-06-15" |
| 946 |
msgstr "" |
| 947 |
|
| 948 |
#. type: TH |
| 949 |
#: debian-trixie |
| 950 |
#, no-wrap |
| 951 |
msgid "Linux man-pages 6.9.1" |
| 952 |
msgstr "" |
| 953 |
|
| 954 |
#. type: Plain text |
| 955 |
#: debian-trixie |
| 956 |
msgid "Standard C library (I<libc>, I<-lc>)" |
| 957 |
msgstr "" |
| 958 |
|
| 959 |
#. type: Plain text |
| 960 |
#: debian-trixie fedora-44 fedora-rawhide |
| 961 |
msgid "" |
| 962 |
"On success, zero returned. On failure, -1 is returned and I<errno> is set " |
| 963 |
"to indicate the error." |
| 964 |
msgstr "" |
| 965 |
|
| 966 |
#. type: Plain text |
| 967 |
#: debian-trixie fedora-44 fedora-rawhide |
| 968 |
#, no-wrap |
| 969 |
msgid "" |
| 970 |
"$ B<readlink /proc/$$/ns/mnt>\n" |
| 971 |
"mnt:[4026531840]\n" |
| 972 |
"$ B<sudo ./unshare -m /bin/bash>\n" |
| 973 |
"# B<readlink /proc/$$/ns/mnt>\n" |
| 974 |
"mnt:[4026532325]\n" |
| 975 |
msgstr "" |
| 976 |
|
| 977 |
#. commit f504d47be5e8fa7ecf2bf660b18b42e6960c0eb2 |
| 978 |
#. type: Plain text |
| 979 |
#: debian-trixie fedora-44 fedora-rawhide |
| 980 |
msgid "" |
| 981 |
"I<Documentation/userspace-api/unshare.rst> in the Linux kernel source tree " |
| 982 |
"(or I<Documentation/unshare.txt> before Linux 4.12)" |
| 983 |
msgstr "" |
| 984 |
|
| 985 |
#. type: TH |
| 986 |
#: fedora-44 fedora-rawhide |
| 987 |
#, no-wrap |
| 988 |
msgid "2024-07-23" |
| 989 |
msgstr "" |
| 990 |
|
| 991 |
#. type: TH |
| 992 |
#: fedora-44 fedora-rawhide |
| 993 |
#, no-wrap |
| 994 |
msgid "Linux man-pages 6.13" |
| 995 |
msgstr "" |
| 996 |
|
| 997 |
#. type: TH |
| 998 |
#: mageia-cauldron |
| 999 |
#, no-wrap |
| 1000 |
msgid "Linux man-pages 6.17" |
| 1001 |
msgstr "" |
| 1002 |
|
| 1003 |
#. type: TH |
| 1004 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 1005 |
#, no-wrap |
| 1006 |
msgid "Linux man-pages (unreleased)" |
| 1007 |
msgstr "" |