Debian Codegraph @

po/da/man2/unshare.2.po

raw
1 # Danish translation of manpages
2 # This file is distributed under the same license as the manpages-l10n package.
3 # Copyright © of this file:
4 # Joe Hansen <[email protected]>, 2026.
5 msgid ""
6 msgstr ""
7 "Project-Id-Version: manpages-l10n 4.29.1\n"
8 "POT-Creation-Date: 2026-06-05 06:50+0200\n"
9 "PO-Revision-Date: 2026-03-12 22:04+0100\n"
10 "Last-Translator: Joe Hansen <[email protected]>\n"
11 "Language-Team: Danish <[email protected]>\n"
12 "Language: da\n"
13 "MIME-Version: 1.0\n"
14 "Content-Type: text/plain; charset=UTF-8\n"
15 "Content-Transfer-Encoding: 8bit\n"
16 "Plural-Forms: nplurals=2; plural=(n != 1);\n"
17
18 #. type: TH
19 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
20 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
21 #, no-wrap
22 msgid "unshare"
23 msgstr "unshare"
24
25 #. type: TH
26 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
27 #: opensuse-tumbleweed
28 #, no-wrap
29 msgid "2026-02-08"
30 msgstr "8. februar 2026"
31
32 #. type: TH
33 #: archlinux debian-unstable
34 #, no-wrap
35 msgid "Linux man-pages 6.18"
36 msgstr "Linux man-pages 6.18"
37
38 #. type: SH
39 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
40 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
41 #, no-wrap
42 msgid "NAME"
43 msgstr "NAVN"
44
45 #. type: Plain text
46 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
47 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
48 msgid "unshare - disassociate parts of the process execution context"
49 msgstr "unshare - adskille dele af procesudførelseskonteksten"
50
51 #. type: SH
52 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
53 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
54 #, no-wrap
55 msgid "LIBRARY"
56 msgstr "BIBLIOTEK"
57
58 #. type: Plain text
59 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
60 #: opensuse-leap-16-1 opensuse-tumbleweed
61 msgid "Standard C library (I<libc>,\\ I<-lc>)"
62 msgstr "C-standardbibliotek (I<libc>,\\ I<-lc>)"
63
64 #. type: SH
65 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
66 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
67 #, no-wrap
68 msgid "SYNOPSIS"
69 msgstr "SYNOPSIS"
70
71 #. type: Plain text
72 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
73 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
74 #, no-wrap
75 msgid ""
76 "B<#define _GNU_SOURCE>\n"
77 "B<#include E<lt>sched.hE<gt>>\n"
78 msgstr ""
79 "B<#define _GNU_SOURCE>\n"
80 "B<#include E<lt>sched.hE<gt>>\n"
81
82 #. type: Plain text
83 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
84 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
85 #, no-wrap
86 msgid "B<int unshare(int >I<flags>B<);>\n"
87 msgstr "B<int unshare(int >I<flag>B<);>\n"
88
89 #. type: SH
90 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
91 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
92 #, no-wrap
93 msgid "DESCRIPTION"
94 msgstr "BESKRIVELSE"
95
96 #. type: Plain text
97 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
98 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
99 msgid ""
100 "B<unshare>() allows a process (or thread) to disassociate parts of its "
101 "execution context that are currently being shared with other processes (or "
102 "threads). Part of the execution context, such as the mount namespace, is "
103 "shared implicitly when a new process is created using B<fork>(2) or "
104 "B<vfork>(2), while other parts, such as virtual memory, may be shared by "
105 "explicit request when creating a process or thread using B<clone>(2)."
106 msgstr ""
107 "B<unshare>() tillader at en proces (eller tråd) adskiller dele af dens "
108 "afviklingskontekst, der aktuelt deles med andre processer (eller tråde). "
109 "Dele af afviklingskonteksten, såsom monteringsnavnerummet, er delt implicit "
110 "når en ny proces oprettes via B<fork>(2) eller B<vfork>(2), mens andre dele, "
111 "såsom virtuel hukommelse, kan deles ved eksplicit anmodning, når en proces "
112 "eller tråd oprettes via B<clone>(2)."
113
114 #. type: Plain text
115 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
116 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
117 msgid ""
118 "The main use of B<unshare>() is to allow a process to control its shared "
119 "execution context without creating a new process."
120 msgstr ""
121 "Hovedbrugen af B<unshare>() er at tillade en proces at kontrollere sin delte "
122 "afviklingskontekst uden at oprette en ny proces."
123
124 #. type: Plain text
125 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
126 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
127 msgid ""
128 "The I<flags> argument is a bit mask that specifies which parts of the "
129 "execution context should be unshared. This argument is specified by ORing "
130 "together zero or more of the following constants:"
131 msgstr ""
132 "Argumentet I<flag> er en bit-maske, der angiver hvilke dele af "
133 "afviklingskonteksten, der ikke skal deles. Dette argument er angivet af "
134 "ORing together zero eller flere af de følgende konstanter:"
135
136 #. type: TP
137 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
138 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
139 #, no-wrap
140 msgid "B<CLONE_FILES>"
141 msgstr "B<CLONE_FILES>"
142
143 #. type: Plain text
144 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
145 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
146 msgid ""
147 "Reverse the effect of the B<clone>(2) B<CLONE_FILES> flag. Unshare the "
148 "file descriptor table, so that the calling process no longer shares its file "
149 "descriptors with any other process."
150 msgstr ""
151 "Vend effekten om for B<clone>(2) B<CLONE_FILES>-flaget. Fjern deling for "
152 "fildeskriptortabellen, så at den kaldende proces ikke længere deler sine "
153 "fildeskriptorer med enhver anden proces."
154
155 #. type: TP
156 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
157 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
158 #, no-wrap
159 msgid "B<CLONE_FS>"
160 msgstr "B<CLONE_FS>"
161
162 #. type: Plain text
163 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
164 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
165 msgid ""
166 "Reverse the effect of the B<clone>(2) B<CLONE_FS> flag. Unshare filesystem "
167 "attributes, so that the calling process no longer shares its root directory "
168 "(B<chroot>(2)), current directory (B<chdir>(2)), or umask (B<umask>(2)) "
169 "attributes with any other process."
170 msgstr ""
171 "Vend effekten om for B<clone>(2) B<CLONE_FS>-flaget. Fjern deling for "
172 "filsystemattributter, så at den kaldende proces ikke længere deler sin "
173 "rodmappe (B<chroot>(2)), nuværende mappe (B<chdir>(2)), eller umask-"
174 "attributter (B<umask>(2)) med enhver anden proces."
175
176 #. type: TP
177 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
178 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
179 #, no-wrap
180 msgid "B<CLONE_NEWCGROUP> (since Linux 4.6)"
181 msgstr "B<CLONE_NEWCGROUP> (siden Linux 4.6)"
182
183 #. type: Plain text
184 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
185 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
186 msgid ""
187 "This flag has the same effect as the B<clone>(2) B<CLONE_NEWCGROUP> flag. "
188 "Unshare the cgroup namespace. Use of B<CLONE_NEWCGROUP> requires the "
189 "B<CAP_SYS_ADMIN> capability."
190 msgstr ""
191 "Dette flag har den samme effekt som B<clone>(2) B<CLONE_NEWCGROUP>-flaget. "
192 "Fjern deling for cgroup-navnerummet. Brug af B<CLONE_NEWCGROUP> kræver "
193 "funktionaliteten B<CAP_SYS_ADMIN>."
194
195 #. type: TP
196 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
197 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
198 #, no-wrap
199 msgid "B<CLONE_NEWIPC> (since Linux 2.6.19)"
200 msgstr "B<CLONE_NEWIPC> (siden Linux 2.6.19)"
201
202 #. type: Plain text
203 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
204 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
205 msgid ""
206 "This flag has the same effect as the B<clone>(2) B<CLONE_NEWIPC> flag. "
207 "Unshare the IPC namespace, so that the calling process has a private copy of "
208 "the IPC namespace which is not shared with any other process. Specifying "
209 "this flag automatically implies B<CLONE_SYSVSEM> as well. Use of "
210 "B<CLONE_NEWIPC> requires the B<CAP_SYS_ADMIN> capability."
211 msgstr ""
212 "Dette flag har den samme effekt som B<clone>(2) B<CLONE_NEWIPC>-flaget. "
213 "Fjern deling af IPC-navnerummet, så at den kaldende proces har en privat "
214 "kopi af IPC-navnerummet, der ikke er delt med nogen anden proces. Angivelse "
215 "af dette flag forudsætter automatisk også B<CLONE_SYSVSEM>. Brug af "
216 "B<CLONE_NEWIPC> kræver funktionaliteten B<CAP_SYS_ADMIN>."
217
218 #. type: TP
219 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
220 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
221 #, no-wrap
222 msgid "B<CLONE_NEWNET> (since Linux 2.6.24)"
223 msgstr "B<CLONE_NEWNET> (siden Linux 2.6.24)"
224
225 #. type: Plain text
226 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
227 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
228 msgid ""
229 "This flag has the same effect as the B<clone>(2) B<CLONE_NEWNET> flag. "
230 "Unshare the network namespace, so that the calling process is moved into a "
231 "new network namespace which is not shared with any previously existing "
232 "process. Use of B<CLONE_NEWNET> requires the B<CAP_SYS_ADMIN> capability."
233 msgstr ""
234 "Dette flag har den samme effekt som B<clone>(2) B<CLONE_NEWNET>-flaget. "
235 "Fjern deling for netværksnavnerummet, så den kaldende proces flyttes til et "
236 "nyt netværksnavnerum, der ikke er delg med en eventuel tidligere proces. "
237 "Brug af B<CLONE_NEWNET> kræver funktionaliteten 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_NEWNS>"
244 msgstr "B<CLONE_NEWNS>"
245
246 #. These flag name are inconsistent:
247 #. CLONE_NEWNS does the same thing in clone(), but CLONE_VM,
248 #. CLONE_FS, and CLONE_FILES reverse the action of the clone()
249 #. flags of the same name.
250 #. type: Plain text
251 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
252 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
253 msgid ""
254 "This flag has the same effect as the B<clone>(2) B<CLONE_NEWNS> flag. "
255 "Unshare the mount namespace, so that the calling process has a private copy "
256 "of its namespace which is not shared with any other process. Specifying "
257 "this flag automatically implies B<CLONE_FS> as well. Use of B<CLONE_NEWNS> "
258 "requires the B<CAP_SYS_ADMIN> capability. For further information, see "
259 "B<mount_namespaces>(7)."
260 msgstr ""
261 "Dette flag har den samme effekt som B<clone>(2) B<CLONE_NEWNS>-flaget. Fjern "
262 "deling for monteringsnavnerummet, så den kaldende proces har en privat kopi "
263 "af sit navnerum, der ikke deles med nogen anden proces. Angivelse af dette "
264 "flag fortudsætter automatisk også B<CLONE_FS>. Brug af B<CLONE_NEWNS> kræver "
265 "funktionaliteten B<CAP_SYS_ADMIN>. For yderligere information se "
266 "B<mount_namespaces>(7)."
267
268 #. type: TP
269 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
270 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
271 #, no-wrap
272 msgid "B<CLONE_NEWPID> (since Linux 3.8)"
273 msgstr "B<CLONE_NEWPID> (siden Linux 3.8)"
274
275 #. type: Plain text
276 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
277 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
278 msgid ""
279 "This flag has the same effect as the B<clone>(2) B<CLONE_NEWPID> flag. "
280 "Unshare the PID namespace, so that the calling process has a new PID "
281 "namespace for its children which is not shared with any previously existing "
282 "process. The calling process is I<not> moved into the new namespace. The "
283 "first child created by the calling process will have the process ID 1 and "
284 "will assume the role of B<init>(1) in the new namespace. B<CLONE_NEWPID> "
285 "automatically implies B<CLONE_THREAD> as well. Use of B<CLONE_NEWPID> "
286 "requires the B<CAP_SYS_ADMIN> capability. For further information, see "
287 "B<pid_namespaces>(7)."
288 msgstr ""
289 "Dette flag har den samme effekt som B<clone>(2) B<CLONE_NEWPID>-flaget. "
290 "Fjern deling for PID-navnerummet, så at den kaldende proces har et nyt PID-"
291 "navnerum for sine underprocesser, der ikke deles med en eventuel tidligere "
292 "proces. Den kaldende proces bliver I<ikke> flyttet ind i det nye navnerum. "
293 "Den første underproces oprettet af den kaldende proces vil have proces-id nr "
294 "1 og vil antage rollen af B<init>(1) i det nye navnerum. B<CLONE_NEWPID> "
295 "forudsætter automatisk også B<CLONE_THREAD>. Brug af B<CLONE_NEWPID> kræver "
296 "funktionaliteten B<CAP_SYS_ADMIN>. For yderligere information, se "
297 "B<pid_namespaces>(7)."
298
299 #. type: TP
300 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
301 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
302 #, no-wrap
303 msgid "B<CLONE_NEWTIME> (since Linux 5.6)"
304 msgstr "B<CLONE_NEWTIME> (siden Linux 5.6)"
305
306 #. type: Plain text
307 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
308 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
309 msgid ""
310 "Unshare the time namespace, so that the calling process has a new time "
311 "namespace for its children which is not shared with any previously existing "
312 "process. The calling process is I<not> moved into the new namespace. Use "
313 "of B<CLONE_NEWTIME> requires the B<CAP_SYS_ADMIN> capability. For further "
314 "information, see B<time_namespaces>(7)."
315 msgstr ""
316 "Fjern deling for tidsnavnerummet, så at den kaldende proces har et nyt "
317 "tidsnavnerum for sine underprocesser, der ikke deles med en eventuel "
318 "tidligere proces. Den kaldende proces flyttes I<ikke> ind i det nye "
319 "navnerum. Brug af B<CLONE_NEWTIME> kræver funktionaliteten B<CAP_SYS_ADMIN>. "
320 "For yderligere information, se B<time_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_NEWUSER> (since Linux 3.8)"
327 msgstr "B<CLONE_NEWUSER> (siden Linux 3.8)"
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 "This flag has the same effect as the B<clone>(2) B<CLONE_NEWUSER> flag. "
334 "Unshare the user namespace, so that the calling process is moved into a new "
335 "user namespace which is not shared with any previously existing process. As "
336 "with the child process created by B<clone>(2) with the B<CLONE_NEWUSER> "
337 "flag, the caller obtains a full set of capabilities in the new namespace."
338 msgstr ""
339 "Dette flag har den samme effekt som B<clone>(2) B<CLONE_NEWUSER>-flaget. "
340 "Fjern deling for brugernavnerummet, så at den kaldende proces flyttes ind i "
341 "et nyt brugernavnerum, der ikke deles med en eventuel tidligere proces. Som "
342 "med underprocessen oprettet af B<clone>(2) med B<CLONE_NEWUSER>-flaget får "
343 "kalderen et fuldt sæt af funktionaliteter i det nye navnerum."
344
345 #. commit e66eded8309ebf679d3d3c1f5820d1f2ca332c71
346 #. https://lwn.net/Articles/543273/
347 #. type: Plain text
348 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
349 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
350 msgid ""
351 "B<CLONE_NEWUSER> requires that the calling process is not threaded; "
352 "specifying B<CLONE_NEWUSER> automatically implies B<CLONE_THREAD>. Since "
353 "Linux 3.9, B<CLONE_NEWUSER> also automatically implies B<CLONE_FS>. "
354 "B<CLONE_NEWUSER> requires that the user ID and group ID of the calling "
355 "process are mapped to user IDs and group IDs in the user namespace of the "
356 "calling process at the time of the call."
357 msgstr ""
358 "B<CLONE_NEWUSER> kræver at den kaldende proces ikke er trådet; angivelse af "
359 "B<CLONE_NEWUSER> forudsætter automatisk B<CLONE_THREAD>. Da Linux 3.9, "
360 "B<CLONE_NEWUSER> også automatisk forudsætter B<CLONE_FS>. B<CLONE_NEWUSER> "
361 "kræver at bruger-id'et og gruppe-id'et for den kaldende proces oversættes "
362 "til bruger-id'erne og gruppe-id'erne i brugerens navnerum for den kaldende "
363 "proces på tidspunktet for kaldet."
364
365 #. type: Plain text
366 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
367 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
368 msgid "For further information on user namespaces, see B<user_namespaces>(7)."
369 msgstr ""
370 "For yderligere information om brugernavnerum, se B<user_namespaces>(7)."
371
372 #. type: TP
373 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
374 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
375 #, no-wrap
376 msgid "B<CLONE_NEWUTS> (since Linux 2.6.19)"
377 msgstr "B<CLONE_NEWUTS> (siden Linux 2.6.19)"
378
379 #. type: Plain text
380 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
381 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
382 msgid ""
383 "This flag has the same effect as the B<clone>(2) B<CLONE_NEWUTS> flag. "
384 "Unshare the UTS IPC namespace, so that the calling process has a private "
385 "copy of the UTS namespace which is not shared with any other process. Use "
386 "of B<CLONE_NEWUTS> requires the B<CAP_SYS_ADMIN> capability."
387 msgstr ""
388 "Dette flag har den samme effekt som B<clone>(2) B<CLONE_NEWUTS>-flaget. "
389 "Fjern deling af UTS IPC-navnerummet, så at den kaldende proces har en privat "
390 "kopi af UTS-navnerummet, der ikke deles med nogen anden proces. Brug af "
391 "B<CLONE_NEWUTS> kræver funktionaliteten B<CAP_SYS_ADMIN>."
392
393 #. type: TP
394 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
395 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
396 #, no-wrap
397 msgid "B<CLONE_SYSVSEM> (since Linux 2.6.26)"
398 msgstr "B<CLONE_SYSVSEM> (siden Linux 2.6.26)"
399
400 #. commit 9edff4ab1f8d82675277a04e359d0ed8bf14a7b7
401 #. CLONE_NEWNS If CLONE_SIGHAND is set and signals are also being shared
402 #. (i.e., current->signal->count > 1), force CLONE_THREAD.
403 #. type: Plain text
404 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
405 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
406 msgid ""
407 "This flag reverses the effect of the B<clone>(2) B<CLONE_SYSVSEM> flag. "
408 "Unshare System\\ V semaphore adjustment (I<semadj>) values, so that the "
409 "calling process has a new empty I<semadj> list that is not shared with any "
410 "other process. If this is the last process that has a reference to the "
411 "process's current I<semadj> list, then the adjustments in that list are "
412 "applied to the corresponding semaphores, as described in B<semop>(2)."
413 msgstr ""
414 "Dette flag vender effekten af B<clone>(2) B<CLONE_SYSVSEM>-flaget om. Fjern "
415 "deling for System\\ V sempahore-justeringsværdier (I<semadj>), så at den "
416 "kaldende proces har en ny tom I<semadj>-liste, der ikke deles med nogen "
417 "anden proces. Hvis dette er den sidste proces, der har en refernece til "
418 "processens nuværende I<semadj>-liste, så anvendes justeringerne i den liste "
419 "til de tilsvarende semaforer, som beskrevet i B<semop>(2)."
420
421 #
422 #. As at 3.9, the following forced implications also apply,
423 #. although the relevant flags are not yet implemented.
424 #. If CLONE_THREAD is set force CLONE_VM.
425 #. If CLONE_VM is set, force CLONE_SIGHAND.
426 #. See kernel/fork.c::check_unshare_flags()
427 #. type: Plain text
428 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
429 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
430 msgid ""
431 "In addition, B<CLONE_THREAD>, B<CLONE_SIGHAND>, and B<CLONE_VM> can be "
432 "specified in I<flags> if the caller is single threaded (i.e., it is not "
433 "sharing its address space with another process or thread). In this case, "
434 "these flags have no effect. (Note also that specifying B<CLONE_THREAD> "
435 "automatically implies B<CLONE_VM>, and specifying B<CLONE_VM> automatically "
436 "implies B<CLONE_SIGHAND>.) If the process is multithreaded, then the use of "
437 "these flags results in an error."
438 msgstr ""
439 "Derudover kan B<CLONE_THREAD>, B<CLONE_SIGHAND> og B<CLONE_VM> angives i "
440 "I<flag> hvis kalderen er en enkelt tråd (dvs. deler ikke sit adresserum med "
441 "en anden proces eller tråd). I dette tilfælde har disse flag ingen effekt. "
442 "(Bemærk også at angivelse af B<CLONE_THREAD> automatisk forudsætter "
443 "B<CLONE_VM>, og angivelse af B<CLONE_VM> automatisk forudsætter "
444 "B<CLONE_SIGHAND>). Hvis processen har flere tråde så medfører brug af disse "
445 "flag en fejl."
446
447 #. type: Plain text
448 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
449 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
450 msgid ""
451 "If I<flags> is specified as zero, then B<unshare>() is a no-op; no changes "
452 "are made to the calling process's execution context."
453 msgstr ""
454 "Hvis I<flag> er angivet som nul, så er B<unshare>() en no-op; ingen "
455 "ændringer laves til den kaldende proces afviklingskontekst."
456
457 #. type: SH
458 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
459 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
460 #, no-wrap
461 msgid "RETURN VALUE"
462 msgstr "RETURVÆRDI"
463
464 #. type: Plain text
465 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
466 #: opensuse-tumbleweed
467 msgid ""
468 "On success, zero is returned. On failure, -1 is returned and I<errno> is "
469 "set to indicate the error."
470 msgstr ""
471 "Ved succes returneres nul. Ved fejl returneres -1 og I<errno> er angivet for "
472 "at indikere fejlen."
473
474 #. type: SH
475 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
476 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
477 #, no-wrap
478 msgid "ERRORS"
479 msgstr "FEJL"
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<EINVAL>"
486 msgstr "B<EINVAL>"
487
488 #. type: Plain text
489 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
490 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
491 msgid "An invalid bit was specified in I<flags>."
492 msgstr "En ugyldig bit var angivet i I<flag>."
493
494 #. type: Plain text
495 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
496 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
497 msgid ""
498 "B<CLONE_THREAD>, B<CLONE_SIGHAND>, or B<CLONE_VM> was specified in I<flags>, "
499 "and the caller is multithreaded."
500 msgstr ""
501 "B<CLONE_THREAD>, B<CLONE_SIGHAND> eller B<CLONE_VM> var angivet i I<flag>, "
502 "og kalderen er flertrådet."
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_NEWIPC> was specified in I<flags>, but the kernel was not configured "
509 "with the B<CONFIG_SYSVIPC> and B<CONFIG_IPC_NS> options."
510 msgstr ""
511 "B<CLONE_NEWIPC> var angivet i I<flag>, men kernen var ikke konfigureret med "
512 "tilvalgene B<CONFIG_SYSVIPC> og B<CONFIG_IPC_NS>."
513
514 #. type: Plain text
515 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
516 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
517 msgid ""
518 "B<CLONE_NEWNET> was specified in I<flags>, but the kernel was not configured "
519 "with the B<CONFIG_NET_NS> option."
520 msgstr ""
521 "B<CLONE_NEWNET> var angivet i I<flag>, men kernen var ikke konfigureret med "
522 "tilvalget B<CONFIG_NET_NS>."
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_NEWPID> was specified in I<flags>, but the kernel was not configured "
529 "with the B<CONFIG_PID_NS> option."
530 msgstr ""
531 "B<CLONE_NEWPID> var angivet i I<flag>, men kernen var ikke konfigureret med "
532 "tilvalget B<CONFIG_PID_NS>."
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_NEWUSER> was specified in I<flags>, but the kernel was not "
539 "configured with the B<CONFIG_USER_NS> option."
540 msgstr ""
541 "B<CLONE_NEWUSER> var angivet i I<flag>, men kernen var ikke konfigureret med "
542 "tilvalget B<CONFIG_USER_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_NEWUTS> was specified in I<flags>, but the kernel was not configured "
549 "with the B<CONFIG_UTS_NS> option."
550 msgstr ""
551 "B<CLONE_NEWUTS> var angivet i I<flag>, men kernen var ikke konfigureret med "
552 "tilvalget B<CONFIG_UTS_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 process has previously "
559 "called B<unshare>() with the B<CLONE_NEWPID> flag."
560 msgstr ""
561 "B<CLONE_NEWPID> var angivet i I<flag>, men processen har tidligere kaldt "
562 "B<unshare>() med flaget B<CLONE_NEWPID>."
563
564 #. type: TP
565 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
566 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
567 #, no-wrap
568 msgid "B<ENOMEM>"
569 msgstr "B<ENOMEM>"
570
571 #. type: Plain text
572 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
573 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
574 msgid ""
575 "Cannot allocate sufficient memory to copy parts of caller's context that "
576 "need to be unshared."
577 msgstr ""
578 "Kan ikke allokere tilstrækkelig hukommelse til at kopiere dele af kalderens "
579 "kontekst, der ikke længere skal deles."
580
581 #. type: TP
582 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
583 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
584 #, no-wrap
585 msgid "B<ENOSPC> (since Linux 3.7)"
586 msgstr "B<ENOSPC> (siden Linux 3.7)"
587
588 #. commit f2302505775fd13ba93f034206f1e2a587017929
589 #. type: Plain text
590 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
591 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
592 msgid ""
593 "B<CLONE_NEWPID> was specified in flags, but the limit on the nesting depth "
594 "of PID namespaces would have been exceeded; see B<pid_namespaces>(7)."
595 msgstr ""
596 "B<CLONE_NEWPID> var angivet i flag, men begrænsningen på indlejringsdybden "
597 "for PID-navnerum ville være overskredet; se B<pid_namespaces>(7)."
598
599 #. type: TP
600 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
601 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
602 #, no-wrap
603 msgid "B<ENOSPC> (since Linux 4.9; beforehand B<EUSERS>)"
604 msgstr "B<ENOSPC> (siden Linux 4.9; tidligere B<EUSERS>)"
605
606 #. type: Plain text
607 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
608 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
609 msgid ""
610 "B<CLONE_NEWUSER> was specified in I<flags>, and the call would cause the "
611 "limit on the number of nested user namespaces to be exceeded. See "
612 "B<user_namespaces>(7)."
613 msgstr ""
614 "B<CLONE_NEWUSER> var angivet i I<flag>, og kaldet ville medføre at "
615 "begrænsningen på antallet af indlejrede brugernavnerum ville blive "
616 "overskredt. Se B<user_namespaces>(7)."
617
618 #. type: Plain text
619 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
620 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
621 msgid ""
622 "From Linux 3.11 to Linux 4.8, the error diagnosed in this case was B<EUSERS>."
623 msgstr ""
624 "Fra Linux 3.11 til Linux 4.8, var fejlen diagnosticeret i dette tilfælde "
625 "B<EUSERS>."
626
627 #. type: TP
628 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
629 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
630 #, no-wrap
631 msgid "B<ENOSPC> (since Linux 4.9)"
632 msgstr "B<ENOSPC> (siden Linux 4.9)"
633
634 #. type: Plain text
635 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
636 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
637 msgid ""
638 "One of the values in I<flags> specified the creation of a new user "
639 "namespace, but doing so would have caused the limit defined by the "
640 "corresponding file in I</proc/sys/user> to be exceeded. For further "
641 "details, see B<namespaces>(7)."
642 msgstr ""
643 "En af værdierne i I<flag> angav oprettelsen af et nyt brugernavnerum, men "
644 "dette ville have medført at begrænsningen defineret af den tilsvarende fil i "
645 "I</proc/sys/user> ville blive overskredet. For yderligere information, se "
646 "B<namespaces>(7)."
647
648 #. type: TP
649 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
650 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
651 #, no-wrap
652 msgid "B<EPERM>"
653 msgstr "B<EPERM>"
654
655 #. type: Plain text
656 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
657 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
658 msgid ""
659 "The calling process did not have the required privileges for this operation."
660 msgstr ""
661 "Den kaldende proces havde ikke de krævede privilegier for denne operation."
662
663 #. type: Plain text
664 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
665 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
666 msgid ""
667 "B<CLONE_NEWUSER> was specified in I<flags>, but either the effective user ID "
668 "or the effective group ID of the caller does not have a mapping in the "
669 "parent namespace (see B<user_namespaces>(7))."
670 msgstr ""
671 "B<CLONE_NEWUSER> var angivet i I<flag>, men enten har det effektive bruger-"
672 "id eller det effektive gruppe-id for kalderen ikke en oversættelse i "
673 "overnavnerummet (se B<user_namespaces>(7))."
674
675 #. type: TP
676 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
677 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
678 #, no-wrap
679 msgid "B<EPERM> (since Linux 3.9)"
680 msgstr "B<EPERM> (siden Linux 3.9)"
681
682 #. commit 3151527ee007b73a0ebd296010f1c0454a919c7d
683 #. FIXME What is the rationale for this restriction?
684 #. type: Plain text
685 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
686 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
687 msgid ""
688 "B<CLONE_NEWUSER> was specified in I<flags> and the caller is in a chroot "
689 "environment (i.e., the caller's root directory does not match the root "
690 "directory of the mount namespace in which it resides)."
691 msgstr ""
692 "B<CLONE_NEWUSER> var angivet i I<flag> og kalderen er i et chroot-miljø "
693 "(dvs. kalderens rodmappe matcher ikke rodmappen for monteringsnavnerummet "
694 "hvor det befinder sig)."
695
696 #. type: TP
697 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
698 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
699 #, no-wrap
700 msgid "B<EUSERS> (from Linux 3.11 to Linux 4.8)"
701 msgstr "B<EUSERS> (fra Linux 3.11 til Linux 4.8)"
702
703 #. type: Plain text
704 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
705 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
706 msgid ""
707 "B<CLONE_NEWUSER> was specified in I<flags>, and the limit on the number of "
708 "nested user namespaces would be exceeded. See the discussion of the "
709 "B<ENOSPC> error above."
710 msgstr ""
711 "B<CLONE_NEWUSER> var angivet i I<flag>, og begrænsningen på antallet af "
712 "indlejrede brugernavnerum er for højt. Se diskussionen for B<ENOSPC>-fejlen "
713 "ovenfor."
714
715 #. type: SH
716 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
717 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
718 #, no-wrap
719 msgid "STANDARDS"
720 msgstr "STANDARDER"
721
722 #. type: Plain text
723 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
724 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
725 msgid "Linux."
726 msgstr "Linux."
727
728 #. type: SH
729 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
730 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
731 #, no-wrap
732 msgid "HISTORY"
733 msgstr "HISTORIK"
734
735 #. type: Plain text
736 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
737 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
738 msgid "Linux 2.6.16."
739 msgstr "Linux 2.6.16."
740
741 #. type: SH
742 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
743 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
744 #, no-wrap
745 msgid "NOTES"
746 msgstr "NOTER"
747
748 #
749 #. #-#-#-#-# archlinux: unshare.2.pot (PACKAGE VERSION) #-#-#-#-#
750 #. FIXME all of the following needs to be reviewed for the current kernel
751 #. However, we can do unshare(CLONE_SIGHAND) if CLONE_SIGHAND
752 #. was not specified when doing clone(); i.e., unsharing
753 #. signal handlers is permitted if we are not actually
754 #. sharing signal handlers. mtk
755 #. However, we can do unshare(CLONE_VM) if CLONE_VM
756 #. was not specified when doing clone(); i.e., unsharing
757 #. virtual memory is permitted if we are not actually
758 #. sharing virtual memory. mtk
759 #. 9) Future Work
760 #. --------------
761 #. The current implementation of unshare does not allow unsharing of
762 #. signals and signal handlers. Signals are complex to begin with and
763 #. to unshare signals and/or signal handlers of a currently running
764 #. process is even more complex. If in the future there is a specific
765 #. need to allow unsharing of signals and/or signal handlers, it can
766 #. be incrementally added to unshare without affecting legacy
767 #. applications using unshare.
768 #. type: Plain text
769 #. #-#-#-#-# debian-trixie: unshare.2.pot (PACKAGE VERSION) #-#-#-#-#
770 #. FIXME all of the following needs to be reviewed for the current kernel
771 #. However, we can do unshare(CLONE_SIGHAND) if CLONE_SIGHAND
772 #. was not specified when doing clone(); i.e., unsharing
773 #. signal handlers is permitted if we are not actually
774 #. sharing signal handlers. mtk
775 #. However, we can do unshare(CLONE_VM) if CLONE_VM
776 #. was not specified when doing clone(); i.e., unsharing
777 #. virtual memory is permitted if we are not actually
778 #. sharing virtual memory. mtk
779 #. 9) Future Work
780 #. --------------
781 #. The current implementation of unshare does not allow unsharing of
782 #. signals and signal handlers. Signals are complex to begin with and
783 #. to unshare signals and/or signal handlers of a currently running
784 #. process is even more complex. If in the future there is a specific
785 #. need to allow unsharing of signals and/or signal handlers, it can
786 #. be incrementally added to unshare without affecting legacy
787 #. applications using unshare.
788 #. type: Plain text
789 #. #-#-#-#-# debian-unstable: unshare.2.pot (PACKAGE VERSION) #-#-#-#-#
790 #. FIXME all of the following needs to be reviewed for the current kernel
791 #. However, we can do unshare(CLONE_SIGHAND) if CLONE_SIGHAND
792 #. was not specified when doing clone(); i.e., unsharing
793 #. signal handlers is permitted if we are not actually
794 #. sharing signal handlers. mtk
795 #. However, we can do unshare(CLONE_VM) if CLONE_VM
796 #. was not specified when doing clone(); i.e., unsharing
797 #. virtual memory is permitted if we are not actually
798 #. sharing virtual memory. mtk
799 #. 9) Future Work
800 #. --------------
801 #. The current implementation of unshare does not allow unsharing of
802 #. signals and signal handlers. Signals are complex to begin with and
803 #. to unshare signals and/or signal handlers of a currently running
804 #. process is even more complex. If in the future there is a specific
805 #. need to allow unsharing of signals and/or signal handlers, it can
806 #. be incrementally added to unshare without affecting legacy
807 #. applications using unshare.
808 #. type: Plain text
809 #. #-#-#-#-# fedora-44: unshare.2.pot (PACKAGE VERSION) #-#-#-#-#
810 #. FIXME all of the following needs to be reviewed for the current kernel
811 #. However, we can do unshare(CLONE_SIGHAND) if CLONE_SIGHAND
812 #. was not specified when doing clone(); i.e., unsharing
813 #. signal handlers is permitted if we are not actually
814 #. sharing signal handlers. mtk
815 #. However, we can do unshare(CLONE_VM) if CLONE_VM
816 #. was not specified when doing clone(); i.e., unsharing
817 #. virtual memory is permitted if we are not actually
818 #. sharing virtual memory. mtk
819 #. 9) Future Work
820 #. --------------
821 #. The current implementation of unshare does not allow unsharing of
822 #. signals and signal handlers. Signals are complex to begin with and
823 #. to unshare signals and/or signal handlers of a currently running
824 #. process is even more complex. If in the future there is a specific
825 #. need to allow unsharing of signals and/or signal handlers, it can
826 #. be incrementally added to unshare without affecting legacy
827 #. applications using unshare.
828 #. type: Plain text
829 #. #-#-#-#-# fedora-rawhide: unshare.2.pot (PACKAGE VERSION) #-#-#-#-#
830 #. FIXME all of the following needs to be reviewed for the current kernel
831 #. However, we can do unshare(CLONE_SIGHAND) if CLONE_SIGHAND
832 #. was not specified when doing clone(); i.e., unsharing
833 #. signal handlers is permitted if we are not actually
834 #. sharing signal handlers. mtk
835 #. However, we can do unshare(CLONE_VM) if CLONE_VM
836 #. was not specified when doing clone(); i.e., unsharing
837 #. virtual memory is permitted if we are not actually
838 #. sharing virtual memory. mtk
839 #. 9) Future Work
840 #. --------------
841 #. The current implementation of unshare does not allow unsharing of
842 #. signals and signal handlers. Signals are complex to begin with and
843 #. to unshare signals and/or signal handlers of a currently running
844 #. process is even more complex. If in the future there is a specific
845 #. need to allow unsharing of signals and/or signal handlers, it can
846 #. be incrementally added to unshare without affecting legacy
847 #. applications using unshare.
848 #. type: Plain text
849 #. #-#-#-#-# mageia-cauldron: unshare.2.pot (PACKAGE VERSION) #-#-#-#-#
850 #. FIXME all of the following needs to be reviewed for the current kernel
851 #. However, we can do unshare(CLONE_SIGHAND) if CLONE_SIGHAND
852 #. was not specified when doing clone(); i.e., unsharing
853 #. signal handlers is permitted if we are not actually
854 #. sharing signal handlers. mtk
855 #. However, we can do unshare(CLONE_VM) if CLONE_VM
856 #. was not specified when doing clone(); i.e., unsharing
857 #. virtual memory is permitted if we are not actually
858 #. sharing virtual memory. mtk
859 #. 9) Future Work
860 #. --------------
861 #. The current implementation of unshare does not allow unsharing of
862 #. signals and signal handlers. Signals are complex to begin with and
863 #. to unshare signals and/or signal handlers of a currently running
864 #. process is even more complex. If in the future there is a specific
865 #. need to allow unsharing of signals and/or signal handlers, it can
866 #. be incrementally added to unshare without affecting legacy
867 #. applications using unshare.
868 #. type: Plain text
869 #. #-#-#-#-# opensuse-leap-16-1: unshare.2.pot (PACKAGE VERSION) #-#-#-#-#
870 #. FIXME all of the following needs to be reviewed for the current kernel
871 #. However, we can do unshare(CLONE_SIGHAND) if CLONE_SIGHAND
872 #. was not specified when doing clone(); i.e., unsharing
873 #. signal handlers is permitted if we are not actually
874 #. sharing signal handlers. mtk
875 #. However, we can do unshare(CLONE_VM) if CLONE_VM
876 #. was not specified when doing clone(); i.e., unsharing
877 #. virtual memory is permitted if we are not actually
878 #. sharing virtual memory. mtk
879 #. 9) Future Work
880 #. --------------
881 #. The current implementation of unshare does not allow unsharing of
882 #. signals and signal handlers. Signals are complex to begin with and
883 #. to unshare signals and/or signal handlers of a currently running
884 #. process is even more complex. If in the future there is a specific
885 #. need to allow unsharing of signals and/or signal handlers, it can
886 #. be incrementally added to unshare without affecting legacy
887 #. applications using unshare.
888 #. type: Plain text
889 #. #-#-#-#-# opensuse-tumbleweed: unshare.2.pot (PACKAGE VERSION) #-#-#-#-#
890 #. FIXME all of the following needs to be reviewed for the current kernel
891 #. However, we can do unshare(CLONE_SIGHAND) if CLONE_SIGHAND
892 #. was not specified when doing clone(); i.e., unsharing
893 #. signal handlers is permitted if we are not actually
894 #. sharing signal handlers. mtk
895 #. However, we can do unshare(CLONE_VM) if CLONE_VM
896 #. was not specified when doing clone(); i.e., unsharing
897 #. virtual memory is permitted if we are not actually
898 #. sharing virtual memory. mtk
899 #. 9) Future Work
900 #. --------------
901 #. The current implementation of unshare does not allow unsharing of
902 #. signals and signal handlers. Signals are complex to begin with and
903 #. to unshare signals and/or signal handlers of a currently running
904 #. process is even more complex. If in the future there is a specific
905 #. need to allow unsharing of signals and/or signal handlers, it can
906 #. be incrementally added to unshare without affecting legacy
907 #. applications using unshare.
908 #. type: Plain text
909 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
910 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
911 msgid ""
912 "Not all of the process attributes that can be shared when a new process is "
913 "created using B<clone>(2) can be unshared using B<unshare>(). In "
914 "particular, as at kernel 3.8, B<unshare>() does not implement flags that "
915 "reverse the effects of B<CLONE_SIGHAND>, B<CLONE_THREAD>, or B<CLONE_VM>. "
916 "Such functionality may be added in the future, if required."
917 msgstr ""
918 "Ikke alle af processens attributter, der kan deles når en ny proces oprettes "
919 "via B<clone>(2), kan få fjernet deling via B<unshare>(). Specielt fra og med "
920 "kernen 3.8 implementerer B<unshare>() ikke flag, der vender effekten af "
921 "B<CLONE_SIGHAND>, B<CLONE_THREAD> eller B<CLONE_VM> om. Sådan funktionalitet "
922 "kan blive tilføjet i fremtiden, hvis krævet."
923
924 #. type: Plain text
925 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
926 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
927 msgid ""
928 "Creating all kinds of namespace, except user namespaces, requires the "
929 "B<CAP_SYS_ADMIN> capability. However, since creating a user namespace "
930 "automatically confers a full set of capabilities, creating both a user "
931 "namespace and any other type of namespace in the same B<unshare>() call "
932 "does not require the B<CAP_SYS_ADMIN> capability in the original namespace."
933 msgstr ""
934 "Oprettelse af alle slags navnerume, undtagen brugernavnerum, kræver "
935 "funktionaliteten B<CAP_SYS_ADMIN>. Da oprettelsen af et brugernavnerum "
936 "automatisk giver et fuld sæt af funktionalitet, kræver oprettelse af både et "
937 "brugernavnerum og andre typer af navnerum i det samme B<unshare>()-kald ikke "
938 "B<CAP_SYS_ADMIN>-funktionalitet i det oprindelige navnerum."
939
940 #. type: SH
941 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
942 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
943 #, no-wrap
944 msgid "EXAMPLES"
945 msgstr "EKSEMPLER"
946
947 #. type: Plain text
948 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
949 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
950 msgid ""
951 "The program below provides a simple implementation of the B<unshare>(1) "
952 "command, which unshares one or more namespaces and executes the command "
953 "supplied in its command-line arguments. Here's an example of the use of "
954 "this program, running a shell in a new mount namespace, and verifying that "
955 "the original shell and the new shell are in separate mount namespaces:"
956 msgstr ""
957 "Programmet nedenfor tilbyder en simpel implementering af kommandoen "
958 "B<unshare>(1), der fjerner deling for et eller flere navnerum og afvikler "
959 "kommandoen angivet i sine kommandolinjeargumenter. Her er et eksempel på "
960 "brug af dette program, der afvikles i en skal i et nyt monteringsnavnerum, "
961 "og verificerer at den oprindelige skal og den nye skal er i separate "
962 "monteringsnavnerum:"
963
964 #. type: Plain text
965 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
966 #: opensuse-tumbleweed
967 #, no-wrap
968 msgid ""
969 "$B< readlink /proc/$$/ns/mnt>;\n"
970 "mnt:[4026531840]\n"
971 "$B< sudo ./unshare -m /bin/bash>;\n"
972 "#B< readlink /proc/$$/ns/mnt>;\n"
973 "mnt:[4026532325]\n"
974 msgstr ""
975 "$B< readlink /proc/$$/ns/mnt>;\n"
976 "mnt:[4026531840]\n"
977 "$B< sudo ./unshare -m /bin/bash>;\n"
978 "#B< readlink /proc/$$/ns/mnt>;\n"
979 "mnt:[4026532325]\n"
980
981 #. type: Plain text
982 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
983 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
984 msgid ""
985 "The differing output of the two B<readlink>(1) commands shows that the two "
986 "shells are in different mount namespaces."
987 msgstr ""
988 "De forskellige resultater for de to B<readlink>(1)-kommandoer viser, at de "
989 "to skaller er i forskellige monteringsnavnerum."
990
991 #. type: SS
992 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
993 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
994 #, no-wrap
995 msgid "Program source"
996 msgstr "Programkilde"
997
998 #. type: Plain text
999 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1000 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1001 #, no-wrap
1002 msgid ""
1003 "/* unshare.c\n"
1004 "\\&\n"
1005 " A simple implementation of the unshare(1) command: unshare\n"
1006 " namespaces and execute a command.\n"
1007 "*/\n"
1008 "#define _GNU_SOURCE\n"
1009 "#include E<lt>err.hE<gt>\n"
1010 "#include E<lt>sched.hE<gt>\n"
1011 "#include E<lt>stdio.hE<gt>\n"
1012 "#include E<lt>stdlib.hE<gt>\n"
1013 "#include E<lt>unistd.hE<gt>\n"
1014 "\\&\n"
1015 "static void\n"
1016 "usage(char *pname)\n"
1017 "{\n"
1018 " fprintf(stderr, \"Usage: %s [options] program [arg...]\\[rs]n\", pname);\n"
1019 " fprintf(stderr, \"Options can be:\\[rs]n\");\n"
1020 " fprintf(stderr, \" -C unshare cgroup namespace\\[rs]n\");\n"
1021 " fprintf(stderr, \" -i unshare IPC namespace\\[rs]n\");\n"
1022 " fprintf(stderr, \" -m unshare mount namespace\\[rs]n\");\n"
1023 " fprintf(stderr, \" -n unshare network namespace\\[rs]n\");\n"
1024 " fprintf(stderr, \" -p unshare PID namespace\\[rs]n\");\n"
1025 " fprintf(stderr, \" -t unshare time namespace\\[rs]n\");\n"
1026 " fprintf(stderr, \" -u unshare UTS namespace\\[rs]n\");\n"
1027 " fprintf(stderr, \" -U unshare user namespace\\[rs]n\");\n"
1028 " exit(EXIT_FAILURE);\n"
1029 "}\n"
1030 "\\&\n"
1031 "int\n"
1032 "main(int argc, char *argv[])\n"
1033 "{\n"
1034 " int flags, opt;\n"
1035 "\\&\n"
1036 " flags = 0;\n"
1037 "\\&\n"
1038 " while ((opt = getopt(argc, argv, \"CimnptuU\")) != -1) {\n"
1039 " switch (opt) {\n"
1040 " case \\[aq]C\\[aq]: flags |= CLONE_NEWCGROUP; break;\n"
1041 " case \\[aq]i\\[aq]: flags |= CLONE_NEWIPC; break;\n"
1042 " case \\[aq]m\\[aq]: flags |= CLONE_NEWNS; break;\n"
1043 " case \\[aq]n\\[aq]: flags |= CLONE_NEWNET; break;\n"
1044 " case \\[aq]p\\[aq]: flags |= CLONE_NEWPID; break;\n"
1045 " case \\[aq]t\\[aq]: flags |= CLONE_NEWTIME; break;\n"
1046 " case \\[aq]u\\[aq]: flags |= CLONE_NEWUTS; break;\n"
1047 " case \\[aq]U\\[aq]: flags |= CLONE_NEWUSER; break;\n"
1048 " default: usage(argv[0]);\n"
1049 " }\n"
1050 " }\n"
1051 "\\&\n"
1052 " if (optind E<gt>= argc)\n"
1053 " usage(argv[0]);\n"
1054 "\\&\n"
1055 " if (unshare(flags) == -1)\n"
1056 " err(EXIT_FAILURE, \"unshare\");\n"
1057 "\\&\n"
1058 " execvp(argv[optind], &argv[optind]);\n"
1059 " err(EXIT_FAILURE, \"execvp\");\n"
1060 "}\n"
1061 msgstr ""
1062 "/* unshare.c\n"
1063 "\\&\n"
1064 " En simpel implementering af kommandoen unshare(1): unshare\n"
1065 " navnerum og afvikl en kommando.\n"
1066 "*/\n"
1067 "#define _GNU_SOURCE\n"
1068 "#include E<lt>err.hE<gt>\n"
1069 "#include E<lt>sched.hE<gt>\n"
1070 "#include E<lt>stdio.hE<gt>\n"
1071 "#include E<lt>stdlib.hE<gt>\n"
1072 "#include E<lt>unistd.hE<gt>\n"
1073 "\\&\n"
1074 "static void\n"
1075 "usage(char *pname)\n"
1076 "{\n"
1077 " fprintf(stderr, \"Brug: %s [tilvalg] program [arg...]\\[rs]n\", pnavn);\n"
1078 " fprintf(stderr, \"Tilvalg kan være:\\[rs]n\");\n"
1079 " fprintf(stderr, \" -C unshare cgroup-navnerum\\[rs]n\");\n"
1080 " fprintf(stderr, \" -i unshare IPC-navnerum\\[rs]n\");\n"
1081 " fprintf(stderr, \" -m unshare mount-navnerum\\[rs]n\");\n"
1082 " fprintf(stderr, \" -n unshare network-navnerum\\[rs]n\");\n"
1083 " fprintf(stderr, \" -p unshare PID-navnerum\\[rs]n\");\n"
1084 " fprintf(stderr, \" -t unshare time-navnerum\\[rs]n\");\n"
1085 " fprintf(stderr, \" -u unshare UTS-navnerum\\[rs]n\");\n"
1086 " fprintf(stderr, \" -U unshare user-navnerum\\[rs]n\");\n"
1087 " exit(EXIT_FAILURE);\n"
1088 "}\n"
1089 "\\&\n"
1090 "int\n"
1091 "main(int argc, char *argv[])\n"
1092 "{\n"
1093 " int flags, opt;\n"
1094 "\\&\n"
1095 " flags = 0;\n"
1096 "\\&\n"
1097 " while ((opt = getopt(argc, argv, \"CimnptuU\")) != -1) {\n"
1098 " switch (opt) {\n"
1099 " case \\[aq]C\\[aq]: flags |= CLONE_NEWCGROUP; break;\n"
1100 " case \\[aq]i\\[aq]: flags |= CLONE_NEWIPC; break;\n"
1101 " case \\[aq]m\\[aq]: flags |= CLONE_NEWNS; break;\n"
1102 " case \\[aq]n\\[aq]: flags |= CLONE_NEWNET; break;\n"
1103 " case \\[aq]p\\[aq]: flags |= CLONE_NEWPID; break;\n"
1104 " case \\[aq]t\\[aq]: flags |= CLONE_NEWTIME; break;\n"
1105 " case \\[aq]u\\[aq]: flags |= CLONE_NEWUTS; break;\n"
1106 " case \\[aq]U\\[aq]: flags |= CLONE_NEWUSER; break;\n"
1107 " default: usage(argv[0]);\n"
1108 " }\n"
1109 " }\n"
1110 "\\&\n"
1111 " if (optind E<gt>= argc)\n"
1112 " usage(argv[0]);\n"
1113 "\\&\n"
1114 " if (unshare(flags) == -1)\n"
1115 " err(EXIT_FAILURE, \"unshare\");\n"
1116 "\\&\n"
1117 " execvp(argv[optind], &argv[optind]);\n"
1118 " err(EXIT_FAILURE, \"execvp\");\n"
1119 "}\n"
1120
1121 #. SRC END
1122 #. type: SH
1123 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1124 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1125 #, no-wrap
1126 msgid "SEE ALSO"
1127 msgstr "SE OGSÅ"
1128
1129 #. type: Plain text
1130 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1131 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1132 msgid ""
1133 "B<unshare>(1), B<clone>(2), B<fork>(2), B<kcmp>(2), B<setns>(2), "
1134 "B<vfork>(2), B<namespaces>(7)"
1135 msgstr ""
1136 "B<unshare>(1), B<clone>(2), B<fork>(2), B<kcmp>(2), B<setns>(2), "
1137 "B<vfork>(2), B<namespaces>(7)"
1138
1139 #. type: Plain text
1140 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1141 #: opensuse-tumbleweed
1142 msgid ""
1143 "I<Documentation/userspace-api/unshare.rst> in the Linux kernel source tree"
1144 msgstr "I<Documentation/userspace-api/unshare.rst> i Linuxkernens kildetræ"
1145
1146 #. type: TH
1147 #: debian-trixie
1148 #, no-wrap
1149 msgid "2024-06-15"
1150 msgstr "15. juni 2024"
1151
1152 #. type: TH
1153 #: debian-trixie
1154 #, no-wrap
1155 msgid "Linux man-pages 6.9.1"
1156 msgstr "Linux man-pages 6.9.1"
1157
1158 #. type: Plain text
1159 #: debian-trixie
1160 msgid "Standard C library (I<libc>, I<-lc>)"
1161 msgstr "C-standardbibliotek (I<libc>, I<-lc>)"
1162
1163 #. type: Plain text
1164 #: debian-trixie fedora-44 fedora-rawhide
1165 msgid ""
1166 "On success, zero returned. On failure, -1 is returned and I<errno> is set "
1167 "to indicate the error."
1168 msgstr ""
1169 "Ved succes, returneres nul. Ved fejl returneres -1 og I<errno> angives for "
1170 "at indikere fejlen."
1171
1172 #. type: Plain text
1173 #: debian-trixie fedora-44 fedora-rawhide
1174 #, no-wrap
1175 msgid ""
1176 "$ B<readlink /proc/$$/ns/mnt>\n"
1177 "mnt:[4026531840]\n"
1178 "$ B<sudo ./unshare -m /bin/bash>\n"
1179 "# B<readlink /proc/$$/ns/mnt>\n"
1180 "mnt:[4026532325]\n"
1181 msgstr ""
1182 "$ B<readlink /proc/$$/ns/mnt>\n"
1183 "mnt:[4026531840]\n"
1184 "$ B<sudo ./unshare -m /bin/bash>\n"
1185 "# B<readlink /proc/$$/ns/mnt>\n"
1186 "mnt:[4026532325]\n"
1187
1188 #. commit f504d47be5e8fa7ecf2bf660b18b42e6960c0eb2
1189 #. type: Plain text
1190 #: debian-trixie fedora-44 fedora-rawhide
1191 msgid ""
1192 "I<Documentation/userspace-api/unshare.rst> in the Linux kernel source tree "
1193 "(or I<Documentation/unshare.txt> before Linux 4.12)"
1194 msgstr ""
1195 "I<Documentation/userspace-api/unshare.rst> i Linuxkernens kildetræ (eller "
1196 "I<Documentation/unshare.txt> før Linux 4.12)"
1197
1198 #. type: TH
1199 #: fedora-44 fedora-rawhide
1200 #, no-wrap
1201 msgid "2024-07-23"
1202 msgstr "23. juli 2024"
1203
1204 #. type: TH
1205 #: fedora-44 fedora-rawhide
1206 #, no-wrap
1207 msgid "Linux man-pages 6.13"
1208 msgstr "Linux man-pages 6.13"
1209
1210 #. type: TH
1211 #: mageia-cauldron
1212 #, no-wrap
1213 msgid "Linux man-pages 6.17"
1214 msgstr "Linux man-pages 6.17"
1215
1216 #. type: TH
1217 #: opensuse-leap-16-1 opensuse-tumbleweed
1218 #, no-wrap
1219 msgid "Linux man-pages (unreleased)"
1220 msgstr "Linux man-pages (ej udgivet)"