Debian Codegraph @

po/pl/man2/clone.2.po

raw
1 # Polish translation of manpages
2 # This file is distributed under the same license as the manpages-l10n package.
3 # Copyright © of this file:
4 # Przemek Borys <[email protected]>, 1998.
5 # Andrzej Krzysztofowicz <[email protected]>, 2003.
6 # Michał Kułach <[email protected]>, 2024, 2025, 2026.
7 msgid ""
8 msgstr ""
9 "Project-Id-Version: manpages-l10n\n"
10 "POT-Creation-Date: 2026-06-05 06:20+0200\n"
11 "PO-Revision-Date: 2026-03-15 12:22+0100\n"
12 "Last-Translator: Michał Kułach <[email protected]>\n"
13 "Language-Team: Polish <[email protected]>\n"
14 "Language: pl\n"
15 "MIME-Version: 1.0\n"
16 "Content-Type: text/plain; charset=UTF-8\n"
17 "Content-Transfer-Encoding: 8bit\n"
18 "Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 "
19 "|| n%100>=20) ? 1 : 2);\n"
20 "X-Generator: Lokalize 25.04.0\n"
21
22 #. type: TH
23 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
24 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
25 #, no-wrap
26 msgid "clone"
27 msgstr "clone"
28
29 #. type: TH
30 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
31 #: opensuse-tumbleweed
32 #, no-wrap
33 msgid "2026-02-08"
34 msgstr "8 lutego 2026 r."
35
36 #. type: TH
37 #: archlinux debian-unstable
38 #, no-wrap
39 msgid "Linux man-pages 6.18"
40 msgstr "Linux man-pages 6.18"
41
42 #. type: SH
43 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
44 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
45 #, no-wrap
46 msgid "NAME"
47 msgstr "NAZWA"
48
49 #. type: Plain text
50 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
51 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
52 msgid "clone, __clone2, clone3 - create a child process"
53 msgstr "clone, __clone2, clone3 - tworzy proces potomny"
54
55 #. type: SH
56 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
57 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
58 #, no-wrap
59 msgid "LIBRARY"
60 msgstr "BIBLIOTEKA"
61
62 #. type: Plain text
63 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
64 #: opensuse-leap-16-1 opensuse-tumbleweed
65 msgid "Standard C library (I<libc>,\\ I<-lc>)"
66 msgstr "Standardowa biblioteka C (I<libc>,\\ I<-lc>)"
67
68 #. type: SH
69 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
70 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
71 #, no-wrap
72 msgid "SYNOPSIS"
73 msgstr "SKŁADNIA"
74
75 #. type: Plain text
76 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
77 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
78 #, no-wrap
79 msgid "/* Prototype for the glibc wrapper function */\n"
80 msgstr "/* Prototyp funkcji opakowującej z glibc */\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 ""
87 "B<#define _GNU_SOURCE>\n"
88 "B<#include E<lt>sched.hE<gt>>\n"
89 msgstr ""
90 "B<#define _GNU_SOURCE>\n"
91 "B<#include E<lt>sched.hE<gt>>\n"
92
93 #. type: Plain text
94 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
95 #: opensuse-leap-16-1 opensuse-tumbleweed
96 #, no-wrap
97 msgid ""
98 "B<int clone(typeof(int (void *_Nullable)) *>I<fn>B<,>\n"
99 "B< void *>I<stack>B<,>\n"
100 "B< int >I<flags>B<,>\n"
101 "B< void *_Nullable >I<arg>B<, ...>\n"
102 "B< >\\f[R]/*B< pid_t *_Nullable >I<parent_tid>B<,>\n"
103 "B< void *_Nullable >I<tls>B<,>\n"
104 "B< pid_t *_Nullable >I<child_tid>B< >\\f[R]*/B< );>\n"
105 msgstr ""
106 "B<int clone(typeof(int (void *_Nullable)) *>I<fn>B<,>\n"
107 "B< void *>I<stack>B<,>\n"
108 "B< int >I<flags>B<,>\n"
109 "B< void *_Nullable >I<arg>B<, ...>\n"
110 "B< >\\f[R]/*B< pid_t *_Nullable >I<parent_tid>B<,>\n"
111 "B< void *_Nullable >I<tls>B<,>\n"
112 "B< pid_t *_Nullable >I<child_tid>B< >\\f[R]*/B< );>\n"
113
114 #. type: Plain text
115 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
116 #: opensuse-tumbleweed
117 #, no-wrap
118 msgid "/* For the prototype of the raw clone() system call, see VERSIONS. */\n"
119 msgstr "/* Aby zobaczyć prototyp surowego wywołania syst. clone(), patrz WERSJE. */\n"
120
121 #. type: Plain text
122 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
123 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
124 #, no-wrap
125 msgid ""
126 "B<#include E<lt>linux/sched.hE<gt>> /* Definition of B<struct clone_args> */\n"
127 "B<#include E<lt>sched.hE<gt>> /* Definition of B<CLONE_*> constants */\n"
128 "B<#include E<lt>sys/syscall.hE<gt>> /* Definition of B<SYS_*> constants */\n"
129 "B<#include E<lt>unistd.hE<gt>>\n"
130 msgstr ""
131 "B<#include E<lt>linux/sched.hE<gt>> /* Definicja B<struct clone_args> */\n"
132 "B<#include E<lt>sched.hE<gt>> /* Definicja stałych B<CLONE_*> */\n"
133 "B<#include E<lt>sys/syscall.hE<gt>> /* Definicja stałych B<SYS_*> */\n"
134 "B<#include E<lt>unistd.hE<gt>>\n"
135
136 #. type: Plain text
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<long syscall(SYS_clone3, struct clone_args *>I<cl_args>B<, size_t >I<size>B<);>\n"
141 msgstr "B<long syscall(SYS_clone3, struct clone_args *>I<cl_args>B<, size_t >I<size>B<);>\n"
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 "I<Note>: glibc provides no wrapper for B<clone3>(), necessitating the use of "
148 "B<syscall>(2)."
149 msgstr ""
150 "I<Uwaga>: glibc nie udostępnia opakowania do B<clone3>(), zatem wymagane "
151 "jest użycie B<syscall>(2)."
152
153 #. type: SH
154 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
155 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
156 #, no-wrap
157 msgid "DESCRIPTION"
158 msgstr "OPIS"
159
160 #. type: Plain text
161 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
162 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
163 msgid ""
164 "These system calls create a new (\"child\") process, in a manner similar to "
165 "B<fork>(2)."
166 msgstr ""
167 "Niniejsze wywołania systemowe tworzą nowy proces (\\[Bq]potomny\\[rq]), w "
168 "sposób podobny do B<fork>(2)."
169
170 #. type: Plain text
171 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
172 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
173 msgid ""
174 "By contrast with B<fork>(2), these system calls provide more precise control "
175 "over what pieces of execution context are shared between the calling process "
176 "and the child process. For example, using these system calls, the caller "
177 "can control whether or not the two processes share the virtual address "
178 "space, the table of file descriptors, and the table of signal handlers. "
179 "These system calls also allow the new child process to be placed in separate "
180 "B<namespaces>(7)."
181 msgstr ""
182 "W przeciwieństwie do B<fork>(2), te wywołania systemowe udostępniają "
183 "precyzyjniejszą kontrolę wobec kontekstu wykonania, który jest dzielony "
184 "między procesem wywołującym a procesem potomnym. Przykładowo, za pomocą "
185 "niniejszych wywołań systemowych, wywołujący może kontrolować czy oba procesy "
186 "dzielą wirtualną przestrzeń adresową, tablicę deskryptorów pliku i tablicę "
187 "procedur obsługi sygnałów. Te wywołania systemowego umożliwiają również "
188 "umieszczenie procesu potomnego w oddzielnych przestrzeniach nazw (zob. "
189 "B<namespaces>(7))."
190
191 #. type: Plain text
192 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
193 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
194 msgid ""
195 "Note that in this manual page, \"calling process\" normally corresponds to "
196 "\"parent process\". But see the descriptions of B<CLONE_PARENT> and "
197 "B<CLONE_THREAD> below."
198 msgstr ""
199 "Proszę zauważyć, że w niniejszym podręczniku systemowym \\[Bq]proces "
200 "wywołujący\\[rq] odpowiada zwykle \\[Bq]procesowy macierzystemu\\[rq]. "
201 "Proszę jednak sprawdzić opisy B<CLONE_PARENT> i B<CLONE_THREAD> niżej."
202
203 #. type: Plain text
204 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
205 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
206 msgid "This page describes the following interfaces:"
207 msgstr "Niniejsza strona podręcznika opisuje następujące interfejsy:"
208
209 #. type: IP
210 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
211 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
212 #, no-wrap
213 msgid "\\[bu]"
214 msgstr "\\[bu]"
215
216 #. type: Plain text
217 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
218 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
219 msgid ""
220 "The glibc B<clone>() wrapper function and the underlying system call on "
221 "which it is based. The main text describes the wrapper function; the "
222 "differences for the raw system call are described toward the end of this "
223 "page."
224 msgstr ""
225 "Funkcję opakowującą B<clone>() z glibc i podległe wywołanie systemowe, w "
226 "oparciu o które działa. Główna część podręcznika opisuje funkcję "
227 "opakowującą; różnice w stosunku do surowego wywołania systemowego opisano "
228 "bliżej końca."
229
230 #. type: Plain text
231 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
232 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
233 msgid "The newer B<clone3>() system call."
234 msgstr "Nowsze wywołanie systemowe B<clone3>()."
235
236 #. type: Plain text
237 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
238 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
239 msgid ""
240 "In the remainder of this page, the terminology \"the clone call\" is used "
241 "when noting details that apply to all of these interfaces."
242 msgstr ""
243 "W pozostałej treści niniejszego podręcznika, pojęcie \\[Bq]wywołanie clone\\"
244 "[rq] lub \\[Bq]wywołanie klonowania\\[rq] używane jest przy opisywaniu "
245 "szczegółów odnoszących się do wszystkich tych interfejsów."
246
247 #. type: SS
248 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
249 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
250 #, no-wrap
251 msgid "The clone() wrapper function"
252 msgstr "Funkcja opakowująca clone()"
253
254 #. type: Plain text
255 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
256 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
257 msgid ""
258 "When the child process is created with the B<clone>() wrapper function, it "
259 "commences execution by calling the function pointed to by the argument "
260 "I<fn>. (This differs from B<fork>(2), where execution continues in the "
261 "child from the point of the B<fork>(2) call.) The I<arg> argument is "
262 "passed as the argument of the function I<fn>."
263 msgstr ""
264 "Gdy proces potomny tworzony jest za pomocą funkcji opakowującej B<clone>(), "
265 "rozpoczyna on wykonanie od wywołania funkcji, na którą wskazuje argument "
266 "I<fn> (różni się to od B<fork>(2), gdzie proces potomny kontynuuje wykonanie "
267 "od miejsca wywołania B<fork>(2)). Argument I<arg> jest przekazywany jako "
268 "argument do funkcji I<fn>."
269
270 #. type: Plain text
271 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
272 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
273 msgid ""
274 "When the I<fn>(I<arg>) function returns, the child process terminates. The "
275 "integer returned by I<fn> is the exit status for the child process. The "
276 "child process may also terminate explicitly by calling B<exit>(2) or after "
277 "receiving a fatal signal."
278 msgstr ""
279 "Gdy funkcja I<fn>(I<arg>) powróci, proces potomny kończy działanie. Liczba "
280 "całkowita zwrócona przez I<fn> jest statusem zakończenia procesu potomnego. "
281 "Proces potomny może również zakończyć się jawnie wołając B<exit>(2) lub po "
282 "otrzymaniu krytycznego sygnału."
283
284 #. type: Plain text
285 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
286 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
287 msgid ""
288 "The I<stack> argument specifies the location of the stack used by the child "
289 "process. Since the child and calling process may share memory, it is not "
290 "possible for the child process to execute in the same stack as the calling "
291 "process. The calling process must therefore set up memory space for the "
292 "child stack and pass a pointer to this space to B<clone>(). Stacks grow "
293 "downward on all processors that run Linux (except the HP PA processors), so "
294 "I<stack> usually points to the topmost address of the memory space set up "
295 "for the child stack. Note that B<clone>() does not provide a means whereby "
296 "the caller can inform the kernel of the size of the stack area."
297 msgstr ""
298 "Argument I<stack> określa położenie stosu używanego przez proces potomny. "
299 "Ponieważ potomek i proces wywołujący mogą współdzielić pamięć, nie jest "
300 "możliwe, aby proces potomny korzystał z tego samego stosu, co proces "
301 "wywołujący. Proces wywołujący musi więc przydzielić obszar pamięci "
302 "przeznaczony na stos potomka i przekazać wskaźnik do tego obszaru w "
303 "B<clone>. Stosy rosną w dół na wszystkich procesorach, na których działa "
304 "Linux (z wyjątkiem procesorów HP PA), więc I<stack> zazwyczaj wskazuje na "
305 "najwyższy adres obszaru pamięci zarezerwowanego na stos potomka. Proszę "
306 "zauważyć, że B<clone>() nie zapewnia mechanizmu, w którym wywołujący mógłby "
307 "poinformować jądro o wielkości obszaru stosu."
308
309 #. type: Plain text
310 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
311 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
312 msgid "The remaining arguments to B<clone>() are discussed below."
313 msgstr "Pozostałe argumenty B<clone>() opisano poniżej."
314
315 #. type: tbl table
316 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
317 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
318 #, no-wrap
319 msgid "clone3()"
320 msgstr "clone3()"
321
322 #. type: Plain text
323 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
324 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
325 msgid ""
326 "The B<clone3>() system call provides a superset of the functionality of the "
327 "older B<clone>() interface. It also provides a number of API improvements, "
328 "including: space for additional flags bits; cleaner separation in the use of "
329 "various arguments; and the ability to specify the size of the child's stack "
330 "area."
331 msgstr ""
332 "Wywołanie systemowe B<clone3>() udostępnia nadzbiór funkcjonalności wobec "
333 "starszego interfejsu B<clone>(). Zawiera również wiele usprawnień API m.in: "
334 "przestrzeń na dodatkowe bity znaczników, przejrzystszy podział stosowania "
335 "różnych argumentów oraz możliwość określenia rozmiaru przestrzeni stosu "
336 "procesu potomnego."
337
338 #. type: Plain text
339 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
340 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
341 msgid ""
342 "As with B<fork>(2), B<clone3>() returns in both the parent and the child. "
343 "It returns 0 in the child process and returns the PID of the child in the "
344 "parent."
345 msgstr ""
346 "Podobnie jak B<fork>(2), B<clone3>() powraca zarówno w procesie "
347 "macierzystym, jak i potomnym. Zwraca 0 do procesu potomnego, natomiast "
348 "procesowi macierzystemu zwraca PID procesu potomnego."
349
350 #. type: Plain text
351 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
352 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
353 msgid ""
354 "The I<cl_args> argument of B<clone3>() is a structure of the following form:"
355 msgstr ""
356 "Argumentem I<cl_args> B<clone3>() jest struktura w następującej postaci:"
357
358 #. type: Plain text
359 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
360 #: opensuse-tumbleweed
361 #, no-wrap
362 msgid ""
363 "struct clone_args {\n"
364 " u64 flags; /* Flags bit mask */\n"
365 " u64 pidfd; /* Where to store PID file descriptor\n"
366 " (\\f[I]int *\\fR) */\n"
367 " u64 child_tid; /* Where to store child TID,\n"
368 " in child\\[aq]s memory (\\f[I]pid_t *\\fR) */\n"
369 " u64 parent_tid; /* Where to store child TID,\n"
370 " in parent\\[aq]s memory (\\f[I]pid_t *\\fR) */\n"
371 " u64 exit_signal; /* Signal to deliver to parent on\n"
372 " child termination */\n"
373 " u64 stack; /* Pointer to lowest byte of stack */\n"
374 " u64 stack_size; /* Size of stack */\n"
375 " u64 tls; /* Location of new TLS */\n"
376 " u64 set_tid; /* Pointer to a \\f[I]pid_t\\fR array\n"
377 " (since Linux 5.5) */\n"
378 " u64 set_tid_size; /* Number of elements in \\f[I]set_tid\\fR\n"
379 " (since Linux 5.5) */\n"
380 " u64 cgroup; /* File descriptor for target cgroup\n"
381 " of child (since Linux 5.7) */\n"
382 "};\n"
383 msgstr ""
384 "struct clone_args {\n"
385 " u64 flags; /* Maska bitowa znaczników */\n"
386 " u64 pidfd; /* Gdzie przechowywać deskryptor pliku PID\n"
387 " (\\f[I]int *\\fR) */\n"
388 " u64 child_tid; /* Gdzie przechowywać TID p. potomnego,\n"
389 " w pamięci p. potomnego (\\f[I]pid_t *\\fR) */\n"
390 " u64 parent_tid; /* Gdzie przechowywać TID, w pamięci\n"
391 " procesu macierzystego (\\f[I]pid_t *\\fR) */\n"
392 " u64 exit_signal; /* Sygnał do dostarcz. przy zakończeniu\n"
393 " procesu potomnego */\n"
394 " u64 stack; /* Wskaźnik do najniższych bajtów stosu */\n"
395 " u64 stack_size; /* Rozmiar stosu */\n"
396 " u64 tls; /* Położenie nowego TLS */\n"
397 " u64 set_tid; /* Wskaźnik do tablicy \\f[I]pid_t\\fR\n"
398 " (od Linuksa 5.5) */\n"
399 " u64 set_tid_size; /* Liczba elementów w \\f[I]set_tid\\fR\n"
400 " (od Linuksa 5.5) */\n"
401 " u64 cgroup; /* Deskryptor pliku docelowej gr. kontr.\n"
402 " procesu potomnego (od Linuksa 5.7) */\n"
403 "};\n"
404
405 #. type: Plain text
406 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
407 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
408 msgid ""
409 "The I<size> argument that is supplied to B<clone3>() should be initialized "
410 "to the size of this structure. (The existence of the I<size> argument "
411 "permits future extensions to the I<clone_args> structure.)"
412 msgstr ""
413 "Argument I<size> dostarczany do B<clone3>() powinien być zainicjowany z "
414 "rozmiarem tej struktury (obecność argumentu I<size> pozwala na przyszłe "
415 "poszerzanie struktury I<clone_args>)."
416
417 #. type: Plain text
418 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
419 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
420 msgid ""
421 "The stack for the child process is specified via I<cl_args.stack>, which "
422 "points to the lowest byte of the stack area, and I<cl_args.stack_size>, "
423 "which specifies the size of the stack in bytes. In the case where the "
424 "B<CLONE_VM> flag (see below) is specified, a stack must be explicitly "
425 "allocated and specified. Otherwise, these two fields can be specified as "
426 "NULL and 0, which causes the child to use the same stack area as the parent "
427 "(in the child's own virtual address space)."
428 msgstr ""
429 "Stos procesu potomnego podaje się za pomocą I<cl_args.stack>, które wskazuje "
430 "na najniższe bajty w przestrzeni stosu oraz za pomocą I<cl_args.stack_size>, "
431 "które określa rozmiar stosu w bajtach. W przypadku gdy poda się znacznik "
432 "B<CLONE_VM> (zob. niżej), stos musi być jawnie zaalokowany i określony. W "
433 "przeciwnym przypadku, te dwa pola można podać jako NULL i 0, co powoduje "
434 "używanie przez proces potomny tej samej przestrzeni stosu, z jakiej korzysta "
435 "proces macierzysty (we własnej wirtualnej przestrzeni adresowej procesu "
436 "potomnego)."
437
438 #. type: Plain text
439 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
440 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
441 msgid "The remaining fields in the I<cl_args> argument are discussed below."
442 msgstr "Pozostałe pola argumentu I<cl_args> opisano niżej."
443
444 #. type: SS
445 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
446 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
447 #, no-wrap
448 msgid "Equivalence between clone() and clone3() arguments"
449 msgstr "Równoważność pomiędzy argumentami clone() i clone3()"
450
451 #. type: Plain text
452 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
453 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
454 msgid ""
455 "Unlike the older B<clone>() interface, where arguments are passed "
456 "individually, in the newer B<clone3>() interface the arguments are packaged "
457 "into the I<clone_args> structure shown above. This structure allows for a "
458 "superset of the information passed via the B<clone>() arguments."
459 msgstr ""
460 "W odróżnieniu do starszego interfejsu B<clone>(), którego argumenty są "
461 "przekazywane pojedynczo, w nowszym interfejsie B<clone3>() argumenty są "
462 "łączone w strukturze I<clone_args> pokazanej wyżej. Struktura pozwala na "
463 "przekazanie nadzbioru informacji, przekazywanych za pomocą argumentów "
464 "B<clone>()."
465
466 #. type: Plain text
467 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
468 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
469 msgid ""
470 "The following table shows the equivalence between the arguments of "
471 "B<clone>() and the fields in the I<clone_args> argument supplied to "
472 "B<clone3>():"
473 msgstr ""
474 "Poniższa tabela ukazuje równoważność pomiędzy argumentami B<clone>() i "
475 "polami w argumencie I<clone_args> przekazywanym B<clone3>():"
476
477 #. type: tbl table
478 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
479 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
480 #, no-wrap
481 msgid "clone()"
482 msgstr "clone()"
483
484 #. type: tbl table
485 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
486 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
487 #, no-wrap
488 msgid "Notes"
489 msgstr "Uwagi"
490
491 #. type: tbl table
492 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
493 #: opensuse-tumbleweed
494 #, no-wrap
495 msgid "\\f[I]cl_args\\fR field"
496 msgstr "pole \\f[I]cl_args\\fR"
497
498 #. type: tbl table
499 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
500 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
501 #, no-wrap
502 msgid "flags & \\[ti]0xff"
503 msgstr "flags & \\[ti]0xff"
504
505 #. type: tbl table
506 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
507 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
508 #, no-wrap
509 msgid "flags"
510 msgstr "flags"
511
512 #. type: tbl table
513 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
514 #: opensuse-tumbleweed
515 #, no-wrap
516 msgid ""
517 "For most flags;\n"
518 "details below"
519 msgstr ""
520 "Do większości znaczników;\n"
521 "szczegóły niżej"
522
523 #. type: tbl table
524 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
525 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
526 #, no-wrap
527 msgid "parent_tid"
528 msgstr "parent_tid"
529
530 #. type: tbl table
531 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
532 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
533 #, no-wrap
534 msgid "pidfd"
535 msgstr "pidfd"
536
537 #. type: tbl table
538 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
539 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
540 #, no-wrap
541 msgid "See CLONE_PIDFD"
542 msgstr "Zob. CLONE_PIDFD"
543
544 #. type: tbl table
545 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
546 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
547 #, no-wrap
548 msgid "child_tid"
549 msgstr "child_tid"
550
551 #. type: tbl table
552 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
553 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
554 #, no-wrap
555 msgid "See CLONE_CHILD_SETTID"
556 msgstr "Zob. CLONE_CHILD_SETTID"
557
558 #. type: tbl table
559 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
560 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
561 #, no-wrap
562 msgid "See CLONE_PARENT_SETTID"
563 msgstr "Zob. CLONE_PARENT_SETTID"
564
565 #. type: tbl table
566 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
567 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
568 #, no-wrap
569 msgid "flags & 0xff"
570 msgstr "flags & 0xff"
571
572 #. type: tbl table
573 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
574 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
575 #, no-wrap
576 msgid "exit_signal"
577 msgstr "exit_signal"
578
579 #. type: tbl table
580 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
581 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
582 #, no-wrap
583 msgid "stack"
584 msgstr "stack"
585
586 #. type: tbl table
587 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
588 #: opensuse-tumbleweed
589 #, no-wrap
590 msgid "\\f[R]---\\fR"
591 msgstr "\\f[R]---\\fR"
592
593 #. type: tbl table
594 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
595 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
596 #, no-wrap
597 msgid "stack_size"
598 msgstr "stack_size"
599
600 #. type: tbl table
601 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
602 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
603 #, no-wrap
604 msgid "tls"
605 msgstr "tls"
606
607 #. type: tbl table
608 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
609 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
610 #, no-wrap
611 msgid "See CLONE_SETTLS"
612 msgstr "Zob. CLONE_SETTLS"
613
614 #. type: tbl table
615 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
616 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
617 #, no-wrap
618 msgid "set_tid"
619 msgstr "set_tid"
620
621 #. type: tbl table
622 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
623 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
624 #, no-wrap
625 msgid "See below for details"
626 msgstr "Zob. niżej aby poznać szczegóły"
627
628 #. type: tbl table
629 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
630 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
631 #, no-wrap
632 msgid "set_tid_size"
633 msgstr "set_tid_size"
634
635 #. type: tbl table
636 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
637 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
638 #, no-wrap
639 msgid "cgroup"
640 msgstr "cgroup"
641
642 #. type: tbl table
643 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
644 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
645 #, no-wrap
646 msgid "See CLONE_INTO_CGROUP"
647 msgstr "Zob. CLONE_INTO_CGROUP"
648
649 #. type: SS
650 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
651 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
652 #, no-wrap
653 msgid "The child termination signal"
654 msgstr "Sygnał zakończenia potomka"
655
656 #. type: Plain text
657 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
658 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
659 msgid ""
660 "When the child process terminates, a signal may be sent to the parent. The "
661 "termination signal is specified in the low byte of I<flags> (B<clone>()) or "
662 "in I<cl_args.exit_signal> (B<clone3>()). If this signal is specified as "
663 "anything other than B<SIGCHLD>, then the parent process must specify the "
664 "B<__WALL> or B<__WCLONE> options when waiting for the child with "
665 "B<wait>(2). If no signal (i.e., zero) is specified, then the parent process "
666 "is not signaled when the child terminates."
667 msgstr ""
668 "Gdy proces potomny zostanie zakończony, do rodzica może być wysłany sygnał. "
669 "Sygnał zakończenia jest określany niższym bajtem I<flags> (B<clone>()) lub "
670 "I<cl_args.exit_signal> (B<clone3>()). Jeśli określono inny sygnał niż "
671 "B<SIGCHLD>, to proces macierzysty musi podać opcję B<__WALL> lub B<__WCLONE> "
672 "czekając na potomka w B<wait>(2). Gdy sygnał nie zostanie określony (tj. "
673 "podano zero), to proces macierzysty nie zostanie zawiadomiony o zakończeniu "
674 "pracy potomka."
675
676 #. type: SS
677 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
678 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
679 #, no-wrap
680 msgid "The set_tid array"
681 msgstr "Tablica set_tid"
682
683 #. type: Plain text
684 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
685 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
686 msgid ""
687 "By default, the kernel chooses the next sequential PID for the new process "
688 "in each of the PID namespaces where it is present. When creating a process "
689 "with B<clone3>(), the I<set_tid> array (available since Linux 5.5) can be "
690 "used to select specific PIDs for the process in some or all of the PID "
691 "namespaces where it is present. If the PID of the newly created process "
692 "should be set only for the current PID namespace or in the newly created PID "
693 "namespace (if I<flags> contains B<CLONE_NEWPID>) then the first element in "
694 "the I<set_tid> array has to be the desired PID and I<set_tid_size> needs to "
695 "be 1."
696 msgstr ""
697 "Domyślnie, jądro wybiera następny numer PID dla nowego procesu, w każdej "
698 "przestrzeni nazw PID, w której jest on obecny. Przy tworzeniu procesu za "
699 "pomocą B<clone3>(), tablicę I<set_tid> (dostępną od Linuksa 5.5) można użyć "
700 "do wybrania konkretnych PID-ów w niektórych lub we wszystkich przestrzeniach "
701 "nazw PID, w których jest on obecny. Jeśli PID nowo tworzonego procesu ma być "
702 "ustawiony tylko w bieżącej przestrzeni nazw PID lub w nowo tworzonej "
703 "przestrzeni nazw PID (jeśli I<flags> zawiera B<CLONE_NEWPID>), to pierwszym "
704 "elementem w tablicy I<set_tid> musi być żądany PID, a I<set_tid_size> musi "
705 "wynosić 1."
706
707 #. type: Plain text
708 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
709 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
710 msgid ""
711 "If the PID of the newly created process should have a certain value in "
712 "multiple PID namespaces, then the I<set_tid> array can have multiple "
713 "entries. The first entry defines the PID in the most deeply nested PID "
714 "namespace and each of the following entries contains the PID in the "
715 "corresponding ancestor PID namespace. The number of PID namespaces in which "
716 "a PID should be set is defined by I<set_tid_size> which cannot be larger "
717 "than the number of currently nested PID namespaces."
718 msgstr ""
719 "Jeśli PID nowo tworzonego procesu ma mieć określoną wartość w wielu "
720 "przestrzeniach nazw PID, to tablica I<set_tid> może zawierać wiele wpisów. "
721 "Pierwszy wpis definiuje PID najbardziej zagnieżdżonej przestrzeni nazw PID, "
722 "a każdy kolejny zawiera PID w odpowiadającej przestrzeni nazw PID przodka. "
723 "Liczba przestrzeni nazw PID, w której PID ma być ustawiony, jest definiowana "
724 "przez I<set_tid_size>, które nie może być większe od liczby aktualnie "
725 "zagnieżdżonych przestrzeni nazw."
726
727 #. type: Plain text
728 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
729 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
730 msgid ""
731 "To create a process with the following PIDs in a PID namespace hierarchy:"
732 msgstr ""
733 "Aby utworzyć proces z następującymi PID-ami w hierarchii przestrzeni nazw "
734 "PID:"
735
736 #. type: tbl table
737 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
738 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
739 #, no-wrap
740 msgid "PID NS level"
741 msgstr "Poziom zagn. PID"
742
743 #. type: tbl table
744 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
745 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
746 #, no-wrap
747 msgid "Requested PID"
748 msgstr "Żądany PID"
749
750 #. type: tbl table
751 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
752 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
753 #, no-wrap
754 msgid "0"
755 msgstr "0"
756
757 #. type: tbl table
758 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
759 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
760 #, no-wrap
761 msgid "31496"
762 msgstr "31496"
763
764 #. type: tbl table
765 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
766 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
767 #, no-wrap
768 msgid "Outermost PID namespace"
769 msgstr "Najbardziej zewnętrzna p. n. PID"
770
771 #. type: tbl table
772 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
773 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
774 #, no-wrap
775 msgid "1"
776 msgstr "1"
777
778 #. type: tbl table
779 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
780 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
781 #, no-wrap
782 msgid "42"
783 msgstr "42"
784
785 #. type: tbl table
786 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
787 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
788 #, no-wrap
789 msgid "2"
790 msgstr "2"
791
792 #. type: tbl table
793 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
794 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
795 #, no-wrap
796 msgid "7"
797 msgstr "7"
798
799 #. type: tbl table
800 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
801 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
802 #, no-wrap
803 msgid "Innermost PID namespace"
804 msgstr "Najbardziej wewnętrzna p. n. PID"
805
806 #. type: Plain text
807 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
808 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
809 msgid "Set the array to:"
810 msgstr "Należy ustawić tablicę na"
811
812 #. type: Plain text
813 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
814 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
815 #, no-wrap
816 msgid ""
817 "set_tid[0] = 7;\n"
818 "set_tid[1] = 42;\n"
819 "set_tid[2] = 31496;\n"
820 "set_tid_size = 3;\n"
821 msgstr ""
822 "set_tid[0] = 7;\n"
823 "set_tid[1] = 42;\n"
824 "set_tid[2] = 31496;\n"
825 "set_tid_size = 3;\n"
826
827 #. type: Plain text
828 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
829 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
830 msgid ""
831 "If only the PIDs in the two innermost PID namespaces need to be specified, "
832 "set the array to:"
833 msgstr ""
834 "Jeśli mają być określone jedynie PID-y w dwóch najbardziej wewnętrznych "
835 "przestrzeniach nazw PID, należy ustawić tablicę na:"
836
837 #. type: Plain text
838 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
839 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
840 #, no-wrap
841 msgid ""
842 "set_tid[0] = 7;\n"
843 "set_tid[1] = 42;\n"
844 "set_tid_size = 2;\n"
845 msgstr ""
846 "set_tid[0] = 7;\n"
847 "set_tid[1] = 42;\n"
848 "set_tid_size = 2;\n"
849
850 #. type: Plain text
851 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
852 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
853 msgid ""
854 "The PID in the PID namespaces outside the two innermost PID namespaces is "
855 "selected the same way as any other PID is selected."
856 msgstr ""
857 "PID w przestrzeni nazw PID poza dwoma najbardziej wewnętrznymi "
858 "przestrzeniami nazw PID jest wybierany w ten sam sposób, jak inne PID-y."
859
860 #. commit 124ea650d3072b005457faed69909221c2905a1f
861 #. commit 1caef81da05a84a40dbf02110e967ce6d1135ff6
862 #. type: Plain text
863 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
864 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
865 msgid ""
866 "The I<set_tid> feature requires B<CAP_SYS_ADMIN> or (since Linux 5.9) "
867 "B<CAP_CHECKPOINT_RESTORE> in all owning user namespaces of the target PID "
868 "namespaces."
869 msgstr ""
870 "Funkcja I<set_tid> wymaga przywileju (ang. capability) B<CAP_SYS_ADMIN> lub "
871 "(od Linuksa 5.9) B<CAP_CHECKPOINT_RESTORE> we wszystkich posiadanych "
872 "przestrzeniach nazw użytkownika, w których PID ma być zmieniany."
873
874 #. type: Plain text
875 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
876 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
877 msgid ""
878 "Callers may only choose a PID greater than 1 in a given PID namespace if an "
879 "B<init> process (i.e., a process with PID 1) already exists in that "
880 "namespace. Otherwise the PID entry for this PID namespace must be 1."
881 msgstr ""
882 "Wywołujący mogą wybrać PID większy od 1 jedynie, gdy w danej przestrzeni "
883 "nazw PID istnieje już proces B<init> (tj. proces z PID 1). W przeciwnym "
884 "przypadku, wpis PID dla tej przestrzeni nazw musi wynosić 1."
885
886 #. type: SS
887 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
888 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
889 #, no-wrap
890 msgid "The flags mask"
891 msgstr "Maska znaczników"
892
893 #. type: Plain text
894 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
895 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
896 msgid ""
897 "Both B<clone>() and B<clone3>() allow a flags bit mask that modifies their "
898 "behavior and allows the caller to specify what is shared between the calling "
899 "process and the child process. This bit mask\\[em]the I<flags> argument of "
900 "B<clone>() or the I<cl_args.flags> field passed to B<clone3>()\\[em]is "
901 "referred to as the I<flags> mask in the remainder of this page."
902 msgstr ""
903 "B<clone>() i B<clone3>() umożliwiają użycie maski bitowej znaczników, które "
904 "modyfikują ich zachowanie i pozwalają wywołującemu na określenie tego, co ma "
905 "być dzielone między procesem wywołującym a potomnym. Maska bitowa \\[em] "
906 "argument I<flags> B<clone>() lub pole I<cl_args.flags> przekazywane do "
907 "B<clone3>() \\[em] jest nazywana w pozostałem części niniejszego podręcznika "
908 "maską I<flags>."
909
910 #. type: Plain text
911 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
912 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
913 msgid ""
914 "The I<flags> mask is specified as a bitwise OR of zero or more of the "
915 "constants listed below. Except as noted below, these flags are available "
916 "(and have the same effect) in both B<clone>() and B<clone3>()."
917 msgstr ""
918 "Maskę I<flags> można podać jako sumę bitową (OR) zera lub więcej z "
919 "poniższych zmiennych. Poza wskazanymi wyjątkami, znaczniki te są dostępne (i "
920 "mają takie samo zastosowanie) w B<clone>() i B<clone3>()."
921
922 #. type: TP
923 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
924 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
925 #, no-wrap
926 msgid "B<CLONE_CHILD_CLEARTID> (since Linux 2.5.49)"
927 msgstr "B<CLONE_CHILD_CLEARTID> (od Linuksa 2.5.49)"
928
929 #. type: Plain text
930 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
931 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
932 msgid ""
933 "Clear (zero) the child thread ID at the location pointed to by I<child_tid> "
934 "(B<clone>()) or I<cl_args.child_tid> (B<clone3>()) in child memory when "
935 "the child exits, and do a wakeup on the futex at that address. The address "
936 "involved may be changed by the B<set_tid_address>(2) system call. This is "
937 "used by threading libraries."
938 msgstr ""
939 "Czyści (zeruje) identyfikator wątku potomnego w położeniu, na które wskazuje "
940 "I<child_tid> (B<clone>()) lub I<cl_args.child_tid> (B<clone3>()) w pamięci "
941 "potomka, gdy potomek istnieje i wybudza zatrzask (mutex) pod tym adresem. "
942 "Adres można zmienić wywołaniem systemowym B<set_tid_address>(2). Używane "
943 "przez biblioteki związane z wątkami."
944
945 #. type: TP
946 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
947 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
948 #, no-wrap
949 msgid "B<CLONE_CHILD_SETTID> (since Linux 2.5.49)"
950 msgstr "B<CLONE_CHILD_SETTID> (od Linuksa 2.5.49)"
951
952 #. type: Plain text
953 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
954 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
955 msgid ""
956 "Store the child thread ID at the location pointed to by I<child_tid> "
957 "(B<clone>()) or I<cl_args.child_tid> (B<clone3>()) in the child's memory. "
958 "The store operation completes before the clone call returns control to user "
959 "space in the child process. (Note that the store operation may not have "
960 "completed before the clone call returns in the parent process, which is "
961 "relevant if the B<CLONE_VM> flag is also employed.)"
962 msgstr ""
963 "Przechowuje identyfikator wątku potomnego w położeniu, na które wskazuje "
964 "I<child_tid> (B<clone>()) lub I<cl_args.child_tid> (B<clone3>()) w pamięci "
965 "potomka. Operacja przechowania kończy się przed zwróceniem kontroli przez "
966 "wywołanie clone do przestrzeni użytkownika w procesie potomnym (proszę "
967 "zauważyć, że operacja przechowania może nie zakończyć się przed powrotem "
968 "przez wywołanie clone do procesu macierzystego, co ma znaczenie, jeśli używa "
969 "się również znacznika B<CLONE_VM>)."
970
971 #. type: TP
972 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
973 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
974 #, no-wrap
975 msgid "B<CLONE_CLEAR_SIGHAND> (since Linux 5.5)"
976 msgstr "B<CLONE_CLEAR_SIGHAND> (od Linuksa 5.5)"
977
978 #. commit b612e5df4587c934bd056bf05f4a1deca4de4f75
979 #. type: Plain text
980 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
981 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
982 msgid ""
983 "By default, signal dispositions in the child thread are the same as in the "
984 "parent. If this flag is specified, then all signals that are handled in the "
985 "parent (and not set to B<SIG_IGN>) are reset to their default dispositions "
986 "(B<SIG_DFL>) in the child."
987 msgstr ""
988 "Domyślnie, dyspozycje sygnału w wątku potomnym są takie same jak w wątku "
989 "macierzystym. Przy podaniu tego znacznika, wszystkie sygnały, które są "
990 "obsługiwane przez wątek macierzysty (i nie ustawione na B<SIG_IGN>) są "
991 "resetowane do swych domyślnych dyspozycji (B<SIG_DFL>) w potomku."
992
993 #. type: Plain text
994 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
995 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
996 msgid ""
997 "Specifying this flag together with B<CLONE_SIGHAND> is nonsensical and "
998 "disallowed."
999 msgstr ""
1000 "Podanie tego znacznika razem z B<CLONE_SIGHAND> jest bezsensowne i "
1001 "niedozwolone."
1002
1003 #. type: TP
1004 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1005 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1006 #, no-wrap
1007 msgid "B<CLONE_DETACHED> (historical)"
1008 msgstr "B<CLONE_DETACHED> (historyczny)"
1009
1010 #. added in Linux 2.5.32; removed in Linux 2.6.0-test4
1011 #. type: Plain text
1012 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
1013 #: opensuse-leap-16-1 opensuse-tumbleweed
1014 msgid ""
1015 "For a while (during the Linux 2.5 development series) there was a "
1016 "B<CLONE_DETACHED> flag, which caused the parent not to receive a signal when "
1017 "the child terminated. Ultimately, the effect of this flag was subsumed "
1018 "under the B<CLONE_THREAD> flag and by the time Linux 2.6.0 was released, "
1019 "this flag had no effect. Since Linux 2.6.2, the need to give this flag "
1020 "together with B<CLONE_THREAD> disappeared."
1021 msgstr ""
1022 "Przez pewien czas (w trakcie serii rozwojowej Linuksa 2.5) istniał znacznik "
1023 "B<CLONE_DETACHED>, który powodował nieotrzymywanie przez rodzica sygnału "
1024 "przy przerwaniu potomka. Ostatecznie, efekt tego znacznika został włączony "
1025 "do znacznika B<CLONE_THREAD> i w momencie wydania Linuksa 2.6.0, znacznik "
1026 "już nie działał. Począwszy od Linuksa 2.6.2, potrzeba podawania tego "
1027 "znacznika razem z B<CLONE_THREAD> zanikła."
1028
1029 #. type: Plain text
1030 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1031 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1032 msgid ""
1033 "This flag is still defined, but it is usually ignored when calling "
1034 "B<clone>(). However, see the description of B<CLONE_PIDFD> for some "
1035 "exceptions."
1036 msgstr ""
1037 "Znacznik jest wciąż zdefiniowany, lecz z reguły jest ignorowany przy "
1038 "wywoływaniu B<clone>(). Pewne wyjątki opisano przy znaczniku B<CLONE_PIDFD>."
1039
1040 #. type: TP
1041 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1042 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1043 #, no-wrap
1044 msgid "B<CLONE_FILES> (since Linux 2.0)"
1045 msgstr "B<CLONE_FILES> (od Linuksa 2.0)"
1046
1047 #. type: Plain text
1048 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1049 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1050 msgid ""
1051 "If B<CLONE_FILES> is set, the calling process and the child process share "
1052 "the same file descriptor table. Any file descriptor created by the calling "
1053 "process or by the child process is also valid in the other process. "
1054 "Similarly, if one of the processes closes a file descriptor, or changes its "
1055 "associated flags (using the B<fcntl>(2) B<F_SETFD> operation), the other "
1056 "process is also affected. If a process sharing a file descriptor table "
1057 "calls B<execve>(2), its file descriptor table is duplicated (unshared)."
1058 msgstr ""
1059 "Jeśli B<CLONE_FILES> będzie ustawione, to proces wywołujący i proces potomny "
1060 "będą współdzielić tablicę deskryptorów plików. Dowolny deskryptor pliku "
1061 "utworzony przez proces wywołujący, jak też przez proces potomny będzie "
1062 "obowiązywać również w drugim procesie. Podobnie, jeśli jeden z procesów "
1063 "zamknie deskryptor pliku lub zmieni stowarzyszone z nim znaczniki (za pomocą "
1064 "operacji B<F_SETFD> B<fcntl>(2)), będzie to obowiązywać również w drugim "
1065 "procesie. Jeśli proces dzielący tablicę deskryptorów pliku wywoła "
1066 "B<execve>(2), to jego tablica deskryptorów pliku zostanie zduplikowana "
1067 "(przestanie być współdzielona)."
1068
1069 #. type: Plain text
1070 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1071 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1072 msgid ""
1073 "If B<CLONE_FILES> is not set, the child process inherits a copy of all file "
1074 "descriptors opened in the calling process at the time of the clone call. "
1075 "Subsequent operations that open or close file descriptors, or change file "
1076 "descriptor flags, performed by either the calling process or the child "
1077 "process do not affect the other process. Note, however, that the duplicated "
1078 "file descriptors in the child refer to the same open file descriptions as "
1079 "the corresponding file descriptors in the calling process, and thus share "
1080 "file offsets and file status flags (see B<open>(2))."
1081 msgstr ""
1082 "Jeśli B<CLONE_FILES> nie zostanie ustawione, to proces potomny odziedziczy "
1083 "kopię wszystkich deskryptorów plików otwartych w procesie macierzystym w "
1084 "chwili wywołania klonowania. Kolejne operacja otwierające lub zamykające "
1085 "deskryptory pliku przeprowadzone później przez proces wywołujący lub przez "
1086 "proces potomny nie będą miały wpływu na drugi proces. Proszę jednak "
1087 "zauważyć, że zduplikowane deskryptory pliku w potomku odnoszą się tych samym "
1088 "opisów otwartego pliku (ODF) jak odpowiadające im deskryptory pliku w "
1089 "procesie wywołującym; będą zatem dzielić przesunięcie pliku i znaczniki "
1090 "statusu pliku (zob. B<open>(2))."
1091
1092 #. type: TP
1093 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1094 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1095 #, no-wrap
1096 msgid "B<CLONE_FS> (since Linux 2.0)"
1097 msgstr "B<CLONE_FS> (od Linuksa 2.0)"
1098
1099 #. type: Plain text
1100 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1101 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1102 msgid ""
1103 "If B<CLONE_FS> is set, the caller and the child process share the same "
1104 "filesystem information. This includes the root of the filesystem, the "
1105 "current working directory, and the umask. Any call to B<chroot>(2), "
1106 "B<chdir>(2), or B<umask>(2) performed by the calling process or the child "
1107 "process also affects the other process."
1108 msgstr ""
1109 "Jeśli ustawione będzie B<CLONE_FS>, to wywołujący i proces potomny będą "
1110 "współdzielić informacje o systemie plików. Informacje te obejmują katalog "
1111 "główny systemu plików, bieżący katalog roboczy i umaskę. Dowolne z wywołań "
1112 "B<chroot>(2), B<chdir>(2) lub B<umask>(2) wykonane przez proces wywołujący "
1113 "lub proces potomny będzie wpływać również na drugi proces."
1114
1115 #. type: Plain text
1116 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1117 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1118 msgid ""
1119 "If B<CLONE_FS> is not set, the child process works on a copy of the "
1120 "filesystem information of the calling process at the time of the clone "
1121 "call. Calls to B<chroot>(2), B<chdir>(2), or B<umask>(2) performed later "
1122 "by one of the processes do not affect the other process."
1123 msgstr ""
1124 "Jeśli B<CLONE_FS> nie zostanie ustawione, to proces potomny będzie pracować "
1125 "na kopii informacji o systemie plików procesu wywołującego z chwili "
1126 "wywołania klonowania. Wywołania B<chroot>(2), B<chdir>(2) lub B<umask>(2) "
1127 "wykonane później przez jeden z procesów nie będą mieć wpływu na drugi proces."
1128
1129 #. type: TP
1130 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1131 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1132 #, no-wrap
1133 msgid "B<CLONE_INTO_CGROUP> (since Linux 5.7)"
1134 msgstr "B<CLONE_INTO_CGROUP> (od Linuksa 5.7)"
1135
1136 #. commit ef2c41cf38a7559bbf91af42d5b6a4429db8fc68
1137 #. type: Plain text
1138 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1139 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1140 msgid ""
1141 "By default, a child process is placed in the same version 2 cgroup as its "
1142 "parent. The B<CLONE_INTO_CGROUP> flag allows the child process to be "
1143 "created in a different version 2 cgroup. (Note that B<CLONE_INTO_CGROUP> "
1144 "has effect only for version 2 cgroups.)"
1145 msgstr ""
1146 "Domyślnie, proces potomny jest umieszczany w tej samej grupie kontrolnej "
1147 "(cgroup) w wersji 2, jak rodzic. Znacznik B<CLONE_INTO_CGROUP> pozwala na "
1148 "utworzenie procesu potomnego w innej grupie kontrolnej w wersji 2 (proszę "
1149 "zauważyć, że B<CLONE_INTO_CGROUP> dotyczy tylko grup kontrolnych w wersji 2)."
1150
1151 #. type: Plain text
1152 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1153 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1154 msgid ""
1155 "In order to place the child process in a different cgroup, the caller "
1156 "specifies B<CLONE_INTO_CGROUP> in I<cl_args.flags> and passes a file "
1157 "descriptor that refers to a version 2 cgroup in the I<cl_args.cgroup> "
1158 "field. (This file descriptor can be obtained by opening a cgroup v2 "
1159 "directory using either the B<O_RDONLY> or the B<O_PATH> flag.) Note that "
1160 "all of the usual restrictions (described in B<cgroups>(7)) on placing a "
1161 "process into a version 2 cgroup apply."
1162 msgstr ""
1163 "Aby umieścić proces potomny w innej grupie kontrolnej, wywołujący określa "
1164 "B<CLONE_INTO_CGROUP> w I<cl_args.flags> i przekazuje deskryptor pliku, który "
1165 "odnosi się do grupy kontrolnej w wersji 2 w polu I<cl_args.cgroup> (ten "
1166 "deskryptor pliku można uzyskać otwierając katalog grupy kontrolnej v2, za "
1167 "pomocą znacznika B<O_RDONLY> lub B<O_PATH>). Proszę zauważyć, że obowiązują "
1168 "wszystkie zwykłe ograniczenia na umieszczanie procesu w grupie kontrolnej w "
1169 "wersji 2 (opisane w B<cgroups>(7))."
1170
1171 #. type: Plain text
1172 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1173 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1174 msgid ""
1175 "Among the possible use cases for B<CLONE_INTO_CGROUP> are the following:"
1176 msgstr "Pośród możliwych zastosowań B<CLONE_INTO_CGROUP> są następujące:"
1177
1178 #. type: Plain text
1179 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1180 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1181 msgid ""
1182 "Spawning a process into a cgroup different from the parent's cgroup makes it "
1183 "possible for a service manager to directly spawn new services into dedicated "
1184 "cgroups. This eliminates the accounting jitter that would be caused if the "
1185 "child process was first created in the same cgroup as the parent and then "
1186 "moved into the target cgroup. Furthermore, spawning the child process "
1187 "directly into a target cgroup is significantly cheaper than moving the child "
1188 "process into the target cgroup after it has been created."
1189 msgstr ""
1190 "Utworzenie procesu w grupie kontrolnej innej niż grupa kontrolna rodzica, "
1191 "umożliwia menedżerowi usług bezpośrednie tworzenie nowych usług w "
1192 "oddzielnych grupach kontrolnych. Eliminuje się w ten sposób narzut "
1193 "księgowania, który spowodowany byłby tworzeniem procesu potomnego pierwotnie "
1194 "w tej samej grupie kontrolnej co rodzic, a dopiero później przenoszenie go "
1195 "do docelowej grupy kontrolnej. Co więcej, tworzenie procesu potomnego od "
1196 "razu w docelowej grupie kontrolnej jest zdecydowanie tańsze, niż "
1197 "przenoszenie procesu potomnego do docelowej grupy kontrolnej dopiero po "
1198 "utworzeniu."
1199
1200 #. type: Plain text
1201 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1202 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1203 msgid ""
1204 "The B<CLONE_INTO_CGROUP> flag also allows the creation of frozen child "
1205 "processes by spawning them into a frozen cgroup. (See B<cgroups>(7) for a "
1206 "description of the freezer controller.)"
1207 msgstr ""
1208 "Znacznik B<CLONE_INTO_CGROUP> pozwala również na utworzenie zamrożonego "
1209 "procesu potomnego, przez utworzenie go w zamrożonej grupie kontrolnej (zob. "
1210 "B<cgroups>(7) aby dowiedzieć się więcej o kontrolerze freezer)."
1211
1212 #. type: Plain text
1213 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1214 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1215 msgid ""
1216 "For threaded applications (or even thread implementations which make use of "
1217 "cgroups to limit individual threads), it is possible to establish a fixed "
1218 "cgroup layout before spawning each thread directly into its target cgroup."
1219 msgstr ""
1220 "W przypadku aplikacji korzystających z wątków (lub choćby implementacji "
1221 "wątków korzystających z grup kontrolnych do limitowania poszczególnych "
1222 "wątków), da się ustanowić ustalony schemat grupy kontrolnej, przed "
1223 "utworzeniem każdego wątku bezpośrednio w jego docelowej grupie kontrolnej."
1224
1225 #. type: TP
1226 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1227 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1228 #, no-wrap
1229 msgid "B<CLONE_IO> (since Linux 2.6.25)"
1230 msgstr "B<CLONE_IO> (od Linuksa 2.6.25)"
1231
1232 #. type: Plain text
1233 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1234 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1235 msgid ""
1236 "If B<CLONE_IO> is set, then the new process shares an I/O context with the "
1237 "calling process. If this flag is not set, then (as with B<fork>(2)) the "
1238 "new process has its own I/O context."
1239 msgstr ""
1240 "Jeśli B<CLONE_IO> jest ustawiony, to nowy proces dzieli kontekst wejścia/"
1241 "wyjścia z procesem wywołującym. Jeśli znacznik nie jest ustawiony, to (jak "
1242 "przy B<fork>(2)) nowy proces posiada swój kontekst wejścia/wyjścia."
1243
1244 #. The following based on text from Jens Axboe
1245 #. the anticipatory and CFQ scheduler
1246 #. with CFQ and AS.
1247 #. type: Plain text
1248 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1249 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1250 msgid ""
1251 "The I/O context is the I/O scope of the disk scheduler (i.e., what the I/O "
1252 "scheduler uses to model scheduling of a process's I/O). If processes share "
1253 "the same I/O context, they are treated as one by the I/O scheduler. As a "
1254 "consequence, they get to share disk time. For some I/O schedulers, if two "
1255 "processes share an I/O context, they will be allowed to interleave their "
1256 "disk access. If several threads are doing I/O on behalf of the same process "
1257 "(B<aio_read>(3), for instance), they should employ B<CLONE_IO> to get better "
1258 "I/O performance."
1259 msgstr ""
1260 "Kontekst wejścia/wyjścia (we/wy) jest zakresem we/wy planisty dysku (tj. "
1261 "tym, co planista we/wy używa do planowania we/wy procesu). Jeśli procesy "
1262 "dzielą ten sam kontekst we/wy, to są traktowane jako jedność przez planistę "
1263 "we/wy. Muszą zatem dzielić czas dysku. W przypadku pewnych planistów we/wy, "
1264 "jeśli dwa procesy dzielą kontekst we/wy, to pozwala się im na przeplatanie "
1265 "dostępu do dysku. Jeśli wiele wątków korzysta z we/wy w imieniu jakiegoś "
1266 "procesu (np. B<aio_read>(3)), to aby uzyskać lepszą wydajność wejścia/"
1267 "wyjścia, powinny korzystać z B<CLONE_IO>."
1268
1269 #. type: Plain text
1270 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1271 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1272 msgid ""
1273 "If the kernel is not configured with the B<CONFIG_BLOCK> option, this flag "
1274 "is a no-op."
1275 msgstr ""
1276 "Jeśli jądra nie skonfigurowano z opcją B<CONFIG_BLOCK>, to ten znacznik nie "
1277 "daje żadnego efektu."
1278
1279 #. type: TP
1280 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1281 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1282 #, no-wrap
1283 msgid "B<CLONE_NEWCGROUP> (since Linux 4.6)"
1284 msgstr "B<CLONE_NEWCGROUP> (od Linuksa 4.6)"
1285
1286 #. type: Plain text
1287 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1288 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1289 msgid ""
1290 "Create the process in a new cgroup namespace. If this flag is not set, then "
1291 "(as with B<fork>(2)) the process is created in the same cgroup namespaces "
1292 "as the calling process."
1293 msgstr ""
1294 "Tworzy proces w nowej przestrzeni nazw cgroup. Jeśli znacznik nie jest "
1295 "ustawiony (jak w przypadku B<fork>(2)), to proces jest tworzony w tej samej "
1296 "przestrzeni nazw cgroup, co proces wywołujący."
1297
1298 #. type: Plain text
1299 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1300 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1301 msgid ""
1302 "For further information on cgroup namespaces, see B<cgroup_namespaces>(7)."
1303 msgstr ""
1304 "Więcej informacji o przestrzeniach nazw cgroup znajduje się w podręczniku "
1305 "B<cgroup_namespaces>(7)."
1306
1307 #. type: Plain text
1308 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1309 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1310 msgid ""
1311 "Only a privileged process (B<CAP_SYS_ADMIN>) can employ B<CLONE_NEWCGROUP>."
1312 msgstr ""
1313 "Jedynie proces uprzywilejowany (B<CAP_SYS_ADMIN>) może użyć "
1314 "B<CLONE_NEWCGROUP>."
1315
1316 #. type: TP
1317 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1318 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1319 #, no-wrap
1320 msgid "B<CLONE_NEWIPC> (since Linux 2.6.19)"
1321 msgstr "B<CLONE_NEWIPC> (od Linuksa 2.6.19)"
1322
1323 #. type: Plain text
1324 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1325 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1326 msgid ""
1327 "If B<CLONE_NEWIPC> is set, then create the process in a new IPC namespace. "
1328 "If this flag is not set, then (as with B<fork>(2)), the process is created "
1329 "in the same IPC namespace as the calling process."
1330 msgstr ""
1331 "Jeśli B<CLONE_NEWIPC> jest ustawiony, to proces jest tworzony w nowej "
1332 "przestrzeni nazw IPC. Jeśli znacznik nie jest ustawiony (jak w przypadku "
1333 "B<fork>(2)), to proces jest tworzony w tej samej przestrzeni nazw IPC, co "
1334 "proces wywołujący."
1335
1336 #. type: Plain text
1337 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1338 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1339 msgid "For further information on IPC namespaces, see B<ipc_namespaces>(7)."
1340 msgstr ""
1341 "Więcej informacji o przestrzeniach nazw IPC znajduje się w podręczniku "
1342 "B<ipc_namespaces>(7)."
1343
1344 #. type: Plain text
1345 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1346 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1347 msgid ""
1348 "Only a privileged process (B<CAP_SYS_ADMIN>) can employ B<CLONE_NEWIPC>. "
1349 "This flag can't be specified in conjunction with B<CLONE_SYSVSEM>."
1350 msgstr ""
1351 "Jedynie proces uprzywilejowany (B<CAP_SYS_ADMIN>) może użyć B<CLONE_NEWIPC>. "
1352 "Niniejszy znacznik nie może być podany razem z B<CLONE_SYSVSEM>."
1353
1354 #. type: TP
1355 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1356 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1357 #, no-wrap
1358 msgid "B<CLONE_NEWNET> (since Linux 2.6.24)"
1359 msgstr "B<CLONE_NEWNET> (od Linuksa 2.6.24)"
1360
1361 #. type: Plain text
1362 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1363 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1364 msgid ""
1365 "(The implementation of this flag was completed only by about Linux 2.6.29.)"
1366 msgstr ""
1367 "(Implementacja tej flagi została ukończona dopiero w okolicy Linuksa 2.6.29)."
1368
1369 #. type: Plain text
1370 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1371 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1372 msgid ""
1373 "If B<CLONE_NEWNET> is set, then create the process in a new network "
1374 "namespace. If this flag is not set, then (as with B<fork>(2)) the process "
1375 "is created in the same network namespace as the calling process."
1376 msgstr ""
1377 "Jest B<CLONE_NEWNET> jest ustawiony, to proces jest tworzony w nowej "
1378 "przestrzeni nazw sieci. Jeśli znacznik nie jest ustawiony (jak w przypadku "
1379 "B<fork>(2)), to proces jest tworzony w tej samej przestrzeni nazw sieci, co "
1380 "proces wywołujący."
1381
1382 #. type: Plain text
1383 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1384 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1385 msgid ""
1386 "For further information on network namespaces, see B<network_namespaces>(7)."
1387 msgstr ""
1388 "Więcej informacji o przestrzeniach nazw sieci znajduje się w podręczniku "
1389 "B<network_namespaces>(7)."
1390
1391 #. type: Plain text
1392 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1393 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1394 msgid ""
1395 "Only a privileged process (B<CAP_SYS_ADMIN>) can employ B<CLONE_NEWNET>."
1396 msgstr ""
1397 "Jedynie proces uprzywilejowany (B<CAP_SYS_ADMIN>) może użyć B<CLONE_NEWNET>."
1398
1399 #. type: TP
1400 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1401 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1402 #, no-wrap
1403 msgid "B<CLONE_NEWNS> (since Linux 2.4.19)"
1404 msgstr "B<CLONE_NEWNS> (od Linuksa 2.4.19)"
1405
1406 #. type: Plain text
1407 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1408 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1409 msgid ""
1410 "If B<CLONE_NEWNS> is set, the cloned child is started in a new mount "
1411 "namespace, initialized with a copy of the namespace of the parent. If "
1412 "B<CLONE_NEWNS> is not set, the child lives in the same mount namespace as "
1413 "the parent."
1414 msgstr ""
1415 "Jeśli ustawiono B<CLONE_NEWNS>, sklonowany potomek jest uruchamiany w nowej "
1416 "przestrzeni nazw montowań, inicjowanej jako kopia przestrzeni nazw rodzica. "
1417 "Jeśli nie ustawiono B<CLONE_NEWNS>, to potomek istnieje w tej samej "
1418 "przestrzeni nazw montowań, co rodzic."
1419
1420 #. type: Plain text
1421 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1422 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1423 msgid ""
1424 "For further information on mount namespaces, see B<namespaces>(7) and "
1425 "B<mount_namespaces>(7)."
1426 msgstr ""
1427 "Więcej informacji o przestrzeniach nazw montowań znajduje się w "
1428 "podręcznikach B<namespaces>(7) i B<mount_namespaces>(7)."
1429
1430 #. See https://lwn.net/Articles/543273/
1431 #. type: Plain text
1432 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1433 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1434 msgid ""
1435 "Only a privileged process (B<CAP_SYS_ADMIN>) can employ B<CLONE_NEWNS>. It "
1436 "is not permitted to specify both B<CLONE_NEWNS> and B<CLONE_FS> in the same "
1437 "clone call."
1438 msgstr ""
1439 "Znacznik B<CLONE_NEWNS> może zostać użyty jedynie przez proces "
1440 "uprzywilejowany (B<CAP_SYS_ADMIN>). Zabronione jest podanie w tym samym "
1441 "wywołaniu klonowania zarówno B<CLONE_NEWNS>, jak i B<CLONE_FS>."
1442
1443 #. type: TP
1444 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1445 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1446 #, no-wrap
1447 msgid "B<CLONE_NEWPID> (since Linux 2.6.24)"
1448 msgstr "B<CLONE_NEWPID> (od Linuksa 2.6.24)"
1449
1450 #
1451 #. This explanation draws a lot of details from
1452 #. http://lwn.net/Articles/259217/
1453 #. Authors: Pavel Emelyanov <[email protected]>
1454 #. and Kir Kolyshkin <[email protected]>
1455 #. The primary kernel commit is 30e49c263e36341b60b735cbef5ca37912549264
1456 #. Author: Pavel Emelyanov <[email protected]>
1457 #. type: Plain text
1458 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1459 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1460 msgid ""
1461 "If B<CLONE_NEWPID> is set, then create the process in a new PID namespace. "
1462 "If this flag is not set, then (as with B<fork>(2)) the process is created "
1463 "in the same PID namespace as the calling process."
1464 msgstr ""
1465 "Jest B<CLONE_NEWPID> jest ustawiony, to proces jest tworzony w nowej "
1466 "przestrzeni nazw PID. Jeśli znacznik nie jest ustawiony (jak w przypadku "
1467 "B<fork>(2)), to proces jest tworzony w tej samej przestrzeni nazw PID, co "
1468 "proces wywołujący."
1469
1470 #. type: Plain text
1471 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1472 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1473 msgid ""
1474 "For further information on PID namespaces, see B<namespaces>(7) and "
1475 "B<pid_namespaces>(7)."
1476 msgstr ""
1477 "Więcej informacji o przestrzeniach nazw PID znajduje się w podręcznikach "
1478 "B<namespaces>(7) i B<pid_namespaces>(7)."
1479
1480 #. type: Plain text
1481 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1482 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1483 msgid ""
1484 "Only a privileged process (B<CAP_SYS_ADMIN>) can employ B<CLONE_NEWPID>. "
1485 "This flag can't be specified in conjunction with B<CLONE_THREAD>."
1486 msgstr ""
1487 "B<CLONE_NEWPID> może zostać użyty jedynie przez proces uprzywilejowany "
1488 "(B<CAP_SYS_ADMIN>). Nie można podać tego znacznika razem z B<CLONE_THREAD>."
1489
1490 #. type: TP
1491 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1492 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1493 #, no-wrap
1494 msgid "B<CLONE_NEWUSER>"
1495 msgstr "B<CLONE_NEWUSER>"
1496
1497 #. type: Plain text
1498 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1499 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1500 msgid ""
1501 "(This flag first became meaningful for B<clone>() in Linux 2.6.23, the "
1502 "current B<clone>() semantics were merged in Linux 3.5, and the final pieces "
1503 "to make the user namespaces completely usable were merged in Linux 3.8.)"
1504 msgstr ""
1505 "(Flaga ta nabrała znaczenia dla B<clone>() w Linuksie 2.6.23, bieżąca "
1506 "semantyka B<clone>() pojawiła się w Linuksie 3.5, a ostatnie elementy dające "
1507 "pełną funkcjonalność przestrzeni nazw użytkownika ukończono w Linuksie 3.8)."
1508
1509 #. type: Plain text
1510 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1511 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1512 msgid ""
1513 "If B<CLONE_NEWUSER> is set, then create the process in a new user "
1514 "namespace. If this flag is not set, then (as with B<fork>(2)) the process "
1515 "is created in the same user namespace as the calling process."
1516 msgstr ""
1517 "Jest B<CLONE_NEWUSER> jest ustawiony, to proces jest tworzony w nowej "
1518 "przestrzeni nazw użytkownika. Jeśli znacznik nie jest ustawiony (jak w "
1519 "przypadku B<fork>(2)), to proces jest tworzony w tej samej przestrzeni nazw "
1520 "użytkownika, co proces wywołujący."
1521
1522 #. type: Plain text
1523 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1524 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1525 msgid ""
1526 "For further information on user namespaces, see B<namespaces>(7) and "
1527 "B<user_namespaces>(7)."
1528 msgstr ""
1529 "Więcej informacji o przestrzeniach nazw użytkownika znajduje się w "
1530 "podręcznikach B<namespaces>(7) i B<user_namespaces>(7)."
1531
1532 #. Before Linux 2.6.29, it appears that only CAP_SYS_ADMIN was needed
1533 #. type: Plain text
1534 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1535 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1536 msgid ""
1537 "Before Linux 3.8, use of B<CLONE_NEWUSER> required that the caller have "
1538 "three capabilities: B<CAP_SYS_ADMIN>, B<CAP_SETUID>, and B<CAP_SETGID>. "
1539 "Starting with Linux 3.8, no privileges are needed to create a user namespace."
1540 msgstr ""
1541 "Przed Linuksem 3.8, użycie B<CLONE_NEWUSER> wymagało posiadania trzech "
1542 "przywilejów (ang. capabilities) przez wywołującego: B<CAP_SYS_ADMIN>, "
1543 "B<CAP_SETUID> i B<CAP_SETGID>. Od Linuksa 3.8, do utworzenia przestrzeni "
1544 "nazw użytkownika nie są wymagane przywileje."
1545
1546 #. #-#-#-#-# archlinux: clone.2.pot (PACKAGE VERSION) #-#-#-#-#
1547 #. commit e66eded8309ebf679d3d3c1f5820d1f2ca332c71
1548 #. https://lwn.net/Articles/543273/
1549 #. The fix actually went into Linux 3.9 and into Linux 3.8.3.
1550 #. However, user namespaces were, for practical purposes,
1551 #. unusable in earlier Linux 3.8.x because of the various filesystems
1552 #. that didn't support userns.
1553 #. type: Plain text
1554 #. #-#-#-#-# debian-trixie: clone.2.pot (PACKAGE VERSION) #-#-#-#-#
1555 #. commit e66eded8309ebf679d3d3c1f5820d1f2ca332c71
1556 #. https://lwn.net/Articles/543273/
1557 #. The fix actually went into Linux 3.9 and into Linux 3.8.3. However, user namespaces
1558 #. were, for practical purposes, unusable in earlier Linux 3.8.x because of the
1559 #. various filesystems that didn't support userns.
1560 #. type: Plain text
1561 #. #-#-#-#-# debian-unstable: clone.2.pot (PACKAGE VERSION) #-#-#-#-#
1562 #. commit e66eded8309ebf679d3d3c1f5820d1f2ca332c71
1563 #. https://lwn.net/Articles/543273/
1564 #. The fix actually went into Linux 3.9 and into Linux 3.8.3.
1565 #. However, user namespaces were, for practical purposes,
1566 #. unusable in earlier Linux 3.8.x because of the various filesystems
1567 #. that didn't support userns.
1568 #. type: Plain text
1569 #. #-#-#-#-# fedora-44: clone.2.pot (PACKAGE VERSION) #-#-#-#-#
1570 #. commit e66eded8309ebf679d3d3c1f5820d1f2ca332c71
1571 #. https://lwn.net/Articles/543273/
1572 #. The fix actually went into Linux 3.9 and into Linux 3.8.3. However, user namespaces
1573 #. were, for practical purposes, unusable in earlier Linux 3.8.x because of the
1574 #. various filesystems that didn't support userns.
1575 #. type: Plain text
1576 #. #-#-#-#-# fedora-rawhide: clone.2.pot (PACKAGE VERSION) #-#-#-#-#
1577 #. commit e66eded8309ebf679d3d3c1f5820d1f2ca332c71
1578 #. https://lwn.net/Articles/543273/
1579 #. The fix actually went into Linux 3.9 and into Linux 3.8.3. However, user namespaces
1580 #. were, for practical purposes, unusable in earlier Linux 3.8.x because of the
1581 #. various filesystems that didn't support userns.
1582 #. type: Plain text
1583 #. #-#-#-#-# mageia-cauldron: clone.2.pot (PACKAGE VERSION) #-#-#-#-#
1584 #. commit e66eded8309ebf679d3d3c1f5820d1f2ca332c71
1585 #. https://lwn.net/Articles/543273/
1586 #. The fix actually went into Linux 3.9 and into Linux 3.8.3.
1587 #. However, user namespaces were, for practical purposes,
1588 #. unusable in earlier Linux 3.8.x because of the various filesystems
1589 #. that didn't support userns.
1590 #. type: Plain text
1591 #. #-#-#-#-# opensuse-leap-16-1: clone.2.pot (PACKAGE VERSION) #-#-#-#-#
1592 #. commit e66eded8309ebf679d3d3c1f5820d1f2ca332c71
1593 #. https://lwn.net/Articles/543273/
1594 #. The fix actually went into Linux 3.9 and into Linux 3.8.3.
1595 #. However, user namespaces were, for practical purposes,
1596 #. unusable in earlier Linux 3.8.x because of the various filesystems
1597 #. that didn't support userns.
1598 #. type: Plain text
1599 #. #-#-#-#-# opensuse-tumbleweed: clone.2.pot (PACKAGE VERSION) #-#-#-#-#
1600 #. commit e66eded8309ebf679d3d3c1f5820d1f2ca332c71
1601 #. https://lwn.net/Articles/543273/
1602 #. The fix actually went into Linux 3.9 and into Linux 3.8.3.
1603 #. However, user namespaces were, for practical purposes,
1604 #. unusable in earlier Linux 3.8.x because of the various filesystems
1605 #. that didn't support userns.
1606 #. type: Plain text
1607 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1608 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1609 msgid ""
1610 "This flag can't be specified in conjunction with B<CLONE_THREAD> or "
1611 "B<CLONE_PARENT>. For security reasons, B<CLONE_NEWUSER> cannot be specified "
1612 "in conjunction with B<CLONE_FS>."
1613 msgstr ""
1614 "Znacznika tego nie można podać razem z B<CLONE_THREAD> lub B<CLONE_PARENT>. "
1615 "Ze względów bezpieczeństwa, B<CLONE_NEWUSER> nie można podać razem z "
1616 "B<CLONE_FS>."
1617
1618 #. type: TP
1619 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1620 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1621 #, no-wrap
1622 msgid "B<CLONE_NEWUTS> (since Linux 2.6.19)"
1623 msgstr "B<CLONE_NEWUTS> (od Linuksa 2.6.19)"
1624
1625 #. type: Plain text
1626 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1627 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1628 msgid ""
1629 "If B<CLONE_NEWUTS> is set, then create the process in a new UTS namespace, "
1630 "whose identifiers are initialized by duplicating the identifiers from the "
1631 "UTS namespace of the calling process. If this flag is not set, then (as "
1632 "with B<fork>(2)) the process is created in the same UTS namespace as the "
1633 "calling process."
1634 msgstr ""
1635 "Jest B<CLONE_NEWUTS> jest ustawiony, to proces jest tworzony w nowej "
1636 "przestrzeni nazw UTS, której identyfikatory są inicjowane przez "
1637 "zduplikowanie identyfikatorów z przestrzeni nazw UTS procesu wywołującego. "
1638 "Jeśli znacznik nie jest ustawiony (jak w przypadku B<fork>(2)), to proces "
1639 "jest tworzony w tej samej przestrzeni nazw UTS, co proces wywołujący."
1640
1641 #. type: Plain text
1642 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1643 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1644 msgid "For further information on UTS namespaces, see B<uts_namespaces>(7)."
1645 msgstr ""
1646 "Więcej informacji o przestrzeniach nazw UTS znajduje się w podręczniku "
1647 "B<uts_namespaces>(7)."
1648
1649 #. type: Plain text
1650 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1651 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1652 msgid ""
1653 "Only a privileged process (B<CAP_SYS_ADMIN>) can employ B<CLONE_NEWUTS>."
1654 msgstr ""
1655 "Jedynie proces uprzywilejowany (B<CAP_SYS_ADMIN>) może użyć B<CLONE_NEWUTS>."
1656
1657 #. type: TP
1658 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1659 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1660 #, no-wrap
1661 msgid "B<CLONE_PARENT> (since Linux 2.3.12)"
1662 msgstr "B<CLONE_PARENT> (od Linuksa 2.3.12)"
1663
1664 #. type: Plain text
1665 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1666 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1667 msgid ""
1668 "If B<CLONE_PARENT> is set, then the parent of the new child (as returned by "
1669 "B<getppid>(2)) will be the same as that of the calling process."
1670 msgstr ""
1671 "Jeśli B<CLONE_PARENT> będzie ustawione, to rodzic nowego procesu potomnego "
1672 "(zwrócony przez B<getppid>(2)) będzie ten sam, co dla procesu wywołującego."
1673
1674 #. type: Plain text
1675 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1676 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1677 msgid ""
1678 "If B<CLONE_PARENT> is not set, then (as with B<fork>(2)) the child's parent "
1679 "is the calling process."
1680 msgstr ""
1681 "Jeśli B<CLONE_PARENT> nie zostanie ustawione, to (jak dla B<fork>(2)) "
1682 "rodzicem potomka będzie proces wywołujący."
1683
1684 #. type: Plain text
1685 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1686 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1687 msgid ""
1688 "Note that it is the parent process, as returned by B<getppid>(2), which is "
1689 "signaled when the child terminates, so that if B<CLONE_PARENT> is set, then "
1690 "the parent of the calling process, rather than the calling process itself, "
1691 "is signaled."
1692 msgstr ""
1693 "Należy zauważyć, że to proces macierzysty, zwracany przez B<getppid>(2), "
1694 "zostanie powiadomiony o zakończeniu pracy przez potomka, więc jeśli "
1695 "B<CLONE_PARENT> będzie ustawione, to zawiadomiony zostanie rodzic procesu "
1696 "wywołującego, a nie sam proces wywołujący."
1697
1698 #. type: Plain text
1699 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1700 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1701 msgid ""
1702 "The B<CLONE_PARENT> flag can't be used in clone calls by the global init "
1703 "process (PID 1 in the initial PID namespace) and init processes in other "
1704 "PID namespaces. This restriction prevents the creation of multi-rooted "
1705 "process trees as well as the creation of unreapable zombies in the initial "
1706 "PID namespace."
1707 msgstr ""
1708 "Znacznika B<CLONE_PARENT> nie można użyć w wywołaniach klonowania przez "
1709 "globalny proces init (o PID 1 w pierwotnej przestrzeni nazw PID) oraz "
1710 "procesy init w innych przestrzeniach nazw PID. To ograniczenie zapobiega "
1711 "tworzeniu zakorzenionych w wielu miejscach drzew procesów oraz tworzeniu "
1712 "zombie w pierwotnej przestrzeni nazw, których nie da się dorżnąć "
1713 "(unreapable)."
1714
1715 #. type: TP
1716 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1717 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1718 #, no-wrap
1719 msgid "B<CLONE_PARENT_SETTID> (since Linux 2.5.49)"
1720 msgstr "B<CLONE_PARENT_SETTID> (od Linuksa 2.5.49)"
1721
1722 #. type: Plain text
1723 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1724 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1725 msgid ""
1726 "Store the child thread ID at the location pointed to by I<parent_tid> "
1727 "(B<clone>()) or I<cl_args.parent_tid> (B<clone3>()) in the parent's "
1728 "memory. (In Linux 2.5.32-2.5.48 there was a flag B<CLONE_SETTID> that did "
1729 "this.) The store operation completes before the clone call returns control "
1730 "to user space."
1731 msgstr ""
1732 "Przechowuje identyfikator wątku potomka w położeniu, na które wskazuje "
1733 "I<parent_tid> (B<clone>()) lub I<cl_args.parent_tid> (B<clone3>()) w pamięci "
1734 "rodzica (w Linuksie 2.5.32-2.5.48 istniał znacznik B<CLONE_SETTID>, który "
1735 "działał w ten sam sposób). Operacja przechowania kończy się, przed "
1736 "zwróceniem kontroli do przestrzeni użytkownika przez wywołanie klonowania."
1737
1738 #. type: TP
1739 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1740 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1741 #, no-wrap
1742 msgid "B<CLONE_PID> (Linux 2.0 to Linux 2.5.15)"
1743 msgstr "B<CLONE_PID> (od Linuksa 2.0 do Linuksa 2.5.15)"
1744
1745 #. type: Plain text
1746 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1747 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1748 msgid ""
1749 "If B<CLONE_PID> is set, the child process is created with the same process "
1750 "ID as the calling process. This is good for hacking the system, but "
1751 "otherwise of not much use. From Linux 2.3.21 onward, this flag could be "
1752 "specified only by the system boot process (PID 0). The flag disappeared "
1753 "completely from the kernel sources in Linux 2.5.16. Subsequently, the "
1754 "kernel silently ignored this bit if it was specified in the I<flags> mask. "
1755 "Much later, the same bit was recycled for use as the B<CLONE_PIDFD> flag."
1756 msgstr ""
1757 "Jeśli B<CLONE_PID> jest ustawiony, to proces potomny jest tworzony z tym "
1758 "samym identyfikatorem jak proces wywołujący. Trudno wymyślić jego przydatne "
1759 "zastosowanie, poza hakowaniem systemu. Od Linuksa 2.3.21, ten znacznik mógł "
1760 "być podany tylko przez systemowy proces rozruchu (PID 0). Znacznik zupełnie "
1761 "zniknął ze źródeł jądra w Linuksie 2.5.16. Następnie jądro po cichu "
1762 "ignorowało ten bit, gdy był podany w masce I<flags>. Znacznie później, ten "
1763 "sam bit użyto do znacznika B<CLONE_PIDFD>."
1764
1765 #. type: TP
1766 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1767 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1768 #, no-wrap
1769 msgid "B<CLONE_PIDFD> (since Linux 5.2)"
1770 msgstr "B<CLONE_PIDFD> (od Linuksa 5.2)"
1771
1772 #. commit b3e5838252665ee4cfa76b82bdf1198dca81e5be
1773 #. type: Plain text
1774 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1775 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1776 msgid ""
1777 "If this flag is specified, a PID file descriptor referring to the child "
1778 "process is allocated and placed at a specified location in the parent's "
1779 "memory. The close-on-exec flag is set on this new file descriptor. PID "
1780 "file descriptors can be used for the purposes described in B<pidfd_open>(2)."
1781 msgstr ""
1782 "Jeśli znacznik jest podany, to deskryptor pliku PID odnoszącego się do "
1783 "procesu potomnego jest alokowany i umieszczany w określonym położeniu "
1784 "pamięci rodzica. Na tym nowym deskryptorze pliku ustawiany jest znacznik "
1785 "zamknij-przy-wykonaniu. Deskryptory pliku PID można wykorzystać w celach "
1786 "opisanych w podręczniku B<pidfd_open>(2)."
1787
1788 #. type: Plain text
1789 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1790 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1791 msgid ""
1792 "When using B<clone3>(), the PID file descriptor is placed at the location "
1793 "pointed to by I<cl_args.pidfd>."
1794 msgstr ""
1795 "Jeśli korzysta się z B<clone3>(), to deskryptor pliku PID jest umieszczany w "
1796 "położeniu, na które wskazuje I<cl_args.pidfd>."
1797
1798 #. type: Plain text
1799 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1800 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1801 msgid ""
1802 "When using B<clone>(), the PID file descriptor is placed at the location "
1803 "pointed to by I<parent_tid>. Since the I<parent_tid> argument is used to "
1804 "return the PID file descriptor, B<CLONE_PIDFD> cannot be used with "
1805 "B<CLONE_PARENT_SETTID> when calling B<clone>()."
1806 msgstr ""
1807 "Jeśli korzysta się z B<clone>(), to deskryptor pliku PID jest umieszczany w "
1808 "położeniu, na które wskazuje I<parent_tid>. Ponieważ argument I<parent_tid> "
1809 "jest używany do zwrócenia deskryptora pliku PID, nie można użyć "
1810 "B<CLONE_PIDFD> razem z B<CLONE_PARENT_SETTID> przy wywoływaniu B<clone>()."
1811
1812 #. commit 83b290c9e3b5d95891f43a4aeadf6071cbff25d3
1813 #. type: Plain text
1814 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1815 #: opensuse-tumbleweed
1816 msgid ""
1817 "If B<CLONE_PIDFD> is specified together with B<CLONE_THREAD>, the obtained "
1818 "PID file descriptor refers to a specific thread, as opposed to a thread-"
1819 "group leader if B<CLONE_THREAD> is not specified. This feature is available "
1820 "since Linux 6.9."
1821 msgstr ""
1822 "Jeśli poda się B<CLONE_PIDFD> łącznie z B<CLONE_THREAD>, pozyskany "
1823 "deskryptor pliku PID odnosi się do konkretnego wątku, a nie do lidera grupy "
1824 "wątków, tak jak stałoby się bez podania B<CLONE_THREAD>. Funkcjonalność "
1825 "dostępna od Linuksa 6.9."
1826
1827 #. type: Plain text
1828 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1829 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1830 msgid ""
1831 "If the obsolete B<CLONE_DETACHED> flag is specified alongside B<CLONE_PIDFD> "
1832 "when calling B<clone>(), an error is returned. An error also results if "
1833 "B<CLONE_DETACHED> is specified when calling B<clone3>(). This error "
1834 "behavior ensures that the bit corresponding to B<CLONE_DETACHED> can be "
1835 "reused for further PID file descriptor features in the future."
1836 msgstr ""
1837 "Jeśli przestarzały znacznik B<CLONE_DETACHED> poda się razem z "
1838 "B<CLONE_PIDFD> przy wywoływaniu B<clone>(), to zwracany jest błąd. Błąd "
1839 "występuje również jeśli poda się B<CLONE_DETACHED> przy wywoływaniu "
1840 "B<clone3>(). Zwracanie błędu zapewnia, że bit odnoszący się do "
1841 "B<CLONE_DETACHED> może być w przyszłości użyty ponownie do następnych "
1842 "funkcji deskryptora pliku PID."
1843
1844 #. type: TP
1845 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1846 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1847 #, no-wrap
1848 msgid "B<CLONE_PTRACE> (since Linux 2.2)"
1849 msgstr "B<CLONE_PTRACE> (od Linuksa 2.2)"
1850
1851 #. type: Plain text
1852 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1853 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1854 msgid ""
1855 "If B<CLONE_PTRACE> is specified, and the calling process is being traced, "
1856 "then trace the child also (see B<ptrace>(2))."
1857 msgstr ""
1858 "Jeśli zostanie podane B<CLONE_PTRACE>, a proces wywołujący będzie śledzony, "
1859 "to śledzenie obejmie również potomka (zobacz B<ptrace>(2))."
1860
1861 #. type: TP
1862 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1863 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1864 #, no-wrap
1865 msgid "B<CLONE_SETTLS> (since Linux 2.5.32)"
1866 msgstr "B<CLONE_SETTLS> (od Linuksa 2.5.32)"
1867
1868 #. type: Plain text
1869 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1870 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1871 msgid "The TLS (Thread Local Storage) descriptor is set to I<tls>."
1872 msgstr ""
1873 "Deskryptor TLS (Thread Local Storage \\[em] pamięć lokalna wątku) jest "
1874 "ustawiony na I<tls>."
1875
1876 #. type: Plain text
1877 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1878 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1879 msgid ""
1880 "The interpretation of I<tls> and the resulting effect is architecture "
1881 "dependent. On x86, I<tls> is interpreted as a I<struct user_desc\\ *> (see "
1882 "B<set_thread_area>(2)). On x86-64 it is the new value to be set for the %fs "
1883 "base register (see the B<ARCH_SET_FS> argument to B<arch_prctl>(2)). On "
1884 "architectures with a dedicated TLS register, it is the new value of that "
1885 "register."
1886 msgstr ""
1887 "Interpretacja I<tls> i jego skutek zależy od architektury. Na x86, I<tls> "
1888 "jest interpretowane jako I<struct user_desc\\ *> (zob. "
1889 "B<set_thread_area>(2)). Na x86-64 jest to nowa wartość, jaka ma być "
1890 "ustawiona w bazowym rejestrze %fs (zob. argument B<ARCH_SET_FS> do "
1891 "B<arch_prctl>(2)). Na architekturach ze specjalnym rejestrem TLS, jest to "
1892 "nowa wartość tego rejestru."
1893
1894 #. type: Plain text
1895 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1896 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1897 msgid ""
1898 "Use of this flag requires detailed knowledge and generally it should not be "
1899 "used except in libraries implementing threading."
1900 msgstr ""
1901 "Znacznik ten wymaga szczegółowej wiedzy i zwykle nie powinno się go używać "
1902 "poza bibliotekami implementującymi wątkowanie."
1903
1904 #. type: TP
1905 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1906 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1907 #, no-wrap
1908 msgid "B<CLONE_SIGHAND> (since Linux 2.0)"
1909 msgstr "B<CLONE_SIGHAND> (od Linuksa 2.0)"
1910
1911 #. type: Plain text
1912 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1913 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1914 msgid ""
1915 "If B<CLONE_SIGHAND> is set, the calling process and the child process share "
1916 "the same table of signal handlers. If the calling process or child process "
1917 "calls B<sigaction>(2) to change the behavior associated with a signal, the "
1918 "behavior is changed in the other process as well. However, the calling "
1919 "process and child processes still have distinct signal masks and sets of "
1920 "pending signals. So, one of them may block or unblock signals using "
1921 "B<sigprocmask>(2) without affecting the other process."
1922 msgstr ""
1923 "Jeśli B<CLONE_SIGHAND> będzie ustawione, to proces wywołujący i procesy "
1924 "potomne będą współdzielić tablicę programów obsługi sygnałów. Jeśli proces "
1925 "wywołujący lub proces potomny wywoła B<sigaction>(2), aby zmienić zachowanie "
1926 "towarzyszące sygnałowi, zachowanie to zostanie zmienione również w drugim "
1927 "procesie. Jednakże, proces wywołujący i proces potomny wciąż będą posiadać "
1928 "osobne maski sygnałów i zestawy sygnałów oczekujących. Zatem jeden z nich "
1929 "może zablokować lub odblokować niektóre sygnały za pomocą B<sigprocmask>(2) "
1930 "nie wpływając na drugi proces."
1931
1932 #. type: Plain text
1933 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1934 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1935 msgid ""
1936 "If B<CLONE_SIGHAND> is not set, the child process inherits a copy of the "
1937 "signal handlers of the calling process at the time of the clone call. Calls "
1938 "to B<sigaction>(2) performed later by one of the processes have no effect "
1939 "on the other process."
1940 msgstr ""
1941 "Jeśli B<CLONE_SIGHAND> nie zostanie ustawione, to proces potomny odziedziczy "
1942 "kopię programów obsługi sygnałów od procesu wywołującego z chwili wywołania "
1943 "klonowania. Wywołania B<sigaction>(2) przeprowadzone później przez jeden z "
1944 "procesów nie będą mieć wpływu na drugi proces."
1945
1946 #. Precisely: Linux 2.6.0-test6
1947 #. type: Plain text
1948 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1949 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1950 msgid ""
1951 "Since Linux 2.6.0, the I<flags> mask must also include B<CLONE_VM> if "
1952 "B<CLONE_SIGHAND> is specified."
1953 msgstr ""
1954 "Od Linuksa 2.6.0, maska I<flags> musi również zawierać B<CLONE_VM>, jeśli "
1955 "podano B<CLONE_SIGHAND>."
1956
1957 #. type: TP
1958 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1959 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1960 #, no-wrap
1961 msgid "B<CLONE_STOPPED> (since Linux 2.6.0)"
1962 msgstr "B<CLONE_STOPPED> (od Linuksa 2.6.0)"
1963
1964 #. Precisely: Linux 2.6.0-test2
1965 #. type: Plain text
1966 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1967 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1968 msgid ""
1969 "If B<CLONE_STOPPED> is set, then the child is initially stopped (as though "
1970 "it was sent a B<SIGSTOP> signal), and must be resumed by sending it a "
1971 "B<SIGCONT> signal."
1972 msgstr ""
1973 "Jeśli B<CLONE_STOPPED> jest ustawione, to potomek jest początkowo zatrzymany "
1974 "(jakby otrzymał sygnał B<SIGSTOP>) i musi być wznowiony sygnałem B<SIGCONT>."
1975
1976 #. glibc 2.8 removed this defn from bits/sched.h
1977 #. type: Plain text
1978 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1979 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1980 msgid ""
1981 "This flag was I<deprecated> from Linux 2.6.25 onward, and was I<removed> "
1982 "altogether in Linux 2.6.38. Since then, the kernel silently ignores it "
1983 "without error. Starting with Linux 4.6, the same bit was reused for the "
1984 "B<CLONE_NEWCGROUP> flag."
1985 msgstr ""
1986 "Znacznik był oznaczony jako I<przestarzały> od Linuksa 2.6.25 i został "
1987 "zupełnie I<usunięty> w Linuksie 2.6.38. Od tego czasu jądro po cichu "
1988 "ignoruje go, nie wypisując błędu. Od Linuksa 4.6, ten sam bit służy "
1989 "znacznikowi B<CLONE_NEWCGROUP>."
1990
1991 #. type: TP
1992 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1993 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1994 #, no-wrap
1995 msgid "B<CLONE_SYSVSEM> (since Linux 2.5.10)"
1996 msgstr "B<CLONE_SYSVSEM> (od Linuksa 2.5.10)"
1997
1998 #. type: Plain text
1999 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2000 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2001 msgid ""
2002 "If B<CLONE_SYSVSEM> is set, then the child and the calling process share a "
2003 "single list of System V semaphore adjustment (I<semadj>) values (see "
2004 "B<semop>(2)). In this case, the shared list accumulates I<semadj> values "
2005 "across all processes sharing the list, and semaphore adjustments are "
2006 "performed only when the last process that is sharing the list terminates (or "
2007 "ceases sharing the list using B<unshare>(2)). If this flag is not set, then "
2008 "the child has a separate I<semadj> list that is initially empty."
2009 msgstr ""
2010 "Jeśli ustawiony jest B<CLONE_SYSVSEM> to potomek i proces wywołujący dzielą "
2011 "jedną listę wartości dostosowań semaforów Systemu V (I<semadj>; zob. "
2012 "B<semop>(2)). W tym przypadku wspólna lista zbiera wartości I<semadj> ze "
2013 "wszystkich procesów dzielących listę, a dostosowania semaforów są wykonywane "
2014 "tylko gdy ostatni proces dzielący listę zostanie zakończony (lub przestanie "
2015 "dzielić listę, za pomocą B<unshare>(2)). Jeśli znacznik ten nie jest "
2016 "ustawiony, to potomek posiada oddzielną listę I<semadj>, która początkowo "
2017 "jest pusta."
2018
2019 #. type: TP
2020 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2021 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2022 #, no-wrap
2023 msgid "B<CLONE_THREAD> (since Linux 2.4.0)"
2024 msgstr "B<CLONE_THREAD> (od Linuksa 2.4.0)"
2025
2026 #. Precisely: Linux 2.6.0-test8
2027 #. type: Plain text
2028 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2029 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2030 msgid ""
2031 "If B<CLONE_THREAD> is set, the child is placed in the same thread group as "
2032 "the calling process. To make the remainder of the discussion of "
2033 "B<CLONE_THREAD> more readable, the term \"thread\" is used to refer to the "
2034 "processes within a thread group."
2035 msgstr ""
2036 "Jeśli ustawiony jest B<CLONE_THREAD> to potomek jest umieszczany w tej samej "
2037 "grupie wątków, co proces wywołujący. Aby dalsza część opisu B<CLONE_THREAD> "
2038 "była bardziej przejrzysta, termin \\[Bq]wątek\\[rq] oznaczać będzie tu "
2039 "procesy w grupie wątków."
2040
2041 #. type: Plain text
2042 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2043 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2044 msgid ""
2045 "Thread groups were a feature added in Linux 2.4 to support the POSIX threads "
2046 "notion of a set of threads that share a single PID. Internally, this shared "
2047 "PID is the so-called thread group identifier (TGID) for the thread group. "
2048 "Since Linux 2.4, calls to B<getpid>(2) return the TGID of the caller."
2049 msgstr ""
2050 "Grupy wątków zostały dodane w Linuksie 2.4 do obsługi wątków POSIX dla "
2051 "zbioru procesów współdzielących ten sam PID. Wewnętrznie, ten wspólny PID "
2052 "jest tzw. identyfikatorem grupy wątków (ang. thread group ID \\[em] TGID) "
2053 "dla grupy wątków. Od Linuksa 2.4 wywołania B<getpid>(2) zwracają TGID "
2054 "wywołującego."
2055
2056 #. type: Plain text
2057 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2058 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2059 msgid ""
2060 "The threads within a group can be distinguished by their (system-wide) "
2061 "unique thread IDs (TID). A new thread's TID is available as the function "
2062 "result returned to the caller, and a thread can obtain its own TID using "
2063 "B<gettid>(2)."
2064 msgstr ""
2065 "Wątki wewnątrz grupy można rozróżnić za pomocą ich unikatowego (w systemie) "
2066 "identyfikatora wątku (ang. thread ID \\[em] TID). TID nowego wątku jest "
2067 "dostępny jako wynik funkcji zwracany do wywołującego, a sam wątek może "
2068 "uzyskać swój TID za pomocą B<gettid>(2)."
2069
2070 #. type: Plain text
2071 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2072 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2073 msgid ""
2074 "When a clone call is made without specifying B<CLONE_THREAD>, then the "
2075 "resulting thread is placed in a new thread group whose TGID is the same as "
2076 "the thread's TID. This thread is the I<leader> of the new thread group."
2077 msgstr ""
2078 "Gdy wywołanie clone ma miejsce bez podania B<CLONE_THREAD>, to wynikowy "
2079 "wątek jest umieszczany w nowej grupie wątków, której TGID jest taki sam jak "
2080 "TID wątku. Wątek ten staje się I<liderem> nowej grupy wątków."
2081
2082 #. type: Plain text
2083 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2084 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2085 msgid ""
2086 "A new thread created with B<CLONE_THREAD> has the same parent process as the "
2087 "process that made the clone call (i.e., like B<CLONE_PARENT>), so that calls "
2088 "to B<getppid>(2) return the same value for all of the threads in a thread "
2089 "group. When a B<CLONE_THREAD> thread terminates, the thread that created it "
2090 "is not sent a B<SIGCHLD> (or other termination) signal; nor can the status "
2091 "of such a thread be obtained using B<wait>(2). (The thread is said to be "
2092 "I<detached>.)"
2093 msgstr ""
2094 "Nowy wątek utworzony przy podaniu B<CLONE_THREAD> ma ten sam proces "
2095 "macierzysty jak proces, który wykonał wywołanie klonowania (tj. jak "
2096 "B<CLONE_PARENT>), tak więc wywołanie B<getppid>(2) zwróci tę samą wartość "
2097 "dla wszystkich wątków w grupie wątków. Gdy wątek z B<CLONE_THREAD> zostanie "
2098 "zakończony, wątek który go utworzył nie otrzymuje sygnału B<SIGCHLD> (ani "
2099 "innego sygnału przerwania); statusu takiego wątku nie da się również "
2100 "pozyskać za pomocą B<wait>(2) (taki wątek jest nazywany I<oddzielonym> \\"
2101 "[em] ang. detached)."
2102
2103 #. type: Plain text
2104 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2105 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2106 msgid ""
2107 "After all of the threads in a thread group terminate the parent process of "
2108 "the thread group is sent a B<SIGCHLD> (or other termination) signal."
2109 msgstr ""
2110 "Po tym, jak wszystkie wątki w grupie wątków zakończą się, proces macierzysty "
2111 "grupy wątków otrzymuje sygnał B<SIGCHLD> (lub inny sygnał przerwania)."
2112
2113 #. type: Plain text
2114 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2115 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2116 msgid ""
2117 "If any of the threads in a thread group performs an B<execve>(2), then all "
2118 "threads other than the thread group leader are terminated, and the new "
2119 "program is executed in the thread group leader."
2120 msgstr ""
2121 "Jeśli któryś z wątków w grupie wątków wykona B<execve>(2), to wszystkie "
2122 "wątki poza liderem grupy wątków są zakańczane i nowy program wykonywany jest "
2123 "przez lidera grupy wątków."
2124
2125 #. type: Plain text
2126 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2127 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2128 msgid ""
2129 "If one of the threads in a thread group creates a child using B<fork>(2), "
2130 "then any thread in the group can B<wait>(2) for that child."
2131 msgstr ""
2132 "Jeśli jeden z wątków w grupie wątków tworzy potomka za pomocą B<fork>(2), to "
2133 "każdy wątek w grupie może czekać (B<wait>(2)) na tego potomka."
2134
2135 #. Precisely: Linux 2.6.0-test6
2136 #. type: Plain text
2137 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2138 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2139 msgid ""
2140 "Since Linux 2.5.35, the I<flags> mask must also include B<CLONE_SIGHAND> if "
2141 "B<CLONE_THREAD> is specified (and note that, since Linux 2.6.0, "
2142 "B<CLONE_SIGHAND> also requires B<CLONE_VM> to be included)."
2143 msgstr ""
2144 "Od Linuksa 2.5.35, maska I<flags> musi zawierać również B<CLONE_SIGHAND> "
2145 "jeśli podano B<CLONE_THREAD> (i proszę zauważyć, że od Linuksa 2.6.0, "
2146 "B<CLONE_SIGHAND> wymaga również zamieszczenia B<CLONE_VM>)."
2147
2148 #. type: Plain text
2149 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2150 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2151 msgid ""
2152 "Signal dispositions and actions are process-wide: if an unhandled signal is "
2153 "delivered to a thread, then it will affect (terminate, stop, continue, be "
2154 "ignored in) all members of the thread group."
2155 msgstr ""
2156 "Akcje i dyspozycje sygnałów mają znaczenie dla całego procesu: jeśli do "
2157 "wątku dostarczony zostanie nieobsłużony sygnał, to dotknie on (przerwie, "
2158 "zatrzyma, wznowi, ustawi ignorowanie) wszystkich członków grupy wątków."
2159
2160 #. type: Plain text
2161 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2162 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2163 msgid "Each thread has its own signal mask, as set by B<sigprocmask>(2)."
2164 msgstr ""
2165 "Każdy wątek ma swoją maskę sygnałów, jak ustawianą przez B<sigprocmask>(2)."
2166
2167 #. type: Plain text
2168 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2169 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2170 msgid ""
2171 "A signal may be process-directed or thread-directed. A process-directed "
2172 "signal is targeted at a thread group (i.e., a TGID), and is delivered to an "
2173 "arbitrarily selected thread from among those that are not blocking the "
2174 "signal. A signal may be process-directed because it was generated by the "
2175 "kernel for reasons other than a hardware exception, or because it was sent "
2176 "using B<kill>(2) or B<sigqueue>(3). A thread-directed signal is targeted "
2177 "at (i.e., delivered to) a specific thread. A signal may be thread directed "
2178 "because it was sent using B<tgkill>(2) or B<pthread_sigqueue>(3), or "
2179 "because the thread executed a machine language instruction that triggered a "
2180 "hardware exception (e.g., invalid memory access triggering B<SIGSEGV> or a "
2181 "floating-point exception triggering B<SIGFPE>)."
2182 msgstr ""
2183 "Sygnał może być kierowany do procesu lub kierowany do wątku. Sygnał "
2184 "kierowany do procesu jest przeznaczony do grupy wątku (tj. TGID) i jest "
2185 "dostarczany do dowolnie wybranego wątku spośród tych, które nie blokują "
2186 "sygnału. Sygnał może być kierowany do procesu, ponieważ został wygenerowany "
2187 "przez jądro z powodów innych niż wyjątek sprzętowy, albo ponieważ został "
2188 "wysłany za pomocą B<kill>(2) lub B<sigqueue>(3). Sygnał kierowany do wątku "
2189 "jest przeznaczony (tj. dostarczany) do określonego wątku. Sygnał może być "
2190 "kierowany do wątku, ponieważ został wysłany za pomocą B<tgkill>(2) lub "
2191 "B<pthread_sigqueue>(3), albo ponieważ wątek wykonał instrukcję języka "
2192 "maszynowego, która wyzwoliła wyjątek sprzętowy (np. nieprawidłowy dostęp do "
2193 "pamięci wyzwalający B<SIGSEGV> lub wyjątek zmiennoprzecinkowy wyzwalający "
2194 "B<SIGFPE>)."
2195
2196 #. type: Plain text
2197 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2198 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2199 msgid ""
2200 "A call to B<sigpending>(2) returns a signal set that is the union of the "
2201 "pending process-directed signals and the signals that are pending for the "
2202 "calling thread."
2203 msgstr ""
2204 "Wywołanie do B<sigpending>(2) zwraca sygnał, który jest ustawiany na sumę "
2205 "oczekującego sygnału skierowanego do procesu oraz sygnałów które są "
2206 "oczekujące dla wątku wywołującego."
2207
2208 #. type: Plain text
2209 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2210 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2211 msgid ""
2212 "If a process-directed signal is delivered to a thread group, and the thread "
2213 "group has installed a handler for the signal, then the handler is invoked in "
2214 "exactly one, arbitrarily selected member of the thread group that has not "
2215 "blocked the signal. If multiple threads in a group are waiting to accept "
2216 "the same signal using B<sigwaitinfo>(2), the kernel will arbitrarily select "
2217 "one of these threads to receive the signal."
2218 msgstr ""
2219 "Jeśli sygnał kierowany do procesu zostanie dostarczony do grupy wątków, a "
2220 "grupa ta ma zainstalowaną procedurę obsługi sygnału, to jest ona wywoływana "
2221 "w dokładnie jednym, dowolnie wybranym członku grupy wątków, który nie "
2222 "zablokował sygnału. Jeśli na zaakceptowanie tego samego sygnału za pomocą "
2223 "B<sigwaitinfo>(2) czeka wiele wątków w grupie, to jądro wybierze w sposób "
2224 "dowolny jeden z wątków, który otrzyma sygnał."
2225
2226 #. type: TP
2227 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2228 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2229 #, no-wrap
2230 msgid "B<CLONE_UNTRACED> (since Linux 2.5.46)"
2231 msgstr "B<CLONE_UNTRACED> (od Linuksa 2.5.46)"
2232
2233 #. type: Plain text
2234 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2235 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2236 msgid ""
2237 "If B<CLONE_UNTRACED> is specified, then a tracing process cannot force "
2238 "B<CLONE_PTRACE> on this child process."
2239 msgstr ""
2240 "Jeśli podano B<CLONE_UNTRACED>, to proces śledzący nie może wymusić "
2241 "B<CLONE_PTRACE> na tym procesie potomnym."
2242
2243 #. type: TP
2244 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2245 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2246 #, no-wrap
2247 msgid "B<CLONE_VFORK> (since Linux 2.2)"
2248 msgstr "B<CLONE_VFORK> (od Linuksa 2.2)"
2249
2250 #. type: Plain text
2251 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2252 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2253 msgid ""
2254 "If B<CLONE_VFORK> is set, the execution of the calling process is suspended "
2255 "until the child releases its virtual memory resources via a call to "
2256 "B<execve>(2) or B<_exit>(2) (as with B<vfork>(2))."
2257 msgstr ""
2258 "Jeśli B<CLONE_VFORK> będzie ustawione, wykonywanie procesu wywołującego "
2259 "zostanie wstrzymane do chwili, gdy potomek zwolni swoją pamięć wirtualną za "
2260 "pomocą B<execve>(2) lub B<_exit>(2) (jak w przypadku B<vfork>(2))."
2261
2262 #. type: Plain text
2263 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2264 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2265 msgid ""
2266 "If B<CLONE_VFORK> is not set, then both the calling process and the child "
2267 "are schedulable after the call, and an application should not rely on "
2268 "execution occurring in any particular order."
2269 msgstr ""
2270 "Jeśli B<CLONE_VFORK> nie zostanie ustawione, wtedy zarówno proces "
2271 "wywołujący, jak i potomny podlegają po wywołaniu B<clone> szeregowaniu zadań "
2272 "i aplikacja nie może zakładać, że ich wykonywanie będzie się odbywać w "
2273 "określonej kolejności."
2274
2275 #. type: TP
2276 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2277 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2278 #, no-wrap
2279 msgid "B<CLONE_VM> (since Linux 2.0)"
2280 msgstr "B<CLONE_VM> (od Linuksa 2.0)"
2281
2282 #. type: Plain text
2283 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2284 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2285 msgid ""
2286 "If B<CLONE_VM> is set, the calling process and the child process run in the "
2287 "same memory space. In particular, memory writes performed by the calling "
2288 "process or by the child process are also visible in the other process. "
2289 "Moreover, any memory mapping or unmapping performed with B<mmap>(2) or "
2290 "B<munmap>(2) by the child or calling process also affects the other process."
2291 msgstr ""
2292 "Jeśli B<CLONE_VM> będzie ustawione, to proces wywołujący i potomny będą "
2293 "działać w tym samym obszarze pamięci. W szczególności, zapisy do pamięci "
2294 "wykonywane przez proces wywołujący lub przez proces potomny będą widoczne "
2295 "dla drugiego z procesów. Ponadto, dowolne mapowania pamięci i usunięcia "
2296 "mapowań wykonane przez jeden z tych procesów za pomocą B<mmap>(2) lub "
2297 "B<munmap>(2) będą dotyczyć również drugiego procesu."
2298
2299 #. type: Plain text
2300 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2301 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2302 msgid ""
2303 "If B<CLONE_VM> is not set, the child process runs in a separate copy of the "
2304 "memory space of the calling process at the time of the clone call. Memory "
2305 "writes or file mappings/unmappings performed by one of the processes do not "
2306 "affect the other, as with B<fork>(2)."
2307 msgstr ""
2308 "Jeśli B<CLONE_VM> nie zostanie ustawione, to proces potomny będzie działać w "
2309 "kopii obszaru pamięci procesu wywołującego, wykonanej w chwili wywołania "
2310 "klonowania. Zapisy do pamięci oraz mapowania i usunięcia mapowań wykonane "
2311 "przez jeden z tych procesów nie będą dotyczyć drugiego z nich, tak jak w "
2312 "przypadku B<fork>(2)."
2313
2314 #. type: Plain text
2315 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2316 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2317 msgid ""
2318 "If the B<CLONE_VM> flag is specified and the B<CLONE_VFORK> flag is not "
2319 "specified, then any alternate signal stack that was established by "
2320 "B<sigaltstack>(2) is cleared in the child process."
2321 msgstr ""
2322 "Jeśli podano znacznik B<CLONE_VM>, a nie podano znacznika B<CLONE_VFORK> to "
2323 "wszystkie alternatywne stosy sygnałów ustanowione przez B<sigaltstack>(2) są "
2324 "czyszczone w procesie potomnym."
2325
2326 #. type: SH
2327 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2328 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2329 #, no-wrap
2330 msgid "RETURN VALUE"
2331 msgstr "WARTOŚĆ ZWRACANA"
2332
2333 #. gettid(2) returns current->pid;
2334 #. getpid(2) returns current->tgid;
2335 #. type: Plain text
2336 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2337 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2338 msgid ""
2339 "On success, the thread ID of the child process is returned in the caller's "
2340 "thread of execution. On failure, -1 is returned in the caller's context, no "
2341 "child process is created, and I<errno> is set to indicate the error."
2342 msgstr ""
2343 "Po pomyślnym zakończeniu, w wątku rodzica zwracany jest identyfikator wątku "
2344 "potomka. W wypadku błędu, w kontekście procesu wywołującego zwracane jest "
2345 "-1, a proces potomny nie jest tworzony i ustawiane jest I<errno> wskazując "
2346 "błąd."
2347
2348 #. type: SH
2349 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2350 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2351 #, no-wrap
2352 msgid "ERRORS"
2353 msgstr "BŁĘDY"
2354
2355 #. type: TP
2356 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
2357 #: opensuse-tumbleweed
2358 #, no-wrap
2359 msgid "B<E2BIG> (B<clone3>() only)"
2360 msgstr "B<E2BIG> (tylko B<clone3>())"
2361
2362 #. type: Plain text
2363 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
2364 #: opensuse-tumbleweed
2365 msgid ""
2366 "The kernel does not support some functionality requested in this "
2367 "B<clone3>() call: The size argument is larger than what the kernel "
2368 "supports, and there are non-zero values in the struct after the kernel-"
2369 "supported size."
2370 msgstr ""
2371 "Jądro nie obsługuje pewnej funkcjonalności zażądanej w danym wywołaniu "
2372 "B<clone3>(): Argument rozmiaru jest większy od obsługiwanego przez jądro i w "
2373 "strukturze, w części rozmiaru większej od obsługiwanej przez jądro, "
2374 "występują niezerowe wartości."
2375
2376 #. type: Plain text
2377 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
2378 #: opensuse-tumbleweed
2379 msgid "The size argument is larger than the page size."
2380 msgstr "Argument rozmiar jest większy od rozmiaru strony."
2381
2382 #. type: TP
2383 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2384 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2385 #, no-wrap
2386 msgid "B<EACCES> (B<clone3>() only)"
2387 msgstr "B<EACCES> (tylko B<clone3>())"
2388
2389 #. type: Plain text
2390 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2391 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2392 msgid ""
2393 "B<CLONE_INTO_CGROUP> was specified in I<cl_args.flags>, but the restrictions "
2394 "(described in B<cgroups>(7)) on placing the child process into the version "
2395 "2 cgroup referred to by I<cl_args.cgroup> are not met."
2396 msgstr ""
2397 "W I<cl_args.flags> podano B<CLONE_INTO_CGROUP>, nie spełniono ograniczeń "
2398 "(opisanych w B<cgroups>(7)), w odniesieniu do I<cl_args.cgroup>, dotyczących "
2399 "umieszczania procesu potomnego w grupie kontrolnej w wersji 2."
2400
2401 #. type: TP
2402 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2403 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2404 #, no-wrap
2405 msgid "B<EAGAIN>"
2406 msgstr "B<EAGAIN>"
2407
2408 #. type: Plain text
2409 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2410 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2411 msgid "Too many processes are already running; see B<fork>(2)."
2412 msgstr "Działa już zbyt wiele procesów; zob. B<fork>(2)."
2413
2414 #. type: TP
2415 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2416 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2417 #, no-wrap
2418 msgid "B<EBUSY> (B<clone3>() only)"
2419 msgstr "B<EBUSY> (tylko B<clone3>())"
2420
2421 #. type: Plain text
2422 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2423 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2424 msgid ""
2425 "B<CLONE_INTO_CGROUP> was specified in I<cl_args.flags>, but the file "
2426 "descriptor specified in I<cl_args.cgroup> refers to a version 2 cgroup in "
2427 "which a domain controller is enabled."
2428 msgstr ""
2429 "W I<cl_args.flags> podano B<CLONE_INTO_CGROUP>, lecz deskryptor pliku podany "
2430 "w I<cl_args.cgroup> odnosi się do grupy kontrolnej w wersji 2, w której "
2431 "włączony jest kontroler domeny."
2432
2433 #. type: TP
2434 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2435 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2436 #, no-wrap
2437 msgid "B<EEXIST> (B<clone3>() only)"
2438 msgstr "B<EEXIST> (tylko B<clone3>())"
2439
2440 #. type: Plain text
2441 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2442 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2443 msgid ""
2444 "One (or more) of the PIDs specified in I<set_tid> already exists in the "
2445 "corresponding PID namespace."
2446 msgstr ""
2447 "Jeden (lub więcej) PID podany w I<set_tid> już istnieje w odpowiedniej "
2448 "przestrzeni nazw PID."
2449
2450 #. type: TP
2451 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2452 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2453 #, no-wrap
2454 msgid "B<EINVAL>"
2455 msgstr "B<EINVAL>"
2456
2457 #. type: Plain text
2458 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2459 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2460 msgid ""
2461 "Both B<CLONE_SIGHAND> and B<CLONE_CLEAR_SIGHAND> were specified in the "
2462 "I<flags> mask."
2463 msgstr ""
2464 "W masce I<flags> podano jednocześnie B<CLONE_SIGHAND> i "
2465 "B<CLONE_CLEAR_SIGHAND>."
2466
2467 #. Precisely: Linux 2.6.0-test6
2468 #. type: Plain text
2469 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2470 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2471 msgid ""
2472 "B<CLONE_SIGHAND> was specified in the I<flags> mask, but B<CLONE_VM> was "
2473 "not. (Since Linux 2.6.0.)"
2474 msgstr ""
2475 "W masce I<flags> podano B<CLONE_SIGHAND>, lecz nie podano B<CLONE_VM> (od "
2476 "Linuksa 2.6.0)."
2477
2478 #. .TP
2479 #. .B EINVAL
2480 #. Precisely one of
2481 #. .B CLONE_DETACHED
2482 #. and
2483 #. .B CLONE_THREAD
2484 #. was specified.
2485 #. (Since Linux 2.6.0-test6.)
2486 #. type: Plain text
2487 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2488 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2489 msgid ""
2490 "B<CLONE_THREAD> was specified in the I<flags> mask, but B<CLONE_SIGHAND> was "
2491 "not. (Since Linux 2.5.35.)"
2492 msgstr ""
2493 "W masce I<flags> podano B<CLONE_THREAD>, lecz nie podano B<CLONE_SIGHAND> "
2494 "(od Linuksa 2.5.35)."
2495
2496 #. type: Plain text
2497 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2498 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2499 msgid ""
2500 "B<CLONE_THREAD> was specified in the I<flags> mask, but the current process "
2501 "previously called B<unshare>(2) with the B<CLONE_NEWPID> flag or used "
2502 "B<setns>(2) to reassociate itself with a PID namespace."
2503 msgstr ""
2504 "W masce I<flags> podano B<CLONE_THREAD>, lecz bieżący proces użył uprzednio "
2505 "B<unshare>(2) ze znacznikiem B<CLONE_NEWPID> lub użył B<setns>(2) do "
2506 "ponownego związania się z przestrzenią nazw PID."
2507
2508 #. commit e66eded8309ebf679d3d3c1f5820d1f2ca332c71
2509 #. type: Plain text
2510 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2511 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2512 msgid ""
2513 "Both B<CLONE_FS> and B<CLONE_NEWNS> were specified in the I<flags> mask."
2514 msgstr "W masce I<flags> podano jednocześnie B<CLONE_FS> i B<CLONE_NEWNS>."
2515
2516 #. type: TP
2517 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2518 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2519 #, no-wrap
2520 msgid "B<EINVAL> (since Linux 3.9)"
2521 msgstr "B<EINVAL> (od Linuksa 3.9)"
2522
2523 #. type: Plain text
2524 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2525 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2526 msgid ""
2527 "Both B<CLONE_NEWUSER> and B<CLONE_FS> were specified in the I<flags> mask."
2528 msgstr "W masce I<flags> podano jednocześnie B<CLONE_NEWUSER> i B<CLONE_FS>."
2529
2530 #. type: Plain text
2531 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2532 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2533 msgid ""
2534 "Both B<CLONE_NEWIPC> and B<CLONE_SYSVSEM> were specified in the I<flags> "
2535 "mask."
2536 msgstr ""
2537 "W masce I<flags> podano jednocześnie B<CLONE_NEWIPC> i B<CLONE_SYSVSEM>."
2538
2539 #. type: Plain text
2540 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2541 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2542 msgid ""
2543 "B<CLONE_NEWPID> and one (or both) of B<CLONE_THREAD> or B<CLONE_PARENT> were "
2544 "specified in the I<flags> mask."
2545 msgstr "W masce I<flags> podano jednocześnie B<CLONE_FS> i B<CLONE_NEWNS>."
2546
2547 #. type: Plain text
2548 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2549 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2550 msgid ""
2551 "B<CLONE_NEWUSER> and B<CLONE_THREAD> were specified in the I<flags> mask."
2552 msgstr "W masce I<flags> podano jednocześnie B<CLONE_FS> i B<CLONE_NEWNS>."
2553
2554 #. type: TP
2555 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2556 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2557 #, no-wrap
2558 msgid "B<EINVAL> (since Linux 2.6.32)"
2559 msgstr "B<EINVAL> (od Linuksa 2.6.32)"
2560
2561 #. commit 123be07b0b399670a7cc3d82fef0cb4f93ef885c
2562 #. type: Plain text
2563 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2564 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2565 msgid "B<CLONE_PARENT> was specified, and the caller is an init process."
2566 msgstr "Podano B<CLONE_PARENT>, a wywołujący jest procesem init."
2567
2568 #. type: Plain text
2569 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2570 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2571 msgid ""
2572 "Returned by the glibc B<clone>() wrapper function when I<fn> or I<stack> is "
2573 "specified as NULL."
2574 msgstr ""
2575 "Zwracane przez funkcję opakowującą B<clone>() z glibc, gdy I<fn> lub "
2576 "I<stack> określono jako NULL."
2577
2578 #. type: Plain text
2579 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2580 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2581 msgid ""
2582 "B<CLONE_NEWIPC> was specified in the I<flags> mask, but the kernel was not "
2583 "configured with the B<CONFIG_SYSVIPC> and B<CONFIG_IPC_NS> options."
2584 msgstr ""
2585 "W masce I<flags> podano B<CLONE_NEWIPC>, lecz jądro nie zostało "
2586 "skonfigurowane z opcjami B<CONFIG_SYSVIPC> i B<CONFIG_IPC_NS>."
2587
2588 #. type: Plain text
2589 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2590 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2591 msgid ""
2592 "B<CLONE_NEWNET> was specified in the I<flags> mask, but the kernel was not "
2593 "configured with the B<CONFIG_NET_NS> option."
2594 msgstr ""
2595 "W masce I<flags> podano B<CLONE_NEWNET>, lecz jądro nie zostało "
2596 "skonfigurowane z opcją B<CONFIG_NET_NS>."
2597
2598 #. type: Plain text
2599 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2600 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2601 msgid ""
2602 "B<CLONE_NEWPID> was specified in the I<flags> mask, but the kernel was not "
2603 "configured with the B<CONFIG_PID_NS> option."
2604 msgstr ""
2605 "W masce I<flags> podano B<CLONE_NEWPID>, lecz jądro nie zostało "
2606 "skonfigurowane z opcją B<CONFIG_PID_NS>."
2607
2608 #. type: Plain text
2609 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2610 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2611 msgid ""
2612 "B<CLONE_NEWUSER> was specified in the I<flags> mask, but the kernel was not "
2613 "configured with the B<CONFIG_USER_NS> option."
2614 msgstr ""
2615 "W masce I<flags> podano B<CLONE_NEWUSER>, lecz jądro nie zostało "
2616 "skonfigurowane z opcją B<CONFIG_USER_NS>."
2617
2618 #. type: Plain text
2619 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2620 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2621 msgid ""
2622 "B<CLONE_NEWUTS> was specified in the I<flags> mask, but the kernel was not "
2623 "configured with the B<CONFIG_UTS_NS> option."
2624 msgstr ""
2625 "W masce I<flags> podano B<CLONE_NEWUTS>, lecz jądro nie zostało "
2626 "skonfigurowane z opcją B<CONFIG_UTS_NS>."
2627
2628 #. type: Plain text
2629 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2630 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2631 msgid ""
2632 "I<stack> is not aligned to a suitable boundary for this architecture. For "
2633 "example, on aarch64, I<stack> must be a multiple of 16."
2634 msgstr ""
2635 "Stos I<stack> nie jest wyrównany do odpowiedniej granicy na tej "
2636 "architekturze. Przykładowo na aarch64, I<stack> musi być wielokrotnością 16."
2637
2638 #. type: TP
2639 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2640 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2641 #, no-wrap
2642 msgid "B<EINVAL> (B<clone3>() only)"
2643 msgstr "B<EINVAL> (tylko B<clone3>())"
2644
2645 #. type: Plain text
2646 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2647 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2648 msgid "B<CLONE_DETACHED> was specified in the I<flags> mask."
2649 msgstr "W masce I<flags> podano B<CLONE_DETACHED>."
2650
2651 #. type: TP
2652 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2653 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2654 #, no-wrap
2655 msgid "B<EINVAL> (B<clone>() only)"
2656 msgstr "B<EINVAL> (tylko B<clone>())"
2657
2658 #. type: Plain text
2659 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2660 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2661 msgid ""
2662 "B<CLONE_PIDFD> was specified together with B<CLONE_DETACHED> in the I<flags> "
2663 "mask."
2664 msgstr ""
2665 "W masce I<flags> podano B<CLONE_PIDFD> jednocześnie z B<CLONE_DETACHED>."
2666
2667 #. type: TP
2668 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
2669 #: opensuse-tumbleweed
2670 #, no-wrap
2671 msgid "B<EINVAL> (before Linux 6.9)"
2672 msgstr "B<EINVAL> (przed Linuksem 6.9)"
2673
2674 #. type: Plain text
2675 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2676 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2677 msgid ""
2678 "B<CLONE_PIDFD> was specified together with B<CLONE_THREAD> in the I<flags> "
2679 "mask."
2680 msgstr "W masce I<flags> podano B<CLONE_PIDFD> jednocześnie z B<CLONE_THREAD>."
2681
2682 #. type: TP
2683 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2684 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2685 #, no-wrap
2686 msgid "B<EINVAL >(B<clone>() only)"
2687 msgstr "B<EINVAL> (tylko B<clone>())"
2688
2689 #. type: Plain text
2690 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2691 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2692 msgid ""
2693 "B<CLONE_PIDFD> was specified together with B<CLONE_PARENT_SETTID> in the "
2694 "I<flags> mask."
2695 msgstr ""
2696 "W masce I<flags> podano B<CLONE_PIDFD> jednocześnie z B<CLONE_PARENT_SETTID>."
2697
2698 #. type: Plain text
2699 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2700 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2701 msgid "I<set_tid_size> is greater than the number of nested PID namespaces."
2702 msgstr ""
2703 "I<set_tid_size> jest większy od liczby zagnieżdżonych przestrzeni nazw PID."
2704
2705 #. type: Plain text
2706 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2707 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2708 msgid "One of the PIDs specified in I<set_tid> was an invalid."
2709 msgstr "Jeden z PID-ów podanych w I<set_tid> był nieprawidłowy."
2710
2711 #. commit 7f192e3cd316ba58c88dfa26796cf77789dd9872
2712 #. type: Plain text
2713 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2714 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2715 msgid ""
2716 "B<CLONE_THREAD> or B<CLONE_PARENT> was specified in the I<flags> mask, but a "
2717 "signal was specified in I<exit_signal>."
2718 msgstr ""
2719 "W masce I<flags> podano B<CLONE_THREAD> lub B<CLONE_PARENT>, lecz w "
2720 "I<exit_signal> określono sygnał."
2721
2722 #. type: TP
2723 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2724 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2725 #, no-wrap
2726 msgid "B<EINVAL> (AArch64 only, Linux 4.6 and earlier)"
2727 msgstr "B<EINVAL> (tylko AArch64, Linux 4.6 i wcześniejsze)"
2728
2729 #. type: Plain text
2730 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2731 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2732 msgid "I<stack> was not aligned to a 128-bit boundary."
2733 msgstr "I<stack> nie był wyrównany do granicy 128-bitów."
2734
2735 #. type: TP
2736 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2737 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2738 #, no-wrap
2739 msgid "B<ENOMEM>"
2740 msgstr "B<ENOMEM>"
2741
2742 #. type: Plain text
2743 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2744 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2745 msgid ""
2746 "Cannot allocate sufficient memory to allocate a task structure for the "
2747 "child, or to copy those parts of the caller's context that need to be copied."
2748 msgstr ""
2749 "Za mało pamięci aby przydzielić strukturę zadania dla procesu potomnego, lub "
2750 "aby skopiować niezbędne fragmenty kontekstu procesu wywołującego."
2751
2752 #. type: TP
2753 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2754 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2755 #, no-wrap
2756 msgid "B<ENOSPC> (since Linux 3.7)"
2757 msgstr "B<ENOSPC> (od Linuksa 3.7)"
2758
2759 #. commit f2302505775fd13ba93f034206f1e2a587017929
2760 #. type: Plain text
2761 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2762 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2763 msgid ""
2764 "B<CLONE_NEWPID> was specified in the I<flags> mask, but the limit on the "
2765 "nesting depth of PID namespaces would have been exceeded; see "
2766 "B<pid_namespaces>(7)."
2767 msgstr ""
2768 "W masce I<flags> podano B<CLONE_NEWPID>, lecz zostałby przekroczony limit "
2769 "zagnieżdżenia przestrzeni nazw PID; zob. B<pid_namespaces>(7)."
2770
2771 #. type: TP
2772 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2773 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2774 #, no-wrap
2775 msgid "B<ENOSPC> (since Linux 4.9; beforehand B<EUSERS>)"
2776 msgstr "B<ENOSPC> (od Linuksa 4.9; wcześniej B<EUSERS>)"
2777
2778 #. type: Plain text
2779 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2780 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2781 msgid ""
2782 "B<CLONE_NEWUSER> was specified in the I<flags> mask, and the call would "
2783 "cause the limit on the number of nested user namespaces to be exceeded. See "
2784 "B<user_namespaces>(7)."
2785 msgstr ""
2786 "W masce I<flags> podano B<CLONE_NEWUSER>, a wywołanie przekroczyłoby limit "
2787 "liczby zagnieżdżonych przestrzeni nazw użytkownika. Zob. "
2788 "B<user_namespaces>(7)."
2789
2790 #. type: Plain text
2791 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2792 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2793 msgid ""
2794 "From Linux 3.11 to Linux 4.8, the error diagnosed in this case was B<EUSERS>."
2795 msgstr ""
2796 "Od Linuksa 3.11 do Linuksa 4.8, diagnozowanym w tym przypadku błędem był "
2797 "B<EUSERS>."
2798
2799 #. type: TP
2800 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2801 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2802 #, no-wrap
2803 msgid "B<ENOSPC> (since Linux 4.9)"
2804 msgstr "B<ENOSPC> (od Linuksa 4.9)"
2805
2806 #. type: Plain text
2807 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2808 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2809 msgid ""
2810 "One of the values in the I<flags> mask specified the creation of a new user "
2811 "namespace, but doing so would have caused the limit defined by the "
2812 "corresponding file in I</proc/sys/user> to be exceeded. For further "
2813 "details, see B<namespaces>(7)."
2814 msgstr ""
2815 "Jedna z wartości w masce I<flags> określiła utworzenie nowej przestrzeni "
2816 "nazw użytkownika, lecz uczynienie tego, spowodowałoby przekroczenie limitu "
2817 "zdefiniowanego przez odpowiedni plik w I</proc/sys/user>. Więcej informacji "
2818 "znajduje się w podręczniku B<namespaces>(7)."
2819
2820 #. type: TP
2821 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2822 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2823 #, no-wrap
2824 msgid "B<EOPNOTSUPP> (B<clone3>() only)"
2825 msgstr "B<EOPNOTSUPP> (tylko B<clone3>())"
2826
2827 #. type: Plain text
2828 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2829 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2830 msgid ""
2831 "B<CLONE_INTO_CGROUP> was specified in I<cl_args.flags>, but the file "
2832 "descriptor specified in I<cl_args.cgroup> refers to a version 2 cgroup that "
2833 "is in the I<domain invalid> state."
2834 msgstr ""
2835 "W I<cl_args.flags> podano B<CLONE_INTO_CGROUP>, lecz deskryptor pliku podany "
2836 "w I<cl_args.cgroup> odnosi się do grupy kontrolnej w wersji 2, która jest w "
2837 "stanie I<domain invalid>."
2838
2839 #. type: TP
2840 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2841 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2842 #, no-wrap
2843 msgid "B<EPERM>"
2844 msgstr "B<EPERM>"
2845
2846 #. type: Plain text
2847 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2848 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2849 msgid ""
2850 "B<CLONE_NEWCGROUP>, B<CLONE_NEWIPC>, B<CLONE_NEWNET>, B<CLONE_NEWNS>, "
2851 "B<CLONE_NEWPID>, or B<CLONE_NEWUTS> was specified by an unprivileged process "
2852 "(process without B<CAP_SYS_ADMIN>)."
2853 msgstr ""
2854 "B<CLONE_NEWCGROUP>, B<CLONE_NEWIPC>, B<CLONE_NEWNET>, B<CLONE_NEWNS>, "
2855 "B<CLONE_NEWPID> lub B<CLONE_NEWUTS> były określone przez proces "
2856 "nieuprzywilejowany (proces bez przywileju B<CAP_SYS_ADMIN>)."
2857
2858 #. type: Plain text
2859 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2860 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2861 msgid ""
2862 "B<CLONE_PID> was specified by a process other than process 0. (This error "
2863 "occurs only on Linux 2.5.15 and earlier.)"
2864 msgstr ""
2865 "B<CLONE_PID> został podany przez proces inny niż proces 0 (błąd ten "
2866 "występował jedynie do Linuksa 2.5.15)."
2867
2868 #. type: Plain text
2869 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2870 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2871 msgid ""
2872 "B<CLONE_NEWUSER> was specified in the I<flags> mask, but either the "
2873 "effective user ID or the effective group ID of the caller does not have a "
2874 "mapping in the parent namespace (see B<user_namespaces>(7))."
2875 msgstr ""
2876 "W masce I<flags> podano B<CLONE_NEWUSER>, lecz ani efektywny identyfikator "
2877 "użytkownika, ani efektywny identyfikator grupy wywołującego nie jest "
2878 "przypisany do przestrzeni nazw rodzica (zob. B<user_namespaces>(7))."
2879
2880 #. type: TP
2881 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2882 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2883 #, no-wrap
2884 msgid "B<EPERM> (since Linux 3.9)"
2885 msgstr "B<EPERM> (od Linuksa 3.9)"
2886
2887 #. commit 3151527ee007b73a0ebd296010f1c0454a919c7d
2888 #. FIXME What is the rationale for this restriction?
2889 #. type: Plain text
2890 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2891 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2892 msgid ""
2893 "B<CLONE_NEWUSER> was specified in the I<flags> mask and the caller is in a "
2894 "chroot environment (i.e., the caller's root directory does not match the "
2895 "root directory of the mount namespace in which it resides)."
2896 msgstr ""
2897 "W masce I<flags> podano B<CLONE_NEWUSER>, a wywołujący znajduje się w "
2898 "środowisku chroot (tj. główny katalog wywołującego nie jest głównym "
2899 "katalogiem przestrzeni nazw montowań, w której rezyduje)."
2900
2901 #. type: TP
2902 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2903 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2904 #, no-wrap
2905 msgid "B<EPERM> (B<clone3>() only)"
2906 msgstr "B<EPERM> (tylko B<clone3>())"
2907
2908 #. type: Plain text
2909 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2910 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2911 msgid ""
2912 "I<set_tid_size> was greater than zero, and the caller lacks the "
2913 "B<CAP_SYS_ADMIN> capability in one or more of the user namespaces that own "
2914 "the corresponding PID namespaces."
2915 msgstr ""
2916 "I<set_tid_size> był większy niż zero, a wywołujący nie ma przywileju "
2917 "B<CAP_SYS_ADMIN> w jednej lub większej liczbie przestrzeni nazw użytkownika, "
2918 "które posiadają odpowiednie przestrzenie nazw PID."
2919
2920 #. type: TP
2921 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2922 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2923 #, no-wrap
2924 msgid "B<ERESTARTNOINTR> (since Linux 2.6.17)"
2925 msgstr "B<ERESTARTNOINTR> (od Linuksa 2.6.17)"
2926
2927 #. commit 4a2c7a7837da1b91468e50426066d988050e4d56
2928 #. type: Plain text
2929 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2930 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2931 msgid ""
2932 "System call was interrupted by a signal and will be restarted. (This can be "
2933 "seen only during a trace.)"
2934 msgstr ""
2935 "Wywołanie systemowe przerwano sygnałem i zostanie ono przeładowane (widać to "
2936 "tylko przy śledzeniu)."
2937
2938 #. type: TP
2939 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2940 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2941 #, no-wrap
2942 msgid "B<EUSERS> (Linux 3.11 to Linux 4.8)"
2943 msgstr "B<EUSERS> (od Linuksa 3.11 do Linuksa 4.8)"
2944
2945 #. type: Plain text
2946 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2947 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2948 msgid ""
2949 "B<CLONE_NEWUSER> was specified in the I<flags> mask, and the limit on the "
2950 "number of nested user namespaces would be exceeded. See the discussion of "
2951 "the B<ENOSPC> error above."
2952 msgstr ""
2953 "W masce I<flags> podano B<CLONE_NEWUSER>, a przekroczono by limit liczby "
2954 "zagnieżdżonych przestrzeni nazw użytkownika. Zob. opis błędu B<ENOSPC> "
2955 "powyżej."
2956
2957 #. type: SH
2958 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2959 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2960 #, no-wrap
2961 msgid "VERSIONS"
2962 msgstr "WERSJE"
2963
2964 #. type: Plain text
2965 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2966 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2967 msgid ""
2968 "The glibc B<clone>() wrapper function makes some changes in the memory "
2969 "pointed to by I<stack> (changes required to set the stack up correctly for "
2970 "the child) I<before> invoking the B<clone>() system call. So, in cases "
2971 "where B<clone>() is used to recursively create children, do not use the "
2972 "buffer employed for the parent's stack as the stack of the child."
2973 msgstr ""
2974 "Funkcja opakowująca B<clone>() z biblioteki glibc czyni pewne zmiany w "
2975 "pamięci, na którą wskazuje I<stack> (zmiany wymagane do prawidłowego "
2976 "ustawienia stosu w stosunku do potomka) I<przed> przywołaniem wywołania "
2977 "systemowego B<clone>(). Dlatego, w przypadkach gdy B<clone>() służy do "
2978 "rekurencyjnego tworzenia potomków, nie należy używać bufora w stosie "
2979 "rodzica, jako stosu potomka."
2980
2981 #. type: Plain text
2982 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2983 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2984 msgid ""
2985 "On i386, B<clone>() should not be called through vsyscall, but directly "
2986 "through I<int $0x80>."
2987 msgstr ""
2988 "Na i386, nie należy wywoływać B<clone>() za pomocą vsyscall; powinno się to "
2989 "robić bezpośrednio, poprzez I<int $0x80>."
2990
2991 #. type: SS
2992 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2993 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2994 #, no-wrap
2995 msgid "C library/kernel differences"
2996 msgstr "Różnice biblioteki C/jądra"
2997
2998 #. type: Plain text
2999 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3000 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3001 msgid ""
3002 "The raw B<clone>() system call corresponds more closely to B<fork>(2) in "
3003 "that execution in the child continues from the point of the call. As such, "
3004 "the I<fn> and I<arg> arguments of the B<clone>() wrapper function are "
3005 "omitted."
3006 msgstr ""
3007 "Surowe wywołanie systemowe B<clone>() jest bliższe B<fork>(2) w tym "
3008 "zakresie, że wykonanie procesu potomnego jest kontynuowane od miejsca "
3009 "wywołania. Dlatego argumenty I<fn> i I<arg> funkcji opakowującej B<clone>() "
3010 "są pominięte."
3011
3012 #. type: Plain text
3013 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3014 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3015 msgid ""
3016 "In contrast to the glibc wrapper, the raw B<clone>() system call accepts "
3017 "NULL as a I<stack> argument (and B<clone3>() likewise allows "
3018 "I<cl_args.stack> to be NULL). In this case, the child uses a duplicate of "
3019 "the parent's stack. (Copy-on-write semantics ensure that the child gets "
3020 "separate copies of stack pages when either process modifies the stack.) In "
3021 "this case, for correct operation, the B<CLONE_VM> option should not be "
3022 "specified. (If the child I<shares> the parent's memory because of the use "
3023 "of the B<CLONE_VM> flag, then no copy-on-write duplication occurs and chaos "
3024 "is likely to result.)"
3025 msgstr ""
3026 "W odróżnienie od opakowania z glibc, surowe wywołanie systemowe B<clone>() "
3027 "jako argument I<stack> akceptuje NULL (a B<clone3>() podobnie pozwala, aby "
3028 "I<cl_args.stack> wynosiło NULL). W takim przypadku, potomek używa duplikatu "
3029 "stosu rodzica (jest to dokonywane za pomocą kopiowania-przy-zapisie, co "
3030 "zapewnia, że potomek otrzyma odrębne kopie stron stosu, gdy jeden z procesów "
3031 "zmodyfikuje stos). W tym przypadku, aby zapewnić poprawne działanie, nie "
3032 "powinno się podawać opcji B<CLONE_VM> (jeśli potomek I<współdzieli> pamięć z "
3033 "rodzicem ze względu na znacznik B<CLONE_VM>, to nie zachodzi duplikacja z "
3034 "kopiowaniem-przy-zapisie, co prawdopodobnie doprowadzi do chaotycznych "
3035 "rezultatów)."
3036
3037 #. type: Plain text
3038 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3039 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3040 msgid ""
3041 "The order of the arguments also differs in the raw system call, and there "
3042 "are variations in the arguments across architectures, as detailed in the "
3043 "following paragraphs."
3044 msgstr ""
3045 "Kolejność argumentów również różni się w surowym wywołaniu systemowym, "
3046 "występuje także zmienność argumentów w zależności od architektury, zgodnie z "
3047 "poniższym opisem."
3048
3049 #. type: Plain text
3050 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3051 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3052 msgid ""
3053 "The raw system call interface on x86-64 and some other architectures "
3054 "(including sh, tile, and alpha) is:"
3055 msgstr ""
3056 "Interfejsem surowego wywołania systemowego na x86-64 i niektórych innych "
3057 "architekturach (w tym sh, tile i alpha) jest:"
3058
3059 #. type: Plain text
3060 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3061 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3062 #, no-wrap
3063 msgid ""
3064 "B<long clone(unsigned long >I<flags>B<, void *>I<stack>B<,>\n"
3065 "B< int *>I<parent_tid>B<, int *>I<child_tid>B<,>\n"
3066 "B< unsigned long >I<tls>B<);>\n"
3067 msgstr ""
3068 "B<long clone(unsigned long >I<flags>B<, void *>I<stack>B<,>\n"
3069 "B< int *>I<parent_tid>B<, int *>I<child_tid>B<,>\n"
3070 "B< unsigned long >I<tls>B<);>\n"
3071
3072 #. CONFIG_CLONE_BACKWARDS
3073 #. type: Plain text
3074 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3075 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3076 msgid ""
3077 "On x86-32, and several other common architectures (including score, ARM, ARM "
3078 "64, PA-RISC, arc, Power PC, xtensa, and MIPS), the order of the last two "
3079 "arguments is reversed:"
3080 msgstr ""
3081 "Na x86-32 i wielu innych popularnych architekturach (w tym score, ARM, ARM "
3082 "64, PA-RISC, arc, Power PC, xtensa i MIPS), kolejność dwóch ostatnich "
3083 "argumentów jest zamieniona:"
3084
3085 #. type: Plain text
3086 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3087 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3088 #, no-wrap
3089 msgid ""
3090 "B<long clone(unsigned long >I<flags>B<, void *>I<stack>B<,>\n"
3091 "B< int *>I<parent_tid>B<, unsigned long >I<tls>B<,>\n"
3092 "B< int *>I<child_tid>B<);>\n"
3093 msgstr ""
3094 "B<long clone(unsigned long >I<flags>B<, void *>I<stack>B<,>\n"
3095 "B< int *>I<parent_tid>B<, unsigned long >I<tls>B<,>\n"
3096 "B< int *>I<child_tid>B<);>\n"
3097
3098 #. CONFIG_CLONE_BACKWARDS2
3099 #. type: Plain text
3100 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3101 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3102 msgid ""
3103 "On the cris and s390 architectures, the order of the first two arguments is "
3104 "reversed:"
3105 msgstr ""
3106 "Na architekturach cris i s390, kolejność pierwszych dwóch argumentów jest "
3107 "zamieniona:"
3108
3109 #. type: Plain text
3110 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3111 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3112 #, no-wrap
3113 msgid ""
3114 "B<long clone(void *>I<stack>B<, unsigned long >I<flags>B<,>\n"
3115 "B< int *>I<parent_tid>B<, int *>I<child_tid>B<,>\n"
3116 "B< unsigned long >I<tls>B<);>\n"
3117 msgstr ""
3118 "B<long clone(void *>I<stack>B<, unsigned long >I<flags>B<,>\n"
3119 "B< int *>I<parent_tid>B<, int *>I<child_tid>B<,>\n"
3120 "B< unsigned long >I<tls>B<);>\n"
3121
3122 #. CONFIG_CLONE_BACKWARDS3
3123 #. type: Plain text
3124 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3125 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3126 msgid "On the microblaze architecture, an additional argument is supplied:"
3127 msgstr "Na architekturze microblaze występuje dodatkowy argument:"
3128
3129 #. type: Plain text
3130 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
3131 #: opensuse-tumbleweed
3132 #, no-wrap
3133 msgid ""
3134 "B<long clone(unsigned long >I<flags>B<, void *>I<stack>B<,>\n"
3135 "B< int >I<stack_size>B<,>\\f[R] /* Size of stack */\\fR\n"
3136 "B< int *>I<parent_tid>B<, int *>I<child_tid>B<,>\n"
3137 "B< unsigned long >I<tls>B<);>\n"
3138 msgstr ""
3139 "B<long clone(unsigned long >I<flags>B<, void *>I<stack>B<,>\n"
3140 "B< int >I<stack_size>B<,>\\f[R] /* Rozmiar stosu */\\fR\n"
3141 "B< int *>I<parent_tid>B<, int *>I<child_tid>B<,>\n"
3142 "B< unsigned long >I<tls>B<);>\n"
3143
3144 #. type: SS
3145 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3146 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3147 #, no-wrap
3148 msgid "blackfin, m68k, and sparc"
3149 msgstr "blackfin, m68k i sparc"
3150
3151 #. Mike Frysinger noted in a 2013 mail:
3152 #. these arches don't define __ARCH_WANT_SYS_CLONE:
3153 #. blackfin ia64 m68k sparc
3154 #. type: Plain text
3155 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3156 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3157 msgid ""
3158 "The argument-passing conventions on blackfin, m68k, and sparc are different "
3159 "from the descriptions above. For details, see the kernel (and glibc) source."
3160 msgstr ""
3161 "Konwencje przekazywania argumentów na blackfin, m68k i sparc są odmienne od "
3162 "powyższych opisów. Więcej szczegółów w źródle jądra (i glibc)."
3163
3164 #. type: SH
3165 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3166 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3167 #, no-wrap
3168 msgid "STANDARDS"
3169 msgstr "STANDARDY"
3170
3171 #. type: Plain text
3172 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3173 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3174 msgid "Linux."
3175 msgstr "Linux."
3176
3177 #. type: SH
3178 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3179 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3180 #, no-wrap
3181 msgid "HISTORY"
3182 msgstr "HISTORIA"
3183
3184 #. type: TP
3185 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3186 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3187 #, no-wrap
3188 msgid "B<clone3>()"
3189 msgstr "B<clone3>()"
3190
3191 #. There is no entry for
3192 #. .BR clone ()
3193 #. in libc5.
3194 #. glibc2 provides
3195 #. .BR clone ()
3196 #. as described in this manual page.
3197 #. type: Plain text
3198 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3199 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3200 msgid "Linux 5.3."
3201 msgstr "Linux 5.3."
3202
3203 #. type: SS
3204 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3205 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3206 #, no-wrap
3207 msgid "Linux 2.4 and earlier"
3208 msgstr "Linux 2.4 i wcześniejsze"
3209
3210 #. type: Plain text
3211 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3212 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3213 msgid ""
3214 "In the Linux 2.4.x series, B<CLONE_THREAD> generally does not make the "
3215 "parent of the new thread the same as the parent of the calling process. "
3216 "However, from Linux 2.4.7 to Linux 2.4.18 the B<CLONE_THREAD> flag implied "
3217 "the B<CLONE_PARENT> flag (as in Linux 2.6.0 and later)."
3218 msgstr ""
3219 "W serii Linuksa 2.4.x, B<CLONE_THREAD> zwykle nie czyniło rodzicem nowego "
3220 "wątku rodzica procesu wywołującego. Jednak od Linuksa 2.4.7 do Linuksa "
3221 "2.4.18 znacznik B<CLONE_THREAD> implikował znacznik B<CLONE_PARENT> (jak ma "
3222 "to miejsce od Linuksa 2.6.0)."
3223
3224 #. type: Plain text
3225 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3226 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3227 msgid ""
3228 "In Linux 2.4 and earlier, B<clone>() does not take arguments I<parent_tid>, "
3229 "I<tls>, and I<child_tid>."
3230 msgstr ""
3231 "W Linuksie 2.4 i wcześniejszych B<clone>() nie przyjmowało argumentów "
3232 "I<parent_tid>, I<tls> ani I<child_tid>."
3233
3234 #. type: SS
3235 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3236 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3237 #, no-wrap
3238 msgid "ia64"
3239 msgstr "ia64"
3240
3241 #. type: Plain text
3242 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3243 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3244 msgid "On ia64, a different interface is used:"
3245 msgstr "Na ia64 używany jest inny interfejs:"
3246
3247 #. type: Plain text
3248 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
3249 #: opensuse-tumbleweed
3250 #, no-wrap
3251 msgid ""
3252 "B<int __clone2(typeof(int (void *)) *>I<fn>B<,>\n"
3253 "B< void *>I<stack_base>B<, size_t >I<stack_size>B<,>\n"
3254 "B< int >I<flags>B<, void *>I<arg>B<, ...>\n"
3255 "B< >\\f[R]/*B< pid_t *>I<parent_tid>B<, struct user_desc *>I<tls>B<,>\n"
3256 "B< pid_t *>I<child_tid>B< >\\f[R]*/B< );>\n"
3257 msgstr ""
3258 "B<int __clone2(typeof(int (void *)) *>I<fn>B<,>\n"
3259 "B< void *>I<stack_base>B<, size_t >I<stack_size>B<,>\n"
3260 "B< int >I<flags>B<, void *>I<arg>B<, ...>\n"
3261 "B< >\\f[R]/*B< pid_t *>I<parent_tid>B<, struct user_desc *>I<tls>B<,>\n"
3262 "B< pid_t *>I<child_tid>B< >\\f[R]*/B< );>\n"
3263
3264 #. type: Plain text
3265 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3266 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3267 msgid ""
3268 "The prototype shown above is for the glibc wrapper function; for the system "
3269 "call itself, the prototype can be described as follows (it is identical to "
3270 "the B<clone>() prototype on microblaze):"
3271 msgstr ""
3272 "Powyższy prototyp jest do funkcji opakowującej z glibc; jeśli chodzi o samo "
3273 "wywołanie systemowe, jego prototyp może być opisany w sposób następujący "
3274 "(jest identyczny do prototypu B<clone>() na microblaze):"
3275
3276 #. type: Plain text
3277 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
3278 #: opensuse-tumbleweed
3279 #, no-wrap
3280 msgid ""
3281 "B<long clone2(unsigned long >I<flags>B<, void *>I<stack_base>B<,>\n"
3282 "B< int >I<stack_size>B<,>\\f[R] /* Size of stack */\\fR\n"
3283 "B< int *>I<parent_tid>B<, int *>I<child_tid>B<,>\n"
3284 "B< unsigned long >I<tls>B<);>\n"
3285 msgstr ""
3286 "B<long clone2(unsigned long >I<flags>B<, void *>I<stack_base>B<,>\n"
3287 "B< int >I<stack_size>B<,>\\f[R] /* Rozmiar stosu */\\fR\n"
3288 "B< int *>I<parent_tid>B<, int *>I<child_tid>B<,>\n"
3289 "B< unsigned long >I<tls>B<);>\n"
3290
3291 #. type: Plain text
3292 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3293 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3294 msgid ""
3295 "B<__clone2>() operates in the same way as B<clone>(), except that "
3296 "I<stack_base> points to the lowest address of the child's stack area, and "
3297 "I<stack_size> specifies the size of the stack pointed to by I<stack_base>."
3298 msgstr ""
3299 "B<__clone2>() działa w ten sam sposób co B<clone>() z tym wyjątkiem, że "
3300 "I<stack_base> wskazuje na najniższy adres przestrzeni stosu potomka, a "
3301 "I<stack_size> określa rozmiar stosu, na który wskazuje I<stack_base>."
3302
3303 #. type: SH
3304 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3305 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3306 #, no-wrap
3307 msgid "NOTES"
3308 msgstr "UWAGI"
3309
3310 #. type: Plain text
3311 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3312 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3313 msgid ""
3314 "One use of these system calls is to implement threads: multiple flows of "
3315 "control in a program that run concurrently in a shared address space."
3316 msgstr ""
3317 "Jednym z zastosowań tych wywołań systemowych jest implementacja wątków: "
3318 "zarządzanie wieloma przepływami kontroli w programie, które działają "
3319 "równolegle we współdzielonej przestrzeni adresowej."
3320
3321 #. type: Plain text
3322 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3323 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3324 msgid ""
3325 "The B<kcmp>(2) system call can be used to test whether two processes share "
3326 "various resources such as a file descriptor table, System V semaphore undo "
3327 "operations, or a virtual address space."
3328 msgstr ""
3329 "Wywołanie systemowe B<kcmp>(2) może posłużyć do sprawdzenia, czy dwa procesy "
3330 "współdzielą różne zasoby, takie jak tablica deskryptorów pliku, operacje "
3331 "cofnięć semaforów Systemu V lub wirtualną przestrzeń adresową."
3332
3333 #. type: Plain text
3334 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3335 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3336 msgid ""
3337 "Handlers registered using B<pthread_atfork>(3) are not executed during a "
3338 "clone call."
3339 msgstr ""
3340 "Uchwyty zarejestrowane przy pomocy B<pthread_atfork>(3) nie są wykonywane "
3341 "przy wywołaniu klonowania."
3342
3343 #. type: SH
3344 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3345 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3346 #, no-wrap
3347 msgid "BUGS"
3348 msgstr "USTERKI"
3349
3350 #. type: Plain text
3351 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3352 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3353 msgid ""
3354 "GNU C library versions 2.3.4 up to and including 2.24 contained a wrapper "
3355 "function for B<getpid>(2) that performed caching of PIDs. This caching "
3356 "relied on support in the glibc wrapper for B<clone>(), but limitations in "
3357 "the implementation meant that the cache was not up to date in some "
3358 "circumstances. In particular, if a signal was delivered to the child "
3359 "immediately after the B<clone>() call, then a call to B<getpid>(2) in a "
3360 "handler for the signal could return the PID of the calling process (\"the "
3361 "parent\"), if the clone wrapper had not yet had a chance to update the PID "
3362 "cache in the child. (This discussion ignores the case where the child was "
3363 "created using B<CLONE_THREAD>, when B<getpid>(2) I<should> return the same "
3364 "value in the child and in the process that called B<clone>(), since the "
3365 "caller and the child are in the same thread group. The stale-cache problem "
3366 "also does not occur if the I<flags> argument includes B<CLONE_VM>.) To get "
3367 "the truth, it was sometimes necessary to use code such as the following:"
3368 msgstr ""
3369 "Biblioteka GNU C w wersjach od 2.3.4 do 2.24 włącznie, zawierała funkcję "
3370 "opakowującą B<getpid>(2), która przeprowadzała buforowanie PID-ów. To "
3371 "buforowanie zależało od obsługi opakowania B<clone>() z glibc, jednak "
3372 "ograniczenia w implementacji powodowały, że w niektórych przypadkach bufor "
3373 "ten nie był aktualny. W szczególności, jeśli do potomka dostarczano sygnał "
3374 "od razu po wywołaniu B<clone>(), to wywołanie B<getpid>(2) w procedurze "
3375 "obsługi sygnału mogło zwrócić PID procesu wywołującego (\\[Bq]rodzica\\"
3376 "[rq]), jeśli opakowanie clone nie miało jeszcze szansy zaktualizowania "
3377 "bufora PID w potomku (ten opis ignoruje sytuację, gdy potomka utworzono za "
3378 "pomocą B<CLONE_THREAD>; wówczas B<getpid>(2) I<powinno> zwracać tę samą "
3379 "wartość w potomku jak w procesie wywołującym B<clone>(), ponieważ wywołujący "
3380 "i potomek znajdują się w tej samej grupie wątków. Problem nieaktualnego "
3381 "bufora nie występuje również, gdy argument I<flags> zawiera B<CLONE_VM>). Do "
3382 "dotarcia do prawdziwego PID, trzeba było czasem użyć kodu takiego jak "
3383 "poniższy:"
3384
3385 #. type: Plain text
3386 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3387 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3388 #, no-wrap
3389 msgid ""
3390 "#include E<lt>syscall.hE<gt>\n"
3391 "\\&\n"
3392 "pid_t mypid;\n"
3393 "\\&\n"
3394 "mypid = syscall(SYS_getpid);\n"
3395 msgstr ""
3396 "#include E<lt>syscall.hE<gt>\n"
3397 "\\&\n"
3398 "pid_t mypid;\n"
3399 "\\&\n"
3400 "mypid = syscall(SYS_getpid);\n"
3401
3402 #. type: Plain text
3403 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3404 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3405 msgid ""
3406 "Because of the stale-cache problem, as well as other problems noted in "
3407 "B<getpid>(2), the PID caching feature was removed in glibc 2.25."
3408 msgstr ""
3409 "Ze względu na kłopot z nieaktualnym buforem i inne problemy opisane w "
3410 "B<getpid>(2), funkcjonalność buforowania PID-ów usunięto w glibc 2.25."
3411
3412 #. type: SH
3413 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3414 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3415 #, no-wrap
3416 msgid "EXAMPLES"
3417 msgstr "PRZYKŁADY"
3418
3419 #. type: Plain text
3420 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3421 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3422 msgid ""
3423 "The following program demonstrates the use of B<clone>() to create a child "
3424 "process that executes in a separate UTS namespace. The child changes the "
3425 "hostname in its UTS namespace. Both parent and child then display the "
3426 "system hostname, making it possible to see that the hostname differs in the "
3427 "UTS namespaces of the parent and child. For an example of the use of this "
3428 "program, see B<setns>(2)."
3429 msgstr ""
3430 "Poniższy program demonstruje użycie B<clone>() do utworzenia procesu "
3431 "potomnego, który wykonuje się w oddzielnej przestrzeni nazw UTS. Potomek "
3432 "zmienia nazwę stacji w swojej przestrzeni nazw UTS. Rodzic i potomek "
3433 "wyświetlają następnie systemową nazwę stacji, przez co widać, że różni się "
3434 "ona w przestrzeniach nazw UTS rodzica i potomka. Przykład użycia tego "
3435 "programu znajduje się w podręczniku B<setns>(2)."
3436
3437 #. type: Plain text
3438 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3439 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3440 msgid ""
3441 "Within the sample program, we allocate the memory that is to be used for the "
3442 "child's stack using B<mmap>(2) rather than B<malloc>(3) for the following "
3443 "reasons:"
3444 msgstr ""
3445 "W programie przykładowym pamięć, która ma być użyta do stosu potomka, "
3446 "przydzielamy za pomocą B<mmap>(2), zamiast B<malloc>(3), z następujących "
3447 "powodów:"
3448
3449 #. type: Plain text
3450 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3451 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3452 msgid ""
3453 "B<mmap>(2) allocates a block of memory that starts on a page boundary and "
3454 "is a multiple of the page size. This is useful if we want to establish a "
3455 "guard page (a page with protection B<PROT_NONE>) at the end of the stack "
3456 "using B<mprotect>(2)."
3457 msgstr ""
3458 "B<mmap>(2) przydziela blok pamięci zaczynający się na granicy strony i "
3459 "będący wielokrotnością rozmiaru strony. Przydaje się to, gdy chcemy ustawić "
3460 "ochronę strony (stronę z ochroną B<PROT_NONE>) na końcu stosu, za pomocą "
3461 "B<mprotect>(2)."
3462
3463 #. type: Plain text
3464 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3465 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3466 msgid ""
3467 "We can specify the B<MAP_STACK> flag to request a mapping that is suitable "
3468 "for a stack. For the moment, this flag is a no-op on Linux, but it exists "
3469 "and has effect on some other systems, so we should include it for "
3470 "portability."
3471 msgstr ""
3472 "Możemy podać znacznik B<MAP_STACK>, aby zażądać mapowania, które jest "
3473 "odpowiednie do stosu. W tej chwili znacznik ten nie daje efektu na Linuksie, "
3474 "ale istnieje i działa na niektórych innych systemach, dlatego należy go "
3475 "podać ze względu na przenośność."
3476
3477 #. type: SS
3478 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3479 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3480 #, no-wrap
3481 msgid "Program source"
3482 msgstr "Kod źródłowy programu"
3483
3484 #. type: Plain text
3485 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
3486 #: opensuse-tumbleweed
3487 #, no-wrap
3488 msgid ""
3489 "#define _GNU_SOURCE\n"
3490 "#include E<lt>err.hE<gt>\n"
3491 "#include E<lt>sched.hE<gt>\n"
3492 "#include E<lt>signal.hE<gt>\n"
3493 "#include E<lt>stdint.hE<gt>\n"
3494 "#include E<lt>stdio.hE<gt>\n"
3495 "#include E<lt>stdlib.hE<gt>\n"
3496 "#include E<lt>string.hE<gt>\n"
3497 "#include E<lt>sys/mman.hE<gt>\n"
3498 "#include E<lt>sys/types.hE<gt>\n"
3499 "#include E<lt>sys/utsname.hE<gt>\n"
3500 "#include E<lt>sys/wait.hE<gt>\n"
3501 "#include E<lt>unistd.hE<gt>\n"
3502 "\\&\n"
3503 "static int /* Start function for cloned child */\n"
3504 "childFunc(void *arg)\n"
3505 "{\n"
3506 " struct utsname uts;\n"
3507 "\\&\n"
3508 " /* Change hostname in UTS namespace of child. */\n"
3509 "\\&\n"
3510 " if (sethostname(arg, strlen(arg)) == -1)\n"
3511 " err(EXIT_FAILURE, \"sethostname\");\n"
3512 "\\&\n"
3513 " /* Retrieve and display hostname. */\n"
3514 "\\&\n"
3515 " if (uname(&uts) == -1)\n"
3516 " err(EXIT_FAILURE, \"uname\");\n"
3517 " printf(\"uts.nodename in child: %s\\[rs]n\", uts.nodename);\n"
3518 "\\&\n"
3519 " /* Keep the namespace open for a while, by sleeping.\n"
3520 " This allows some experimentation--for example, another\n"
3521 " process might join the namespace. */\n"
3522 "\\&\n"
3523 " sleep(200);\n"
3524 "\\&\n"
3525 " return 0; /* Child terminates now */\n"
3526 "}\n"
3527 "\\&\n"
3528 "#define STACK_SIZE (1024 * 1024) /* Stack size for cloned child */\n"
3529 "\\&\n"
3530 "int\n"
3531 "main(int argc, char *argv[])\n"
3532 "{\n"
3533 " char *stack; /* Start of stack buffer */\n"
3534 " char *stackTop; /* End of stack buffer */\n"
3535 " pid_t pid;\n"
3536 " struct utsname uts;\n"
3537 "\\&\n"
3538 " if (argc E<lt> 2) {\n"
3539 " fprintf(stderr, \"Usage: %s E<lt>child-hostnameE<gt>\\[rs]n\", argv[0]);\n"
3540 " exit(EXIT_SUCCESS);\n"
3541 " }\n"
3542 "\\&\n"
3543 " /* Allocate memory to be used for the stack of the child. */\n"
3544 "\\&\n"
3545 " stack = mmap(NULL, STACK_SIZE, PROT_READ | PROT_WRITE,\n"
3546 " MAP_PRIVATE | MAP_ANONYMOUS | MAP_STACK, -1, 0);\n"
3547 " if (stack == MAP_FAILED)\n"
3548 " err(EXIT_FAILURE, \"mmap\");\n"
3549 "\\&\n"
3550 " stackTop = stack + STACK_SIZE; /* Assume stack grows downward */\n"
3551 "\\&\n"
3552 " /* Create child that has its own UTS namespace;\n"
3553 " child commences execution in childFunc(). */\n"
3554 "\\&\n"
3555 " pid = clone(childFunc, stackTop, CLONE_NEWUTS | SIGCHLD, argv[1]);\n"
3556 " if (pid == -1)\n"
3557 " err(EXIT_FAILURE, \"clone\");\n"
3558 " if (munmap(stack, STACK_SIZE))\n"
3559 " err(EXIT_FAILURE, \"munmap\");\n"
3560 " printf(\"clone() returned %jd\\[rs]n\", (intmax_t) pid);\n"
3561 "\\&\n"
3562 " /* Parent falls through to here */\n"
3563 "\\&\n"
3564 " sleep(1); /* Give child time to change its hostname */\n"
3565 "\\&\n"
3566 " /* Display hostname in parent\\[aq]s UTS namespace. This will be\n"
3567 " different from hostname in child\\[aq]s UTS namespace. */\n"
3568 "\\&\n"
3569 " if (uname(&uts) == -1)\n"
3570 " err(EXIT_FAILURE, \"uname\");\n"
3571 " printf(\"uts.nodename in parent: %s\\[rs]n\", uts.nodename);\n"
3572 "\\&\n"
3573 " if (waitpid(pid, NULL, 0) == -1) /* Wait for child */\n"
3574 " err(EXIT_FAILURE, \"waitpid\");\n"
3575 " printf(\"child has terminated\\[rs]n\");\n"
3576 "\\&\n"
3577 " exit(EXIT_SUCCESS);\n"
3578 "}\n"
3579 msgstr ""
3580 "#define _GNU_SOURCE\n"
3581 "#include E<lt>err.hE<gt>\n"
3582 "#include E<lt>sched.hE<gt>\n"
3583 "#include E<lt>signal.hE<gt>\n"
3584 "#include E<lt>stdint.hE<gt>\n"
3585 "#include E<lt>stdio.hE<gt>\n"
3586 "#include E<lt>stdlib.hE<gt>\n"
3587 "#include E<lt>string.hE<gt>\n"
3588 "#include E<lt>sys/mman.hE<gt>\n"
3589 "#include E<lt>sys/types.hE<gt>\n"
3590 "#include E<lt>sys/utsname.hE<gt>\n"
3591 "#include E<lt>sys/wait.hE<gt>\n"
3592 "#include E<lt>unistd.hE<gt>\n"
3593 "\\&\n"
3594 "static int /* Początek funkcje klonowanego potomka */\n"
3595 "childFunc(void *arg)\n"
3596 "{\n"
3597 " struct utsname uts;\n"
3598 "\\&\n"
3599 " /* Zmiana nazwy stacji w przestrzeni nazw UTS potomka. */\n"
3600 "\\&\n"
3601 " if (sethostname(arg, strlen(arg)) == -1)\n"
3602 " err(EXIT_FAILURE, \"sethostname\");\n"
3603 "\\&\n"
3604 " /* Pobranie i wyświetlenie nazwy stacji. */\n"
3605 "\\&\n"
3606 " if (uname(&uts) == -1)\n"
3607 " err(EXIT_FAILURE, \"uname\");\n"
3608 " printf(\"uts.nodename u potomka: %s\\[rs]n\", uts.nodename);\n"
3609 "\\&\n"
3610 " /* Utrzymuje przestrzeń nazw otwartą przez chwilę, śpiąc.\n"
3611 " Daje to pole do eksperymentów - do przestrzeni nazw\n"
3612 " może np. dołączyć inny proces. */\n"
3613 "\\&\n"
3614 " sleep(200);\n"
3615 "\\&\n"
3616 " return 0; /* Potomek ulega zakończeniu */\n"
3617 "}\n"
3618 "\\&\n"
3619 "#define STACK_SIZE (1024 * 1024) /* Rozmiar stosu klon. potomka */\n"
3620 "\\&\n"
3621 "int\n"
3622 "main(int argc, char *argv[])\n"
3623 "{\n"
3624 " char *stack; /* Początek bufora stosu */\n"
3625 " char *stackTop; /* Koniec bufora stosu */\n"
3626 " pid_t pid;\n"
3627 " struct utsname uts;\n"
3628 "\\&\n"
3629 " if (argc E<lt> 2) {\n"
3630 " fprintf(stderr, \"Użycie: %s E<lt>child-hostnameE<gt>\\[rs]n\", argv[0]);\n"
3631 " exit(EXIT_SUCCESS);\n"
3632 " }\n"
3633 "\\&\n"
3634 " /* Przydzielenie pamięci na stos potomka. */\n"
3635 "\\&\n"
3636 " stack = mmap(NULL, STACK_SIZE, PROT_READ | PROT_WRITE,\n"
3637 " MAP_PRIVATE | MAP_ANONYMOUS | MAP_STACK, -1, 0);\n"
3638 " if (stack == MAP_FAILED)\n"
3639 " err(EXIT_FAILURE, \"mmap\");\n"
3640 "\\&\n"
3641 " stackTop = stack + STACK_SIZE; /* Założenie: stos rośnie w dół */\n"
3642 "\\&\n"
3643 " /* Utworzenie potomka z własną przestrzenią nazw UTS;\n"
3644 " potomek rozpoczyna wykonanie w childFunc(). */\n"
3645 "\\&\n"
3646 " pid = clone(childFunc, stackTop, CLONE_NEWUTS | SIGCHLD, argv[1]);\n"
3647 " if (pid == -1)\n"
3648 " err(EXIT_FAILURE, \"clone\");\n"
3649 " if (munmap(stack, STACK_SIZE))\n"
3650 " err(EXIT_FAILURE, \"munmap\");\n"
3651 " printf(\"clone() returned %jd\\[rs]n\", (intmax_t) pid);\n"
3652 "\\&\n"
3653 " /* Rodzic przechodzi tutaj */\n"
3654 "\\&\n"
3655 " sleep(1); /* Czas na zmianę nazwy stacji przez potomka */\n"
3656 "\\&\n"
3657 " /* Wyświetla nazwę stacji w przestrzeni nazw UTS rodzica. Będzie \n"
3658 " inna, od nazwy stacji w przestrzeni nazw UTS potomka. */\n"
3659 "\\&\n"
3660 " if (uname(&uts) == -1)\n"
3661 " err(EXIT_FAILURE, \"uname\");\n"
3662 " printf(\"uts.nodename u rodzica: %s\\[rs]n\", uts.nodename);\n"
3663 "\\&\n"
3664 " if (waitpid(pid, NULL, 0) == -1) /* Czekanie na potomka */\n"
3665 " err(EXIT_FAILURE, \"waitpid\");\n"
3666 " printf(\"potomek zakończył działanie\\[rs]n\");\n"
3667 "\\&\n"
3668 " exit(EXIT_SUCCESS);\n"
3669 "}\n"
3670
3671 #. SRC END
3672 #. type: SH
3673 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3674 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3675 #, no-wrap
3676 msgid "SEE ALSO"
3677 msgstr "ZOBACZ TAKŻE"
3678
3679 #. type: Plain text
3680 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3681 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3682 msgid ""
3683 "B<fork>(2), B<futex>(2), B<getpid>(2), B<gettid>(2), B<kcmp>(2), B<mmap>(2), "
3684 "B<pidfd_open>(2), B<set_thread_area>(2), B<set_tid_address>(2), B<setns>(2), "
3685 "B<tkill>(2), B<unshare>(2), B<wait>(2), B<capabilities>(7), "
3686 "B<namespaces>(7), B<pthreads>(7)"
3687 msgstr ""
3688 "B<fork>(2), B<futex>(2), B<getpid>(2), B<gettid>(2), B<kcmp>(2), B<mmap>(2), "
3689 "B<pidfd_open>(2), B<set_thread_area>(2), B<set_tid_address>(2), B<setns>(2), "
3690 "B<tkill>(2), B<unshare>(2), B<wait>(2), B<capabilities>(7), "
3691 "B<namespaces>(7), B<pthreads>(7)"
3692
3693 #. type: TH
3694 #: debian-trixie
3695 #, no-wrap
3696 msgid "2024-06-15"
3697 msgstr "15 czerwca 2024 r."
3698
3699 #. type: TH
3700 #: debian-trixie
3701 #, no-wrap
3702 msgid "Linux man-pages 6.9.1"
3703 msgstr "Linux man-pages 6.9.1"
3704
3705 #. type: Plain text
3706 #: debian-trixie
3707 msgid "Standard C library (I<libc>, I<-lc>)"
3708 msgstr "Standardowa biblioteka C (I<libc>, I<-lc>)"
3709
3710 #. type: Plain text
3711 #: debian-trixie
3712 #, no-wrap
3713 msgid ""
3714 "B<int clone(int (*>I<fn>B<)(void *_Nullable), void *>I<stack>B<, int >I<flags>B<,>\n"
3715 "B< void *_Nullable >I<arg>B<, ...>I< >/*B< pid_t *_Nullable >I<parent_tid>B<,>\n"
3716 "B< void *_Nullable >I<tls>B<,>\n"
3717 "B< pid_t *_Nullable >I<child_tid>B< >*/B< );>\n"
3718 msgstr ""
3719 "B<int clone(int (*>I<fn>B<)(void *_Nullable), void *>I<stack>B<, int >I<flags>B<,>\n"
3720 "B< void *_Nullable >I<arg>B<, ...>I< >/*B< pid_t *_Nullable >I<parent_tid>B<,>\n"
3721 "B< void *_Nullable >I<tls>B<,>\n"
3722 "B< pid_t *_Nullable >I<child_tid>B< >*/B< );>\n"
3723
3724 #. type: Plain text
3725 #: debian-trixie
3726 #, no-wrap
3727 msgid "/* For the prototype of the raw clone() system call, see NOTES */\n"
3728 msgstr "/* Zob. UWAGI dot. prototypu surowego wywołania syst. clone() */\n"
3729
3730 #. type: Plain text
3731 #: debian-trixie fedora-44 fedora-rawhide
3732 #, no-wrap
3733 msgid ""
3734 "struct clone_args {\n"
3735 " u64 flags; /* Flags bit mask */\n"
3736 " u64 pidfd; /* Where to store PID file descriptor\n"
3737 " (I<int *>) */\n"
3738 " u64 child_tid; /* Where to store child TID,\n"
3739 " in child\\[aq]s memory (I<pid_t *>) */\n"
3740 " u64 parent_tid; /* Where to store child TID,\n"
3741 " in parent\\[aq]s memory (I<pid_t *>) */\n"
3742 " u64 exit_signal; /* Signal to deliver to parent on\n"
3743 " child termination */\n"
3744 " u64 stack; /* Pointer to lowest byte of stack */\n"
3745 " u64 stack_size; /* Size of stack */\n"
3746 " u64 tls; /* Location of new TLS */\n"
3747 " u64 set_tid; /* Pointer to a I<pid_t> array\n"
3748 " (since Linux 5.5) */\n"
3749 " u64 set_tid_size; /* Number of elements in I<set_tid>\n"
3750 " (since Linux 5.5) */\n"
3751 " u64 cgroup; /* File descriptor for target cgroup\n"
3752 " of child (since Linux 5.7) */\n"
3753 "};\n"
3754 msgstr ""
3755 "struct clone_args {\n"
3756 " u64 flags; /* Maska bitowa znaczników */\n"
3757 " u64 pidfd; /* Gdzie przechowywać deskryptor pliku PID\n"
3758 " (I<int *>) */\n"
3759 " u64 child_tid; /* Gdzie przechowywać TID p. potomnego,\n"
3760 " w pamięci p. potomnego (I<pid_t *>) */\n"
3761 " u64 parent_tid; /* Gdzie przechowywać TID, w pamięci\n"
3762 " procesu macierzystego (I<pid_t *>) */\n"
3763 " u64 exit_signal; /* Sygnał do dostarcz. przy zakończeniu\n"
3764 " procesu potomnego */\n"
3765 " u64 stack; /* Wskaźnik do najniższych bajtów stosu */\n"
3766 " u64 stack_size; /* Rozmiar stosu */\n"
3767 " u64 tls; /* Położenie nowego TLS */\n"
3768 " u64 set_tid; /* Wskaźnik do tablicy I<pid_t>\n"
3769 " (od Linuksa 5.5) */\n"
3770 " u64 set_tid_size; /* Liczba elementów w I<set_tid>\n"
3771 " (od Linuksa 5.5) */\n"
3772 " u64 cgroup; /* Deskryptor pliku docelowej gr. kontr.\n"
3773 " procesu potomnego (od Linuksa 5.7) */\n"
3774 "};\n"
3775
3776 #. type: tbl table
3777 #: debian-trixie fedora-44 fedora-rawhide
3778 #, no-wrap
3779 msgid "I<cl_args> field"
3780 msgstr "pole I<cl_args>"
3781
3782 #. type: tbl table
3783 #: debian-trixie fedora-44 fedora-rawhide
3784 #, no-wrap
3785 msgid "For most flags; details below"
3786 msgstr "Do większości znaczników; szczegóły niżej"
3787
3788 #. type: tbl table
3789 #: debian-trixie fedora-44 fedora-rawhide
3790 #, no-wrap
3791 msgid "I<--->"
3792 msgstr "I<--->"
3793
3794 #. added in Linux 2.5.32; removed in Linux 2.6.0-test4
3795 #. type: Plain text
3796 #: debian-trixie
3797 msgid ""
3798 "For a while (during the Linux 2.5 development series) there was a "
3799 "B<CLONE_DETACHED> flag, which caused the parent not to receive a signal when "
3800 "the child terminated. Ultimately, the effect of this flag was subsumed "
3801 "under the B<CLONE_THREAD> flag and by the time Linux 2.6.0 was released, "
3802 "this flag had no effect. Starting in Linux 2.6.2, the need to give this "
3803 "flag together with B<CLONE_THREAD> disappeared."
3804 msgstr ""
3805 "Przez pewien czas (w trakcie serii rozwojowej Linuksa 2.5) istniał znacznik "
3806 "B<CLONE_DETACHED>, który powodował nieotrzymywanie przez rodzica sygnału "
3807 "przy przerwaniu potomka. Ostatecznie, efekt tego znacznika został włączony "
3808 "do znacznika B<CLONE_THREAD> i w momencie wydania Linuksa 2.6.0, znacznik "
3809 "już nie działał. Począwszy od Linuksa 2.6.2, potrzeba podawania tego "
3810 "znacznika razem z B<CLONE_THREAD> zanikła."
3811
3812 #. type: Plain text
3813 #: debian-trixie fedora-44 fedora-rawhide
3814 msgid ""
3815 "It is currently not possible to use this flag together with B<CLONE_THREAD.> "
3816 "This means that the process identified by the PID file descriptor will "
3817 "always be a thread group leader."
3818 msgstr ""
3819 "Nie da się obecnie korzystać z tego znacznika razem z B<CLONE_THREAD>. "
3820 "Oznacza to, że proces identyfikowany przez deskryptor pliku PID będzie "
3821 "zawsze liderem grupy wątków."
3822
3823 #. type: Plain text
3824 #: debian-trixie fedora-44 fedora-rawhide
3825 #, no-wrap
3826 msgid ""
3827 "B<long clone(unsigned long >I<flags>B<, void *>I<stack>B<,>\n"
3828 "B< int >I<stack_size>B<,> /* Size of stack */\n"
3829 "B< int *>I<parent_tid>B<, int *>I<child_tid>B<,>\n"
3830 "B< unsigned long >I<tls>B<);>\n"
3831 msgstr ""
3832 "B<long clone(unsigned long >I<flags>B<, void *>I<stack>B<,>\n"
3833 "B< int >I<stack_size>B<,> /* Rozmiar stosu */\n"
3834 "B< int *>I<parent_tid>B<, int *>I<child_tid>B<,>\n"
3835 "B< unsigned long >I<tls>B<);>\n"
3836
3837 #. type: Plain text
3838 #: debian-trixie
3839 #, no-wrap
3840 msgid ""
3841 "B<int __clone2(int (*>I<fn>B<)(void *),>\n"
3842 "B< void *>I<stack_base>B<, size_t >I<stack_size>B<,>\n"
3843 "B< int >I<flags>B<, void *>I<arg>B<, ...>\n"
3844 "B< /* pid_t *>I<parent_tid>B<, struct user_desc *>I<tls>B<,>\n"
3845 "B< pid_t *>I<child_tid>B< */ );>\n"
3846 msgstr ""
3847 "B<int __clone2(int (*>I<fn>B<)(void *),>\n"
3848 "B< void *>I<stack_base>B<, size_t >I<stack_size>B<,>\n"
3849 "B< int >I<flags>B<, void *>I<arg>B<, ...>\n"
3850 "B< /* pid_t *>I<parent_tid>B<, struct user_desc *>I<tls>B<,>\n"
3851 "B< pid_t *>I<child_tid>B< */ );>\n"
3852
3853 #. type: Plain text
3854 #: debian-trixie fedora-44 fedora-rawhide
3855 #, no-wrap
3856 msgid ""
3857 "B<long clone2(unsigned long >I<flags>B<, void *>I<stack_base>B<,>\n"
3858 "B< int >I<stack_size>B<,> /* Size of stack */\n"
3859 "B< int *>I<parent_tid>B<, int *>I<child_tid>B<,>\n"
3860 "B< unsigned long >I<tls>B<);>\n"
3861 msgstr ""
3862 "B<long clone2(unsigned long >I<flags>B<, void *>I<stack_base>B<,>\n"
3863 "B< int >I<stack_size>B<,> /* Rozmiar stosu */\n"
3864 "B< int *>I<parent_tid>B<, int *>I<child_tid>B<,>\n"
3865 "B< unsigned long >I<tls>B<);>\n"
3866
3867 #. type: Plain text
3868 #: debian-trixie
3869 #, no-wrap
3870 msgid ""
3871 "#define _GNU_SOURCE\n"
3872 "#include E<lt>err.hE<gt>\n"
3873 "#include E<lt>sched.hE<gt>\n"
3874 "#include E<lt>signal.hE<gt>\n"
3875 "#include E<lt>stdint.hE<gt>\n"
3876 "#include E<lt>stdio.hE<gt>\n"
3877 "#include E<lt>stdlib.hE<gt>\n"
3878 "#include E<lt>string.hE<gt>\n"
3879 "#include E<lt>sys/mman.hE<gt>\n"
3880 "#include E<lt>sys/types.hE<gt>\n"
3881 "#include E<lt>sys/utsname.hE<gt>\n"
3882 "#include E<lt>sys/wait.hE<gt>\n"
3883 "#include E<lt>unistd.hE<gt>\n"
3884 "\\&\n"
3885 "static int /* Start function for cloned child */\n"
3886 "childFunc(void *arg)\n"
3887 "{\n"
3888 " struct utsname uts;\n"
3889 "\\&\n"
3890 " /* Change hostname in UTS namespace of child. */\n"
3891 "\\&\n"
3892 " if (sethostname(arg, strlen(arg)) == -1)\n"
3893 " err(EXIT_FAILURE, \"sethostname\");\n"
3894 "\\&\n"
3895 " /* Retrieve and display hostname. */\n"
3896 "\\&\n"
3897 " if (uname(&uts) == -1)\n"
3898 " err(EXIT_FAILURE, \"uname\");\n"
3899 " printf(\"uts.nodename in child: %s\\[rs]n\", uts.nodename);\n"
3900 "\\&\n"
3901 " /* Keep the namespace open for a while, by sleeping.\n"
3902 " This allows some experimentation--for example, another\n"
3903 " process might join the namespace. */\n"
3904 "\\&\n"
3905 " sleep(200);\n"
3906 "\\&\n"
3907 " return 0; /* Child terminates now */\n"
3908 "}\n"
3909 "\\&\n"
3910 "#define STACK_SIZE (1024 * 1024) /* Stack size for cloned child */\n"
3911 "\\&\n"
3912 "int\n"
3913 "main(int argc, char *argv[])\n"
3914 "{\n"
3915 " char *stack; /* Start of stack buffer */\n"
3916 " char *stackTop; /* End of stack buffer */\n"
3917 " pid_t pid;\n"
3918 " struct utsname uts;\n"
3919 "\\&\n"
3920 " if (argc E<lt> 2) {\n"
3921 " fprintf(stderr, \"Usage: %s E<lt>child-hostnameE<gt>\\[rs]n\", argv[0]);\n"
3922 " exit(EXIT_SUCCESS);\n"
3923 " }\n"
3924 "\\&\n"
3925 " /* Allocate memory to be used for the stack of the child. */\n"
3926 "\\&\n"
3927 " stack = mmap(NULL, STACK_SIZE, PROT_READ | PROT_WRITE,\n"
3928 " MAP_PRIVATE | MAP_ANONYMOUS | MAP_STACK, -1, 0);\n"
3929 " if (stack == MAP_FAILED)\n"
3930 " err(EXIT_FAILURE, \"mmap\");\n"
3931 "\\&\n"
3932 " stackTop = stack + STACK_SIZE; /* Assume stack grows downward */\n"
3933 "\\&\n"
3934 " /* Create child that has its own UTS namespace;\n"
3935 " child commences execution in childFunc(). */\n"
3936 "\\&\n"
3937 " pid = clone(childFunc, stackTop, CLONE_NEWUTS | SIGCHLD, argv[1]);\n"
3938 " if (pid == -1)\n"
3939 " err(EXIT_FAILURE, \"clone\");\n"
3940 " printf(\"clone() returned %jd\\[rs]n\", (intmax_t) pid);\n"
3941 "\\&\n"
3942 " /* Parent falls through to here */\n"
3943 "\\&\n"
3944 " sleep(1); /* Give child time to change its hostname */\n"
3945 "\\&\n"
3946 " /* Display hostname in parent\\[aq]s UTS namespace. This will be\n"
3947 " different from hostname in child\\[aq]s UTS namespace. */\n"
3948 "\\&\n"
3949 " if (uname(&uts) == -1)\n"
3950 " err(EXIT_FAILURE, \"uname\");\n"
3951 " printf(\"uts.nodename in parent: %s\\[rs]n\", uts.nodename);\n"
3952 "\\&\n"
3953 " if (waitpid(pid, NULL, 0) == -1) /* Wait for child */\n"
3954 " err(EXIT_FAILURE, \"waitpid\");\n"
3955 " printf(\"child has terminated\\[rs]n\");\n"
3956 "\\&\n"
3957 " exit(EXIT_SUCCESS);\n"
3958 "}\n"
3959 msgstr ""
3960 "#define _GNU_SOURCE\n"
3961 "#include E<lt>err.hE<gt>\n"
3962 "#include E<lt>sched.hE<gt>\n"
3963 "#include E<lt>signal.hE<gt>\n"
3964 "#include E<lt>stdint.hE<gt>\n"
3965 "#include E<lt>stdio.hE<gt>\n"
3966 "#include E<lt>stdlib.hE<gt>\n"
3967 "#include E<lt>string.hE<gt>\n"
3968 "#include E<lt>sys/mman.hE<gt>\n"
3969 "#include E<lt>sys/types.hE<gt>\n"
3970 "#include E<lt>sys/utsname.hE<gt>\n"
3971 "#include E<lt>sys/wait.hE<gt>\n"
3972 "#include E<lt>unistd.hE<gt>\n"
3973 "\\&\n"
3974 "static int /* Początek funkcje klonowanego potomka */\n"
3975 "childFunc(void *arg)\n"
3976 "{\n"
3977 " struct utsname uts;\n"
3978 "\\&\n"
3979 " /* Zmiana nazwy stacji w przestrzeni nazw UTS potomka. */\n"
3980 "\\&\n"
3981 " if (sethostname(arg, strlen(arg)) == -1)\n"
3982 " err(EXIT_FAILURE, \"sethostname\");\n"
3983 "\\&\n"
3984 " /* Pobranie i wyświetlenie nazwy stacji. */\n"
3985 "\\&\n"
3986 " if (uname(&uts) == -1)\n"
3987 " err(EXIT_FAILURE, \"uname\");\n"
3988 " printf(\"uts.nodename u potomka: %s\\[rs]n\", uts.nodename);\n"
3989 "\\&\n"
3990 " /* Utrzymuje przestrzeń nazw otwartą przez chwilę, śpiąc.\n"
3991 " Daje to pole do eksperymentów - do przestrzeni nazw\n"
3992 " może np. dołączyć inny proces. */\n"
3993 "\\&\n"
3994 " sleep(200);\n"
3995 "\\&\n"
3996 " return 0; /* Potomek ulega zakończeniu */\n"
3997 "}\n"
3998 "\\&\n"
3999 "#define STACK_SIZE (1024 * 1024) /* Rozmiar stosu klon. potomka */\n"
4000 "\\&\n"
4001 "int\n"
4002 "main(int argc, char *argv[])\n"
4003 "{\n"
4004 " char *stack; /* Początek bufora stosu */\n"
4005 " char *stackTop; /* Koniec bufora stosu */\n"
4006 " pid_t pid;\n"
4007 " struct utsname uts;\n"
4008 "\\&\n"
4009 " if (argc E<lt> 2) {\n"
4010 " fprintf(stderr, \"Użycie: %s E<lt>child-hostnameE<gt>\\[rs]n\", argv[0]);\n"
4011 " exit(EXIT_SUCCESS);\n"
4012 " }\n"
4013 "\\&\n"
4014 " /* Przydzielenie pamięci na stos potomka. */\n"
4015 "\\&\n"
4016 " stack = mmap(NULL, STACK_SIZE, PROT_READ | PROT_WRITE,\n"
4017 " MAP_PRIVATE | MAP_ANONYMOUS | MAP_STACK, -1, 0);\n"
4018 " if (stack == MAP_FAILED)\n"
4019 " err(EXIT_FAILURE, \"mmap\");\n"
4020 "\\&\n"
4021 " stackTop = stack + STACK_SIZE; /* Założenie: stos rośnie w dół */\n"
4022 "\\&\n"
4023 " /* Utworzenie potomka z własną przestrzenią nazw UTS;\n"
4024 " potomek rozpoczyna wykonanie w childFunc(). */\n"
4025 "\\&\n"
4026 " pid = clone(childFunc, stackTop, CLONE_NEWUTS | SIGCHLD, argv[1]);\n"
4027 " if (pid == -1)\n"
4028 " err(EXIT_FAILURE, \"clone\");\n"
4029 " printf(\"clone() zwróciło %jd\\[rs]n\", (intmax_t) pid);\n"
4030 "\\&\n"
4031 " /* Rodzic przechodzi tutaj */\n"
4032 "\\&\n"
4033 " sleep(1); /* Czas na zmianę nazwy stacji przez potomka */\n"
4034 "\\&\n"
4035 " /* Wyświetla nazwę stacji w przestrzeni nazw UTS rodzica. Będzie \n"
4036 " inna, od nazwy stacji w przestrzeni nazw UTS potomka. */\n"
4037 "\\&\n"
4038 " if (uname(&uts) == -1)\n"
4039 " err(EXIT_FAILURE, \"uname\");\n"
4040 " printf(\"uts.nodename u rodzica: %s\\[rs]n\", uts.nodename);\n"
4041 "\\&\n"
4042 " if (waitpid(pid, NULL, 0) == -1) /* Czekanie na potomka */\n"
4043 " err(EXIT_FAILURE, \"waitpid\");\n"
4044 " printf(\"potomek zakończył działanie\\[rs]n\");\n"
4045 "\\&\n"
4046 " exit(EXIT_SUCCESS);\n"
4047 "}\n"
4048
4049 #. type: TH
4050 #: fedora-44 fedora-rawhide
4051 #, no-wrap
4052 msgid "2025-02-10"
4053 msgstr "10 lutego 2025 r."
4054
4055 #. type: TH
4056 #: fedora-44 fedora-rawhide
4057 #, no-wrap
4058 msgid "Linux man-pages 6.13"
4059 msgstr "Linux man-pages 6.13"
4060
4061 #. type: Plain text
4062 #: fedora-44 fedora-rawhide
4063 #, no-wrap
4064 msgid "/* For the prototype of the raw clone() system call, see VERSIONS. */\n"
4065 msgstr "/* Aby zobaczyć prototyp surowego wywołania syst. clone(), patrz WERSJE */\n"
4066
4067 #. type: Plain text
4068 #: fedora-44 fedora-rawhide
4069 #, no-wrap
4070 msgid ""
4071 "B<int __clone2(typeof(int (void *)) *>I<fn>B<,>\n"
4072 "B< void *>I<stack_base>B<, size_t >I<stack_size>B<,>\n"
4073 "B< int >I<flags>B<, void *>I<arg>B<, ...>\n"
4074 "B< >/*B< pid_t *>I<parent_tid>B<, struct user_desc *>I<tls>B<,>\n"
4075 "B< pid_t *>I<child_tid>B< >*/B< );>\n"
4076 msgstr ""
4077 "B<int __clone2(typeof(int (void *)) *>I<fn>B<,>\n"
4078 "B< void *>I<stack_base>B<, size_t >I<stack_size>B<,>\n"
4079 "B< int >I<flags>B<, void *>I<arg>B<, ...>\n"
4080 "B< >/*B< pid_t *>I<parent_tid>B<, struct user_desc *>I<tls>B<,>\n"
4081 "B< pid_t *>I<child_tid>B< >*/B< );>\n"
4082
4083 #. type: Plain text
4084 #: fedora-44 fedora-rawhide
4085 #, no-wrap
4086 msgid ""
4087 "#define _GNU_SOURCE\n"
4088 "#include E<lt>err.hE<gt>\n"
4089 "#include E<lt>sched.hE<gt>\n"
4090 "#include E<lt>signal.hE<gt>\n"
4091 "#include E<lt>stdint.hE<gt>\n"
4092 "#include E<lt>stdio.hE<gt>\n"
4093 "#include E<lt>stdlib.hE<gt>\n"
4094 "#include E<lt>string.hE<gt>\n"
4095 "#include E<lt>sys/mman.hE<gt>\n"
4096 "#include E<lt>sys/types.hE<gt>\n"
4097 "#include E<lt>sys/utsname.hE<gt>\n"
4098 "#include E<lt>sys/wait.hE<gt>\n"
4099 "#include E<lt>unistd.hE<gt>\n"
4100 "\\&\n"
4101 "static int /* Start function for cloned child */\n"
4102 "childFunc(void *arg)\n"
4103 "{\n"
4104 " struct utsname uts;\n"
4105 "\\&\n"
4106 " /* Change hostname in UTS namespace of child. */\n"
4107 "\\&\n"
4108 " if (sethostname(arg, strlen(arg)) == -1)\n"
4109 " err(EXIT_FAILURE, \"sethostname\");\n"
4110 "\\&\n"
4111 " /* Retrieve and display hostname. */\n"
4112 "\\&\n"
4113 " if (uname(&uts) == -1)\n"
4114 " err(EXIT_FAILURE, \"uname\");\n"
4115 " printf(\"uts.nodename in child: %s\\[rs]n\", uts.nodename);\n"
4116 "\\&\n"
4117 " /* Keep the namespace open for a while, by sleeping.\n"
4118 " This allows some experimentation--for example, another\n"
4119 " process might join the namespace. */\n"
4120 "\\&\n"
4121 " sleep(200);\n"
4122 "\\&\n"
4123 " return 0; /* Child terminates now */\n"
4124 "}\n"
4125 "\\&\n"
4126 "#define STACK_SIZE (1024 * 1024) /* Stack size for cloned child */\n"
4127 "\\&\n"
4128 "int\n"
4129 "main(int argc, char *argv[])\n"
4130 "{\n"
4131 " char *stack; /* Start of stack buffer */\n"
4132 " char *stackTop; /* End of stack buffer */\n"
4133 " pid_t pid;\n"
4134 " struct utsname uts;\n"
4135 "\\&\n"
4136 " if (argc E<lt> 2) {\n"
4137 " fprintf(stderr, \"Usage: %s E<lt>child-hostnameE<gt>\\[rs]n\", argv[0]);\n"
4138 " exit(EXIT_SUCCESS);\n"
4139 " }\n"
4140 "\\&\n"
4141 " /* Allocate memory to be used for the stack of the child. */\n"
4142 "\\&\n"
4143 " stack = mmap(NULL, STACK_SIZE, PROT_READ | PROT_WRITE,\n"
4144 " MAP_PRIVATE | MAP_ANONYMOUS | MAP_STACK, -1, 0);\n"
4145 " if (stack == MAP_FAILED)\n"
4146 " err(EXIT_FAILURE, \"mmap\");\n"
4147 "\\&\n"
4148 " stackTop = stack + STACK_SIZE; /* Assume stack grows downward */\n"
4149 "\\&\n"
4150 " /* Create child that has its own UTS namespace;\n"
4151 " child commences execution in childFunc(). */\n"
4152 "\\&\n"
4153 " pid = clone(childFunc, stackTop, CLONE_NEWUTS | SIGCHLD, argv[1]);\n"
4154 " if (pid == -1)\n"
4155 " err(EXIT_FAILURE, \"clone\");\n"
4156 " if (munmap(stack, STACK_SIZE))\n"
4157 " err(EXIT_FAILURE, \"munmap\");\n"
4158 " printf(\"clone() returned %jd\\[rs]n\", (intmax_t) pid);\n"
4159 "\\&\n"
4160 " /* Parent falls through to here */\n"
4161 "\\&\n"
4162 " sleep(1); /* Give child time to change its hostname */\n"
4163 "\\&\n"
4164 " /* Display hostname in parent\\[aq]s UTS namespace. This will be\n"
4165 " different from hostname in child\\[aq]s UTS namespace. */\n"
4166 "\\&\n"
4167 " if (uname(&uts) == -1)\n"
4168 " err(EXIT_FAILURE, \"uname\");\n"
4169 " printf(\"uts.nodename in parent: %s\\[rs]n\", uts.nodename);\n"
4170 "\\&\n"
4171 " if (waitpid(pid, NULL, 0) == -1) /* Wait for child */\n"
4172 " err(EXIT_FAILURE, \"waitpid\");\n"
4173 " printf(\"child has terminated\\[rs]n\");\n"
4174 "\\&\n"
4175 " exit(EXIT_SUCCESS);\n"
4176 "}\n"
4177 msgstr ""
4178 "#define _GNU_SOURCE\n"
4179 "#include E<lt>err.hE<gt>\n"
4180 "#include E<lt>sched.hE<gt>\n"
4181 "#include E<lt>signal.hE<gt>\n"
4182 "#include E<lt>stdint.hE<gt>\n"
4183 "#include E<lt>stdio.hE<gt>\n"
4184 "#include E<lt>stdlib.hE<gt>\n"
4185 "#include E<lt>string.hE<gt>\n"
4186 "#include E<lt>sys/mman.hE<gt>\n"
4187 "#include E<lt>sys/types.hE<gt>\n"
4188 "#include E<lt>sys/utsname.hE<gt>\n"
4189 "#include E<lt>sys/wait.hE<gt>\n"
4190 "#include E<lt>unistd.hE<gt>\n"
4191 "\\&\n"
4192 "static int /* Początek funkcje klonowanego potomka */\n"
4193 "childFunc(void *arg)\n"
4194 "{\n"
4195 " struct utsname uts;\n"
4196 "\\&\n"
4197 " /* Zmiana nazwy stacji w przestrzeni nazw UTS potomka. */\n"
4198 "\\&\n"
4199 " if (sethostname(arg, strlen(arg)) == -1)\n"
4200 " err(EXIT_FAILURE, \"sethostname\");\n"
4201 "\\&\n"
4202 " /* Pobranie i wyświetlenie nazwy stacji. */\n"
4203 "\\&\n"
4204 " if (uname(&uts) == -1)\n"
4205 " err(EXIT_FAILURE, \"uname\");\n"
4206 " printf(\"uts.nodename u potomka: %s\\[rs]n\", uts.nodename);\n"
4207 "\\&\n"
4208 " /* Utrzymuje przestrzeń nazw otwartą przez chwilę, śpiąc.\n"
4209 " Daje to pole do eksperymentów - do przestrzeni nazw\n"
4210 " może np. dołączyć inny proces. */\n"
4211 "\\&\n"
4212 " sleep(200);\n"
4213 "\\&\n"
4214 " return 0; /* Potomek ulega zakończeniu */\n"
4215 "}\n"
4216 "\\&\n"
4217 "#define STACK_SIZE (1024 * 1024) /* Rozmiar stosu klon. potomka */\n"
4218 "\\&\n"
4219 "int\n"
4220 "main(int argc, char *argv[])\n"
4221 "{\n"
4222 " char *stack; /* Początek bufora stosu */\n"
4223 " char *stackTop; /* Koniec bufora stosu */\n"
4224 " pid_t pid;\n"
4225 " struct utsname uts;\n"
4226 "\\&\n"
4227 " if (argc E<lt> 2) {\n"
4228 " fprintf(stderr, \"Użycie: %s E<lt>child-hostnameE<gt>\\[rs]n\", argv[0]);\n"
4229 " exit(EXIT_SUCCESS);\n"
4230 " }\n"
4231 "\\&\n"
4232 " /* Przydzielenie pamięci na stos potomka. */\n"
4233 "\\&\n"
4234 " stack = mmap(NULL, STACK_SIZE, PROT_READ | PROT_WRITE,\n"
4235 " MAP_PRIVATE | MAP_ANONYMOUS | MAP_STACK, -1, 0);\n"
4236 " if (stack == MAP_FAILED)\n"
4237 " err(EXIT_FAILURE, \"mmap\");\n"
4238 "\\&\n"
4239 " stackTop = stack + STACK_SIZE; /* Założenie: stos rośnie w dół */\n"
4240 "\\&\n"
4241 " /* Utworzenie potomka z własną przestrzenią nazw UTS;\n"
4242 " potomek rozpoczyna wykonanie w childFunc(). */\n"
4243 "\\&\n"
4244 " pid = clone(childFunc, stackTop, CLONE_NEWUTS | SIGCHLD, argv[1]);\n"
4245 " if (pid == -1)\n"
4246 " err(EXIT_FAILURE, \"clone\");\n"
4247 " if (munmap(stack, STACK_SIZE))\n"
4248 " err(EXIT_FAILURE, \"munmap\");\n"
4249 " printf(\"clone() returned %jd\\[rs]n\", (intmax_t) pid);\n"
4250 "\\&\n"
4251 " /* Rodzic przechodzi tutaj */\n"
4252 "\\&\n"
4253 " sleep(1); /* Czas na zmianę nazwy stacji przez potomka */\n"
4254 "\\&\n"
4255 " /* Wyświetla nazwę stacji w przestrzeni nazw UTS rodzica. Będzie \n"
4256 " inna, od nazwy stacji w przestrzeni nazw UTS potomka. */\n"
4257 "\\&\n"
4258 " if (uname(&uts) == -1)\n"
4259 " err(EXIT_FAILURE, \"uname\");\n"
4260 " printf(\"uts.nodename u rodzica: %s\\[rs]n\", uts.nodename);\n"
4261 "\\&\n"
4262 " if (waitpid(pid, NULL, 0) == -1) /* Czekanie na potomka */\n"
4263 " err(EXIT_FAILURE, \"waitpid\");\n"
4264 " printf(\"potomek zakończył działanie\\[rs]n\");\n"
4265 "\\&\n"
4266 " exit(EXIT_SUCCESS);\n"
4267 "}\n"
4268
4269 #. type: TH
4270 #: mageia-cauldron
4271 #, no-wrap
4272 msgid "Linux man-pages 6.17"
4273 msgstr "Linux man-pages 6.17"
4274
4275 #. type: TH
4276 #: opensuse-leap-16-1 opensuse-tumbleweed
4277 #, no-wrap
4278 msgid "Linux man-pages (unreleased)"
4279 msgstr "Linux man-pages (niewydane)"