Debian Codegraph @

po/de/man2/ptrace.2.po

raw
1 # German translation of manpages
2 # This file is distributed under the same license as the manpages-l10n package.
3 # Copyright © of this file:
4 # Patrick Rother <[email protected]>
5 # Chris Leick <[email protected]>, 2010-2014.
6 # Mario Blättermann <[email protected]>, 2014, 2019, 2020, 2021, 2022, 2023.
7 # Helge Kreutzmann <[email protected]>, 2012, 2016-2021, 2023, 2026.
8 msgid ""
9 msgstr ""
10 "Project-Id-Version: manpages-l10n 4.29.1\n"
11 "POT-Creation-Date: 2026-06-05 06:38+0200\n"
12 "PO-Revision-Date: 2026-03-06 17:34+0100\n"
13 "Last-Translator: Mario Blättermann <[email protected]>\n"
14 "Language-Team: German <[email protected]>\n"
15 "Language: de\n"
16 "MIME-Version: 1.0\n"
17 "Content-Type: text/plain; charset=UTF-8\n"
18 "Content-Transfer-Encoding: 8bit\n"
19 "X-Generator: Lokalize 22.12.3\n"
20 "Plural-Forms: nplurals=2; plural=(n != 1);\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 "ptrace"
27 msgstr "ptrace"
28
29 #. type: TH
30 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
31 #: opensuse-tumbleweed
32 #, no-wrap
33 msgid "2026-02-10"
34 msgstr "10. Februar 2026"
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 "BEZEICHNUNG"
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 "ptrace - process trace"
53 msgstr "ptrace - Prozessverfolgung"
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 "BIBLIOTHEK"
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 "Standard-C-Bibliothek (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 "ÜBERSICHT"
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 "B<#include E<lt>sys/ptrace.hE<gt>>\n"
80 msgstr "B<#include E<lt>sys/ptrace.hE<gt>>\n"
81
82 #. type: Plain text
83 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
84 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
85 #, no-wrap
86 msgid ""
87 "B<long ptrace(enum __ptrace_request >I<op>B<, pid_t >I<pid>B<,>\n"
88 "B< void *>I<addr>B<, void *>I<data>B<);>\n"
89 msgstr ""
90 "B<long ptrace(enum __ptrace_request >I<Aktion>B<, pid_t >I<pid>B<,>\n"
91 "B< void *>I<Adresse>B<, void *>I<Daten>B<);>\n"
92
93 #. type: SH
94 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
95 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
96 #, no-wrap
97 msgid "DESCRIPTION"
98 msgstr "BESCHREIBUNG"
99
100 #. type: Plain text
101 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
102 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
103 msgid ""
104 "The B<ptrace>() system call provides a means by which one process (the "
105 "\"tracer\") may observe and control the execution of another process (the "
106 "\"tracee\"), and examine and change the tracee's memory and registers. It "
107 "is primarily used to implement breakpoint debugging and system call tracing."
108 msgstr ""
109 "Der Systemaufruf B<ptrace>() stellt ein Mittel bereit, wodurch ein Prozess "
110 "(der »Verfolger«) die Ausführung eines anderen Prozesses (des »verfolgten "
111 "Prozesses«) beobachten und steuern kann und seinen Speicher sowie die "
112 "Register untersuchen und ändern kann. Er wird in erster Linie benutzt, um "
113 "Fehlersuche mittels Haltepunkten zu implementieren und Systemaufrufe zu "
114 "verfolgen."
115
116 #. type: Plain text
117 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
118 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
119 msgid ""
120 "A tracee first needs to be attached to the tracer. Attachment and "
121 "subsequent commands are per thread: in a multithreaded process, every thread "
122 "can be individually attached to a (potentially different) tracer, or left "
123 "not attached and thus not debugged. Therefore, \"tracee\" always means "
124 "\"(one) thread\", never \"a (possibly multithreaded) process\". Ptrace "
125 "commands are always sent to a specific tracee using a call of the form"
126 msgstr ""
127 "Ein verfolgter Prozess muss zuerst an den Verfolger angehängt werden. "
128 "Anhängen und nachfolgende Befehle bestehen pro Thread: In einem Prozess mit "
129 "mehreren Threads kann jeder Thread individuell an einen (möglicherweise "
130 "unterschiedlichen) Verfolger angehängt werden oder nicht angehängt und "
131 "folglich nicht auf Fehler untersucht werden. Daher bedeutet »verfolgter "
132 "Prozess« immer »(ein) Thread«, niemals »ein Prozess (mit möglicherweise "
133 "mehreren Threads)«. Ptrace-Befehle werden immer an einen bestimmten "
134 "verfolgten Prozess gesandt. Der Aufruf hat folgende Form:"
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 "ptrace(PTRACE_foo, pid, ...)\n"
141 msgstr "ptrace(PTRACE_foo, PID, …)\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 "where I<pid> is the thread ID of the corresponding Linux thread."
147 msgstr "wobei I<PID> die Thread-Kennung des zugehörigen Linux-Threads ist."
148
149 #. type: Plain text
150 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
151 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
152 msgid ""
153 "(Note that in this page, a \"multithreaded process\" means a thread group "
154 "consisting of threads created using the B<clone>(2) B<CLONE_THREAD> flag.)"
155 msgstr ""
156 "(Beachten Sie, dass auf dieser Seite ein »Prozess aus mehreren Threads« eine "
157 "Thread-Gruppe bezeichnet, die aus Threads besteht, die mittels des "
158 "B<clone>(2)-Schalters B<CLONE_THREAD> erzeugt wurde.)"
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 "A process can initiate a trace by calling B<fork>(2) and having the "
165 "resulting child do a B<PTRACE_TRACEME>, followed (typically) by an "
166 "B<execve>(2). Alternatively, one process may commence tracing another "
167 "process using B<PTRACE_ATTACH> or B<PTRACE_SEIZE>."
168 msgstr ""
169 "Ein Prozess kann eine Verfolgung mittels B<fork>(2) starten und als Ergebnis "
170 "einen Kindprozess erhalten, der B<PTRACE_TRACEME> ausführt, was "
171 "(üblicherweise) von einem B<execve>(2) gefolgt wird. Alternativ kann ein "
172 "Prozess die Verfolgung eines anderen Prozesses mittels B<PTRACE_ATTACH> oder "
173 "B<PTRACE_SEIZE> beginnen."
174
175 #. type: Plain text
176 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
177 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
178 msgid ""
179 "While being traced, the tracee will stop each time a signal is delivered, "
180 "even if the signal is being ignored. (An exception is B<SIGKILL>, which has "
181 "its usual effect.) The tracer will be notified at its next call to "
182 "B<waitpid>(2) (or one of the related \"wait\" system calls); that call will "
183 "return a I<status> value containing information that indicates the cause of "
184 "the stop in the tracee. While the tracee is stopped, the tracer can use "
185 "various ptrace operations to inspect and modify the tracee. The tracer then "
186 "causes the tracee to continue, optionally ignoring the delivered signal (or "
187 "even delivering a different signal instead)."
188 msgstr ""
189 "Während der Prozess verfolgt wird, wird er jedesmal stoppen, wenn ein Signal "
190 "gesandt wird, sogar wenn das Signal ignoriert wird. (Eine Ausnahme ist "
191 "B<SIGKILL>, das seine normale Wirkung erzielt.) Der Verfolger wird bei "
192 "seinem nächsten Aufruf von B<waitpid>(2) (oder den zugehörigen »wait«-"
193 "Systemaufrufen) benachrichtigt; dies wird einen I<Status>wert zurückgeben, "
194 "der Informationen enthält, die den Grund angeben, weshalb der verfolgte "
195 "Prozess stoppte. Während der verfolgte Prozess angehalten ist, kann der "
196 "Verfolger verschiedene Ptrace-Aktionen verwenden, um den verfolgten Prozess "
197 "zu untersuchen und zu verändern. Dann veranlasst der Verfolger den "
198 "verfolgten Prozess fortzufahren und wahlweise das versandte Signal zu "
199 "ignorieren (oder stattdessen sogar ein anderes Signal zu senden)."
200
201 #. type: Plain text
202 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
203 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
204 msgid ""
205 "If the B<PTRACE_O_TRACEEXEC> option is not in effect, all successful calls "
206 "to B<execve>(2) by the traced process will cause it to be sent a B<SIGTRAP> "
207 "signal, giving the parent a chance to gain control before the new program "
208 "begins execution."
209 msgstr ""
210 "Falls die Option B<PTRACE_O_TRACEEXEC> nicht in Kraft ist, werden alle "
211 "erfolgreichen Aufrufe von B<execve>(2) durch den verfolgten Prozess zum "
212 "Senden eines B<SIGTRAP>-Signals veranlassen, um dem Elternprozess die "
213 "Möglichkeit zu geben, die Kontrolle zu erlangen, bevor die Ausführung des "
214 "neuen Programms beginnt."
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 "When the tracer is finished tracing, it can cause the tracee to continue "
221 "executing in a normal, untraced mode via B<PTRACE_DETACH>."
222 msgstr ""
223 "Wenn der Verfolger die Verfolgung beendet hat, kann er veranlassen, das der "
224 "verfolgte Prozess mit B<PTRACE_DETACH> in einem normal Modus ohne Verfolgung "
225 "fortfährt."
226
227 #. type: Plain text
228 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
229 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
230 msgid "The value of I<op> determines the operation to be performed:"
231 msgstr "Der Wert von I<Aktion> legt die durchzuführende Aktion fest:"
232
233 #. type: TP
234 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
235 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
236 #, no-wrap
237 msgid "B<PTRACE_TRACEME>"
238 msgstr "B<PTRACE_TRACEME>"
239
240 #. type: Plain text
241 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
242 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
243 msgid ""
244 "Indicate that this process is to be traced by its parent. A process "
245 "probably shouldn't make this operation if its parent isn't expecting to "
246 "trace it. (I<pid>, I<addr>, and I<data> are ignored.)"
247 msgstr ""
248 "zeigt an, dass dieser Prozess durch seinen Elternprozess verfolgt wird. Ein "
249 "Prozess sollte diese Aktion wahrscheinlich nicht durchführen, falls sein "
250 "Elternprozess nicht erwartet, ihn zu verfolgen.(I<PID>, I<Adresse> und "
251 "I<Daten> werden ignoriert.)"
252
253 #. type: Plain text
254 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
255 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
256 msgid ""
257 "The B<PTRACE_TRACEME> operation is used only by the tracee; the remaining "
258 "operations are used only by the tracer. In the following operations, I<pid> "
259 "specifies the thread ID of the tracee to be acted on. For operations other "
260 "than B<PTRACE_ATTACH>, B<PTRACE_SEIZE>, B<PTRACE_INTERRUPT>, and "
261 "B<PTRACE_KILL>, the tracee must be stopped."
262 msgstr ""
263 "Die Aktion B<PTRACE_TRACEME> wird nur vom verfolgten Prozess benutzt; die "
264 "verbleibenden Aktionen werden nur vom verfolgenden Prozess benutzt. In den "
265 "folgenden Aktionen gibt I<PID> die Thread-Kennung des verfolgten Prozesses "
266 "an, der beeinflusst werden soll. Für andere Aktionen als B<PTRACE_ATTACH>, "
267 "B<PTRACE_SEIZE>, B<PTRACE_INTERRUPT> und B<PTRACE_KILL> muss der verfolgte "
268 "Prozess gestoppt werden."
269
270 #. type: TP
271 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
272 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
273 #, no-wrap
274 msgid "B<PTRACE_PEEKTEXT>"
275 msgstr "B<PTRACE_PEEKTEXT>"
276
277 #. type: TQ
278 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
279 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
280 #, no-wrap
281 msgid "B<PTRACE_PEEKDATA>"
282 msgstr "B<PTRACE_PEEKDATA>"
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 "Read a word at the address I<addr> in the tracee's memory, returning the "
289 "word as the result of the B<ptrace>() call. Linux does not have separate "
290 "text and data address spaces, so these two operations are currently "
291 "equivalent. (I<data> is ignored; but see NOTES.)"
292 msgstr ""
293 "liest ein »word« an der Stelle I<Adresse> im Speicher des verfolgten "
294 "Prozesses und gibt das »word« als Ergebnis des B<ptrace>()-Aufrufs zurück. "
295 "Linux hat keine separaten Adressräume für Text und Daten, daher sind diese "
296 "beiden Aktionen derzeit gleichwertig. (Das Argument I<Daten> wird ignoriert, "
297 "lesen Sie aber auch ANMERKUNGEN.)"
298
299 #. type: TP
300 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
301 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
302 #, no-wrap
303 msgid "B<PTRACE_PEEKUSER>"
304 msgstr "B<PTRACE_PEEKUSER>"
305
306 #. PTRACE_PEEKUSR in kernel source, but glibc uses PTRACE_PEEKUSER,
307 #. and that is the name that seems common on other systems.
308 #. type: Plain text
309 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
310 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
311 msgid ""
312 "Read a word at offset I<addr> in the tracee's USER area, which holds the "
313 "registers and other information about the process (see I<E<lt>sys/"
314 "user.hE<gt>>). The word is returned as the result of the B<ptrace>() "
315 "call. Typically, the offset must be word-aligned, though this might vary by "
316 "architecture. See NOTES. (I<data> is ignored; but see NOTES.)"
317 msgstr ""
318 "Liest ein »word« bei Versatz I<Adresse> im BENUTZERbereich des verfolgten "
319 "Prozesses, der die Register und andere Informationen über den Prozess "
320 "enthält (siehe I<E<lt>sys/user.hE<gt>>). Das »word« wird als Ergebnis des "
321 "B<ptrace>()-Aufrufs zurückgegeben. Typischerweise muss der Versatz am »word« "
322 "ausgerichtet sein, obwohl dies je nach Architektur variieren kann. Lesen Sie "
323 "die ANMERKUNGEN. (I<Daten> wird ignoriert, lesen Sie aber auch ANMERKUNGEN.)"
324
325 #. type: TP
326 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
327 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
328 #, no-wrap
329 msgid "B<PTRACE_POKETEXT>"
330 msgstr "B<PTRACE_POKETEXT>"
331
332 #. type: TQ
333 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
334 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
335 #, no-wrap
336 msgid "B<PTRACE_POKEDATA>"
337 msgstr "B<PTRACE_POKEDATA>"
338
339 #. type: Plain text
340 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
341 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
342 msgid ""
343 "Copy the word I<data> to the address I<addr> in the tracee's memory. As for "
344 "B<PTRACE_PEEKTEXT> and B<PTRACE_PEEKDATA>, these two operations are "
345 "currently equivalent."
346 msgstr ""
347 "kopiert das »word« I<Daten> an die Stelle I<Adresse> im Speicher des "
348 "verfolgenden Prozesses. Wie bei B<PTRACE_PEEKTEXT> und B<PTRACE_PEEKDATA> "
349 "sind die beiden Aktionen derzeit gleichwertig."
350
351 #. type: TP
352 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
353 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
354 #, no-wrap
355 msgid "B<PTRACE_POKEUSER>"
356 msgstr "B<PTRACE_POKEUSER>"
357
358 #. PTRACE_POKEUSR in kernel source, but glibc uses PTRACE_POKEUSER,
359 #. and that is the name that seems common on other systems.
360 #. FIXME In the preceding sentence, which modifications are disallowed,
361 #. and when they are disallowed, how does user space discover that fact?
362 #. type: Plain text
363 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
364 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
365 msgid ""
366 "Copy the word I<data> to offset I<addr> in the tracee's USER area. As for "
367 "B<PTRACE_PEEKUSER>, the offset must typically be word-aligned. In order to "
368 "maintain the integrity of the kernel, some modifications to the USER area "
369 "are disallowed."
370 msgstr ""
371 "kopiert das »word« I<Daten> an den Versatz I<Adresse> im BENUTZERbereich des "
372 "verfolgten Prozesses. Wie für B<PTRACE_PEEKUSER> muss der Versatz am »word« "
373 "ausgerichtet sein. Um die Integrität des Kernels aufrecht zu erhalten, sind "
374 "einige Änderungen in BENUTZERbereich nicht erlaubt."
375
376 #. type: TP
377 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
378 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
379 #, no-wrap
380 msgid "B<PTRACE_GETREGS>"
381 msgstr "B<PTRACE_GETREGS>"
382
383 #. type: TQ
384 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
385 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
386 #, no-wrap
387 msgid "B<PTRACE_GETFPREGS>"
388 msgstr "B<PTRACE_GETFPREGS>"
389
390 #. type: Plain text
391 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
392 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
393 msgid ""
394 "Copy the tracee's general-purpose or floating-point registers, respectively, "
395 "to the address I<data> in the tracer. See I<E<lt>sys/user.hE<gt>> for "
396 "information on the format of this data. (I<addr> is ignored.) Note that "
397 "SPARC systems have the meaning of I<data> and I<addr> reversed; that is, "
398 "I<data> is ignored and the registers are copied to the address I<addr>. "
399 "B<PTRACE_GETREGS> and B<PTRACE_GETFPREGS> are not present on all "
400 "architectures."
401 msgstr ""
402 "kopiert die Mehrzweck- beziehungsweise Fließpunktregister des verfolgten "
403 "Prozesses an die Stelle I<Daten> im Verfolger. Lesen Sie I<E<lt>sys/"
404 "user.hE<gt>>, um Informationen über das Format dieser Daten zu erhalten. "
405 "(I<Adresse> wird ignoriert.) Beachten Sie, dass auf SPARC-Systemen die "
406 "Bedeutung von I<Daten> und I<Adresse> umgekehrt ist; daher wird I<Daten> "
407 "ignoriert und die Register werden an die Adresse I<Adresse> kopiert. "
408 "B<PTRACE_GETREGS> und B<PTRACE_GETFPREGS> sind nicht auf allen Architekturen "
409 "verfügbar."
410
411 #. type: TP
412 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
413 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
414 #, no-wrap
415 msgid "B<PTRACE_GETREGSET> (since Linux 2.6.34)"
416 msgstr "B<PTRACE_GETREGSET> (seit Linux 2.6.34)"
417
418 #. type: Plain text
419 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
420 #: opensuse-leap-16-1 opensuse-tumbleweed
421 msgid ""
422 "Read the tracee's registers. I<addr> specifies, in an architecture-"
423 "dependent way, the type of registers to be read. B<NT_PRSTATUS> (with "
424 "numerical value 1) usually results in reading of general-purpose "
425 "registers. If the CPU has, for example, floating-point and/or vector "
426 "registers, they can be retrieved by setting I<addr> to the corresponding "
427 "B<NT_foo> constant. I<data> points to a B<struct iovec>, which describes "
428 "the destination buffer's location and size. On return, the kernel modifies "
429 "B<iov.len> to indicate the actual number of bytes returned."
430 msgstr ""
431 "liest die Register des verfolgten Prozesses. I<Adresse> gibt auf eine von "
432 "der Architektur unabhängige Weise den Typ des Registers an, das gelesen "
433 "werden soll. B<NT_PRSTATUS> (mit numerischem Wert 1) führt normalerweise "
434 "dazu, dass Allzweckregister gelesen werden. Falls die CPU zum Beispiel "
435 "Fließkomma- und/oder Vektorregister hat, können sie durch Setzen von "
436 "I<Adresse> auf die entsprechende Konstante B<NT_foo> ermittelt werden. "
437 "I<Daten> zeigt auf einen B<struct iovec>, der den Speicherort und die Größe "
438 "des Zielpuffers beschreibt. Bei der Rückkehr ändert der Kernel B<iov.len>, "
439 "um die tatsächliche Anzahl zurückgegebener Byte anzuzeigen."
440
441 #. type: TP
442 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
443 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
444 #, no-wrap
445 msgid "B<PTRACE_SETREGS>"
446 msgstr "B<PTRACE_SETREGS>"
447
448 #. type: TQ
449 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
450 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
451 #, no-wrap
452 msgid "B<PTRACE_SETFPREGS>"
453 msgstr "B<PTRACE_SETFPREGS>"
454
455 #. FIXME . In the preceding sentence, which modifications are disallowed,
456 #. and when they are disallowed, how does user space discover that fact?
457 #. type: Plain text
458 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
459 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
460 msgid ""
461 "Modify the tracee's general-purpose or floating-point registers, "
462 "respectively, from the address I<data> in the tracer. As for "
463 "B<PTRACE_POKEUSER>, some general-purpose register modifications may be "
464 "disallowed. (I<addr> is ignored.) Note that SPARC systems have the meaning "
465 "of I<data> and I<addr> reversed; that is, I<data> is ignored and the "
466 "registers are copied from the address I<addr>. B<PTRACE_SETREGS> and "
467 "B<PTRACE_SETFPREGS> are not present on all architectures."
468 msgstr ""
469 "verändert die Mehrzweck- beziehungsweise Fließpunktregister des verfolgten "
470 "Prozesses von der Adresse I<Daten> im Verfolger. Wie für B<PTRACE_POKEUSER> "
471 "können einige Änderungen am Mehrzweckregister verboten sein. (I<Adresse> "
472 "wird ignoriert.) Beachten Sie, dass auf SPARC-Systemen die Bedeutung von "
473 "I<Daten> und I<Adresse> umgekehrt ist; daher wird I<Daten> ignoriert und die "
474 "Register werden von der Adresse I<Adresse> kopiert. B<PTRACE_SETREGS> und "
475 "B<PTRACE_SETFPREGS> sind nicht auf allen Architekturen verfügbar."
476
477 #. type: TP
478 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
479 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
480 #, no-wrap
481 msgid "B<PTRACE_SETREGSET> (since Linux 2.6.34)"
482 msgstr "B<PTRACE_SETREGSET> (seit Linux 2.6.34)"
483
484 #. type: Plain text
485 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
486 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
487 msgid ""
488 "Modify the tracee's registers. The meaning of I<addr> and I<data> is "
489 "analogous to B<PTRACE_GETREGSET>."
490 msgstr ""
491 "verändert die Register des verfolgten Prozesses. Die Bedeutung von "
492 "I<Adresse> und I<Daten> ist analog zu B<PTRACE_GETREGSET>."
493
494 #. type: TP
495 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
496 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
497 #, no-wrap
498 msgid "B<PTRACE_GETSIGINFO> (since Linux 2.3.99-pre6)"
499 msgstr "B<PTRACE_GETSIGINFO> (seit Linux 2.3.99-pre6)"
500
501 #. type: Plain text
502 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
503 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
504 msgid ""
505 "Retrieve information about the signal that caused the stop. Copy a "
506 "I<siginfo_t> structure (see B<sigaction>(2)) from the tracee to the address "
507 "I<data> in the tracer. (I<addr> is ignored.)"
508 msgstr ""
509 "ruft Informationen über das Signal ab, das den Stopp verursachte. Kopiert "
510 "eine I<siginfo_t>-Struktur (siehe B<sigaction>(2)) vom verfolgten Prozess an "
511 "die Stelle I<Daten> im Verfolger. (I<Adresse> wird ignoriert.)"
512
513 #. type: TP
514 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
515 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
516 #, no-wrap
517 msgid "B<PTRACE_SETSIGINFO> (since Linux 2.3.99-pre6)"
518 msgstr "B<PTRACE_SETSIGINFO> (seit Linux 2.3.99-pre6)"
519
520 #. type: Plain text
521 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
522 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
523 msgid ""
524 "Set signal information: copy a I<siginfo_t> structure from the address "
525 "I<data> in the tracer to the tracee. This will affect only signals that "
526 "would normally be delivered to the tracee and were caught by the tracer. It "
527 "may be difficult to tell these normal signals from synthetic signals "
528 "generated by B<ptrace>() itself. (I<addr> is ignored.)"
529 msgstr ""
530 "setzt Signalinformationen: kopiert eine I<siginfo_t>-Struktur von der "
531 "Adresse I<Daten> vom verfolgenden zum verfolgten Prozess. Dies wird nur "
532 "Signale betreffen, die normalerweise an den verfolgten Prozess zugestellt "
533 "würden und vom Verfolger abgefangen wurden. Es könnte schwierig werden, "
534 "diese normalen Signale von künstlichen Signalen zu unterscheiden, die von "
535 "B<ptrace>() selbst generiert wurden. (I<Adresse> wird ignoriert.)"
536
537 #. type: TP
538 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
539 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
540 #, no-wrap
541 msgid "B<PTRACE_PEEKSIGINFO> (since Linux 3.10)"
542 msgstr "B<PTRACE_PEEKSIGINFO> (seit Linux 3.10)"
543
544 #. commit 84c751bd4aebbaae995fe32279d3dba48327bad4
545 #. type: Plain text
546 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
547 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
548 msgid ""
549 "Retrieve I<siginfo_t> structures without removing signals from a queue. "
550 "I<addr> points to a I<ptrace_peeksiginfo_args> structure that specifies the "
551 "ordinal position from which copying of signals should start, and the number "
552 "of signals to copy. I<siginfo_t> structures are copied into the buffer "
553 "pointed to by I<data>. The return value contains the number of copied "
554 "signals (zero indicates that there is no signal corresponding to the "
555 "specified ordinal position). Within the returned I<siginfo> structures, the "
556 "I<si_code> field includes information (B<__SI_CHLD>, B<__SI_FAULT>, etc.) "
557 "that are not otherwise exposed to user space."
558 msgstr ""
559 "fragt I<siginfo_t>-Strukturen ab, ohne Signale aus einer Warteschlange zu "
560 "entfernen. I<Adresse> zeigt auf eine I<ptrace_peeksiginfo_args>-Struktur, "
561 "die die Ordnungsposition angibt, von der das Kopieren der Signale starten "
562 "soll sowie die Anzahl zu kopierender Signale. I<siginfo_t>-Strukturen werden "
563 "in den Puffer kopiert, auf den I<Daten> verweist. Der Rückgabewert enthält "
564 "die Anzahl der kopierten Signale (null zeigt an, dass es an der angegebenen "
565 "Ordnungsposition kein entsprechendes Signal gibt). Innerhalb der "
566 "zurückgegebenen I<siginfo>-Strukturen enthält das Feld I<si_code> "
567 "Informationen (B<__SI_CHLD>, B<__SI_FAULT>, etc.), die ansonsten nicht an "
568 "den Anwendungsraum offengelegt werden."
569
570 #. type: Plain text
571 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
572 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
573 #, no-wrap
574 msgid ""
575 "struct ptrace_peeksiginfo_args {\n"
576 " u64 off; /* Ordinal position in queue at which\n"
577 " to start copying signals */\n"
578 " u32 flags; /* PTRACE_PEEKSIGINFO_SHARED or 0 */\n"
579 " s32 nr; /* Number of signals to copy */\n"
580 "};\n"
581 msgstr ""
582 "struct ptrace_peeksiginfo_args {\n"
583 " u64 off; /* Ordnungsposition in der Warteschlange, an der\n"
584 " mit dem Kopieren der Signale begonnen wird */\n"
585 " u32 flags; /* PTRACE_PEEKSIGINFO_SHARED oder 0 */\n"
586 " s32 nr; /* Anzahl zu kopierender Signale */\n"
587 "};\n"
588
589 #. type: Plain text
590 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
591 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
592 msgid ""
593 "Currently, there is only one flag, B<PTRACE_PEEKSIGINFO_SHARED>, for dumping "
594 "signals from the process-wide signal queue. If this flag is not set, "
595 "signals are read from the per-thread queue of the specified thread."
596 msgstr ""
597 "Derzeit gibt es nur einen Schalter, B<PTRACE_PEEKSIGINFO_SHARED>, um Signale "
598 "aus der prozessweiten Signalwarteschlange auszugeben. Falls dieser Schalter "
599 "nicht gesetzt ist, werden Signale von der Thread-eigenen Warteschlange des "
600 "angegebenen Threads gelesen."
601
602 #. type: TP
603 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
604 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
605 #, no-wrap
606 msgid "B<PTRACE_GETSIGMASK> (since Linux 3.11)"
607 msgstr "B<PTRACE_GETSIGMASK> (seit Linux 3.11)"
608
609 #. commit 29000caecbe87b6b66f144f72111f0d02fbbf0c1
610 #. type: Plain text
611 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
612 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
613 msgid ""
614 "Place a copy of the mask of blocked signals (see B<sigprocmask>(2)) in the "
615 "buffer pointed to by I<data>, which should be a pointer to a buffer of type "
616 "I<sigset_t>. The I<addr> argument contains the size of the buffer pointed "
617 "to by I<data> (i.e., I<sizeof(sigset_t)>)."
618 msgstr ""
619 "Platzieren Sie eine Kopie der Maske blockierter Signale (siehe "
620 "B<sigprocmask>(2)) in den Puffer, auf den I<Daten> zeigt. Dies sollte ein "
621 "Zeiger auf einen Puffer des Typs I<sigset_t> sein. Das Argument I<Adresse> "
622 "enthält die Größe des Puffers, auf den I<Daten> zeigt (d.h. "
623 "I<sizeof(sigset_t)>)."
624
625 #. type: TP
626 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
627 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
628 #, no-wrap
629 msgid "B<PTRACE_SETSIGMASK> (since Linux 3.11)"
630 msgstr "B<PTRACE_SETSIGMASK> (seit Linux 3.11)"
631
632 #. type: Plain text
633 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
634 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
635 msgid ""
636 "Change the mask of blocked signals (see B<sigprocmask>(2)) to the value "
637 "specified in the buffer pointed to by I<data>, which should be a pointer to "
638 "a buffer of type I<sigset_t>. The I<addr> argument contains the size of the "
639 "buffer pointed to by I<data> (i.e., I<sizeof(sigset_t)>)."
640 msgstr ""
641 "ändert die Maske blockierter Signale (siehe B<sigprocmask>(2)) auf den Wert, "
642 "der im Puffer angegeben wird, auf den I<Daten> zeigt. Dies sollte ein Zeiger "
643 "auf einen Puffer des Typs I<sigset_t> sein. Das Argument I<Adresse> enthält "
644 "die Größe des Puffers, auf den I<Daten> zeigt (d.h. I<sizeof(sigset_t)>)."
645
646 #. type: TP
647 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
648 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
649 #, no-wrap
650 msgid "B<PTRACE_SETOPTIONS> (since Linux 2.4.6; see BUGS for caveats)"
651 msgstr "B<PTRACE_SETOPTIONS> (seit Linux 2.4.6; siehe FEHLER für Vorsichtsmaßnahmen)"
652
653 #. type: Plain text
654 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
655 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
656 msgid ""
657 "Set ptrace options from I<data>. (I<addr> is ignored.) I<data> is "
658 "interpreted as a bit mask of options, which are specified by the following "
659 "flags:"
660 msgstr ""
661 "setzt Ptrace-Optionen von I<Daten>. (I<Adresse> wird ignoriert.) I<Daten> "
662 "wird als Bit in der Maske der Optionen interpretiert, die durch die "
663 "folgenden Schalter angegeben wird:"
664
665 #. type: TP
666 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
667 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
668 #, no-wrap
669 msgid "B<PTRACE_O_EXITKILL> (since Linux 3.8)"
670 msgstr "B<PTRACE_O_EXITKILL> (seit Linux 3.8)"
671
672 #. commit 992fb6e170639b0849bace8e49bf31bd37c4123
673 #. type: Plain text
674 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
675 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
676 msgid ""
677 "Send a B<SIGKILL> signal to the tracee if the tracer exits. This option is "
678 "useful for ptrace jailers that want to ensure that tracees can never escape "
679 "the tracer's control."
680 msgstr ""
681 "schickt an den verfolgten Prozess ein B<SIGKILL>-Signal, falls der "
682 "verfolgende Prozess beendet wird. Diese Option ist für diejenigen nützlich, "
683 "die Ptrace einsperren und sicherstellen wollen, dass der verfolgte Prozess "
684 "nie der Steuerung des verfolgenden Prozesses entkommt."
685
686 #. type: TP
687 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
688 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
689 #, no-wrap
690 msgid "B<PTRACE_O_TRACECLONE> (since Linux 2.5.46)"
691 msgstr "B<PTRACE_O_TRACECLONE> (seit Linux 2.5.46)"
692
693 #. type: Plain text
694 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
695 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
696 msgid ""
697 "Stop the tracee at the next B<clone>(2) and automatically start tracing the "
698 "newly cloned process, which will start with a B<SIGSTOP>, or "
699 "B<PTRACE_EVENT_STOP> if B<PTRACE_SEIZE> was used. A B<waitpid>(2) by the "
700 "tracer will return a I<status> value such that"
701 msgstr ""
702 "stoppt den verfolgten Prozess beim nächsten Aufruf von B<clone>(2) und "
703 "startet automatisch die Verfolgung des neu geklonten Prozesses, der mit "
704 "einem B<SIGSTOP> oder, falls B<PTRACE_SEIZE> benutzt wurde, mit "
705 "B<PTRACE_EVENT_STOP> starten wird. Ein B<waitpid>(2) durch den Verfolger "
706 "wird einen I<Status>wert wie diesen zurückgeben:"
707
708 #. type: Plain text
709 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
710 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
711 #, no-wrap
712 msgid " statusE<gt>E<gt>8 == (SIGTRAP | (PTRACE_EVENT_CLONEE<lt>E<lt>8))\n"
713 msgstr " statusE<gt>E<gt>8 == (SIGTRAP | (PTRACE_EVENT_CLONEE<lt>E<lt>8))\n"
714
715 #. type: Plain text
716 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
717 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
718 msgid "The PID of the new process can be retrieved with B<PTRACE_GETEVENTMSG>."
719 msgstr ""
720 "Die PID des neuen Prozesses kann mit B<PTRACE_GETEVENTMSG> abgefragt werden."
721
722 #. type: Plain text
723 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
724 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
725 msgid ""
726 "This option may not catch B<clone>(2) calls in all cases. If the tracee "
727 "calls B<clone>(2) with the B<CLONE_VFORK> flag, B<PTRACE_EVENT_VFORK> will "
728 "be delivered instead if B<PTRACE_O_TRACEVFORK> is set; otherwise if the "
729 "tracee calls B<clone>(2) with the exit signal set to B<SIGCHLD>, "
730 "B<PTRACE_EVENT_FORK> will be delivered if B<PTRACE_O_TRACEFORK> is set."
731 msgstr ""
732 "Diese Option kann nicht in allen Fällen B<clone>(2)-Aufrufe abfangen. Falls "
733 "der verfolgte Prozess B<clone>(2) mit dem Schalter B<CLONE_VFORK> aufruft, "
734 "wird stattdessen B<PTRACE_EVENT_VFORK> geschickt, wenn "
735 "B<PTRACE_O_TRACEVFORK> gesetzt ist; andernfalls wird B<PTRACE_EVENT_FORK> "
736 "geschickt, wenn der verfolgte Prozess B<clone>(2) mit dem auf B<SIGCHLD> "
737 "gesetzten Beendigungssignal aufgerufen wird, falls B<PTRACE_O_TRACEFORK> "
738 "gesetzt ist."
739
740 #. type: TP
741 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
742 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
743 #, no-wrap
744 msgid "B<PTRACE_O_TRACEEXEC> (since Linux 2.5.46)"
745 msgstr "B<PTRACE_O_TRACEEXEC> (seit Linux 2.5.46)"
746
747 #. type: Plain text
748 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
749 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
750 msgid ""
751 "Stop the tracee at the next B<execve>(2). A B<waitpid>(2) by the tracer "
752 "will return a I<status> value such that"
753 msgstr ""
754 "stoppt den verfolgten Prozess beim nächsten B<execve>(2). Ein B<waitpid>(2) "
755 "durch den Verfolger wird einen I<Status>wert wie diesen zurückgeben:"
756
757 #. type: Plain text
758 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
759 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
760 #, no-wrap
761 msgid " statusE<gt>E<gt>8 == (SIGTRAP | (PTRACE_EVENT_EXECE<lt>E<lt>8))\n"
762 msgstr " statusE<gt>E<gt>8 == (SIGTRAP | (PTRACE_EVENT_EXECE<lt>E<lt>8))\n"
763
764 #. type: Plain text
765 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
766 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
767 msgid ""
768 "If the execing thread is not a thread group leader, the thread ID is reset "
769 "to thread group leader's ID before this stop. Since Linux 3.0, the former "
770 "thread ID can be retrieved with B<PTRACE_GETEVENTMSG>."
771 msgstr ""
772 "Falls der ausführende Thread kein führender Thread der Gruppe ist, wird die "
773 "Thread-Kennung vor dem Stopp auf die Kennung des führenden Threads der "
774 "Gruppe zurückgesetzt. Seit Linux 3.0 kann die vorherige Thread-Kennung mit "
775 "B<PTRACE_GETEVENTMSG> abgefragt werden."
776
777 #. type: TP
778 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
779 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
780 #, no-wrap
781 msgid "B<PTRACE_O_TRACEEXIT> (since Linux 2.5.60)"
782 msgstr "B<PTRACE_O_TRACEEXIT> (seit Linux 2.5.60)"
783
784 #. type: Plain text
785 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
786 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
787 msgid ""
788 "Stop the tracee at exit. A B<waitpid>(2) by the tracer will return a "
789 "I<status> value such that"
790 msgstr ""
791 "stoppt den verfolgten Prozess beim Beenden. Ein B<waitpid>(2) durch den "
792 "Verfolger wird einen I<Status>wert wie diesen zurückgeben:"
793
794 #. type: Plain text
795 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
796 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
797 #, no-wrap
798 msgid " statusE<gt>E<gt>8 == (SIGTRAP | (PTRACE_EVENT_EXITE<lt>E<lt>8))\n"
799 msgstr " statusE<gt>E<gt>8 == (SIGTRAP | (PTRACE_EVENT_EXITE<lt>E<lt>8))\n"
800
801 #. type: Plain text
802 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
803 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
804 msgid "The tracee's exit status can be retrieved with B<PTRACE_GETEVENTMSG>."
805 msgstr ""
806 "Der Exit-Status des verfolgten Prozesses kann mit B<PTRACE_GETEVENTMSG> "
807 "abgefragt werden."
808
809 #. type: Plain text
810 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
811 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
812 msgid ""
813 "The tracee is stopped early during process exit, when registers are still "
814 "available, allowing the tracer to see where the exit occurred, whereas the "
815 "normal exit notification is done after the process is finished exiting. "
816 "Even though context is available, the tracer cannot prevent the exit from "
817 "happening at this point."
818 msgstr ""
819 "Der verfolgte Prozess wird frühzeitig während des Beendens gestoppt, wenn "
820 "die Register noch verfügbar sind, was es dem Verfolger ermöglicht, zu sehen, "
821 "wo das Beenden veranlasst wurde, wohingegen die normale Benachrichtigung "
822 "über die Beendigung geschickt wird, wenn der Prozess das Beenden "
823 "abgeschlossen hat. Auch wenn der Kontext verfügbar ist, kann der Verfolger "
824 "das Beenden an diesem Punkt nicht mehr verhindern."
825
826 #. type: TP
827 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
828 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
829 #, no-wrap
830 msgid "B<PTRACE_O_TRACEFORK> (since Linux 2.5.46)"
831 msgstr "B<PTRACE_O_TRACEFORK> (seit Linux 2.5.46)"
832
833 #. type: Plain text
834 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
835 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
836 msgid ""
837 "Stop the tracee at the next B<fork>(2) and automatically start tracing the "
838 "newly forked process, which will start with a B<SIGSTOP>, or "
839 "B<PTRACE_EVENT_STOP> if B<PTRACE_SEIZE> was used. A B<waitpid>(2) by the "
840 "tracer will return a I<status> value such that"
841 msgstr ""
842 "stoppt den verfolgten Prozess beim nächsten Aufruf von B<fork>(2) und "
843 "startet die Verfolgung des neuen Prozesszweiges, der mit einem B<SIGSTOP> "
844 "oder, falls B<PTRACE_SEIZE> benutzt wurde, mit B<PTRACE_EVENT_STOP> starten "
845 "wird. Ein B<waitpid>(2) durch den Verfolger wird einen I<Status>wert wie "
846 "diesen zurückgeben:"
847
848 #. type: Plain text
849 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
850 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
851 #, no-wrap
852 msgid " statusE<gt>E<gt>8 == (SIGTRAP | (PTRACE_EVENT_FORKE<lt>E<lt>8))\n"
853 msgstr " statusE<gt>E<gt>8 == (SIGTRAP | (PTRACE_EVENT_FORKE<lt>E<lt>8))\n"
854
855 #. type: TP
856 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
857 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
858 #, no-wrap
859 msgid "B<PTRACE_O_TRACESYSGOOD> (since Linux 2.4.6)"
860 msgstr "B<PTRACE_O_TRACESYSGOOD> (seit Linux 2.4.6)"
861
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 "When delivering system call traps, set bit 7 in the signal number (i.e., "
867 "deliver I<SIGTRAP|0x80>). This makes it easy for the tracer to distinguish "
868 "normal traps from those caused by a system call."
869 msgstr ""
870 "Wenn Systemaufrufe abgefangen werden, wird Bit 7 in der Signalnummer gesetzt "
871 "(d.h. I<SIGTRAP | 0x80> geschickt). Dies erleichtert es dem Verfolger, den "
872 "Unterschied zwischen normalen, abgefangenen Signalen und denen, die durch "
873 "einen Systemaufruf verursacht wurden, mitzuteilen."
874
875 #. type: TP
876 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
877 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
878 #, no-wrap
879 msgid "B<PTRACE_O_TRACEVFORK> (since Linux 2.5.46)"
880 msgstr "B<PTRACE_O_TRACEVFORK> (seit Linux 2.5.46)"
881
882 #. type: Plain text
883 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
884 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
885 msgid ""
886 "Stop the tracee at the next B<vfork>(2) and automatically start tracing the "
887 "newly vforked process, which will start with a B<SIGSTOP>, or "
888 "B<PTRACE_EVENT_STOP> if B<PTRACE_SEIZE> was used. A B<waitpid>(2) by the "
889 "tracer will return a I<status> value such that"
890 msgstr ""
891 "stoppt den verfolgten Prozess beim nächsten Aufruf von B<vfork>(2) und "
892 "startet automatisch die Verfolgung des neuen »vfork«-Prozesszweiges, der mit "
893 "einem B<SIGSTOP> oder, falls B<PTRACE_SEIZE> benutzt wurde, mit "
894 "B<PTRACE_EVENT_STOP> starten wird. Ein B<waitpid>(2) durch den Verfolger "
895 "wird einen I<Status>wert wie diesen zurückgeben:"
896
897 #. type: Plain text
898 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
899 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
900 #, no-wrap
901 msgid " statusE<gt>E<gt>8 == (SIGTRAP | (PTRACE_EVENT_VFORKE<lt>E<lt>8))\n"
902 msgstr " statusE<gt>E<gt>8 == (SIGTRAP | (PTRACE_EVENT_VFORKE<lt>E<lt>8))\n"
903
904 #. type: TP
905 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
906 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
907 #, no-wrap
908 msgid "B<PTRACE_O_TRACEVFORKDONE> (since Linux 2.5.60)"
909 msgstr "B<PTRACE_O_TRACEVFORKDONE> (seit Linux 2.5.60)"
910
911 #. type: Plain text
912 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
913 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
914 msgid ""
915 "Stop the tracee at the completion of the next B<vfork>(2). A B<waitpid>(2) "
916 "by the tracer will return a I<status> value such that"
917 msgstr ""
918 "stoppt den verfolgten Prozess bei Vollendung des nächsten B<vfork>(2). Ein "
919 "B<waitpid>(2) durch den Verfolger wird einen I<Status>wert wie diesen "
920 "zurückgeben:"
921
922 #. type: Plain text
923 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
924 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
925 #, no-wrap
926 msgid " statusE<gt>E<gt>8 == (SIGTRAP | (PTRACE_EVENT_VFORK_DONEE<lt>E<lt>8))\n"
927 msgstr " statusE<gt>E<gt>8 == (SIGTRAP | (PTRACE_EVENT_VFORK_DONEE<lt>E<lt>8))\n"
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 "The PID of the new process can (since Linux 2.6.18) be retrieved with "
934 "B<PTRACE_GETEVENTMSG>."
935 msgstr ""
936 "Die PID des neuen Prozesses kann (seit Linux 2.6.18) abgefragt werden mit "
937
938 #. type: TP
939 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
940 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
941 #, no-wrap
942 msgid "B<PTRACE_O_TRACESECCOMP> (since Linux 3.5)"
943 msgstr "B<PTRACE_O_TRACESECCOMP> (seit Linux 3.5)"
944
945 #. type: Plain text
946 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
947 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
948 msgid ""
949 "Stop the tracee when a B<seccomp>(2) B<SECCOMP_RET_TRACE> rule is "
950 "triggered. A B<waitpid>(2) by the tracer will return a I<status> value "
951 "such that"
952 msgstr ""
953 "stoppt den verfolgten Prozess, wenn eine B<seccomp>(2) B<SECCOMP_RET_TRACE>-"
954 "Regel ausgelöst wird. Ein B<waitpid>(2) durch den Verfolger wird einen "
955 "I<Status>wert wie diesen zurückgeben:"
956
957 #. type: Plain text
958 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
959 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
960 #, no-wrap
961 msgid " statusE<gt>E<gt>8 == (SIGTRAP | (PTRACE_EVENT_SECCOMPE<lt>E<lt>8))\n"
962 msgstr " statusE<gt>E<gt>8 == (SIGTRAP | (PTRACE_EVENT_SECCOMPE<lt>E<lt>8))\n"
963
964 #. type: Plain text
965 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
966 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
967 msgid ""
968 "While this triggers a B<PTRACE_EVENT> stop, it is similar to a syscall-enter-"
969 "stop. For details, see the note on B<PTRACE_EVENT_SECCOMP> below. The "
970 "seccomp event message data (from the B<SECCOMP_RET_DATA> portion of the "
971 "seccomp filter rule) can be retrieved with B<PTRACE_GETEVENTMSG>."
972 msgstr ""
973 "Während dies ein B<PTRACE_EVENT>-Stopp auslöst, ist es einem "
974 "Systemaufrufeintrittsstopp ähnlich. Für Details lesen Sie die Bemerkungen "
975 "über B<PTRACE_EVENT_SECCOMP> weiter unten. Die Seccomp-"
976 "Ereignisnachrichtendaten (aus dem Abschnitt B<SECCOMP_RET_DATA> der Seccomp-"
977 "Filterregel) können über B<PTRACE_GETEVENTMSG> ermittelt werden."
978
979 #. type: TP
980 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
981 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
982 #, no-wrap
983 msgid "B<PTRACE_O_SUSPEND_SECCOMP> (since Linux 4.3)"
984 msgstr "B<PTRACE_O_SUSPEND_SECCOMP> (seit Linux 4.3)"
985
986 #. commit 13c4a90119d28cfcb6b5bdd820c233b86c2b0237
987 #. type: Plain text
988 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
989 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
990 msgid ""
991 "Suspend the tracee's seccomp protections. This applies regardless of mode, "
992 "and can be used when the tracee has not yet installed seccomp filters. That "
993 "is, a valid use case is to suspend a tracee's seccomp protections before "
994 "they are installed by the tracee, let the tracee install the filters, and "
995 "then clear this flag when the filters should be resumed. Setting this "
996 "option requires that the tracer have the B<CAP_SYS_ADMIN> capability, not "
997 "have any seccomp protections installed, and not have "
998 "B<PTRACE_O_SUSPEND_SECCOMP> set on itself."
999 msgstr ""
1000 "setzt den Seccomp-Schutz des verfolgten Prozesses aus. Dies gilt unabhängig "
1001 "vom Modus und kann verwandt werden, wenn der verfolgte Prozess noch keine "
1002 "Seccomp-Filter installiert hat. Das bedeutet, dass ein gültiger "
1003 "Anwendungsfall darin besteht, den Seccomp-Schutz auszusetzen, bevor er von "
1004 "dem verfolgten Prozess installiert wird, dann den verfolgten Prozess die "
1005 "Filter installieren zu lassen und danach diesen Schalter wieder "
1006 "zurückzusetzen, wenn die Filter wiederaufgenommen werden sollen. Um diese "
1007 "Option zu setzen, muss der verfolgende Prozess über die Capability "
1008 "B<CAP_SYS_ADMIN> verfügen, er darf selber keinen Seccomp-Schutz installiert "
1009 "haben und darf nicht B<PTRACE_O_SUSPEND_SECCOMP> auf sich selbst setzen."
1010
1011 #. type: TP
1012 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1013 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1014 #, no-wrap
1015 msgid "B<PTRACE_GETEVENTMSG> (since Linux 2.5.46)"
1016 msgstr "B<PTRACE_GETEVENTMSG> (seit Linux 2.5.46)"
1017
1018 #. type: Plain text
1019 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1020 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1021 msgid ""
1022 "Retrieve a message (as an I<unsigned long>) about the ptrace event that "
1023 "just happened, placing it at the address I<data> in the tracer. For "
1024 "B<PTRACE_EVENT_EXIT>, this is the tracee's exit status. For "
1025 "B<PTRACE_EVENT_FORK>, B<PTRACE_EVENT_VFORK>, B<PTRACE_EVENT_VFORK_DONE>, and "
1026 "B<PTRACE_EVENT_CLONE>, this is the PID of the new process. For "
1027 "B<PTRACE_EVENT_SECCOMP>, this is the B<seccomp>(2) filter's "
1028 "B<SECCOMP_RET_DATA> associated with the triggered rule. (I<addr> is "
1029 "ignored.)"
1030 msgstr ""
1031 "fragt eine Nachricht (als I<unsigned long>) über das Ptrace-Ereignis, das "
1032 "einfach so auftrat, ab und platziert es an die Adresse I<Daten> im "
1033 "Verfolger. Für B<PTRACE_EVENT_EXIT> ist dies der Exit-Status des verfolgten "
1034 "Prozesses. Für B<PTRACE_EVENT_FORK>, B<PTRACE_EVENT_VFORK> und "
1035 "B<PTRACE_EVENT_CLONE> ist dies die PID des neuen Prozesses. Für "
1036 "B<PTRACE_EVENT_SECCOMP> ist das B<SECCOMP_RET_DATA> von B<seccomp>(2)s "
1037 "Filter, das der ausgelösten Regel zugeordnet ist. (I<Adresse> wird "
1038 "ignoriert.)"
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<PTRACE_CONT>"
1045 msgstr "B<PTRACE_CONT>"
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 "Restart the stopped tracee process. If I<data> is nonzero, it is "
1052 "interpreted as the number of a signal to be delivered to the tracee; "
1053 "otherwise, no signal is delivered. Thus, for example, the tracer can "
1054 "control whether a signal sent to the tracee is delivered or not. (I<addr> "
1055 "is ignored.)"
1056 msgstr ""
1057 "startet den gestoppten, verfolgten Prozess erneut. Falls I<Daten> nicht null "
1058 "ist, wird es als Nummer des Signals interpretiert, das an den verfolgten "
1059 "Prozess geschickt wird; andernfalls wird kein Signal geschickt. Dadurch kann "
1060 "der Verfolger zum Beispiel steuern, ob ein Signal an den verfolgten Prozess "
1061 "geschickt wird oder nicht. (I<Adresse> wird ignoriert.)"
1062
1063 #. type: TP
1064 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1065 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1066 #, no-wrap
1067 msgid "B<PTRACE_SYSCALL>"
1068 msgstr "B<PTRACE_SYSCALL>"
1069
1070 #. type: TQ
1071 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1072 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1073 #, no-wrap
1074 msgid "B<PTRACE_SINGLESTEP>"
1075 msgstr "B<PTRACE_SINGLESTEP>"
1076
1077 #. type: Plain text
1078 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1079 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1080 msgid ""
1081 "Restart the stopped tracee as for B<PTRACE_CONT>, but arrange for the tracee "
1082 "to be stopped at the next entry to or exit from a system call, or after "
1083 "execution of a single instruction, respectively. (The tracee will also, as "
1084 "usual, be stopped upon receipt of a signal.) From the tracer's perspective, "
1085 "the tracee will appear to have been stopped by receipt of a B<SIGTRAP>. So, "
1086 "for B<PTRACE_SYSCALL>, for example, the idea is to inspect the arguments to "
1087 "the system call at the first stop, then do another B<PTRACE_SYSCALL> and "
1088 "inspect the return value of the system call at the second stop. The I<data> "
1089 "argument is treated as for B<PTRACE_CONT>. (I<addr> is ignored.)"
1090 msgstr ""
1091 "startet den gestoppten, verfolgten Prozess wie für B<PTRACE_CONT>, "
1092 "arrangiert aber, dass der verfolgte Prozess beim nächsten Eintritt oder "
1093 "einem Systemaufruf beziehungsweise nach der Ausführung einer einzelnen "
1094 "Anweisung gestoppt wird. (Der verfolgte Prozess wird auch, wie üblich, über "
1095 "den Empfang des Signals gestoppt.) Aus der Sicht des Verfolgers scheint es, "
1096 "als ob der verfolgte Prozess durch Empfang eines B<SIGTRAP> gestoppt wurde. "
1097 "Daher gibt es zum Beispiel für B<PTRACE_SYSCALL> die Idee, beim ersten Stopp "
1098 "die Argumente des Systemaufrufs zu prüfen, dann einen anderen "
1099 "B<PTRACE_SYSCALL> zu schicken und den Rückgabewert des Systemaufrufs am "
1100 "zweiten Stopp zu prüfen. Das Argument I<Daten> wird wie für B<PTRACE_CONT> "
1101 "behandelt. (I<Adresse> wird ignoriert.)"
1102
1103 #. type: TP
1104 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1105 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1106 #, no-wrap
1107 msgid "B<PTRACE_SET_SYSCALL> (since Linux 2.6.16)"
1108 msgstr "B<PTRACE_SET_SYSCALL> (seit Linux 2.6.16)"
1109
1110 #. commit 3f471126ee53feb5e9b210ea2f525ed3bb9b7a7f
1111 #. As of 4.19-rc2
1112 #. commit 27aa55c5e5123fa8b8ad0156559d34d7edff58ca
1113 #. see change_syscall in tools/testing/selftests/seccomp/seccomp_bpf.c
1114 #. and also strace's linux/*/set_scno.c files.
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 "When in syscall-enter-stop, change the number of the system call that is "
1120 "about to be executed to the number specified in the I<data> argument. The "
1121 "I<addr> argument is ignored. This operation is currently supported only on "
1122 "arm (and arm64, though only for backwards compatibility), but most other "
1123 "architectures have other means of accomplishing this (usually by changing "
1124 "the register that the userland code passed the system call number in)."
1125 msgstr ""
1126 "Wenn im Systemaufrufeintrittsstopp, wird die Nummer des auszuführenden "
1127 "Systemaufrufs auf die im Argument I<data> angegebene Nummer geändert. Das "
1128 "Argument I<addr> wird ignoriert. Diese Aktion wird derzeit nur auf Arm (und "
1129 "Arm64, allerdings nur für die Rückwärtskompatibilität) unterstützt, aber die "
1130 "meisten anderen Architekturen haben andere Mittel, um dies zu erreichen "
1131 "(normalerweise durch Änderung des Registers, in dem der Code aus der "
1132 "Anwendungsebene die Nummer des Systemaufrufs übergab)."
1133
1134 #. type: TP
1135 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1136 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1137 #, no-wrap
1138 msgid "B<PTRACE_SYSEMU>"
1139 msgstr "B<PTRACE_SYSEMU>"
1140
1141 #. type: TQ
1142 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1143 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1144 #, no-wrap
1145 msgid "B<PTRACE_SYSEMU_SINGLESTEP> (since Linux 2.6.14)"
1146 msgstr "B<PTRACE_SYSEMU_SINGLESTEP> (seit Linux 2.6.14)"
1147
1148 #. As at 3.7
1149 #. type: Plain text
1150 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1151 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1152 msgid ""
1153 "For B<PTRACE_SYSEMU>, continue and stop on entry to the next system call, "
1154 "which will not be executed. See the documentation on syscall-stops below. "
1155 "For B<PTRACE_SYSEMU_SINGLESTEP>, do the same but also singlestep if not a "
1156 "system call. This call is used by programs like User Mode Linux that want "
1157 "to emulate all the tracee's system calls. The I<data> argument is treated "
1158 "as for B<PTRACE_CONT>. The I<addr> argument is ignored. These operations "
1159 "are currently supported only on x86."
1160 msgstr ""
1161 "für B<PTRACE_SYSEMU> beim nächsten Eintritt für den Systemaufruf, der nicht "
1162 "ausgeführt wird, fortfahren und stoppen. Siehe die Dokumentation zu "
1163 "Systemaufrufstopps weiter unten. Für B<PTRACE_SYSEMU_SINGLESTEP> das gleiche "
1164 "tun, aber in einem einzigen Schritt, wenn es sich nicht um einen "
1165 "Systemaufruf handelt. Dieser Aufruf wird von Programmen wie »User Mode "
1166 "Linux« verwandt, die die Systemaufrufe des verfolgten Prozesses emulieren "
1167 "wollen. Das Argument I<Daten> wird wie für B<PTRACE_CONT> behandelt. Das "
1168 "Argument I<Adresse> wird ignoriert. Diese Aktionen werden derzeit nur unter "
1169 "x86 unterstützt."
1170
1171 #. type: TP
1172 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1173 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1174 #, no-wrap
1175 msgid "B<PTRACE_LISTEN> (since Linux 3.4)"
1176 msgstr "B<PTRACE_LISTEN> (seit Linux 3.4)"
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 "Restart the stopped tracee, but prevent it from executing. The resulting "
1183 "state of the tracee is similar to a process which has been stopped by a "
1184 "B<SIGSTOP> (or other stopping signal). See the \"group-stop\" subsection "
1185 "for additional information. B<PTRACE_LISTEN> works only on tracees attached "
1186 "by B<PTRACE_SEIZE>."
1187 msgstr ""
1188 "startet den gestoppten verfolgten Prozess erneut, verhindert jedoch seine "
1189 "Ausführung. Der resultierende Status ist dem eines Prozesses ähnlich, der "
1190 "durch ein B<SIGSTOP> (oder ein anderes Stoppsignal) angehalten wurde. "
1191 "Zusätzliche Informationen finden Sie im Unterabschnitt »Gruppenstopp«. "
1192 "B<PTRACE_LISTEN> funktioniert nur bei verfolgten Prozessen, die durch "
1193 "B<PTRACE_SEIZE> angehängt wurden."
1194
1195 #. type: TP
1196 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1197 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1198 #, no-wrap
1199 msgid "B<PTRACE_KILL>"
1200 msgstr "B<PTRACE_KILL>"
1201
1202 #. type: Plain text
1203 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1204 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1205 msgid ""
1206 "Send the tracee a B<SIGKILL> to terminate it. (I<addr> and I<data> are "
1207 "ignored.)"
1208 msgstr ""
1209 "sendet dem verfolgten Prozess ein B<SIGKILL>, um ihn zu beenden. (I<Adresse> "
1210 "und I<Daten> werden ignoriert.)"
1211
1212 #. #-#-#-#-# archlinux: ptrace.2.pot (PACKAGE VERSION) #-#-#-#-#
1213 #. [Note from Denys Vlasenko:
1214 #. deprecation suggested by Oleg Nesterov. He prefers to deprecate it
1215 #. instead of describing (and needing to support) PTRACE_KILL's quirks.]
1216 #. type: Plain text
1217 #. #-#-#-#-# debian-trixie: ptrace.2.pot (PACKAGE VERSION) #-#-#-#-#
1218 #. [Note from Denys Vlasenko:
1219 #. deprecation suggested by Oleg Nesterov. He prefers to deprecate it
1220 #. instead of describing (and needing to support) PTRACE_KILL's quirks.]
1221 #. type: Plain text
1222 #. #-#-#-#-# debian-unstable: ptrace.2.pot (PACKAGE VERSION) #-#-#-#-#
1223 #. [Note from Denys Vlasenko:
1224 #. deprecation suggested by Oleg Nesterov. He prefers to deprecate it
1225 #. instead of describing (and needing to support) PTRACE_KILL's quirks.]
1226 #. type: Plain text
1227 #. #-#-#-#-# fedora-44: ptrace.2.pot (PACKAGE VERSION) #-#-#-#-#
1228 #. [Note from Denys Vlasenko:
1229 #. deprecation suggested by Oleg Nesterov. He prefers to deprecate it
1230 #. instead of describing (and needing to support) PTRACE_KILL's quirks.]
1231 #. type: Plain text
1232 #. #-#-#-#-# fedora-rawhide: ptrace.2.pot (PACKAGE VERSION) #-#-#-#-#
1233 #. [Note from Denys Vlasenko:
1234 #. deprecation suggested by Oleg Nesterov. He prefers to deprecate it
1235 #. instead of describing (and needing to support) PTRACE_KILL's quirks.]
1236 #. type: Plain text
1237 #. #-#-#-#-# mageia-cauldron: ptrace.2.pot (PACKAGE VERSION) #-#-#-#-#
1238 #. [Note from Denys Vlasenko:
1239 #. deprecation suggested by Oleg Nesterov. He prefers to deprecate it
1240 #. instead of describing (and needing to support) PTRACE_KILL's quirks.]
1241 #. type: Plain text
1242 #. #-#-#-#-# opensuse-leap-16-1: ptrace.2.pot (PACKAGE VERSION) #-#-#-#-#
1243 #. [Note from Denys Vlasenko:
1244 #. deprecation suggested by Oleg Nesterov. He prefers to deprecate it
1245 #. instead of describing (and needing to support) PTRACE_KILL's quirks.]
1246 #. type: Plain text
1247 #. #-#-#-#-# opensuse-tumbleweed: ptrace.2.pot (PACKAGE VERSION) #-#-#-#-#
1248 #. [Note from Denys Vlasenko:
1249 #. deprecation suggested by Oleg Nesterov. He prefers to deprecate it
1250 #. instead of describing (and needing to support) PTRACE_KILL's quirks.]
1251 #. type: Plain text
1252 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1253 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1254 msgid ""
1255 "I<This operation is deprecated; do not use it!> Instead, send a B<SIGKILL> "
1256 "directly using B<kill>(2) or B<tgkill>(2). The problem with B<PTRACE_KILL> "
1257 "is that it requires the tracee to be in signal-delivery-stop, otherwise it "
1258 "may not work (i.e., may complete successfully but won't kill the tracee). "
1259 "By contrast, sending a B<SIGKILL> directly has no such limitation."
1260 msgstr ""
1261 "I<Diese Aktion ist überholt; benutzen Sie sie nicht!> Senden Sie stattdessen "
1262 "ein B<SIGKILL> direkt mittels B<kill>(2) oder B<tgkill>(2). Das Problem bei "
1263 "B<PTRACE_KILL> ist, dass es verlangt, dass sich der verfolgte Prozess in "
1264 "einem Signallieferstopp befindet, andernfalls funktioniert es möglicherweise "
1265 "nicht (d.h. es könnte komplett erfolgreich sein, würde aber den verfolgten "
1266 "Prozess killen). Im Gegensatz dazu hat das direkte Senden von einem "
1267 "B<SIGKILL> keine derartige Beschränkung."
1268
1269 #. type: TP
1270 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1271 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1272 #, no-wrap
1273 msgid "B<PTRACE_INTERRUPT> (since Linux 3.4)"
1274 msgstr "B<PTRACE_INTERRUPT> (seit Linux 3.4)"
1275
1276 #. type: Plain text
1277 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1278 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1279 msgid ""
1280 "Stop a tracee. If the tracee is running or sleeping in kernel space and "
1281 "B<PTRACE_SYSCALL> is in effect, the system call is interrupted and syscall-"
1282 "exit-stop is reported. (The interrupted system call is restarted when the "
1283 "tracee is restarted.) If the tracee was already stopped by a signal and "
1284 "B<PTRACE_LISTEN> was sent to it, the tracee stops with B<PTRACE_EVENT_STOP> "
1285 "and I<WSTOPSIG(status)> returns the stop signal. If any other ptrace-stop "
1286 "is generated at the same time (for example, if a signal is sent to the "
1287 "tracee), this ptrace-stop happens. If none of the above applies (for "
1288 "example, if the tracee is running in user space), it stops with "
1289 "B<PTRACE_EVENT_STOP> with I<WSTOPSIG(status)> == B<SIGTRAP>. "
1290 "B<PTRACE_INTERRUPT> only works on tracees attached by B<PTRACE_SEIZE>."
1291 msgstr ""
1292 "stoppt einen verfolgten Prozess. Falls der verfolgte Prozess im Kernel-Space "
1293 "läuft oder schläft und B<PTRACE_SYSCALL> in Kraft ist, wird der Systemaufruf "
1294 "unterbrochen und Systemaufrufbeendigungsstopp gemeldet. (Der unterbrochene "
1295 "Systemaufruf wird beim Neustart des verfolgten Prozesses ebenfalls neu "
1296 "gestartet.) Falls der verfolgte Prozess bereits durch ein Signal gestoppt "
1297 "und B<PTRACE_LISTEN> an ihn gesendet wurde, stoppt der verfolgte Prozess mit "
1298 "B<PTRACE_EVENT_STOP> und I<WSTOPSIG(Status)> gibt das Stoppsignal zurück. "
1299 "Falls zur selben Zeit irgendein anderes »ptrace-stop« erzeugt wird (zum "
1300 "Beispiel, weil ein Signal an den verfolgten Prozess gesendet wird), tritt "
1301 "dieses »ptrace-stop« auf. Falls nichts von obigem zutrifft (zum Beispiel, "
1302 "weil der verfolgte Prozess im Anwendungsraum läuft), stoppt er mit "
1303 "B<PTRACE_EVENT_STOP> mit I<WSTOPSIG(status)> == B<SIGTRAP>. "
1304 "B<PTRACE_INTERRUPT> funktioniert nur bei verfolgten Prozessen, die durch "
1305 "B<PTRACE_SEIZE> angehängt wurden."
1306
1307 #. type: TP
1308 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1309 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1310 #, no-wrap
1311 msgid "B<PTRACE_ATTACH>"
1312 msgstr "B<PTRACE_ATTACH>"
1313
1314 #. #-#-#-#-# archlinux: ptrace.2.pot (PACKAGE VERSION) #-#-#-#-#
1315 #. No longer true (removed by Denys Vlasenko, 2011, who remarks:
1316 #. "I think it isn't true in non-ancient 2.4 and in Linux 2.6/3.x.
1317 #. Basically, it's not true for any Linux in practical use.
1318 #. the behavior of the tracee is as if it had done a
1319 #. .BR PTRACE_TRACEME .
1320 #. The calling process actually becomes the parent of the tracee
1321 #. process for most purposes (e.g., it will receive
1322 #. notification of tracee events and appears in
1323 #. .BR ps (1)
1324 #. output as the tracee's parent), but a
1325 #. .BR getppid (2)
1326 #. by the tracee will still return the PID of the original parent.
1327 #. type: Plain text
1328 #. #-#-#-#-# debian-trixie: ptrace.2.pot (PACKAGE VERSION) #-#-#-#-#
1329 #. No longer true (removed by Denys Vlasenko, 2011, who remarks:
1330 #. "I think it isn't true in non-ancient 2.4 and in Linux 2.6/3.x.
1331 #. Basically, it's not true for any Linux in practical use.
1332 #. ; the behavior of the tracee is as if it had done a
1333 #. .BR PTRACE_TRACEME .
1334 #. The calling process actually becomes the parent of the tracee
1335 #. process for most purposes (e.g., it will receive
1336 #. notification of tracee events and appears in
1337 #. .BR ps (1)
1338 #. output as the tracee's parent), but a
1339 #. .BR getppid (2)
1340 #. by the tracee will still return the PID of the original parent.
1341 #. type: Plain text
1342 #. #-#-#-#-# debian-unstable: ptrace.2.pot (PACKAGE VERSION) #-#-#-#-#
1343 #. No longer true (removed by Denys Vlasenko, 2011, who remarks:
1344 #. "I think it isn't true in non-ancient 2.4 and in Linux 2.6/3.x.
1345 #. Basically, it's not true for any Linux in practical use.
1346 #. the behavior of the tracee is as if it had done a
1347 #. .BR PTRACE_TRACEME .
1348 #. The calling process actually becomes the parent of the tracee
1349 #. process for most purposes (e.g., it will receive
1350 #. notification of tracee events and appears in
1351 #. .BR ps (1)
1352 #. output as the tracee's parent), but a
1353 #. .BR getppid (2)
1354 #. by the tracee will still return the PID of the original parent.
1355 #. type: Plain text
1356 #. #-#-#-#-# fedora-44: ptrace.2.pot (PACKAGE VERSION) #-#-#-#-#
1357 #. No longer true (removed by Denys Vlasenko, 2011, who remarks:
1358 #. "I think it isn't true in non-ancient 2.4 and in Linux 2.6/3.x.
1359 #. Basically, it's not true for any Linux in practical use.
1360 #. ; the behavior of the tracee is as if it had done a
1361 #. .BR PTRACE_TRACEME .
1362 #. The calling process actually becomes the parent of the tracee
1363 #. process for most purposes (e.g., it will receive
1364 #. notification of tracee events and appears in
1365 #. .BR ps (1)
1366 #. output as the tracee's parent), but a
1367 #. .BR getppid (2)
1368 #. by the tracee will still return the PID of the original parent.
1369 #. type: Plain text
1370 #. #-#-#-#-# fedora-rawhide: ptrace.2.pot (PACKAGE VERSION) #-#-#-#-#
1371 #. No longer true (removed by Denys Vlasenko, 2011, who remarks:
1372 #. "I think it isn't true in non-ancient 2.4 and in Linux 2.6/3.x.
1373 #. Basically, it's not true for any Linux in practical use.
1374 #. ; the behavior of the tracee is as if it had done a
1375 #. .BR PTRACE_TRACEME .
1376 #. The calling process actually becomes the parent of the tracee
1377 #. process for most purposes (e.g., it will receive
1378 #. notification of tracee events and appears in
1379 #. .BR ps (1)
1380 #. output as the tracee's parent), but a
1381 #. .BR getppid (2)
1382 #. by the tracee will still return the PID of the original parent.
1383 #. type: Plain text
1384 #. #-#-#-#-# mageia-cauldron: ptrace.2.pot (PACKAGE VERSION) #-#-#-#-#
1385 #. No longer true (removed by Denys Vlasenko, 2011, who remarks:
1386 #. "I think it isn't true in non-ancient 2.4 and in Linux 2.6/3.x.
1387 #. Basically, it's not true for any Linux in practical use.
1388 #. the behavior of the tracee is as if it had done a
1389 #. .BR PTRACE_TRACEME .
1390 #. The calling process actually becomes the parent of the tracee
1391 #. process for most purposes (e.g., it will receive
1392 #. notification of tracee events and appears in
1393 #. .BR ps (1)
1394 #. output as the tracee's parent), but a
1395 #. .BR getppid (2)
1396 #. by the tracee will still return the PID of the original parent.
1397 #. type: Plain text
1398 #. #-#-#-#-# opensuse-leap-16-1: ptrace.2.pot (PACKAGE VERSION) #-#-#-#-#
1399 #. No longer true (removed by Denys Vlasenko, 2011, who remarks:
1400 #. "I think it isn't true in non-ancient 2.4 and in Linux 2.6/3.x.
1401 #. Basically, it's not true for any Linux in practical use.
1402 #. the behavior of the tracee is as if it had done a
1403 #. .BR PTRACE_TRACEME .
1404 #. The calling process actually becomes the parent of the tracee
1405 #. process for most purposes (e.g., it will receive
1406 #. notification of tracee events and appears in
1407 #. .BR ps (1)
1408 #. output as the tracee's parent), but a
1409 #. .BR getppid (2)
1410 #. by the tracee will still return the PID of the original parent.
1411 #. type: Plain text
1412 #. #-#-#-#-# opensuse-tumbleweed: ptrace.2.pot (PACKAGE VERSION) #-#-#-#-#
1413 #. No longer true (removed by Denys Vlasenko, 2011, who remarks:
1414 #. "I think it isn't true in non-ancient 2.4 and in Linux 2.6/3.x.
1415 #. Basically, it's not true for any Linux in practical use.
1416 #. the behavior of the tracee is as if it had done a
1417 #. .BR PTRACE_TRACEME .
1418 #. The calling process actually becomes the parent of the tracee
1419 #. process for most purposes (e.g., it will receive
1420 #. notification of tracee events and appears in
1421 #. .BR ps (1)
1422 #. output as the tracee's parent), but a
1423 #. .BR getppid (2)
1424 #. by the tracee will still return the PID of the original parent.
1425 #. type: Plain text
1426 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1427 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1428 msgid ""
1429 "Attach to the process specified in I<pid>, making it a tracee of the calling "
1430 "process. The tracee is sent a B<SIGSTOP>, but will not necessarily have "
1431 "stopped by the completion of this call; use B<waitpid>(2) to wait for the "
1432 "tracee to stop. See the \"Attaching and detaching\" subsection for "
1433 "additional information. (I<addr> and I<data> are ignored.)"
1434 msgstr ""
1435 "hängt an den Prozess, der durch I<PID> angegeben wird, an und lässt ihn zum "
1436 "verfolgten Prozess des aufrufenden Prozesses werden. Dem verfolgten Prozess "
1437 "wird ein B<SIGSTOP> gesandt, er wird aber nicht notwendigerweise durch die "
1438 "Vollendung dieses Aufrufs gestoppt; benutzen Sie B<waitpid>(2), um auf das "
1439 "Stoppen des verfolgten Prozesses zu warten. Lesen Sie den Unterabschnitt "
1440 "»Anhängen und Loslösen«, um zusätzliche Informationen zu erhalten. "
1441 "(I<Adresse> und I<Daten> werden ignoriert.)"
1442
1443 #. type: Plain text
1444 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1445 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1446 msgid ""
1447 "Permission to perform a B<PTRACE_ATTACH> is governed by a ptrace access mode "
1448 "B<PTRACE_MODE_ATTACH_REALCREDS> check; see below."
1449 msgstr ""
1450 "Berechtigungen, ein B<PTRACE_ATTACH> durchzuführen, werden durch eine Ptrace-"
1451 "Zugriffsmodus-B<PTRACE_MODE_ATTACH_REALCREDS>-Überprüfung geregelt; siehe "
1452 "unten."
1453
1454 #. type: TP
1455 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1456 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1457 #, no-wrap
1458 msgid "B<PTRACE_SEIZE> (since Linux 3.4)"
1459 msgstr "B<PTRACE_SEIZE> (seit Linux 3.4)"
1460
1461 #. Noted by Dmitry Levin:
1462 #. PTRACE_SEIZE was introduced by commit v3.1-rc1~308^2~28, but
1463 #. it had to be used along with a temporary flag PTRACE_SEIZE_DEVEL,
1464 #. which was removed later by commit v3.4-rc1~109^2~20.
1465 #. That is, [before] v3.4 we had a test mode of PTRACE_SEIZE API,
1466 #. which was not compatible with the current PTRACE_SEIZE API introduced
1467 #. in Linux 3.4.
1468 #. type: Plain text
1469 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1470 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1471 msgid ""
1472 "Attach to the process specified in I<pid>, making it a tracee of the calling "
1473 "process. Unlike B<PTRACE_ATTACH>, B<PTRACE_SEIZE> does not stop the "
1474 "process. Group-stops are reported as B<PTRACE_EVENT_STOP> and "
1475 "I<WSTOPSIG(status)> returns the stop signal. Automatically attached "
1476 "children stop with B<PTRACE_EVENT_STOP> and I<WSTOPSIG(status)> returns "
1477 "B<SIGTRAP> instead of having B<SIGSTOP> signal delivered to them. "
1478 "B<execve>(2) does not deliver an extra B<SIGTRAP>. Only a B<PTRACE_SEIZE>d "
1479 "process can accept B<PTRACE_INTERRUPT> and B<PTRACE_LISTEN> commands. The "
1480 "\"seized\" behavior just described is inherited by children that are "
1481 "automatically attached using B<PTRACE_O_TRACEFORK>, B<PTRACE_O_TRACEVFORK>, "
1482 "and B<PTRACE_O_TRACECLONE>. I<addr> must be zero. I<data> contains a bit "
1483 "mask of ptrace options to activate immediately."
1484 msgstr ""
1485 "hängt an den zu dem in I<PID> angegebenen Prozess an, wodurch er ein "
1486 "verfolgter Prozess des aufrufenden Prozesses wird. Anders als "
1487 "B<PTRACE_ATTACH> beendet B<PTRACE_SEIZE> den Prozess nicht. Gruppenstopps "
1488 "werden als B<PTRACE_EVENT_STOP> berichtet und I<WSTOPSIG(status)> liefert "
1489 "das Stopp-Signal zurück. Automatisch angehängte Kinder stoppen mit "
1490 "B<PTRACE_EVENT_STOP> und I<WSTOPSIG(status)> liefert B<SIGTRAP> zurück, "
1491 "statt ein B<SIGSTOP> Signal geliefert zu bekommen. B<execve>(2) liefert kein "
1492 "zusätzliches B<SIGTRAP> aus. Nur ein Prozess, der B<PTRACE_SEIZE> ist, kann "
1493 "die Befehle B<PTRACE_INTERRUPT> und B<PTRACE_LISTEN> akzeptieren. Das gerade "
1494 "beschriebene »beschlagnahmte« (engl. »seized«) Verhalten wird von Kindern "
1495 "geerbt, die automatisch mittels B<PTRACE_O_TRACEFORK>, "
1496 "B<PTRACE_O_TRACEVFORK> und B<PTRACE_O_TRACECLONE> angehängt sind. I<Adresse> "
1497 "muss Null sein. I<Daten> enthält eine Bitmaske, die die sofort zu "
1498 "aktivierenden Optionen enthält."
1499
1500 #. type: Plain text
1501 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1502 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1503 msgid ""
1504 "Permission to perform a B<PTRACE_SEIZE> is governed by a ptrace access mode "
1505 "B<PTRACE_MODE_ATTACH_REALCREDS> check; see below."
1506 msgstr ""
1507 "Berechtigungen, ein B<PTRACE_SEIZE> durchzuführen, werden durch eine Ptrace-"
1508 "Zugriffsmodus-B<PTRACE_MODE_ATTACH_REALCREDS>-Überprüfung geregelt; siehe "
1509 "unten."
1510
1511 #. type: TP
1512 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1513 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1514 #, no-wrap
1515 msgid "B<PTRACE_SECCOMP_GET_FILTER> (since Linux 4.4)"
1516 msgstr "B<PTRACE_SECCOMP_GET_FILTER> (seit Linux 4.4)"
1517
1518 #. commit f8e529ed941ba2bbcbf310b575d968159ce7e895
1519 #. type: Plain text
1520 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1521 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1522 msgid ""
1523 "This operation allows the tracer to dump the tracee's classic BPF filters."
1524 msgstr ""
1525 "Diese Aktion erlaubt es dem verfolgenden Prozess, die klassischen BPF-Filter "
1526 "des verfolgten Prozesses auszugeben."
1527
1528 #. type: Plain text
1529 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1530 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1531 msgid ""
1532 "I<addr> is an integer specifying the index of the filter to be dumped. The "
1533 "most recently installed filter has the index 0. If I<addr> is greater than "
1534 "the number of installed filters, the operation fails with the error "
1535 "B<ENOENT>."
1536 msgstr ""
1537 "I<Adresse> ist eine Ganzzahl, die den Index des Filters, der ausgegeben "
1538 "werden soll, angibt. Der neuste installierte Filter hat den Index 0. Falls "
1539 "I<Adresse> größer als die Anzahl der installierten Filter ist, schlägt die "
1540 "Aktion mit dem Fehler B<ENOENT> fehl."
1541
1542 #. type: Plain text
1543 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1544 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1545 msgid ""
1546 "I<data> is either a pointer to a I<struct sock_filter> array that is large "
1547 "enough to store the BPF program, or NULL if the program is not to be stored."
1548 msgstr ""
1549 "I<Daten> ist entweder ein Zeiger auf ein Feld I<struct sock_filter>, das "
1550 "groß genug ist, ein BPF-Programm zu speichern, oder NULL, falls das Programm "
1551 "nicht gespeichert werden soll."
1552
1553 #. type: Plain text
1554 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1555 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1556 msgid ""
1557 "Upon success, the return value is the number of instructions in the BPF "
1558 "program. If I<data> was NULL, then this return value can be used to "
1559 "correctly size the I<struct sock_filter> array passed in a subsequent call."
1560 msgstr ""
1561 "Im Erfolgsfall ist der Rückgabewert die Anzahl der Befehle in dem BPF-"
1562 "Programm. Falls I<Daten> NULL war, dann kann dieser Rückgabewert benutzt "
1563 "werden, um in einem folgenden Aufruf die korrekte Größe des Feldes I<struct "
1564 "sock_filter> zu übergeben."
1565
1566 #. type: Plain text
1567 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1568 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1569 msgid ""
1570 "This operation fails with the error B<EACCES> if the caller does not have "
1571 "the B<CAP_SYS_ADMIN> capability or if the caller is in strict or filter "
1572 "seccomp mode. If the filter referred to by I<addr> is not a classic BPF "
1573 "filter, the operation fails with the error B<EMEDIUMTYPE>."
1574 msgstr ""
1575 "Diese Aktion schlägt mit dem Fehler B<EACCES> fehl, falls der Aufrufende "
1576 "nicht die Capability B<CAP_SYS_ADMIN> hat oder falls der Aufrufende in einem "
1577 "strikten oder Filter-Seccomp-Modus ist. Falls der durch I<Adresse> "
1578 "referenzierte Filter kein klassischer BPF-Filter ist, schlägt die Aktion mit "
1579 "dem Fehler B<EMEDIUMTYPE> fehl."
1580
1581 #. type: Plain text
1582 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1583 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1584 msgid ""
1585 "This operation is available if the kernel was configured with both the "
1586 "B<CONFIG_SECCOMP_FILTER> and the B<CONFIG_CHECKPOINT_RESTORE> options."
1587 msgstr ""
1588 "Diese Aktion ist verfügbar, falls der Kernel mit den Optionen "
1589 "B<CONFIG_SECCOMP_FILTER> und B<CONFIG_CHECKPOINT_RESTORE> konfiguriert wurde."
1590
1591 #. type: TP
1592 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1593 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1594 #, no-wrap
1595 msgid "B<PTRACE_DETACH>"
1596 msgstr "B<PTRACE_DETACH>"
1597
1598 #. type: Plain text
1599 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1600 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1601 msgid ""
1602 "Restart the stopped tracee as for B<PTRACE_CONT>, but first detach from it. "
1603 "Under Linux, a tracee can be detached in this way regardless of which method "
1604 "was used to initiate tracing. (I<addr> is ignored.)"
1605 msgstr ""
1606 "startet den gestoppten, verfolgten Prozess wie für B<PTRACE_CONT>, löst ihn "
1607 "aber zuerst vom Prozess ab. Unter Linux kann ein verfolgter Prozess auf "
1608 "diese Art abgelöst werden, ohne Rücksicht darauf zu nehmen, welche Methode "
1609 "zum Starten der Verfolgung benutzt wurde. (I<Adresse> wird ignoriert.)"
1610
1611 #. type: TP
1612 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1613 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1614 #, no-wrap
1615 msgid "B<PTRACE_GET_THREAD_AREA> (since Linux 2.6.0)"
1616 msgstr "B<PTRACE_GET_THREAD_AREA> (seit Linux 2.6.0)"
1617
1618 #. type: Plain text
1619 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1620 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1621 msgid ""
1622 "This operation performs a similar task to B<get_thread_area>(2). It reads "
1623 "the TLS entry in the GDT whose index is given in I<addr>, placing a copy of "
1624 "the entry into the I<struct user_desc> pointed to by I<data>. (By contrast "
1625 "with B<get_thread_area>(2), the I<entry_number> of the I<struct user_desc> "
1626 "is ignored.)"
1627 msgstr ""
1628 "Diese Aktion führt eine ähnliche Aufgabe wie B<get_thread_area>(2) durch. "
1629 "Sie liest den TLS-Eintrag in dem GDT, dessen Index in I<addr> gegeben ist "
1630 "und legt eine Kopie des Eintrags in das durch I<Daten> verwiesende I<struct "
1631 "user_desc>. (Im Gegensatz wird mit B<get_thread_area>(2) die I<entry_number> "
1632 "des I<struct user_desc> ignoriert.)"
1633
1634 #. type: TP
1635 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1636 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1637 #, no-wrap
1638 msgid "B<PTRACE_SET_THREAD_AREA> (since Linux 2.6.0)"
1639 msgstr "B<PTRACE_SET_THREAD_AREA> (seit Linux 2.6.0)"
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 ""
1645 "This operation performs a similar task to B<set_thread_area>(2). It sets "
1646 "the TLS entry in the GDT whose index is given in I<addr>, assigning it the "
1647 "data supplied in the I<struct user_desc> pointed to by I<data>. (By "
1648 "contrast with B<set_thread_area>(2), the I<entry_number> of the I<struct "
1649 "user_desc> is ignored; in other words, this ptrace operation can't be used "
1650 "to allocate a free TLS entry.)"
1651 msgstr ""
1652 "Diese Aktion führt eine ähnliche Aufgabe wie B<set_thread_area>(2) durch. "
1653 "Sie setzt den TLS-Eintrag in dem GDT, dessen Index in I<Adresse> gegeben "
1654 "ist, und weist ihm die in dem durch I<Daten> verwiesenen I<struct user_desc> "
1655 "zu. (Im Gegensatz zu B<set_thread_area>(2) wird die I<entry_number> des "
1656 "I<struct user_desc> ignoriert; mit anderen Worten, diese Ptrace-Aktion kann "
1657 "nicht zur Bereitstellung eines freien TLS-Eintrags verwandt werden.)"
1658
1659 #. type: TP
1660 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1661 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1662 #, no-wrap
1663 msgid "B<PTRACE_GET_SYSCALL_INFO> (since Linux 5.3)"
1664 msgstr "B<PTRACE_GET_SYSCALL_INFO> (seit Linux 5.3)"
1665
1666 #. commit 201766a20e30f982ccfe36bebfad9602c3ff574a
1667 #. type: Plain text
1668 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1669 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1670 msgid ""
1671 "Retrieve information about the system call that caused the stop. The "
1672 "information is placed into the buffer pointed by the I<data> argument, which "
1673 "should be a pointer to a buffer of type I<struct ptrace_syscall_info>. The "
1674 "I<addr> argument contains the size of the buffer pointed to by the I<data> "
1675 "argument (i.e., I<sizeof(struct ptrace_syscall_info)>). The return value "
1676 "contains the number of bytes available to be written by the kernel. If the "
1677 "size of the data to be written by the kernel exceeds the size specified by "
1678 "the I<addr> argument, the output data is truncated."
1679 msgstr ""
1680 "Ermittelt Informationen über den Systemaufruf, der den Stopp ausgelöst hat. "
1681 "Die Information wird in den Puffer gelegt, auf den das Argument I<data> "
1682 "zeigt, das ein Zeiger auf einen Puffer vom Typ I<struct ptrace_syscall_info> "
1683 "sein sollte. Das Argument I<addr> enthält die Größe des Puffers, auf den das "
1684 "Argument I<data> zeigt (d.h. I<sizeof(struct ptrace_syscall_info)>). Der "
1685 "Rückgabewert enthält die Anzahl von Bytes, die zum Schreiben durch den "
1686 "Kernel verfügbar sind. Falls die Größe der durch den Kernel zu schreibenden "
1687 "Bytes die durch das Argument I<addr> angegebene Größe überschreiten sollte, "
1688 "wird die Ausgabe abgeschnitten."
1689
1690 #. type: Plain text
1691 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1692 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1693 msgid "The I<ptrace_syscall_info> structure contains the following fields:"
1694 msgstr "Die Struktur I<ptrace_syscall_info> enthält die folgenden Felder:"
1695
1696 #. type: Plain text
1697 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1698 #: opensuse-tumbleweed
1699 #, no-wrap
1700 msgid ""
1701 "struct ptrace_syscall_info {\n"
1702 " __u8 op; /* Type of system call stop */\n"
1703 " __u8 reserved; /* Reserved for future use, must be zero */\n"
1704 " __u16 flags; /* Reserved for future use, must be zero */\n"
1705 " __u32 arch; /* AUDIT_ARCH_* value; see seccomp(2) */\n"
1706 " __u64 instruction_pointer; /* CPU instruction pointer */\n"
1707 " __u64 stack_pointer; /* CPU stack pointer */\n"
1708 " union {\n"
1709 " struct { /* op == PTRACE_SYSCALL_INFO_ENTRY */\n"
1710 " __u64 nr; /* System call number */\n"
1711 " __u64 args[6]; /* System call arguments */\n"
1712 " } entry;\n"
1713 " struct { /* op == PTRACE_SYSCALL_INFO_EXIT */\n"
1714 " __s64 rval; /* System call return value */\n"
1715 " __u8 is_error; /* System call error flag;\n"
1716 " Boolean: does rval contain\n"
1717 " an error value (-ERRCODE) or\n"
1718 " a nonerror return value? */\n"
1719 " } exit;\n"
1720 " struct { /* op == PTRACE_SYSCALL_INFO_SECCOMP */\n"
1721 " __u64 nr; /* System call number */\n"
1722 " __u64 args[6]; /* System call arguments */\n"
1723 " __u32 ret_data; /* SECCOMP_RET_DATA portion\n"
1724 " of SECCOMP_RET_TRACE\n"
1725 " return value */\n"
1726 " } seccomp;\n"
1727 " };\n"
1728 "};\n"
1729 msgstr ""
1730 "struct ptrace_syscall_info {\n"
1731 " __u8 op; /* Typ des Systemaufruf-Stopps */\n"
1732 " __u8 reserved; /* Für zukünftige Nutzung reserviert, muss Null sein */\n"
1733 " __u16 flags; /* Für zukünftige Nutzung reserviert, muss Null sein */\n"
1734 " __u32 arch; /* AUDIT_ARCH_*-Wert; siehe seccomp(2) */\n"
1735 " __u64 instruction_pointer; /* CPU-Anweisungszeiger */\n"
1736 " __u64 stack_pointer; /* CPU-Stack-Zeiger */\n"
1737 " union {\n"
1738 " struct { /* op == PTRACE_SYSCALL_INFO_ENTRY */\n"
1739 " __u64 nr; /* Systemaufrufnummer */\n"
1740 " __u64 args[6]; /* Systemaufrufargumente */\n"
1741 " } entry;\n"
1742 " struct { /* op == PTRACE_SYSCALL_INFO_EXIT */\n"
1743 " __s64 rval; /* Systemaufruf-Rückgabewert */\n"
1744 " __u8 is_error; /* Systemaufruf-Fehlerschalter;\n"
1745 " logisch: enthält rval einen\n"
1746 " Fehlerwert (-ERRCODE) oder\n"
1747 " einen nichtfehler-Rückgabewert? */\n"
1748 " } exit;\n"
1749 " struct { /* op == PTRACE_SYSCALL_INFO_SECCOMP */\n"
1750 " __u64 nr; /* Systemaufrufnummer */\n"
1751 " __u64 args[6]; /* Systemaufrufargumente */\n"
1752 " __u32 ret_data; /* SECCOMP_RET_DATA-Anteil\n"
1753 " vom SECCOMP_RET_TRACE-\n"
1754 " Rückgabewert */\n"
1755 " } seccomp;\n"
1756 " };\n"
1757 "};\n"
1758
1759 #. type: Plain text
1760 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1761 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1762 msgid ""
1763 "The I<op>, I<arch>, I<instruction_pointer>, and I<stack_pointer> fields are "
1764 "defined for all kinds of ptrace system call stops. The rest of the "
1765 "structure is a union; one should read only those fields that are meaningful "
1766 "for the kind of system call stop specified by the I<op> field."
1767 msgstr ""
1768 "Die Felder I<op>, I<arch>, I<instruction_pointer> und I<stack_pointer> sind "
1769 "für alle Arten von Ptrace-Systemaufrufstopps definiert. Der Rest der "
1770 "Struktur ist eine Union; Sie sollten nur solche Felder lesen, die für Ihre "
1771 "Art von Systemaufrufstopp durch das Feld I<op> definiert sind."
1772
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 "The I<op> field has one of the following values (defined in I<E<lt>linux/"
1778 "ptrace.hE<gt>>) indicating what type of stop occurred and which part of the "
1779 "union is filled:"
1780 msgstr ""
1781 "Das Feld I<op> enthält einen der folgenden Werte (definiert in I<E<lt>linux/"
1782 "ptrace.hE<gt>>), der anzeigt, welcher Stopp-Typ aufgetreten und welcher Teil "
1783 "der Union gefüllt ist:"
1784
1785 #. type: TP
1786 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1787 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1788 #, no-wrap
1789 msgid "B<PTRACE_SYSCALL_INFO_ENTRY>"
1790 msgstr "B<PTRACE_SYSCALL_INFO_ENTRY>"
1791
1792 #. type: Plain text
1793 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1794 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1795 msgid ""
1796 "The I<entry> component of the union contains information relating to a "
1797 "system call entry stop."
1798 msgstr ""
1799 "Die Komponente I<entry> der Union enthält Informationen mit Bezug zu einem "
1800 "Systemaufruf-Eintrags-Stopp."
1801
1802 #. type: TP
1803 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1804 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1805 #, no-wrap
1806 msgid "B<PTRACE_SYSCALL_INFO_EXIT>"
1807 msgstr "B<PTRACE_SYSCALL_INFO_EXIT>"
1808
1809 #. type: Plain text
1810 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1811 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1812 msgid ""
1813 "The I<exit> component of the union contains information relating to a system "
1814 "call exit stop."
1815 msgstr ""
1816 "Die Komponente I<exit> der Union enthält Informationen mit Bezug zu einem "
1817 "Systemaufruf-Exit-Stopp."
1818
1819 #. type: TP
1820 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1821 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1822 #, no-wrap
1823 msgid "B<PTRACE_SYSCALL_INFO_SECCOMP>"
1824 msgstr "B<PTRACE_SYSCALL_INFO_SECCOMP>"
1825
1826 #. type: Plain text
1827 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1828 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1829 msgid ""
1830 "The I<seccomp> component of the union contains information relating to a "
1831 "B<PTRACE_EVENT_SECCOMP> stop."
1832 msgstr ""
1833 "Die Komponente I<seccomp> der Union enthält Informationen mit Bezug zu einem "
1834 "B<PTRACE_EVENT_SECCOMP>-Stopp"
1835
1836 #. type: TP
1837 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1838 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1839 #, no-wrap
1840 msgid "B<PTRACE_SYSCALL_INFO_NONE>"
1841 msgstr "B<PTRACE_SYSCALL_INFO_NONE>"
1842
1843 #. type: Plain text
1844 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1845 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1846 msgid "No component of the union contains relevant information."
1847 msgstr "Keine Komponente der Union enthält relevante Informationen."
1848
1849 #. type: Plain text
1850 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1851 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1852 msgid ""
1853 "In case of system call entry or exit stops, the data returned by "
1854 "B<PTRACE_GET_SYSCALL_INFO> is limited to type B<PTRACE_SYSCALL_INFO_NONE> "
1855 "unless B<PTRACE_O_TRACESYSGOOD> option is set before the corresponding "
1856 "system call stop has occurred."
1857 msgstr ""
1858 "Falls der Systemaufrufeintritt oder -ausstieg beendet wird, werden die von "
1859 "B<PTRACE_GET_SYSCALL_INFO> zurückgelieferten Daten auf den Typ "
1860 "B<PTRACE_SYSCALL_INFO_NONE> eingeschränkt, außer die Option "
1861 "B<PTRACE_O_TRACESYSGOOD> wurde gesetzt, bevor die Beendigung des "
1862 "Systemaufrufs aufgetreten ist."
1863
1864 #. type: TP
1865 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1866 #: opensuse-tumbleweed
1867 #, no-wrap
1868 msgid "B<PTRACE_SET_SYSCALL_INFO> (since Linux 6.16)"
1869 msgstr "B<PTRACE_SET_SYSCALL_INFO> (seit Linux 6.16)"
1870
1871 #. commit 26bb32768fe6552de044f782a58b3272073fbfc0
1872 #. type: Plain text
1873 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1874 #: opensuse-tumbleweed
1875 msgid ""
1876 "Modify information about the system call that caused the stop. The I<data> "
1877 "argument is a pointer to I<struct ptrace_syscall_info> that specifies the "
1878 "system call information to be set. The I<addr> argument should be set to "
1879 "I<sizeof(struct ptrace_syscall_info)>. Only the I<nr>, I<args>, and I<rval> "
1880 "fields can be modified."
1881 msgstr ""
1882 "Verändert Informationen über den Systemaufruf, der den Stopp auslöste. Das "
1883 "Argument I<Daten> ist ein Zeiger auf I<struct ptrace_syscall_info>, der die "
1884 "zu setzende Systemaufrufinformation festlegt. Das Argument I<Adresse> solte "
1885 "auf I<sizeof(struct ptrace_syscall_info)> gesetzt werden. Es können nur die "
1886 "Felder I<nr>, I<args> und I<rval> verändert werden."
1887
1888 #. type: SS
1889 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1890 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1891 #, no-wrap
1892 msgid "Death under ptrace"
1893 msgstr "Tod unter Ptrace"
1894
1895 #. type: Plain text
1896 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1897 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1898 msgid ""
1899 "When a (possibly multithreaded) process receives a killing signal (one whose "
1900 "disposition is set to B<SIG_DFL> and whose default action is to kill the "
1901 "process), all threads exit. Tracees report their death to their tracer(s). "
1902 "Notification of this event is delivered via B<waitpid>(2)."
1903 msgstr ""
1904 "Wenn ein Prozess (der möglicherweise aus mehreren Threads besteht) ein "
1905 "tötendes Signal erhält (eines, dessen Zuordnung auf B<SIG_DFL> gesetzt ist "
1906 "und dessen Standardaktion das Töten des Prozesses ist) werden alle Threads "
1907 "beendet. Verfolgte Prozesse melden ihren Tod an ihre(n) Verfolger. Die "
1908 "Benachrichtigung über dieses Ereignis wird über B<waitpid>(2) zugestellt."
1909
1910 #. type: Plain text
1911 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1912 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1913 msgid ""
1914 "Note that the killing signal will first cause signal-delivery-stop (on one "
1915 "tracee only), and only after it is injected by the tracer (or after it was "
1916 "dispatched to a thread which isn't traced), will death from the signal "
1917 "happen on I<all> tracees within a multithreaded process. (The term \"signal-"
1918 "delivery-stop\" is explained below.)"
1919 msgstr ""
1920 "Beachten Sie, dass das killende Signal zuerst einen Signallieferstopp (auf "
1921 "nur einen verfolgten Prozess) verursachen wird und nur nachdem es durch den "
1922 "Verfolger eingespeist wurde (oder nachdem es an einen nicht verfolgten "
1923 "Thread versandt wurde), wird der Tod von dem Signal auf I<alle> verfolgten "
1924 "Prozesse innerhalb eines Prozesses mit mehreren Threads ausgehen. (Der "
1925 "Begriff »Signallieferstopp« wird nachfolgend erklärt.)"
1926
1927 #. type: Plain text
1928 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1929 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1930 msgid ""
1931 "B<SIGKILL> does not generate signal-delivery-stop and therefore the tracer "
1932 "can't suppress it. B<SIGKILL> kills even within system calls (syscall-exit-"
1933 "stop is not generated prior to death by B<SIGKILL>). The net effect is that "
1934 "B<SIGKILL> always kills the process (all its threads), even if some threads "
1935 "of the process are ptraced."
1936 msgstr ""
1937 "B<SIGKILL> erzeugt keinen »Signallieferstopp«. Daher kann der Verfolger es "
1938 "nicht unterdrücken. B<SIGKILL> killt sogar innerhalb von Systemaufrufen (der "
1939 "Systemaufrufbeendigungsstopp wird nicht vorrangig vor dem Tod durch "
1940 "B<SIGKILL> erzeugt). Der reine Effekt besteht darin, dass B<SIGKILL> den "
1941 "Prozess (all seine Threads) immer killt, sogar dann, wenn einige Threads des "
1942 "Prozesses verfolgt werden."
1943
1944 #. type: Plain text
1945 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1946 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1947 msgid ""
1948 "When the tracee calls B<_exit>(2), it reports its death to its tracer. "
1949 "Other threads are not affected."
1950 msgstr ""
1951 "Wenn der verfolgte Prozess B<_exit>(2) aufruft, meldet er seinem Verfolger "
1952 "seinen Tod. Andere Threads werden nicht beeinflusst."
1953
1954 #. type: Plain text
1955 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1956 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1957 msgid ""
1958 "When any thread executes B<exit_group>(2), every tracee in its thread group "
1959 "reports its death to its tracer."
1960 msgstr ""
1961 "Wenn irgendein Thread B<exit_group>(2) ausführt, meldet jeder verfolgte "
1962 "Prozess in dessen Gruppe seinen Tod an den Verfolger."
1963
1964 #. type: Plain text
1965 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1966 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1967 msgid ""
1968 "If the B<PTRACE_O_TRACEEXIT> option is on, B<PTRACE_EVENT_EXIT> will happen "
1969 "before actual death. This applies to exits via B<exit>(2), "
1970 "B<exit_group>(2), and signal deaths (except B<SIGKILL>, depending on the "
1971 "kernel version; see BUGS below), and when threads are torn down on "
1972 "B<execve>(2) in a multithreaded process."
1973 msgstr ""
1974 "Falls die Option B<PTRACE_O_TRACEEXIT> aktiv ist, wird B<PTRACE_EVENT_EXIT> "
1975 "vor dem tatsächlichen Tod auftreten. Dies wird angewandt, um mittels "
1976 "B<exit>(2), B<exit_group>(2) und Todessignalen (ausgenommen B<SIGKILL>, "
1977 "abhängig von der Kernel-Version, siehe FEHLER unten) zu beenden und wenn "
1978 "Threads bei B<execve>(2) in einem Prozess mit mehreren Threads zerrissen "
1979 "werden."
1980
1981 #. type: Plain text
1982 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1983 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1984 msgid ""
1985 "The tracer cannot assume that the ptrace-stopped tracee exists. There are "
1986 "many scenarios when the tracee may die while stopped (such as B<SIGKILL>). "
1987 "Therefore, the tracer must be prepared to handle an B<ESRCH> error on any "
1988 "ptrace operation. Unfortunately, the same error is returned if the tracee "
1989 "exists but is not ptrace-stopped (for commands which require a stopped "
1990 "tracee), or if it is not traced by the process which issued the ptrace "
1991 "call. The tracer needs to keep track of the stopped/running state of the "
1992 "tracee, and interpret B<ESRCH> as \"tracee died unexpectedly\" only if it "
1993 "knows that the tracee has been observed to enter ptrace-stop. Note that "
1994 "there is no guarantee that I<waitpid(WNOHANG)> will reliably report the "
1995 "tracee's death status if a ptrace operation returned B<ESRCH>. "
1996 "I<waitpid(WNOHANG)> may return 0 instead. In other words, the tracee may be "
1997 "\"not yet fully dead\", but already refusing ptrace operations."
1998 msgstr ""
1999 "Der Verfolger kann nicht abschätzen, ob der von Ptrace gestoppte Prozess "
2000 "existiert. Es gibt mehrere Szenarien, in denen der verfolgte Prozess sterben "
2001 "kann, während er gestoppt ist (wie B<SIGKILL>). Daher muss der Verfolger "
2002 "vorbereitet werden, bei allen Ptrace-Aktionen einen B<ESRCH>-Fehler zu "
2003 "handhaben. Leider wird der gleiche Fehler zurückgegeben, falls der verfolgte "
2004 "Prozess existiert, aber nicht von Ptrace gestoppt wurde (für Befehle, die "
2005 "einen gestoppten, verfolgten Prozess erfordern) oder falls er nicht durch "
2006 "den Prozess verfolgt wird, der den Ptrace-Aufruf abschickte. Der Verfolger "
2007 "muss den Überblick über den »laufend«-/»gestoppt«-Status des verfolgten "
2008 "Prozesses behalten und B<ESRCH> nur dann als »verfolgter Prozess starb "
2009 "unerwartet« interpretieren, falls er weiß, dass der verfolgte Prozess "
2010 "beobachtet wurde, um in einen Ptrace-Stopp einzutreten. Beachten Sie, dass "
2011 "es keine Garantie gibt, dass I<waitpid(WNOHANG)> zuverlässig den Todesstatus "
2012 "des verfolgten Prozesses meldet, falls eine Ptrace-Aktion B<ESRCH> "
2013 "zurückgibt. I<waitpid(WNOHANG)> könnte stattdessen 0 zurückgeben. In anderen "
2014 "Worten kann es sein, dass der verfolgte Prozess »noch nicht vollständig tot« "
2015 "ist, aber bereits Ptrace-Aktionen ablehnt."
2016
2017 #. type: Plain text
2018 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2019 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2020 msgid ""
2021 "The tracer can't assume that the tracee I<always> ends its life by reporting "
2022 "I<WIFEXITED(status)> or I<WIFSIGNALED(status)>; there are cases where this "
2023 "does not occur. For example, if a thread other than thread group leader "
2024 "does an B<execve>(2), it disappears; its PID will never be seen again, and "
2025 "any subsequent ptrace stops will be reported under the thread group leader's "
2026 "PID."
2027 msgstr ""
2028 "Der Verfolger kann nicht abschätzen, ob der verfolgte Prozess I<immer> sein "
2029 "Leben durch Melden von I<WIFEXITED(status)> oder I<WIFSIGNALED(status)> "
2030 "aushaucht. Es gibt Fälle, in denen dies nicht geschieht. Falls ein Thread, "
2031 "der nicht führender Thread der Thread-Gruppe ist, zum Beispiel ein "
2032 "B<execve>(2) ausführt, verschwindet er; seine PID wird nie wieder gesehen "
2033 "und alle nachfolgenden Ptrace-Stopps werden unter der PID des führenden "
2034 "Threads der Thread-Gruppe gemeldet."
2035
2036 #. type: SS
2037 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2038 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2039 #, no-wrap
2040 msgid "Stopped states"
2041 msgstr "Gestoppt-Status"
2042
2043 #. type: Plain text
2044 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2045 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2046 msgid ""
2047 "A tracee can be in two states: running or stopped. For the purposes of "
2048 "ptrace, a tracee which is blocked in a system call (such as B<read>(2), "
2049 "B<pause>(2), etc.) is nevertheless considered to be running, even if the "
2050 "tracee is blocked for a long time. The state of the tracee after "
2051 "B<PTRACE_LISTEN> is somewhat of a gray area: it is not in any ptrace-stop "
2052 "(ptrace commands won't work on it, and it will deliver B<waitpid>(2) "
2053 "notifications), but it also may be considered \"stopped\" because it is not "
2054 "executing instructions (is not scheduled), and if it was in group-stop "
2055 "before B<PTRACE_LISTEN>, it will not respond to signals until B<SIGCONT> is "
2056 "received."
2057 msgstr ""
2058 "Ein verfolgter Prozess kann zwei Status haben: laufend oder gestoppt. Für "
2059 "die Zwecke von Ptrace wird ein durch einen Systemaufruf (wie B<read>(2), "
2060 "B<pause>(2), etc.) blockierter verfolgter Prozess dennoch als laufend "
2061 "betrachtet, sogar, wenn der verfolgte Prozess für lange Zeit blockiert ist. "
2062 "Der Status des verfolgten Prozesses nach B<PTRACE_LISTEN> ist eine Grauzone: "
2063 "Er ist nicht in einem Ptrace-Stopp (Ptrace-Befehle funktionieren nicht bei "
2064 "ihm und er wird B<waitpid>(2)-Benachrichtigungen übermitteln), aber er kann "
2065 "auch als »gestoppt« angesehen werden, da er keine Anweisungen ausführt (ist "
2066 "nicht eingeplant) und falls er vor B<PTRACE_LISTEN> in einem Gruppenstopp "
2067 "war, wird er nicht auf Signale antworten, bis er B<SIGCONT> empfängt."
2068
2069 #. type: Plain text
2070 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2071 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2072 msgid ""
2073 "There are many kinds of states when the tracee is stopped, and in ptrace "
2074 "discussions they are often conflated. Therefore, it is important to use "
2075 "precise terms."
2076 msgstr ""
2077 "Es gibt viele Arten von Status, wenn ein verfolgter Prozess gestoppt wurde "
2078 "und in Ptrace-Diskussionen werden sie oft durcheinandergebracht. Daher ist "
2079 "es wichtig, präzise Begriffe zu verwenden."
2080
2081 #. type: Plain text
2082 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2083 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2084 msgid ""
2085 "In this manual page, any stopped state in which the tracee is ready to "
2086 "accept ptrace commands from the tracer is called I<ptrace-stop>. Ptrace-"
2087 "stops can be further subdivided into I<signal-delivery-stop>, I<group-stop>, "
2088 "I<syscall-stop>, I<PTRACE_EVENT stops>, and so on. These stopped states are "
2089 "described in detail below."
2090 msgstr ""
2091 "In dieser Handbuchseite wird jeder Gestoppt-Status, in dem der verfolgte "
2092 "Prozess bereit ist, Ptrace-Befehle vom Verfolger zu akzeptieren, I<Ptrace-"
2093 "Stopp> genannt. Ptrace-Stopps können weiter in I<Signallieferstopp>, "
2094 "I<Gruppenstopp>, I<PTRACE_EVENT stops> und so fort unterteilt werden. Diese "
2095 "gestoppten Status werden nachfolgend im Detail beschrieben."
2096
2097 #. type: Plain text
2098 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2099 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2100 msgid ""
2101 "When the running tracee enters ptrace-stop, it notifies its tracer using "
2102 "B<waitpid>(2) (or one of the other \"wait\" system calls). Most of this "
2103 "manual page assumes that the tracer waits with:"
2104 msgstr ""
2105 "Wenn der laufende, verfolgte Prozess in Ptrace-Stopp eintritt, "
2106 "benachrichtigt er seinen Verfolger mittels B<waitpid>(2) (oder einem anderen "
2107 "der »wait«-Systemaufrufe). Meistens geht diese Handbuchseite davon aus, dass "
2108 "der Verfolger wartet mit:"
2109
2110 #. type: Plain text
2111 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2112 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2113 #, no-wrap
2114 msgid "pid = waitpid(pid_or_minus_1, &status, __WALL);\n"
2115 msgstr "PID = waitpid(PID_ODER_Minus1, &status, __WALL);\n"
2116
2117 #. Denys Vlasenko:
2118 #. Do we require __WALL usage, or will just using 0 be ok? (With 0,
2119 #. I am not 100% sure there aren't ugly corner cases.) Are the
2120 #. rules different if user wants to use waitid? Will waitid require
2121 #. WEXITED?
2122 #. type: Plain text
2123 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2124 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2125 msgid ""
2126 "Ptrace-stopped tracees are reported as returns with I<pid> greater than 0 "
2127 "and I<WIFSTOPPED(status)> true."
2128 msgstr ""
2129 "Mit Ptrace-Stopp angehaltene, verfolgte Prozesse werden als Rückgaben mit "
2130 "I<PID> größer als 0 und »I<WIFSTOPPED(status)> true« gemeldet."
2131
2132 #. type: Plain text
2133 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2134 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2135 msgid ""
2136 "The B<__WALL> flag does not include the B<WSTOPPED> and B<WEXITED> flags, "
2137 "but implies their functionality."
2138 msgstr ""
2139 "Der Schalter B<__WALL> enthält nicht die Schalter B<WSTOPPED> und "
2140 "B<WEXITED>, impliziert aber ihre Funktionalität."
2141
2142 #. type: Plain text
2143 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2144 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2145 msgid ""
2146 "Setting the B<WCONTINUED> flag when calling B<waitpid>(2) is not "
2147 "recommended: the \"continued\" state is per-process and consuming it can "
2148 "confuse the real parent of the tracee."
2149 msgstr ""
2150 "Es wird nicht empfohlen, den Schalter B<WCONTINUED> zu setzen, wenn "
2151 "B<waitpid>(2) aufgerufen wird: Der Status »continued« gilt pro Prozess und "
2152 "ihn zu verbrauchen, kann den echten Elternprozess des verfolgten Prozesses "
2153 "verwirren."
2154
2155 #. type: Plain text
2156 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2157 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2158 msgid ""
2159 "Use of the B<WNOHANG> flag may cause B<waitpid>(2) to return 0 (\"no wait "
2160 "results available yet\") even if the tracer knows there should be a "
2161 "notification. Example:"
2162 msgstr ""
2163 "Die Benutzung des Schalters B<WNOHANG> könnte B<waitpid>(2) veranlassen, 0 "
2164 "zurückzugeben (»noch keine Warteergebnisse verfügbar«), sogar dann, wenn der "
2165 "Verfolger weiß, dass dort eine Benachrichtigung sein soll. Beispiel:"
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 #, no-wrap
2171 msgid ""
2172 "errno = 0;\n"
2173 "ptrace(PTRACE_CONT, pid, 0L, 0L);\n"
2174 "if (errno == ESRCH) {\n"
2175 " /* tracee is dead */\n"
2176 " r = waitpid(tracee, &status, __WALL | WNOHANG);\n"
2177 " /* r can still be 0 here! */\n"
2178 "}\n"
2179 msgstr ""
2180 "errno = 0;\n"
2181 "ptrace(PTRACE_CONT, pid, 0L, 0L);\n"
2182 "if (errno == ESRCH) {\n"
2183 " /* verfolgter Prozess ist tot */\n"
2184 " r = waitpid(tracee, &status, __WALL | WNOHANG);\n"
2185 " /* r kann hier immer noch 0 sein! */\n"
2186 "}\n"
2187
2188 #. type: Plain text
2189 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2190 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2191 msgid ""
2192 "The following kinds of ptrace-stops exist: signal-delivery-stops, group-"
2193 "stops, B<PTRACE_EVENT> stops, syscall-stops. They all are reported by "
2194 "B<waitpid>(2) with I<WIFSTOPPED(status)> true. They may be differentiated "
2195 "by examining the value I<statusE<gt>E<gt>8>, and if there is ambiguity in "
2196 "that value, by querying B<PTRACE_GETSIGINFO>. (Note: the "
2197 "I<WSTOPSIG(status)> macro can't be used to perform this examination, because "
2198 "it returns the value I<(statusE<gt>E<gt>8)\\ &\\ 0xff>.)"
2199 msgstr ""
2200 "Die folgenden Arten von Ptrace-Stopps existieren: Signallieferstopps, "
2201 "Gruppenstopps, B<PTRACE_EVENT>-Stopps und Systemaufrufstopps. Sie alle "
2202 "werden von B<waitpid>(2) mit »I<WIFSTOPPED(status)> true« gemeldet. Sie "
2203 "könnten durch Untersuchen des Wertes I<statusE<gt>E<gt>8> unterschieden "
2204 "werden und, falls es eine Unklarheit im Wert gibt, durch Abfragen von "
2205 "B<PTRACE_GETSIGINFO>. (Hinweis: Das Makro I<WSTOPSIG(status)> kann nicht für "
2206 "diese Untersuchung verwandt werden, da es den Wert I<(statusE<gt>E<gt>8)\\ "
2207 "&\\ 0xff> zurückgibt.)"
2208
2209 #. type: SS
2210 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2211 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2212 #, no-wrap
2213 msgid "Signal-delivery-stop"
2214 msgstr "Signallieferstopp"
2215
2216 #. type: Plain text
2217 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2218 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2219 msgid ""
2220 "When a (possibly multithreaded) process receives any signal except "
2221 "B<SIGKILL>, the kernel selects an arbitrary thread which handles the "
2222 "signal. (If the signal is generated with B<tgkill>(2), the target thread "
2223 "can be explicitly selected by the caller.) If the selected thread is "
2224 "traced, it enters signal-delivery-stop. At this point, the signal is not "
2225 "yet delivered to the process, and can be suppressed by the tracer. If the "
2226 "tracer doesn't suppress the signal, it passes the signal to the tracee in "
2227 "the next ptrace restart operation. This second step of signal delivery is "
2228 "called I<signal injection> in this manual page. Note that if the signal is "
2229 "blocked, signal-delivery-stop doesn't happen until the signal is unblocked, "
2230 "with the usual exception that B<SIGSTOP> can't be blocked."
2231 msgstr ""
2232 "Wenn ein Prozess (möglicherweise mit mehreren Threads) ein Signal außer "
2233 "B<SIGKILL> empfängt, wählt der Kernel einen beliebigen Thread aus, der das "
2234 "Signal handhabt. (Falls das Signal mit B<tgkill>(2) erzeugt wurde, kann der "
2235 "Ziel-Thread explizit durch den Aufrufenden ausgewählt werden.) Falls der "
2236 "ausgewählte Thread verfolgt wird, tritt er in einen Signallieferstopp ein. "
2237 "An diesem Punkt wird das Signal noch nicht an den Prozess zugestellt und "
2238 "kann durch den Verfolger unterdrückt werden. Falls der Verfolger das Signal "
2239 "nicht unterdrückt, übergibt er das Signal bei der nächsten Ptrace-"
2240 "Neustartaktion an den verfolgten Prozess. Dieser zweite Schritt der "
2241 "Signalzustellung wird in dieser Handbuchseite I<Signaleinspeisung> genannt. "
2242 "Beachten Sie, dass, falls das Signal blockiert ist, der Signallieferstopp "
2243 "nicht auftritt, bis die Blockade des Signals aufgehoben wurde, mit der "
2244 "üblichen Ausnahme, dass B<SIGSTOP> nicht blockiert werden kann."
2245
2246 #. type: Plain text
2247 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2248 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2249 msgid ""
2250 "Signal-delivery-stop is observed by the tracer as B<waitpid>(2) returning "
2251 "with I<WIFSTOPPED(status)> true, with the signal returned by "
2252 "I<WSTOPSIG(status)>. If the signal is B<SIGTRAP>, this may be a different "
2253 "kind of ptrace-stop; see the \"Syscall-stops\" and \"execve\" sections below "
2254 "for details. If I<WSTOPSIG(status)> returns a stopping signal, this may be "
2255 "a group-stop; see below."
2256 msgstr ""
2257 "Der Signallieferstopp wird vom Verfolger als B<waitpid>(2) beobachtet und "
2258 "kehrt mit »I<WIFSTOPPED(status)> true« mit dem Signal zurück, das von "
2259 "I<WSTOPSIG(status)> zurückgegeben wurde. Falls das Signal B<SIGTRAP> ist, "
2260 "könnte dies eine andere Art eines Ptrace-Stopps sein; Einzelheiten finden "
2261 "Sie in den Abschnitten »Systemaufrufstopps« und »execve« unterhalb. Falls "
2262 "I<WSTOPSIG(status)> ein stoppendes Signal zurückgibt, könnte dies ein "
2263 "Gruppenstopp sein; siehe unten."
2264
2265 #. type: SS
2266 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2267 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2268 #, no-wrap
2269 msgid "Signal injection and suppression"
2270 msgstr "Signaleinspeisung und -unterdrückung"
2271
2272 #. type: Plain text
2273 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2274 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2275 msgid ""
2276 "After signal-delivery-stop is observed by the tracer, the tracer should "
2277 "restart the tracee with the call"
2278 msgstr ""
2279 "Nachdem der Signallieferstopp durch den Verfolger beobachtet wurde, sollte "
2280 "der Verfolger den verfolgten Prozess mit dem Aufruf"
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 #, no-wrap
2286 msgid "ptrace(PTRACE_restart, pid, 0, sig)\n"
2287 msgstr "ptrace(PTRACE_restart, PID, 0, Signal)\n"
2288
2289 #. type: Plain text
2290 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2291 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2292 msgid ""
2293 "where B<PTRACE_restart> is one of the restarting ptrace operations. If "
2294 "I<sig> is 0, then a signal is not delivered. Otherwise, the signal I<sig> "
2295 "is delivered. This operation is called I<signal injection> in this manual "
2296 "page, to distinguish it from signal-delivery-stop."
2297 msgstr ""
2298 "neu starten, wobei B<PTRACE_restart> einer der neu startenden Ptrace-Aktion "
2299 "ist. Falls I<Signal> 0 ist, wird das Signal nicht zugestellt. Andernfalls "
2300 "wird das Signal I<Signal> zugestellt. Diese Aktion wird in dieser "
2301 "Handbuchseite I<Signaleinspeisung> genannt, um sie vom Signallieferstopp zu "
2302 "unterscheiden."
2303
2304 #. type: Plain text
2305 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2306 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2307 msgid ""
2308 "The I<sig> value may be different from the I<WSTOPSIG(status)> value: the "
2309 "tracer can cause a different signal to be injected."
2310 msgstr ""
2311 "Der I<Signal>wert kann sich vom Wert I<WSTOPSIG(status)> unterschieden: Der "
2312 "Verfolger kann veranlassen, dass ein anderes Signal eingespeist wird."
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 "Note that a suppressed signal still causes system calls to return "
2319 "prematurely. In this case, system calls will be restarted: the tracer will "
2320 "observe the tracee to reexecute the interrupted system call (or "
2321 "B<restart_syscall>(2) system call for a few system calls which use a "
2322 "different mechanism for restarting) if the tracer uses B<PTRACE_SYSCALL>. "
2323 "Even system calls (such as B<poll>(2)) which are not restartable after "
2324 "signal are restarted after signal is suppressed; however, kernel bugs exist "
2325 "which cause some system calls to fail with B<EINTR> even though no "
2326 "observable signal is injected to the tracee."
2327 msgstr ""
2328 "Beachten Sie, dass ein unterdrücktes Signal immer noch Systemaufrufe "
2329 "verursacht, um vorzeitig zurückzukehren. In diesem Fall werden Systemaufrufe "
2330 "neu gestartet: Der Verfolger wird den verfolgten Prozess beobachten, um den "
2331 "unterbrochenen Systemaufruf neu auszuführen (oder den Systemaufruf "
2332 "B<restart_syscall>(2) für wenige Systemaufrufe, die unterschiedliche "
2333 "Mechanismen zum erneuten Starten verwenden), falls der Verfolger "
2334 "B<PTRACE_SYSCALL> benutzt. Sogar Systemaufrufe (wie B<poll>(2)), die nach "
2335 "einem Signal nicht mehr neu startbar sind, werden nach dem Unterdrücken des "
2336 "Signals neu gestartet werden. Es existieren jedoch einige Kernelfehler, die "
2337 "zum Fehlschlagen einiger Systemaufrufe mit B<EINTR> führen, sogar, wenn kein "
2338 "beobachtbares Signal in den verfolgten Prozess eingespeist wurde."
2339
2340 #. type: Plain text
2341 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2342 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2343 msgid ""
2344 "Restarting ptrace commands issued in ptrace-stops other than signal-delivery-"
2345 "stop are not guaranteed to inject a signal, even if I<sig> is nonzero. No "
2346 "error is reported; a nonzero I<sig> may simply be ignored. Ptrace users "
2347 "should not try to \"create a new signal\" this way: use B<tgkill>(2) "
2348 "instead."
2349 msgstr ""
2350 "Es wird nicht garantiert, dass beim Neustarten von Ptrace-Befehlen, die in "
2351 "anderen Ptrace-Stopps als Signallieferstopps angestoßen wurden,ein Signal "
2352 "eingespeist wird, nicht einmal, wenn I<Signal> nicht Null ist. Es wird kein "
2353 "Fehler gemeldet; ein I<Signal> ungleich Null könnte einfach ignoriert "
2354 "werden. Ptrace-Benutzer sollten nicht versuchen, auf diese Art »ein neues "
2355 "Signal zu erzeugen«: Benutzen Sie stattdessen B<tgkill>(2)."
2356
2357 #. type: Plain text
2358 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2359 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2360 msgid ""
2361 "The fact that signal injection operations may be ignored when restarting the "
2362 "tracee after ptrace stops that are not signal-delivery-stops is a cause of "
2363 "confusion among ptrace users. One typical scenario is that the tracer "
2364 "observes group-stop, mistakes it for signal-delivery-stop, restarts the "
2365 "tracee with"
2366 msgstr ""
2367 "Die Tatsache, dass Signaleinspeisungsaktionen beim erneuten Starten des "
2368 "verfolgten Prozesses nach Ptrace-Stopps, die keine Signallieferstopps sind, "
2369 "ignoriert werden können, ist ein Grund für Verwirrung bei Ptrace-Benutzern. "
2370 "Ein typisches Szenario ist, dass der Verfolger Gruppenstopps beobachtet, sie "
2371 "fälschlicherweise für Signallieferstopps hält und den verfolgen Prozess mit"
2372
2373 #. type: Plain text
2374 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2375 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2376 #, no-wrap
2377 msgid "ptrace(PTRACE_restart, pid, 0, stopsig)\n"
2378 msgstr "ptrace(PTRACE_restart, PID, 0, Stoppsignal)\n"
2379
2380 #. type: Plain text
2381 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2382 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2383 msgid ""
2384 "with the intention of injecting I<stopsig>, but I<stopsig> gets ignored and "
2385 "the tracee continues to run."
2386 msgstr ""
2387 "neu startet mit der Absicht I<Stoppsignal> einzuspeisen, I<Stoppsignal> aber "
2388 "ignoriert wird und der verfolgte Prozess weiter läuft."
2389
2390 #. type: Plain text
2391 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2392 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2393 msgid ""
2394 "The B<SIGCONT> signal has a side effect of waking up (all threads of) a "
2395 "group-stopped process. This side effect happens before signal-delivery-"
2396 "stop. The tracer can't suppress this side effect (it can only suppress "
2397 "signal injection, which only causes the B<SIGCONT> handler to not be "
2398 "executed in the tracee, if such a handler is installed). In fact, waking up "
2399 "from group-stop may be followed by signal-delivery-stop for signal(s) "
2400 "I<other than> B<SIGCONT>, if they were pending when B<SIGCONT> was "
2401 "delivered. In other words, B<SIGCONT> may be not the first signal observed "
2402 "by the tracee after it was sent."
2403 msgstr ""
2404 "Das Signal B<SIGCONT> hat einen Seiteneffekt, dass es einen Prozess im "
2405 "Gruppenstopp (alle Threads davon) aufweckt. Dieser Seiteneffekt tritt vor "
2406 "dem Signallieferstopp auf. Der Verfolger kann diesen Seiteneffekt nicht "
2407 "unterdrücken (er kann nur Signaleinspeisung unterdrücken, was nur dazu "
2408 "führt, dass die B<SIGCONT>-Handhabung nicht im verfolgten Prozess ausgeführt "
2409 "wird, falls eine solche Handhabung installiert ist). Tatsächlich könnte dem "
2410 "Aufwecken aus den Gruppenstopp ein Signallieferstopp für I<andere> Signale "
2411 "als B<SIGCONT> folgen, falls sie ausstehen, wenn B<SIGCONT> gesandt wurde. "
2412 "In anderen Worten könnte es sein, dass B<SIGCONT> nicht das erste durch den "
2413 "Verfolger beobachtete Signal ist, nachdem es gesandt wurde."
2414
2415 #. type: Plain text
2416 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2417 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2418 msgid ""
2419 "Stopping signals cause (all threads of) a process to enter group-stop. This "
2420 "side effect happens after signal injection, and therefore can be suppressed "
2421 "by the tracer."
2422 msgstr ""
2423 "Stoppen von Signalen führt dazu, das ein Prozess (alle Threads davon) in "
2424 "einen Gruppenstopp eintritt. Dieser Seiteneffekt tritt nach der "
2425 "Signaleinspeisung auf und kann daher durch den Verfolger unterdrückt werden."
2426
2427 #
2428 #. In the Linux 2.4 sources, in arch/i386/kernel/signal.c::do_signal(),
2429 #. there is:
2430 #. /* The debugger continued. Ignore SIGSTOP. */
2431 #. if (signr == SIGSTOP)
2432 #. continue;
2433 #. type: Plain text
2434 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2435 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2436 msgid "In Linux 2.4 and earlier, the B<SIGSTOP> signal can't be injected."
2437 msgstr ""
2438 "In Linux 2.4 und älter kann das Signal B<SIGSTOP> nicht eingespeist werden."
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 "B<PTRACE_GETSIGINFO> can be used to retrieve a I<siginfo_t> structure which "
2445 "corresponds to the delivered signal. B<PTRACE_SETSIGINFO> may be used to "
2446 "modify it. If B<PTRACE_SETSIGINFO> has been used to alter I<siginfo_t>, the "
2447 "I<si_signo> field and the I<sig> parameter in the restarting command must "
2448 "match, otherwise the result is undefined."
2449 msgstr ""
2450 "B<PTRACE_GETSIGINFO> kann benutzt werden, um eine I<siginfo_t>-Struktur zu "
2451 "erhalten, die dem gesandten Signal entspricht. B<PTRACE_SETSIGINFO> kann "
2452 "benutzt werden, um es zu verändern. Falls B<PTRACE_SETSIGINFO> benutzt "
2453 "wurde, um I<siginfo_t> zu verändern, müssen das Feld I<si_signo> und der "
2454 "Parameter I<Signal> im Befehl zum Neustart übereinstimmen, andernfalls ist "
2455 "das Ergebnis undefiniert."
2456
2457 #. type: SS
2458 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2459 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2460 #, no-wrap
2461 msgid "Group-stop"
2462 msgstr "Gruppenstopp"
2463
2464 #. type: Plain text
2465 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2466 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2467 msgid ""
2468 "When a (possibly multithreaded) process receives a stopping signal, all "
2469 "threads stop. If some threads are traced, they enter a group-stop. Note "
2470 "that the stopping signal will first cause signal-delivery-stop (on one "
2471 "tracee only), and only after it is injected by the tracer (or after it was "
2472 "dispatched to a thread which isn't traced), will group-stop be initiated on "
2473 "I<all> tracees within the multithreaded process. As usual, every tracee "
2474 "reports its group-stop separately to the corresponding tracer."
2475 msgstr ""
2476 "Wenn ein Prozess (der möglicherweise aus mehreren Threads besteht) ein "
2477 "Stoppsignal empfängt, werden alle Threads gestoppt. Falls einige Threads "
2478 "verfolgt werden, treten sie in eine Thread-Gruppe ein. Beachten Sie, dass "
2479 "das Stoppsignal zuerst einen Signallieferstopp verursachen wird (nur auf den "
2480 "verfolgten Prozess) und nur, nachdem es durch den Verfolger eingespeist "
2481 "wurde (oder nachdem es an einen Thread geschickt wurde, der nicht verfolgt "
2482 "wird), wird der Gruppenstopp auf I<alle> verfolgten Prozesse innerhalb eines "
2483 "Prozesses aus mehreren Threads eingeleitet. Wie üblich meldet jeder "
2484 "verfolgte Prozess seinen Gruppenstopp separat an den entsprechenden "
2485 "Verfolger."
2486
2487 #. type: Plain text
2488 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2489 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2490 msgid ""
2491 "Group-stop is observed by the tracer as B<waitpid>(2) returning with "
2492 "I<WIFSTOPPED(status)> true, with the stopping signal available via "
2493 "I<WSTOPSIG(status)>. The same result is returned by some other classes of "
2494 "ptrace-stops, therefore the recommended practice is to perform the call"
2495 msgstr ""
2496 "Der Gruppenstopp wird vom Verfolger als B<waitpid>(2) beobachtet und kehrt "
2497 "mit »I<WIFSTOPPED(status)> true« mit dem Stoppsignal zurück, das über "
2498 "I<WSTOPSIG(status)> verfügbar ist. Dasselbe Ergebnis wird von einigen "
2499 "anderen Klassen von Ptrace-Stopps zurückgegeben, daher ist die empfohlene "
2500 "Vorgehensweise, folgenden Aufruf zu tätigen:"
2501
2502 #. type: Plain text
2503 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2504 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2505 #, no-wrap
2506 msgid "ptrace(PTRACE_GETSIGINFO, pid, 0, &siginfo)\n"
2507 msgstr "ptrace(PTRACE_GETSIGINFO, PID, 0, &siginfo)\n"
2508
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 "The call can be avoided if the signal is not B<SIGSTOP>, B<SIGTSTP>, "
2514 "B<SIGTTIN>, or B<SIGTTOU>; only these four signals are stopping signals. If "
2515 "the tracer sees something else, it can't be a group-stop. Otherwise, the "
2516 "tracer needs to call B<PTRACE_GETSIGINFO>. If B<PTRACE_GETSIGINFO> fails "
2517 "with B<EINVAL>, then it is definitely a group-stop. (Other failure codes "
2518 "are possible, such as B<ESRCH> (\"no such process\") if a B<SIGKILL> killed "
2519 "the tracee.)"
2520 msgstr ""
2521 "Der Aufruf kann vermieden werden, falls das Signal nicht B<SIGSTOP>, "
2522 "B<SIGTSTP>, B<SIGTTIN> oder B<SIGTTOU> ist. Nur diese vier Signale sind "
2523 "Stoppsignale. Falls der Verfolger etwas anderes sieht, kann es kein "
2524 "Gruppenstopp sein. Andernfalls benötigt der Verfolger den Aufruf "
2525 "B<PTRACE_GETSIGINFO>. Falls B<PTRACE_GETSIGINFO> mit B<EINVAL> fehlschlägt, "
2526 "ist es definitiv ein Gruppenstopp. (Andere Fehlerkodes wie B<ESRCH> (»kein "
2527 "derartiger Prozess«) sind möglich, falls ein B<SIGKILL> den verfolgten "
2528 "Prozess gekillt hat."
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 "If tracee was attached using B<PTRACE_SEIZE>, group-stop is indicated by "
2535 "B<PTRACE_EVENT_STOP>: I<statusE<gt>E<gt>16 == PTRACE_EVENT_STOP>. This "
2536 "allows detection of group-stops without requiring an extra "
2537 "B<PTRACE_GETSIGINFO> call."
2538 msgstr ""
2539 "Falls ein verfolgter Prozess mittels B<PTRACE_SEIZE> angehängt wurde, wird "
2540 "ein Gruppenstopp durch B<PTRACE_EVENT_STOP> angezeigt: I<StatusE<gt>E<gt>16 "
2541 "== PTRACE_EVENT_STOP>. Dies ermöglicht, einen Gruppenstopp festzustellen, "
2542 "ohne dass ein zusätzlicher B<PTRACE_GETSIGINFO>-Aufruf erforderlich ist."
2543
2544 #. type: Plain text
2545 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2546 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2547 msgid ""
2548 "As of Linux 2.6.38, after the tracer sees the tracee ptrace-stop and until "
2549 "it restarts or kills it, the tracee will not run, and will not send "
2550 "notifications (except B<SIGKILL> death) to the tracer, even if the tracer "
2551 "enters into another B<waitpid>(2) call."
2552 msgstr ""
2553 "Ab Linux 2.6.38 wird der verfolgte Prozess, nachdem der Verfolger den Ptrace-"
2554 "Stopp des verfolgten Prozesses sieht und bis er neu startet oder ihn killt, "
2555 "nicht laufen und keine Benachrichtigungen an den Verfolger senden (außer dem "
2556 "Tod durch B<SIGKILL>), nicht einmal, wenn der Verfolger in einen anderen "
2557 "B<waitpid>(2)-Aufruf gelangt."
2558
2559 #. type: Plain text
2560 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2561 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2562 msgid ""
2563 "The kernel behavior described in the previous paragraph causes a problem "
2564 "with transparent handling of stopping signals. If the tracer restarts the "
2565 "tracee after group-stop, the stopping signal is effectively ignored\\[em]the "
2566 "tracee doesn't remain stopped, it runs. If the tracer doesn't restart the "
2567 "tracee before entering into the next B<waitpid>(2), future B<SIGCONT> "
2568 "signals will not be reported to the tracer; this would cause the B<SIGCONT> "
2569 "signals to have no effect on the tracee."
2570 msgstr ""
2571 "Das im vorhergehenden Absatz beschriebene Verhalten verursacht ein Problem "
2572 "bei transparenter Behandlung von Stoppsignalen. Falls der Verfolger den "
2573 "verfolgten Prozess nach einem Gruppenstopp neu startet, wird das Stoppsignal "
2574 "effektiv ignoriert – der verfolgte Prozess bleibt nicht gestoppt, er läuft. "
2575 "Falls der Verfolger den verfolgten Prozess neu startet, bevor er in das "
2576 "nächste B<waitpid>(2) eintritt, werden zukünftige B<SIGCONT>-Signale nicht "
2577 "an den Verfolger gemeldet. Dies würde dazu führen, dass die B<SIGCONT>-"
2578 "Signale keine Auswirkungen auf den verfolgten Prozess haben."
2579
2580 #. type: Plain text
2581 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2582 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2583 msgid ""
2584 "Since Linux 3.4, there is a method to overcome this problem: instead of "
2585 "B<PTRACE_CONT>, a B<PTRACE_LISTEN> command can be used to restart a tracee "
2586 "in a way where it does not execute, but waits for a new event which it can "
2587 "report via B<waitpid>(2) (such as when it is restarted by a B<SIGCONT>)."
2588 msgstr ""
2589 "Seit Linux 3.4 gibt es eine Methode, die dieses Problem bewältigt: Statt "
2590 "B<PTRACE_CONT> kann ein B<PTRACE_LISTEN>-Befehl zum Neustart eines "
2591 "verfolgten Prozesses auf eine Weise benutzt werden, die ihn nicht ausführt, "
2592 "aber auf ein neues Ereignis wartet, das er über B<waitpid>(2) melden kann, "
2593 "wenn er zum Beispiel mit B<SIGCONT> neu gestartet wird."
2594
2595 #. type: SS
2596 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2597 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2598 #, no-wrap
2599 msgid "PTRACE_EVENT stops"
2600 msgstr "PTRACE_EVENT-Stopps"
2601
2602 #. type: Plain text
2603 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2604 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2605 msgid ""
2606 "If the tracer sets B<PTRACE_O_TRACE_*> options, the tracee will enter ptrace-"
2607 "stops called B<PTRACE_EVENT> stops."
2608 msgstr ""
2609 "Falls der Verfolger B<PTRACE_O_TRACE_*>-Optionen setzt, wird der verfolgte "
2610 "Prozess in B<PTRACE_EVENT>-Stopps genannte Stopps gelangen."
2611
2612 #. type: Plain text
2613 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2614 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2615 msgid ""
2616 "B<PTRACE_EVENT> stops are observed by the tracer as B<waitpid>(2) returning "
2617 "with I<WIFSTOPPED(status)>, and I<WSTOPSIG(status)> returns B<SIGTRAP> (or "
2618 "for B<PTRACE_EVENT_STOP>, returns the stopping signal if tracee is in a "
2619 "group-stop). An additional bit is set in the higher byte of the status "
2620 "word: the value I<statusE<gt>E<gt>8> will be"
2621 msgstr ""
2622 "B<PTRACE_EVENT>-Stopps werden durch den Verfolger als B<waitpid>(2) "
2623 "beobachtet, kehren mit I<WIFSTOPPED(status)> zurück und I<WSTOPSIG(status)> "
2624 "gibt B<SIGTRAP> zurück (oder für B<PTRACE_EVENT_STOP>: gibt das Stopp-Signal "
2625 "zurück, falls der verfolgte Prozess in einem Gruppen-Stopp ist). Es wird ein "
2626 "zusätzliches Bit in das höhere Bit des Status (Datentyp Word) gesetzt: Der "
2627 "Wert I<statusE<gt>E<gt>8> wird wie folgt sein:"
2628
2629 #. type: Plain text
2630 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2631 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2632 #, no-wrap
2633 msgid "((PTRACE_EVENT_fooE<lt>E<lt>8) | SIGTRAP).\n"
2634 msgstr "((PTRACE_EVENT_fooE<lt>E<lt>8) | SIGTRAP).\n"
2635
2636 #. type: Plain text
2637 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2638 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2639 msgid "The following events exist:"
2640 msgstr "Es gibt die folgenden Ereignisse:"
2641
2642 #. type: TP
2643 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2644 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2645 #, no-wrap
2646 msgid "B<PTRACE_EVENT_VFORK>"
2647 msgstr "B<PTRACE_EVENT_VFORK>"
2648
2649 #. type: Plain text
2650 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2651 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2652 msgid ""
2653 "Stop before return from B<vfork>(2) or B<clone>(2) with the B<CLONE_VFORK> "
2654 "flag. When the tracee is continued after this stop, it will wait for child "
2655 "to exit/exec before continuing its execution (in other words, the usual "
2656 "behavior on B<vfork>(2))."
2657 msgstr ""
2658 "stoppt vor dem Zurückkehren von B<vfork>(2) oder B<clone>(2) mit dem "
2659 "Schalter B<CLONE_VFORK>. Wenn der verfolgte Prozess nach diesem Stopp "
2660 "fortgeführt wird, wird er auf das Beenden/Ausführen des Kindprozesses "
2661 "warten, bevor er mit seiner Ausführung fortfährt (in anderen Worten, das "
2662 "übliche Verhalten auf B<vfork>(2))."
2663
2664 #. type: TP
2665 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2666 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2667 #, no-wrap
2668 msgid "B<PTRACE_EVENT_FORK>"
2669 msgstr "B<PTRACE_EVENT_FORK>"
2670
2671 #. type: Plain text
2672 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2673 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2674 msgid ""
2675 "Stop before return from B<fork>(2) or B<clone>(2) with the exit signal set "
2676 "to B<SIGCHLD>."
2677 msgstr ""
2678 "stoppt vor dem Zurückkehren von B<fork>(2) oder B<clone>(2) mit dem auf "
2679 "B<SIGCHLD> gesetzten Beendigungssignal."
2680
2681 #. type: TP
2682 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2683 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2684 #, no-wrap
2685 msgid "B<PTRACE_EVENT_CLONE>"
2686 msgstr "B<PTRACE_EVENT_CLONE>"
2687
2688 #. type: Plain text
2689 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2690 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2691 msgid "Stop before return from B<clone>(2)."
2692 msgstr "stoppt vor dem Zurückkehren von B<clone>(2)."
2693
2694 #. type: TP
2695 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2696 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2697 #, no-wrap
2698 msgid "B<PTRACE_EVENT_VFORK_DONE>"
2699 msgstr "B<PTRACE_EVENT_VFORK_DONE>"
2700
2701 #. type: Plain text
2702 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2703 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2704 msgid ""
2705 "Stop before return from B<vfork>(2) or B<clone>(2) with the B<CLONE_VFORK> "
2706 "flag, but after the child unblocked this tracee by exiting or execing."
2707 msgstr ""
2708 "stoppt vor dem Zurückkehren von B<vfork>(2) oder B<clone>(2) mit dem "
2709 "Schalter B<CLONE_VFORK>, aber nachdem die Blockade dieses verfolgten "
2710 "Prozesses durch Beenden oder Ausführung aufgehoben wurde."
2711
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 "For all four stops described above, the stop occurs in the parent (i.e., the "
2717 "tracee), not in the newly created thread. B<PTRACE_GETEVENTMSG> can be used "
2718 "to retrieve the new thread's ID."
2719 msgstr ""
2720 "Für alle vier oben beschriebenen Stopps tritt der Stopp im Elternprozess auf "
2721 "(d.h. im verfolgenden Prozess), nicht im neu erstellten Thread. "
2722 "B<PTRACE_GETEVENTMSG> kann benutzt werden, um die Kennung des neuen Threads "
2723 "zu erhalten."
2724
2725 #. type: TP
2726 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2727 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2728 #, no-wrap
2729 msgid "B<PTRACE_EVENT_EXEC>"
2730 msgstr "B<PTRACE_EVENT_EXEC>"
2731
2732 #. type: Plain text
2733 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2734 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2735 msgid ""
2736 "Stop before return from B<execve>(2). Since Linux 3.0, "
2737 "B<PTRACE_GETEVENTMSG> returns the former thread ID."
2738 msgstr ""
2739 "stoppt vor dem Zurückkehren von B<execve>(2). Ab Linux 3.0, gibt "
2740 "B<PTRACE_GETEVENTMSG> die vorherige Thread-Kennung zurück."
2741
2742 #. type: TP
2743 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2744 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2745 #, no-wrap
2746 msgid "B<PTRACE_EVENT_EXIT>"
2747 msgstr "B<PTRACE_EVENT_EXIT>"
2748
2749 #. type: Plain text
2750 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2751 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2752 msgid ""
2753 "Stop before exit (including death from B<exit_group>(2)), signal death, or "
2754 "exit caused by B<execve>(2) in a multithreaded process. "
2755 "B<PTRACE_GETEVENTMSG> returns the exit status. Registers can be examined "
2756 "(unlike when \"real\" exit happens). The tracee is still alive; it needs to "
2757 "be B<PTRACE_CONT>ed or B<PTRACE_DETACH>ed to finish exiting."
2758 msgstr ""
2759 "stoppt vor dem Beenden (einschließlich des Todes aus B<exit_group>(2)), dem "
2760 "Signaltod oder endet, verursacht durch B<execve>(2), in einem Prozess aus "
2761 "mehreren Threads. B<PTRACE_GETEVENTMSG> gibt den Exit-Status zurück. "
2762 "Register können untersucht werden (solange nicht »wirklich« beendet wird). "
2763 "Der verfolgte Prozess ist immer noch lebendig; er benötigt zum Fertigstellen "
2764 "des Beendens B<PTRACE_CONT> oder B<PTRACE_DETACH>."
2765
2766 #. type: TP
2767 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2768 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2769 #, no-wrap
2770 msgid "B<PTRACE_EVENT_STOP>"
2771 msgstr "B<PTRACE_EVENT_STOP>"
2772
2773 #. type: Plain text
2774 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2775 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2776 msgid ""
2777 "Stop induced by B<PTRACE_INTERRUPT> command, or group-stop, or initial "
2778 "ptrace-stop when a new child is attached (only if attached using "
2779 "B<PTRACE_SEIZE>)."
2780 msgstr ""
2781 "Stopp, der durch einen B<PTRACE_INTERRUPT>-Befehl, einen Gruppenstopp oder "
2782 "ein »ptrace-stop« zu Beginn veranlasst wurde, wenn ein neuer Kindprozess "
2783 "angehängt wird (nur beim Anhängen mittels B<PTRACE_SEIZE>)."
2784
2785 #. type: TP
2786 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2787 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2788 #, no-wrap
2789 msgid "B<PTRACE_EVENT_SECCOMP>"
2790 msgstr "B<PTRACE_EVENT_SECCOMP>"
2791
2792 #. type: Plain text
2793 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2794 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2795 msgid ""
2796 "Stop triggered by a B<seccomp>(2) rule on tracee syscall entry when "
2797 "B<PTRACE_O_TRACESECCOMP> has been set by the tracer. The seccomp event "
2798 "message data (from the B<SECCOMP_RET_DATA> portion of the seccomp filter "
2799 "rule) can be retrieved with B<PTRACE_GETEVENTMSG>. The semantics of this "
2800 "stop are described in detail in a separate section below."
2801 msgstr ""
2802 "Stopp, der durch eine B<seccomp>(2)-Regel durch den Eintritt des verfolgten "
2803 "Prozesses in einen Systemaufruf ausgelöst wird, wenn "
2804 "B<PTRACE_O_TRACESECCOMP> vom Verfolger gesetzt wird. Die Seccomp-"
2805 "Ereignisdaten (von dem Anteil B<SECCOMP_RET_DATA> der Filterregel) können "
2806 "durch B<PTRACE_GETEVENTMSG> ermittelt werden. Die Semantik dieses Stopps "
2807 "werden in einem separaten Abschnitt weiter unten beschrieben."
2808
2809 #. type: Plain text
2810 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2811 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2812 msgid ""
2813 "B<PTRACE_GETSIGINFO> on B<PTRACE_EVENT> stops returns B<SIGTRAP> in "
2814 "I<si_signo>, with I<si_code> set to I<(eventE<lt>E<lt>8)\\ |\\ SIGTRAP>."
2815 msgstr ""
2816 "B<PTRACE_GETSIGINFO> auf B<PTRACE_EVENT>-Stopps gibt B<SIGTRAP> in "
2817 "I<si_signo> zurück, wobei I<si_code> auf I<(eventE<lt>E<lt>8)\\ |\\ SIGTRAP> "
2818 "gesetzt ist."
2819
2820 #. type: SS
2821 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2822 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2823 #, no-wrap
2824 msgid "Syscall-stops"
2825 msgstr "Systemaufrufstopps"
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 "If the tracee was restarted by B<PTRACE_SYSCALL> or B<PTRACE_SYSEMU>, the "
2832 "tracee enters syscall-enter-stop just prior to entering any system call "
2833 "(which will not be executed if the restart was using B<PTRACE_SYSEMU>, "
2834 "regardless of any change made to registers at this point or how the tracee "
2835 "is restarted after this stop). No matter which method caused the syscall-"
2836 "entry-stop, if the tracer restarts the tracee with B<PTRACE_SYSCALL>, the "
2837 "tracee enters syscall-exit-stop when the system call is finished, or if it "
2838 "is interrupted by a signal. (That is, signal-delivery-stop never happens "
2839 "between syscall-enter-stop and syscall-exit-stop; it happens I<after> "
2840 "syscall-exit-stop.). If the tracee is continued using any other method "
2841 "(including B<PTRACE_SYSEMU>), no syscall-exit-stop occurs. Note that all "
2842 "mentions B<PTRACE_SYSEMU> apply equally to B<PTRACE_SYSEMU_SINGLESTEP>."
2843 msgstr ""
2844 "Falls der verfolgte Prozess durch B<PTRACE_SYSCALL> oder B<PTRACE_SYSEMU> "
2845 "neu gestartet wurde, gerät der verfolgte Prozess in einen "
2846 "Systemaufrufeintrittsstopp kurz vor dem Eintritt in irgendeinen Systemaufruf "
2847 "(der nicht ausgeführt wird, falls der Neustart B<PTRACE_SYSEMU> verwandte, "
2848 "unabhängig von allen Änderungen, die zu diesem Zeitpunkt an den Registern "
2849 "vorgenommen wurden oder wie der verfolgte Prozess nach diesem Stopp neu "
2850 "gestartet wird). Unabhängig davon, welche Methode den "
2851 "Systemaufrufeintrittsstopp verursachte, falls der Verfolger den verfolgten "
2852 "Prozess mit B<PTRACE_SYSCALL> neu startet, gerät der verfolgte Prozess in "
2853 "einen Systemaufrufbeendigungsstopp, wenn der Systemaufruf beendet ist oder "
2854 "falls er durch ein Signal unterbrochen wurde. (Sprich, der Signallieferstopp "
2855 "tritt nie zwischen Systemaufrufeintrittsstopp und "
2856 "Systemaufrufbeendigungsstopp auf; er findet I<nach> dem "
2857 "Systemaufrufbeendigungsstopp statt.) Falls der verfolgte Prozess mittels "
2858 "irgendeiner anderen Methode fortgesetzt wird (einschließlich "
2859 "B<PTRACE_SYSEMU>), erfolgt kein Systemaufrufbeendigungsstop. Beachten Sie, "
2860 "dass alle Erwähnungen von B<PTRACE_SYSEMU> genauso auf "
2861 "B<PTRACE_SYSEMU_SINGLESTEP> zutreffen."
2862
2863 #. type: Plain text
2864 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2865 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2866 msgid ""
2867 "However, even if the tracee was continued using B<PTRACE_SYSCALL>, it is not "
2868 "guaranteed that the next stop will be a syscall-exit-stop. Other "
2869 "possibilities are that the tracee may stop in a B<PTRACE_EVENT> stop "
2870 "(including seccomp stops), exit (if it entered B<_exit>(2) or "
2871 "B<exit_group>(2)), be killed by B<SIGKILL>, or die silently (if it is a "
2872 "thread group leader, the B<execve>(2) happened in another thread, and that "
2873 "thread is not traced by the same tracer; this situation is discussed later)."
2874 msgstr ""
2875 "Selbst falls der verfolgte Prozess mittels B<PTRACE_SYSCALL> fortgesetzt "
2876 "wird, wird nicht garantiert, dass der nächste Stopp ein "
2877 "Systemaufrufbeendigungsstopp sein wird. Andere Möglichkeiten sind, dass der "
2878 "verfolgte Prozess in einem B<PTRACE_EVENT>-Stopp (einschließlich Seccomp-"
2879 "Stopp) stoppen könnte, endet (falls er in B<_exit>(2) oder B<exit_group>(2) "
2880 "eintritt), durch B<SIGKILL> gekillt wird oder leise stirbt (falls er die "
2881 "Thread-Gruppe anführt, kommt das B<execve>(2) in einem anderen Thread vor "
2882 "und der Thread wird nicht vom selben Verfolger verfolgt; diese Situation "
2883 "wird später besprochen)."
2884
2885 #. type: Plain text
2886 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2887 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2888 msgid ""
2889 "Syscall-enter-stop and syscall-exit-stop are observed by the tracer as "
2890 "B<waitpid>(2) returning with I<WIFSTOPPED(status)> true, and "
2891 "I<WSTOPSIG(status)> giving B<SIGTRAP>. If the B<PTRACE_O_TRACESYSGOOD> "
2892 "option was set by the tracer, then I<WSTOPSIG(status)> will give the value "
2893 "I<(SIGTRAP\\ |\\ 0x80)>."
2894 msgstr ""
2895 "Systemaufrufeintrittsstopp und Systemaufrufbeendigungsstopp werden vom "
2896 "Verfolger als B<waitpid>(2) beobachtet, kehren mit »I<WIFSTOPPED(status)> "
2897 "true« zurück und I<WSTOPSIG(status)> gibt B<SIGTRAP> zurück. Falls die "
2898 "Option B<PTRACE_O_TRACESYSGOOD> durch den Verfolger gesetzt wurde, wird "
2899 "I<WSTOPSIG(status)> den Wert I<(SIGTRAP\\ |\\ 0x80)> zurückgeben."
2900
2901 #. type: Plain text
2902 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2903 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2904 msgid ""
2905 "Syscall-stops can be distinguished from signal-delivery-stop with B<SIGTRAP> "
2906 "by querying B<PTRACE_GETSIGINFO> for the following cases:"
2907 msgstr ""
2908 "Systemaufrufstopps können von Signallieferstopps mit B<SIGTRAP> durch "
2909 "Abfrage von B<PTRACE_GETSIGINFO> für die folgenden Fälle unterschieden "
2910 "werden:"
2911
2912 #. type: TP
2913 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2914 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2915 #, no-wrap
2916 msgid "I<si_code> E<lt>= 0"
2917 msgstr "I<si_code> E<lt>= 0"
2918
2919 #. type: Plain text
2920 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2921 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2922 msgid ""
2923 "B<SIGTRAP> was delivered as a result of a user-space action, for example, a "
2924 "system call (B<tgkill>(2), B<kill>(2), B<sigqueue>(3), etc.), expiration of "
2925 "a POSIX timer, change of state on a POSIX message queue, or completion of an "
2926 "asynchronous I/O operation."
2927 msgstr ""
2928 "B<SIGTRAP> wurde mit einem Ergebnis einer Anwendungsraumaktion, zum Beispiel "
2929 "einem Systemaufruf ((B<tgkill>(2), B<kill>(2), B<sigqueue>(3), etc.), Ablauf "
2930 "eines POSIX-Timers, Statusänderung einer POSIX-Nachrichtenwarteschlange oder "
2931 "Vervollständigung einer asynchronen E/A-Aktion geliefert."
2932
2933 #. type: TP
2934 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2935 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2936 #, no-wrap
2937 msgid "I<si_code> == SI_KERNEL (0x80)"
2938 msgstr "I<si_code> == SI_KERNEL (0x80)"
2939
2940 #. type: Plain text
2941 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2942 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2943 msgid "B<SIGTRAP> was sent by the kernel."
2944 msgstr "B<SIGTRAP> wurde vom Kernel gesandt."
2945
2946 #. type: TP
2947 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2948 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2949 #, no-wrap
2950 msgid "I<si_code> == SIGTRAP or I<si_code> == (SIGTRAP|0x80)"
2951 msgstr "I<si_code> == SIGTRAP or I<si_code> == (SIGTRAP|0x80)"
2952
2953 #. type: Plain text
2954 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2955 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2956 msgid "This is a syscall-stop."
2957 msgstr "Dies ist ein Systemaufrufstopp."
2958
2959 #. type: Plain text
2960 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2961 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2962 msgid ""
2963 "However, syscall-stops happen very often (twice per system call), and "
2964 "performing B<PTRACE_GETSIGINFO> for every syscall-stop may be somewhat "
2965 "expensive."
2966 msgstr ""
2967 "Systemaufrufstopps kommen jedoch sehr oft vor (zweimal pro Systemaufruf) und "
2968 "das Ausführen von B<PTRACE_GETSIGINFO> für jeden Systemaufrufstopp könnte "
2969 "etwas aufwendig sein."
2970
2971 #. type: Plain text
2972 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2973 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2974 msgid ""
2975 "Some architectures allow the cases to be distinguished by examining "
2976 "registers. For example, on x86, I<rax> == -B<ENOSYS> in syscall-enter-"
2977 "stop. Since B<SIGTRAP> (like any other signal) always happens I<after> "
2978 "syscall-exit-stop, and at this point I<rax> almost never contains "
2979 "-B<ENOSYS>, the B<SIGTRAP> looks like \"syscall-stop which is not syscall-"
2980 "enter-stop\"; in other words, it looks like a \"stray syscall-exit-stop\" "
2981 "and can be detected this way. But such detection is fragile and is best "
2982 "avoided."
2983 msgstr ""
2984 "Einige Architekturen erlauben, die Fälle durch Untersuchen der Register zu "
2985 "unterscheiden. Zum Beispiel auf x86, I<rax> == -B<ENOSYS> im "
2986 "Systemaufrufeintrittsstopp. Da B<SIGTRAP> (wie jedes andere Signal) immer "
2987 "I<nach> dem Systemaufrufbeendigungsstopp auftritt und I<rax> an diesem Punkt "
2988 "fast nie B<ENOSYS> enthält, sieht das B<SIGTRAP> aus wie ein "
2989 "»Systemaufrufstopp, der kein Systemaufrufeintrittsstopp ist«; in anderen "
2990 "Worten, er sieht aus wie ein »herrenloser Systemaufrufbeendigungsstopp« und "
2991 "kann auf diese Art erkannt werden. Aber eine solche Erkennung ist fragil und "
2992 "wird am besten vermieden."
2993
2994 #. type: Plain text
2995 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2996 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2997 msgid ""
2998 "Using the B<PTRACE_O_TRACESYSGOOD> option is the recommended method to "
2999 "distinguish syscall-stops from other kinds of ptrace-stops, since it is "
3000 "reliable and does not incur a performance penalty."
3001 msgstr ""
3002 "Die Benutzung der Option B<PTRACE_O_TRACESYSGOOD> ist die empfohlene "
3003 "Methode, um Systemaufrufstopps von anderen Arten der Ptrace-Stopps zu "
3004 "unterscheiden, da sie zuverlässig ist und sich keine Leistungseinbuße "
3005 "zuzieht."
3006
3007 #. type: Plain text
3008 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3009 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3010 msgid ""
3011 "Syscall-enter-stop and syscall-exit-stop are indistinguishable from each "
3012 "other by the tracer. The tracer needs to keep track of the sequence of "
3013 "ptrace-stops in order to not misinterpret syscall-enter-stop as syscall-exit-"
3014 "stop or vice versa. In general, a syscall-enter-stop is always followed by "
3015 "syscall-exit-stop, B<PTRACE_EVENT> stop, or the tracee's death; no other "
3016 "kinds of ptrace-stop can occur in between. However, note that seccomp stops "
3017 "(see below) can cause syscall-exit-stops, without preceding syscall-entry-"
3018 "stops. If seccomp is in use, care needs to be taken not to misinterpret "
3019 "such stops as syscall-entry-stops."
3020 msgstr ""
3021 "Systemaufrufeintrittsstopp und Systemaufrufbeendigungsstopp sind für den "
3022 "Verfolger nicht voneinander zu unterscheiden. Der Verfolger muss den "
3023 "Überblick über die Abfolge der Ptrace-Stopps behalten, um nicht den "
3024 "Systemaufrufeintrittsstopp fälschlicherweise als "
3025 "Systemaufrufbeendigungsstopp oder umgekehrt zu interpretieren. Im "
3026 "Allgemeinen folgt diesem Systemaufrufeintrittsstopp immer ein "
3027 "Systemaufrufbeendigungsstopp, B<PTRACE_EVENT>-Stopp oder der Tod des "
3028 "verfolgten Prozesses; dazwischen können keine anderen Arten von Ptrace-"
3029 "Stopps auftreten. Beachten Sie allerdings, dass Seccomp-Stopps (siehe unten) "
3030 "Systemaufrufbeendigungsstopps ohne vorhergehende Systemaufrufeintrittsstopps "
3031 "hervorrufen können. Falls Seccomp verwandt wird, muss Sorgfalt eingesetzt "
3032 "werden, um solche Stopps nicht als Systemaufrufeintrittsstopps "
3033 "misszuinterpretieren."
3034
3035 #. type: Plain text
3036 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3037 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3038 msgid ""
3039 "If after syscall-enter-stop, the tracer uses a restarting command other than "
3040 "B<PTRACE_SYSCALL>, syscall-exit-stop is not generated."
3041 msgstr ""
3042 "Falls der Verfolger nach dem Systemaufrufeintrittsstopp einen anderen Befehl "
3043 "zum Neustarten als B<PTRACE_SYSCALL> verwendet, wird der "
3044 "Systemaufrufbeendigungsstopp nicht erzeugt."
3045
3046 #. type: Plain text
3047 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3048 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3049 msgid ""
3050 "B<PTRACE_GETSIGINFO> on syscall-stops returns B<SIGTRAP> in I<si_signo>, "
3051 "with I<si_code> set to B<SIGTRAP> or I<(SIGTRAP|0x80)>."
3052 msgstr ""
3053 "B<PTRACE_GETSIGINFO> auf Systemaufrufstopps gibt B<SIGTRAP> in I<si_signo> "
3054 "zurück, wobei I<si_code> auf B<SIGTRAP> oder I<(SIGTRAP|0x80)> gesetzt ist."
3055
3056 #. type: SS
3057 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3058 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3059 #, no-wrap
3060 msgid "PTRACE_EVENT_SECCOMP stops (Linux 3.5 to Linux 4.7)"
3061 msgstr "PTRACE_EVENT_SECCOMP-Stopps (Linux 3.5 bis 4.7)"
3062
3063 #. type: Plain text
3064 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3065 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3066 msgid ""
3067 "The behavior of B<PTRACE_EVENT_SECCOMP> stops and their interaction with "
3068 "other kinds of ptrace stops has changed between kernel versions. This "
3069 "documents the behavior from their introduction until Linux 4.7 (inclusive). "
3070 "The behavior in later kernel versions is documented in the next section."
3071 msgstr ""
3072 "Das Verhalten des B<PTRACE_EVENT_SECCOMP>-Stopps und seiner Wechselwirkung "
3073 "mit anderen Arten von Ptrace-Stopps hat sich zwischen Kernel-Versionen "
3074 "geändert. Hier wird das Verhalten von seiner Einführung bis Linux 4.7 "
3075 "(einschließlich) beschrieben. Das Verhalten in neueren Kernelversionen wird "
3076 "im nächsten Abschnitt beschrieben."
3077
3078 #. type: Plain text
3079 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3080 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3081 msgid ""
3082 "A B<PTRACE_EVENT_SECCOMP> stop occurs whenever a B<SECCOMP_RET_TRACE> rule "
3083 "is triggered. This is independent of which methods was used to restart the "
3084 "system call. Notably, seccomp still runs even if the tracee was restarted "
3085 "using B<PTRACE_SYSEMU> and this system call is unconditionally skipped."
3086 msgstr ""
3087 "Ein B<PTRACE_EVENT_SECCOMP>-Stopp erfolgt, wann immer eine "
3088 "B<SECCOMP_RET_TRACE>-Regel ausgelöst wird. Dies ist von der Methode, die zum "
3089 "Neustart des Systemaufrufes verwandt wurde, unabhängig. Insbesondere läuft "
3090 "Seccomp immer noch, selbst falls der verfolgte Prozess mittels "
3091 "B<PTRACE_SYSEMU> neu gestartet wurde und dieser Systemaufruf wird "
3092 "bedingungslos übersprungen."
3093
3094 #. type: Plain text
3095 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3096 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3097 msgid ""
3098 "Restarts from this stop will behave as if the stop had occurred right before "
3099 "the system call in question. In particular, both B<PTRACE_SYSCALL> and "
3100 "B<PTRACE_SYSEMU> will normally cause a subsequent syscall-entry-stop. "
3101 "However, if after the B<PTRACE_EVENT_SECCOMP> the system call number is "
3102 "negative, both the syscall-entry-stop and the system call itself will be "
3103 "skipped. This means that if the system call number is negative after a "
3104 "B<PTRACE_EVENT_SECCOMP> and the tracee is restarted using B<PTRACE_SYSCALL>, "
3105 "the next observed stop will be a syscall-exit-stop, rather than the syscall-"
3106 "entry-stop that might have been expected."
3107 msgstr ""
3108 "Neustarts aus diesem Stopp verhalten sich so, als ob der Stopp direkt vor "
3109 "dem in Frage stehenden Systemaufruf stattgefunden hätte. Insbesondere werden "
3110 "sowohl B<PTRACE_SYSCALL> als auch B<PTRACE_SYSEMU> normalerweise einen "
3111 "folgenden Systemaufrufeintrittsstopp auslösen. Falls allerdings nach dem "
3112 "B<PTRACE_EVENT_SECCOMP> die Systemaufrufnummer negativ ist, werden sowohl "
3113 "der Systemaufrufeintrittsstopp als auch der Systemaufruf selbst "
3114 "übersprungen. Das bedeutet, dass falls die Systemaufrufnummer nach dem "
3115 "B<PTRACE_EVENT_SECCOMP> negativ ist und der verfolgte Prozess mittels "
3116 "B<PTRACE_SYSCALL> neu gestartet wird, der nächste beobachtete Stopp ein "
3117 "Systemaufrufbeendigungsstopp statt des vielleicht erwarteten "
3118 "Systemaufrufeintrittsstopps sein wird."
3119
3120 #. type: SS
3121 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3122 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3123 #, no-wrap
3124 msgid "PTRACE_EVENT_SECCOMP stops (since Linux 4.8)"
3125 msgstr "PTRACE_EVENT_SECCOMP-Stopps (seit Linux 4.8)"
3126
3127 #. commit 93e35efb8de45393cf61ed07f7b407629bf698ea
3128 #. type: Plain text
3129 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3130 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3131 msgid ""
3132 "Starting with Linux 4.8, the B<PTRACE_EVENT_SECCOMP> stop was reordered to "
3133 "occur between syscall-entry-stop and syscall-exit-stop. Note that seccomp "
3134 "no longer runs (and no B<PTRACE_EVENT_SECCOMP> will be reported) if the "
3135 "system call is skipped due to B<PTRACE_SYSEMU>."
3136 msgstr ""
3137 "Beginnend mit Linux 4.8 wurde der Stopp B<PTRACE_EVENT_SECCOMP> neu "
3138 "geordnet, so dass er zwischen Systemaufrufeintrittsstopp und "
3139 "Systemaufrufbeendigungsstopp auftritt. Beachten Sie, dass Seccomp nicht "
3140 "länger ausgeführt wird (und kein B<PTRACE_EVENT_SECCOMP> berichtet wird) "
3141 "falls der Systemaufruf aufgrund B<PTRACE_SYSEMU> übersprungen wird."
3142
3143 #. type: Plain text
3144 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3145 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3146 msgid ""
3147 "Functionally, a B<PTRACE_EVENT_SECCOMP> stop functions comparably to a "
3148 "syscall-entry-stop (i.e., continuations using B<PTRACE_SYSCALL> will cause "
3149 "syscall-exit-stops, the system call number may be changed and any other "
3150 "modified registers are visible to the to-be-executed system call as well). "
3151 "Note that there may be, but need not have been a preceding syscall-entry-"
3152 "stop."
3153 msgstr ""
3154 "Funktional arbeitet ein B<PTRACE_EVENT_SECCOMP>-Stopp vergleichbar mit einem "
3155 "Systemaufrufeintrittsstopp (d.h. Fortsetzungen mittels B<PTRACE_SYSCALL> "
3156 "werden einen Systemaufrufbeendigungsstopp auslösen, die Systemaufrufnummer "
3157 "könnte sich ändern und alle anderen veränderten Register sind im gleich "
3158 "auszuführenden Systemaufruf ebenfalls sichtbar). Beachten Sie, dass es einen "
3159 "vorhergehenden Systemaufrufeintrittsstopp gegeben haben kann, aber nicht "
3160 "muss."
3161
3162 #. type: Plain text
3163 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3164 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3165 msgid ""
3166 "After a B<PTRACE_EVENT_SECCOMP> stop, seccomp will be rerun, with a "
3167 "B<SECCOMP_RET_TRACE> rule now functioning the same as a "
3168 "B<SECCOMP_RET_ALLOW>. Specifically, this means that if registers are not "
3169 "modified during the B<PTRACE_EVENT_SECCOMP> stop, the system call will then "
3170 "be allowed."
3171 msgstr ""
3172 "Nach einem Stopp B<PTRACE_EVENT_SECCOMP> wird Seccomp mit einer Regel "
3173 "B<SECCOMP_RET_TRACE>, die identisch zu einer B<SECCOMP_RET_ALLOW> "
3174 "funktioniert, erneut ausgeführt. Insbesondere bedeutet dies, dass falls "
3175 "Register nicht während des Stopps B<PTRACE_EVENT_SECCOMP> verändert wurden, "
3176 "der Systemaufruf dann erlaubt wird."
3177
3178 #. type: SS
3179 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3180 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3181 #, no-wrap
3182 msgid "PTRACE_SINGLESTEP stops"
3183 msgstr "PTRACE_SINGLESTEP-Stopps"
3184
3185 #
3186 #. FIXME .
3187 #. document stops occurring with PTRACE_SINGLESTEP
3188 #. type: Plain text
3189 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3190 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3191 msgid "[Details of these kinds of stops are yet to be documented.]"
3192 msgstr "[Einzelheiten dieser Arten von Stopps sind noch nicht dokumentiert.]"
3193
3194 #. type: SS
3195 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3196 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3197 #, no-wrap
3198 msgid "Informational and restarting ptrace commands"
3199 msgstr "Benachrichtigende und neustartende Ptrace-Befehle"
3200
3201 #. type: Plain text
3202 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3203 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3204 msgid ""
3205 "Most ptrace commands (all except B<PTRACE_ATTACH>, B<PTRACE_SEIZE>, "
3206 "B<PTRACE_TRACEME>, B<PTRACE_INTERRUPT>, and B<PTRACE_KILL>) require the "
3207 "tracee to be in a ptrace-stop, otherwise they fail with B<ESRCH>."
3208 msgstr ""
3209 "Die meisten Ptrace-Befehle (alle außer B<PTRACE_ATTACH>, B<PTRACE_SEIZE>, "
3210 "B<PTRACE_TRACEME>, B<PTRACE_INTERRUPT> und B<PTRACE_KILL>) erfordern, dass "
3211 "der verfolgte Prozess in einem Ptrace-Stopp ist, andernfalls scheitern sie "
3212 "mit B<ESRCH>."
3213
3214 #. type: Plain text
3215 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3216 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3217 msgid ""
3218 "When the tracee is in ptrace-stop, the tracer can read and write data to the "
3219 "tracee using informational commands. These commands leave the tracee in "
3220 "ptrace-stopped state:"
3221 msgstr ""
3222 "Wenn der verfolgte Prozess im Ptrace-Stopp ist, kann der Verfolger Daten des "
3223 "verfolgten Prozesses mittels benachrichtigenden Befehlen lesen und "
3224 "schreiben. Diese Befehle belassen den verfolgten Prozess im Status Ptrace-"
3225 "gestoppt:"
3226
3227 #. type: Plain text
3228 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3229 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3230 #, no-wrap
3231 msgid ""
3232 "ptrace(PTRACE_PEEKTEXT/PEEKDATA/PEEKUSER, pid, addr, 0);\n"
3233 "ptrace(PTRACE_POKETEXT/POKEDATA/POKEUSER, pid, addr, long_val);\n"
3234 "ptrace(PTRACE_GETREGS/GETFPREGS, pid, 0, &struct);\n"
3235 "ptrace(PTRACE_SETREGS/SETFPREGS, pid, 0, &struct);\n"
3236 "ptrace(PTRACE_GETREGSET, pid, NT_foo, &iov);\n"
3237 "ptrace(PTRACE_SETREGSET, pid, NT_foo, &iov);\n"
3238 "ptrace(PTRACE_GETSIGINFO, pid, 0, &siginfo);\n"
3239 "ptrace(PTRACE_SETSIGINFO, pid, 0, &siginfo);\n"
3240 "ptrace(PTRACE_GETEVENTMSG, pid, 0, &long_var);\n"
3241 "ptrace(PTRACE_SETOPTIONS, pid, 0, PTRACE_O_flags);\n"
3242 msgstr ""
3243 "ptrace(PTRACE_PEEKTEXT/PEEKDATA/PEEKUSER, PID, Adresse, 0);\n"
3244 "ptrace(PTRACE_POKETEXT/POKEDATA/POKEUSER, PID, Adresse, long_val);\n"
3245 "ptrace(PTRACE_GETREGS/GETFPREGS, PID, 0, &struct);\n"
3246 "ptrace(PTRACE_SETREGS/SETFPREGS, PID, 0, &struct);\n"
3247 "ptrace(PTRACE_GETREGSET, PID, NT_foo, &iov);\n"
3248 "ptrace(PTRACE_SETREGSET, PID, NT_foo, &iov);\n"
3249 "ptrace(PTRACE_GETSIGINFO, PID, 0, &siginfo);\n"
3250 "ptrace(PTRACE_SETSIGINFO, PID, 0, &siginfo);\n"
3251 "ptrace(PTRACE_GETEVENTMSG, PID, 0, &long_var);\n"
3252 "ptrace(PTRACE_SETOPTIONS, PID, 0, PTRACE_O_flags);\n"
3253
3254 #. type: Plain text
3255 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3256 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3257 msgid ""
3258 "Note that some errors are not reported. For example, setting signal "
3259 "information (I<siginfo>) may have no effect in some ptrace-stops, yet the "
3260 "call may succeed (return 0 and not set I<errno>); querying "
3261 "B<PTRACE_GETEVENTMSG> may succeed and return some random value if current "
3262 "ptrace-stop is not documented as returning a meaningful event message."
3263 msgstr ""
3264 "Beachten Sie, dass einige Fehler nicht gemeldet wurden. Das Setzen des "
3265 "Informationssignals (I<siginfo>) hat zum Beispiel in einigen Ptrace-Stopps "
3266 "möglicherweise keine Auswirkungen, der Aufruf kann jedoch erfolgreich sein "
3267 "(0 zurückgeben und I<errno> nicht setzen); Abfragen von "
3268 "B<PTRACE_GETEVENTMSG> könnte erfolgreich sein und einen zufälligen Wert "
3269 "zurückgeben, falls der aktuelle Ptrace-Stopp nicht dokumentiert ist, um eine "
3270 "aussagekräftige Ereignisnachricht zurückzugeben."
3271
3272 #. type: Plain text
3273 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3274 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3275 msgid "The call"
3276 msgstr "Der Aufruf"
3277
3278 #. type: Plain text
3279 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3280 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3281 #, no-wrap
3282 msgid "ptrace(PTRACE_SETOPTIONS, pid, 0, PTRACE_O_flags);\n"
3283 msgstr "ptrace(PTRACE_SETOPTIONS, PID, 0, PTRACE_O_flags);\n"
3284
3285 #. type: Plain text
3286 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3287 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3288 msgid ""
3289 "affects one tracee. The tracee's current flags are replaced. Flags are "
3290 "inherited by new tracees created and \"auto-attached\" via active "
3291 "B<PTRACE_O_TRACEFORK>, B<PTRACE_O_TRACEVFORK>, or B<PTRACE_O_TRACECLONE> "
3292 "options."
3293 msgstr ""
3294 "beeinflusst einen verfolgten Prozess. Die aktuellen Schalter des verfolgten "
3295 "Prozesses werden ersetzt. Schalter werden geerbt durch neu erzeugte Prozesse "
3296 "und »automatisch angehängt« über aktive B<PTRACE_O_TRACEFORK>-, "
3297 "B<PTRACE_O_TRACEVFORK>- oder B<PTRACE_O_TRACECLONE>-Optionen."
3298
3299 #. type: Plain text
3300 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3301 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3302 msgid ""
3303 "Another group of commands makes the ptrace-stopped tracee run. They have "
3304 "the form:"
3305 msgstr ""
3306 "Eine weitere Gruppe von Befehlen lässt die per Ptrace gestoppten, verfolgten "
3307 "Prozesse laufen. Sie haben die Form:"
3308
3309 #. type: Plain text
3310 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3311 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3312 #, no-wrap
3313 msgid "ptrace(cmd, pid, 0, sig);\n"
3314 msgstr "ptrace(Befehl, PID, 0, Signal);\n"
3315
3316 #. type: Plain text
3317 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3318 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3319 msgid ""
3320 "where I<cmd> is B<PTRACE_CONT>, B<PTRACE_LISTEN>, B<PTRACE_DETACH>, "
3321 "B<PTRACE_SYSCALL>, B<PTRACE_SINGLESTEP>, B<PTRACE_SYSEMU>, or "
3322 "B<PTRACE_SYSEMU_SINGLESTEP>. If the tracee is in signal-delivery-stop, "
3323 "I<sig> is the signal to be injected (if it is nonzero). Otherwise, I<sig> "
3324 "may be ignored. (When restarting a tracee from a ptrace-stop other than "
3325 "signal-delivery-stop, recommended practice is to always pass 0 in I<sig>.)"
3326 msgstr ""
3327 "wobei I<Befehl> B<PTRACE_CONT>, B<PTRACE_LISTEN>, B<PTRACE_DETACH>, "
3328 "B<PTRACE_SYSCALL>, B<PTRACE_SINGLESTEP>, B<PTRACE_SYSEMU> oder "
3329 "B<PTRACE_SYSEMU_SINGLESTEP> ist. Falls der verfolgte Prozess sich im "
3330 "Signallieferstopp befindet, ist I<Signal> das Signal, das eingespeist wird "
3331 "(falls es ungleich Null ist). Andernfalls kann I<Signal> ignoriert werden. "
3332 "(Wenn ein verfolgter Prozess von einem anderen Ptrace-Stopp als dem "
3333 "Signallieferstopp neu gestartet wird, ist die empfohlene Vorgehensweise, 0 "
3334 "in I<Signal> zu übergeben.)"
3335
3336 #. type: SS
3337 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3338 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3339 #, no-wrap
3340 msgid "Attaching and detaching"
3341 msgstr "Anhängen und Loslösen"
3342
3343 #. type: Plain text
3344 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3345 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3346 msgid "A thread can be attached to the tracer using the call"
3347 msgstr "Ein Thread kann an den Verfolger angehängt werden mit dem Aufruf"
3348
3349 #. type: Plain text
3350 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3351 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3352 #, no-wrap
3353 msgid "ptrace(PTRACE_ATTACH, pid, 0, 0);\n"
3354 msgstr "ptrace(PTRACE_ATTACH, PID, 0, 0);\n"
3355
3356 #. type: Plain text
3357 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3358 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3359 msgid "or"
3360 msgstr "oder"
3361
3362 #. type: Plain text
3363 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3364 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3365 #, no-wrap
3366 msgid "ptrace(PTRACE_SEIZE, pid, 0, PTRACE_O_flags);\n"
3367 msgstr "ptrace(PTRACE_SEIZE, PID, 0, PTRACE_O_flags);\n"
3368
3369 #
3370 #. FIXME Describe how to attach to a thread which is already group-stopped.
3371 #. type: Plain text
3372 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3373 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3374 msgid ""
3375 "B<PTRACE_ATTACH> sends B<SIGSTOP> to this thread. If the tracer wants this "
3376 "B<SIGSTOP> to have no effect, it needs to suppress it. Note that if other "
3377 "signals are concurrently sent to this thread during attach, the tracer may "
3378 "see the tracee enter signal-delivery-stop with other signal(s) first! The "
3379 "usual practice is to reinject these signals until B<SIGSTOP> is seen, then "
3380 "suppress B<SIGSTOP> injection. The design bug here is that a ptrace attach "
3381 "and a concurrently delivered B<SIGSTOP> may race and the concurrent "
3382 "B<SIGSTOP> may be lost."
3383 msgstr ""
3384 "B<PTRACE_ATTACH> sendet außerdem B<SIGSTOP> an diesen Thread. Falls der "
3385 "Verfolger möchte, dass dieser B<SIGSTOP> keine Auswirkungen hat, muss er ihn "
3386 "unterdrücken. Beachten Sie, dass der Verfolger, falls während des Anhängens "
3387 "gleichzeitig weitere Signale an diesen Thread gesandt werden, den Eintritt "
3388 "in den Signallieferstopp mit anderen Signalen zuerst sieht! Die übliche "
3389 "Vorgehensweise ist, diese Signale neu einzuspeisen, bis B<SIGSTOP> gesehen "
3390 "wird und dann die Einspeisung von B<SIGSTOP> zu unterdrücken. Der "
3391 "Entwurfsfehler ist hierbei, dass sich ein Ptrace-Anhängen und ein "
3392 "gleichzeitig gesandtes B<SIGSTOP> einen Wettlauf liefern und das "
3393 "gleichzeitige B<SIGSTOP> verloren gegangen sein kann."
3394
3395 #. type: Plain text
3396 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3397 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3398 msgid ""
3399 "Since attaching sends B<SIGSTOP> and the tracer usually suppresses it, this "
3400 "may cause a stray B<EINTR> return from the currently executing system call "
3401 "in the tracee, as described in the \"Signal injection and suppression\" "
3402 "section."
3403 msgstr ""
3404 "Da Anhängen B<SIGSTOP> sendet und der Verfolger es üblicherweise "
3405 "unterdrückt, könnte dies zu einer herrenlosen B<EINTR>-Rückgabe vom aktuell "
3406 "ausgeführten Systemaufruf in diesem verfolgten Prozess führen, wie er im "
3407 "Abschnitt »Signaleinspeisung und -unterdrückung« beschrieben wird."
3408
3409 #. type: Plain text
3410 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3411 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3412 msgid ""
3413 "Since Linux 3.4, B<PTRACE_SEIZE> can be used instead of B<PTRACE_ATTACH>. "
3414 "B<PTRACE_SEIZE> does not stop the attached process. If you need to stop it "
3415 "after attach (or at any other time) without sending it any signals, use "
3416 "B<PTRACE_INTERRUPT> command."
3417 msgstr ""
3418 "Seit Linux 3.4 kann B<PTRACE_SEIZE> anstelle von B<PTRACE_ATTACH> benutzt "
3419 "werden. B<PTRACE_SEIZE> stoppt nicht den angehängten Prozess. Falls Sie ihn "
3420 "nach dem Anhängen (oder zu einem anderen Zeitpunkt) stoppen wollen ohne "
3421 "irgendwelche Signale zu senden, verwenden Sie den Befehl B<PTRACE_INTERRUPT>."
3422
3423 #. type: Plain text
3424 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3425 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3426 msgid "The operation"
3427 msgstr "Die Aktion"
3428
3429 #. type: Plain text
3430 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3431 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3432 #, no-wrap
3433 msgid "ptrace(PTRACE_TRACEME, 0, 0, 0);\n"
3434 msgstr "ptrace(PTRACE_TRACEME, 0, 0, 0);\n"
3435
3436 #. type: Plain text
3437 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3438 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3439 msgid ""
3440 "turns the calling thread into a tracee. The thread continues to run "
3441 "(doesn't enter ptrace-stop). A common practice is to follow the "
3442 "B<PTRACE_TRACEME> with"
3443 msgstr ""
3444 "verwandelt den aufrufenden Thread in einen verfolgten Prozess. Der Thread "
3445 "fährt mit der Ausführung fort (gerät nicht in den Ptrace-Stopp). Eine "
3446 "übliche Vorgehensweise besteht darin, B<PTRACE_TRACEME> mit"
3447
3448 #. type: Plain text
3449 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3450 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3451 #, no-wrap
3452 msgid "raise(SIGSTOP);\n"
3453 msgstr "raise(SIGSTOP);\n"
3454
3455 #. type: Plain text
3456 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3457 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3458 msgid ""
3459 "and allow the parent (which is our tracer now) to observe our signal-"
3460 "delivery-stop."
3461 msgstr ""
3462 "zu folgen und dem Elternprozess (der nun der Verfolger ist) zu ermöglichen, "
3463 "den Signallieferstopp zu beobachten."
3464
3465 #. type: Plain text
3466 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3467 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3468 msgid ""
3469 "If the B<PTRACE_O_TRACEFORK>, B<PTRACE_O_TRACEVFORK>, or "
3470 "B<PTRACE_O_TRACECLONE> options are in effect, then children created by, "
3471 "respectively, B<vfork>(2) or B<clone>(2) with the B<CLONE_VFORK> flag, "
3472 "B<fork>(2) or B<clone>(2) with the exit signal set to B<SIGCHLD>, and "
3473 "other kinds of B<clone>(2), are automatically attached to the same tracer "
3474 "which traced their parent. B<SIGSTOP> is delivered to the children, causing "
3475 "them to enter signal-delivery-stop after they exit the system call which "
3476 "created them."
3477 msgstr ""
3478 "Falls die Optionen B<PTRACE_O_TRACEFORK>, B<PTRACE_O_TRACEVFORK> oder "
3479 "B<PTRACE_O_TRACECLONE> in Kraft sind, werden Kindprozesse mit B<vfork>(2), "
3480 "beziehungsweise B<clone>(2) mit dem Schalter B<CLONE_VFORK>, B<fork>(2) oder "
3481 "B<clone>(2) mit auf B<SIGCHLD> gesetztem Beendigungssignal und anderen Arten "
3482 "von B<clone>(2) automatisch an den gleichen Verfolger angehängt, der ihren "
3483 "Elternprozess verfolgte. B<SIGSTOP> wird an die Kindprozesse gesandt, was "
3484 "sie veranlasst, in einen Signallieferstopp zu gelangen, nachdem sie den "
3485 "Systemaufruf beenden, der sie erzeugt hat."
3486
3487 #. type: Plain text
3488 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3489 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3490 msgid "Detaching of the tracee is performed by:"
3491 msgstr "Loslösen des verfolgten Prozesses wird erreicht durch:"
3492
3493 #. type: Plain text
3494 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3495 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3496 #, no-wrap
3497 msgid "ptrace(PTRACE_DETACH, pid, 0, sig);\n"
3498 msgstr "ptrace(PTRACE_DETACH, PID, 0, Signal);\n"
3499
3500 #. type: Plain text
3501 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3502 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3503 msgid ""
3504 "B<PTRACE_DETACH> is a restarting operation; therefore it requires the tracee "
3505 "to be in ptrace-stop. If the tracee is in signal-delivery-stop, a signal "
3506 "can be injected. Otherwise, the I<sig> parameter may be silently ignored."
3507 msgstr ""
3508 "B<PTRACE_DETACH> ist eine Neustartaktion; daher erfordert sie, dass der "
3509 "verfolgte Prozess in einem Ptrace-Stopp ist. Falls der verfolgte Prozess in "
3510 "einem Signallieferstopp ist, kann ein Signal eingespeist werden. Andernfalls "
3511 "wird der Parameter I<Signal> stillschweigend ignoriert."
3512
3513 #. FIXME Describe how to detach from a group-stopped tracee so that it
3514 #. doesn't run, but continues to wait for SIGCONT.
3515 #. type: Plain text
3516 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3517 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3518 msgid ""
3519 "If the tracee is running when the tracer wants to detach it, the usual "
3520 "solution is to send B<SIGSTOP> (using B<tgkill>(2), to make sure it goes to "
3521 "the correct thread), wait for the tracee to stop in signal-delivery-stop for "
3522 "B<SIGSTOP> and then detach it (suppressing B<SIGSTOP> injection). A design "
3523 "bug is that this can race with concurrent B<SIGSTOP>s. Another complication "
3524 "is that the tracee may enter other ptrace-stops and needs to be restarted "
3525 "and waited for again, until B<SIGSTOP> is seen. Yet another complication is "
3526 "to be sure that the tracee is not already ptrace-stopped, because no signal "
3527 "delivery happens while it is\\[em]not even B<SIGSTOP>."
3528 msgstr ""
3529 "Falls der verfolgte Prozess läuft, wenn der Verfolger ihn loslösen möchte, "
3530 "besteht die übliche Lösung darin, B<SIGSTOP> zu senden (mittels "
3531 "B<tgkill>(2), um sicherzustellen, dass es an den korrekten Thread geht), "
3532 "darauf zu warten, dass der verfolgte Prozess in einen Signallieferstopp für "
3533 "B<SIGSTOP> stoppt und ihn dann loszulösen (B<SIGSTOP>-Einspeisung wird "
3534 "unterdrückt). Ein Entwurfsfehler besteht darin, dass sich dies mit "
3535 "gleichzeitigen B<SIGSTOP>s Ressourcenwettläufe liefern kann. Eine weitere "
3536 "Komplikation besteht darin, dass der verfolgte Prozess in andere Ptrace-"
3537 "Stopps geraten kann und neu gestartet werden muss und nochmals gewartet "
3538 "werden muss, bis B<SIGSTOP> gesehen wird. Noch eine weitere Komplikation "
3539 "besteht darin, dass nicht sicher ist, ob der verfolgte Prozess nicht bereits "
3540 "mit Ptrace gestoppt wurde, da keine Signallieferung stattfindet, obwohl es "
3541 "noch nicht einmal B<SIGSTOP> ist."
3542
3543 #. type: Plain text
3544 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3545 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3546 msgid ""
3547 "If the tracer dies, all tracees are automatically detached and restarted, "
3548 "unless they were in group-stop. Handling of restart from group-stop is "
3549 "currently buggy, but the \"as planned\" behavior is to leave tracee stopped "
3550 "and waiting for B<SIGCONT>. If the tracee is restarted from signal-delivery-"
3551 "stop, the pending signal is injected."
3552 msgstr ""
3553 "Falls der Verfolger stirbt, werden alle verfolgten Prozesse automatisch "
3554 "losgelöst und neu gestartet, es sei denn, sie sind im Gruppenstopp. Die "
3555 "Handhabung des Neustarts aus dem Gruppenstopp ist derzeit fehlerhaft, aber "
3556 "das »wie-geplant«-Verhalten ist, den verfolgten Prozess gestoppt zu lassen "
3557 "und auf B<SIGCONT> zu warten. Falls der verfolgte Prozess neu vom "
3558 "Signallieferstopp gestartet wurde, wird das ausstehende Signal einspeist."
3559
3560 #. type: SS
3561 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3562 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3563 #, no-wrap
3564 msgid "execve(2) under ptrace"
3565 msgstr "execve(2) unter Ptrace"
3566
3567 #
3568 #. clone(2) CLONE_THREAD says:
3569 #. If any of the threads in a thread group performs an execve(2),
3570 #. then all threads other than the thread group leader are terminated,
3571 #. and the new program is executed in the thread group leader.
3572 #. In Linux 3.1 sources, see fs/exec.c::de_thread()
3573 #. type: Plain text
3574 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3575 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3576 msgid ""
3577 "When one thread in a multithreaded process calls B<execve>(2), the kernel "
3578 "destroys all other threads in the process, and resets the thread ID of the "
3579 "execing thread to the thread group ID (process ID). (Or, to put things "
3580 "another way, when a multithreaded process does an B<execve>(2), at "
3581 "completion of the call, it appears as though the B<execve>(2) occurred in "
3582 "the thread group leader, regardless of which thread did the B<execve>(2).) "
3583 "This resetting of the thread ID looks very confusing to tracers:"
3584 msgstr ""
3585 "Wenn ein Thread in einem Prozess mit mehreren Threads B<execve>(2) aufruft, "
3586 "zerstört der Kernel alle anderen Threads im Prozess und setzt die Thread-"
3587 "Kennung des ausführenden Threads auf die Gruppenkennung (Prozesskennung) "
3588 "zurück. (Oder anders ausgedrückt, wenn ein Prozess mit mehreren Threads ein "
3589 "B<execve>(2) bei Vervollständigung des Aufrufs ausführt, scheint es durch "
3590 "das B<execve>(2) im führenden Thread der Prozessgruppe aufzutreten, "
3591 "unabhängig davon, welcher Thread das B<execve>(2) aufrief.) Dieses "
3592 "Zurücksetzen der Thread-Kennung sieht für Verfolger sehr verwirrend aus:"
3593
3594 #. type: IP
3595 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3596 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3597 #, no-wrap
3598 msgid "\\[bu]"
3599 msgstr "\\[bu]"
3600
3601 #. type: Plain text
3602 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3603 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3604 msgid ""
3605 "All other threads stop in B<PTRACE_EVENT_EXIT> stop, if the "
3606 "B<PTRACE_O_TRACEEXIT> option was turned on. Then all other threads except "
3607 "the thread group leader report death as if they exited via B<_exit>(2) with "
3608 "exit code 0."
3609 msgstr ""
3610 "Alle anderen Threads stoppen im B<PTRACE_EVENT_EXIT>-Stopp, falls die Option "
3611 "B<PTRACE_O_TRACEEXIT> eingeschaltet wurde. Dann melden alle anderen Threads "
3612 "außer dem führenden Thread der Gruppe den Tod, als ob sie über B<_exit>(2) "
3613 "mit dem Exit-Code 0 beendet worden wären."
3614
3615 #. type: Plain text
3616 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3617 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3618 msgid ""
3619 "The execing tracee changes its thread ID while it is in the B<execve>(2). "
3620 "(Remember, under ptrace, the \"pid\" returned from B<waitpid>(2), or fed "
3621 "into ptrace calls, is the tracee's thread ID.) That is, the tracee's thread "
3622 "ID is reset to be the same as its process ID, which is the same as the "
3623 "thread group leader's thread ID."
3624 msgstr ""
3625 "Der ausführende, verfolgte Prozess ändert seine Thread-Kennung, während er "
3626 "in dem B<execve>(2) ist. (Denken Sie daran, unter Ptrace ist die von "
3627 "B<waitpid>(2) zurückgegebene oder in Ptrace-Aufrufe gespeiste »PID«, die "
3628 "Thread-Kennung des verfolgten Prozesses.) Sprich, die Thread-Kennung des "
3629 "verfolgten Prozesses wird zurückgesetzt, so dass sie ihrer Prozesskennung "
3630 "entspricht, die dieselbe ist, wie die Thread-Kennung des führenden Threads "
3631 "der Thread-Gruppe."
3632
3633 #. type: Plain text
3634 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3635 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3636 msgid ""
3637 "Then a B<PTRACE_EVENT_EXEC> stop happens, if the B<PTRACE_O_TRACEEXEC> "
3638 "option was turned on."
3639 msgstr ""
3640 "Dann kommt es zu einem B<PTRACE_EVENT_EXEC>-Stopp, falls die Option "
3641 "B<PTRACE_O_TRACEEXEC> eingeschaltet wurde."
3642
3643 #. type: Plain text
3644 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3645 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3646 msgid ""
3647 "If the thread group leader has reported its B<PTRACE_EVENT_EXIT> stop by "
3648 "this time, it appears to the tracer that the dead thread leader \"reappears "
3649 "from nowhere\". (Note: the thread group leader does not report death via "
3650 "I<WIFEXITED(status)> until there is at least one other live thread. This "
3651 "eliminates the possibility that the tracer will see it dying and then "
3652 "reappearing.) If the thread group leader was still alive, for the tracer "
3653 "this may look as if thread group leader returns from a different system call "
3654 "than it entered, or even \"returned from a system call even though it was "
3655 "not in any system call\". If the thread group leader was not traced (or was "
3656 "traced by a different tracer), then during B<execve>(2) it will appear as "
3657 "if it has become a tracee of the tracer of the execing tracee."
3658 msgstr ""
3659 "Falls der führende Thread der Gruppe seinen B<PTRACE_EVENT_EXEC>-Stopp "
3660 "mittlerweile gemeldet hat, scheint es für den Verfolger, als ob der tote "
3661 "führende Thread »aus dem Nichts wieder auftaucht«. (Hinweis: Der führende "
3662 "Thread der Gruppe meldet den Tod nicht über I<WIFEXITED(status)> bis es "
3663 "mindestens einen lebenden anderen Thread gibt. Dies eliminiert die "
3664 "Möglichkeit, dass der Verfolger ihn sterben und dann erneut erscheinen "
3665 "sieht.) Falls der führende Thread der Gruppe immer noch lebt, könnte dies "
3666 "für den Verfolger so aussehen, als ob der führende Thread der Gruppe von "
3667 "einem anderen Systemaufruf als dem beigetretenen zurückkehrt oder sogar »von "
3668 "einem Systemaufruf zurückkehrt, obwohl er in keinem Systemaufruf war«. Falls "
3669 "der führende Thread der Gruppe nicht verfolgt wurde (oder von einem anderen "
3670 "Verfolger verfolgt wurde), dann wird es während B<execve>(2) so aussehen, "
3671 "als ob er ein verfolgter Prozess des Verfolgers des ausführenden verfolgten "
3672 "Prozesses geworden wäre."
3673
3674 #. type: Plain text
3675 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3676 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3677 msgid ""
3678 "All of the above effects are the artifacts of the thread ID change in the "
3679 "tracee."
3680 msgstr ""
3681 "All die Auswirkungen oberhalb sind Artefakte des Thread-Kennungswechsels im "
3682 "verfolgten Prozess."
3683
3684 #. type: Plain text
3685 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3686 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3687 msgid ""
3688 "The B<PTRACE_O_TRACEEXEC> option is the recommended tool for dealing with "
3689 "this situation. First, it enables B<PTRACE_EVENT_EXEC> stop, which occurs "
3690 "before B<execve>(2) returns. In this stop, the tracer can use "
3691 "B<PTRACE_GETEVENTMSG> to retrieve the tracee's former thread ID. (This "
3692 "feature was introduced in Linux 3.0.) Second, the B<PTRACE_O_TRACEEXEC> "
3693 "option disables legacy B<SIGTRAP> generation on B<execve>(2)."
3694 msgstr ""
3695 "Die Option B<PTRACE_O_TRACEEXEC> ist das empfohlene Werkzeug für den Umgang "
3696 "mit dieser Situation. Zuerst aktiviert es B<PTRACE_EVENT_EXEC>-Stopp, der "
3697 "vor der Rückkehr von B<execve>(2) auftritt. In diesem Stopp kann der "
3698 "Verfolger B<PTRACE_GETEVENTMSG> verwenden, um die vorherige Thread-Kennung "
3699 "des verfolgten Prozesses zu erhalten. (Diese Funktion wurde in Lunux 3.0 "
3700 "eingeführt.) Als zweites deaktiviert die Option B<PTRACE_O_TRACEEXEC> die "
3701 "alte B<SIGTRAP>-Erzeugung auf B<execve>(2)."
3702
3703 #. type: Plain text
3704 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3705 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3706 msgid ""
3707 "When the tracer receives B<PTRACE_EVENT_EXEC> stop notification, it is "
3708 "guaranteed that except this tracee and the thread group leader, no other "
3709 "threads from the process are alive."
3710 msgstr ""
3711 "Wenn der Verfolger die B<PTRACE_EVENT_EXEC>-Stoppbenachrichtigung empfängt, "
3712 "ist garantiert, dass außer diesem verfolgten Prozess und dem führenden "
3713 "Thread der Gruppe keine anderen Threads des Prozesses lebendig sind."
3714
3715 #. type: Plain text
3716 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3717 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3718 msgid ""
3719 "On receiving the B<PTRACE_EVENT_EXEC> stop notification, the tracer should "
3720 "clean up all its internal data structures describing the threads of this "
3721 "process, and retain only one data structure\\[em]one which describes the "
3722 "single still running tracee, with"
3723 msgstr ""
3724 "Beim Empfang der B<PTRACE_EVENT_EXEC>-Stoppbenachrichtigung sollte der "
3725 "Verfolger all seine internen Datenstrukturen aufräumen, die Threads dieses "
3726 "Prozesses beschreiben und nur eine Datenstruktur behalten, – eine, die den "
3727 "einzelnen, laufenden, verfolgten Prozess beschreibt mit"
3728
3729 #. type: Plain text
3730 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3731 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3732 #, no-wrap
3733 msgid "thread ID == thread group ID == process ID.\n"
3734 msgstr "Thread-Kennung == Thread-Gruppenkennung == Prozesskennung.\n"
3735
3736 #. type: Plain text
3737 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3738 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3739 msgid "Example: two threads call B<execve>(2) at the same time:"
3740 msgstr "Beispiel: Zwei Threads rufen zur gleichen Zeit B<execve>(2) auf:"
3741
3742 #. type: Plain text
3743 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
3744 #: opensuse-tumbleweed
3745 #, no-wrap
3746 msgid ""
3747 "*** we get syscall-enter-stop in thread 1: **\n"
3748 "PID1 execve(\"/bin/foo\", \"foo\" E<lt>unfinished ...E<gt>\n"
3749 "*** we issue PTRACE_SYSCALL for thread 1 **\n"
3750 "*** we get syscall-enter-stop in thread 2: **\n"
3751 "PID2 execve(\"/bin/bar\", \"bar\" E<lt>unfinished ...E<gt>\n"
3752 "*** we issue PTRACE_SYSCALL for thread 2 **\n"
3753 "*** we get PTRACE_EVENT_EXEC for PID0, we issue PTRACE_SYSCALL **\n"
3754 "*** we get syscall-exit-stop for PID0: **\n"
3755 "PID0 E<lt>...\\& execve resumedE<gt> ) = 0\n"
3756 msgstr ""
3757 "*** wir bekommen einen Systemaufrufeintrittsstopp in Thread 1: **\n"
3758 "PID1 execve(\"/bin/foo\", \"foo\" E<lt>nicht abgeschlossen …E<gt>\n"
3759 "*** wir liefern PTRACE_SYSCALL für Thread 1 **\n"
3760 "*** wir bekommen einen Systemaufrufeintrittsstopp in Thread 2: **\n"
3761 "PID2 execve(\"/bin/bar\", \"bar\" E<lt>nicht abgeschlossen …E<gt>\n"
3762 "*** wir liefern PTRACE_SYSCALL für Thread 2 **\n"
3763 "*** wir bekommen PTRACE_EVENT_EXEC für PID0, wir liefern PTRACE_SYSCALL **\n"
3764 "*** wir bekommen Systemaufrufbeendigungsstopp für PID0: **\n"
3765 "PID0 E<lt>…\\& execve wieder aufgenommenE<gt> ) = 0\n"
3766
3767 #. type: Plain text
3768 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3769 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3770 msgid ""
3771 "If the B<PTRACE_O_TRACEEXEC> option is I<not> in effect for the execing "
3772 "tracee, and if the tracee was B<PTRACE_ATTACH>ed rather that "
3773 "B<PTRACE_SEIZE>d, the kernel delivers an extra B<SIGTRAP> to the tracee "
3774 "after B<execve>(2) returns. This is an ordinary signal (similar to one "
3775 "which can be generated by I<kill -TRAP>), not a special kind of ptrace-"
3776 "stop. Employing B<PTRACE_GETSIGINFO> for this signal returns I<si_code> set "
3777 "to 0 (I<SI_USER>). This signal may be blocked by signal mask, and thus may "
3778 "be delivered (much) later."
3779 msgstr ""
3780 "Falls die Option B<PTRACE_O_TRACEEXEC> für den ausführenden, verfolgten "
3781 "Prozess I<nicht> in Kraft ist und falls der verfolgte Prozess "
3782 "B<PTRACE_ATTACH>ed statt B<PTRACE_SEIZE>d war, sendet der Kernel ein "
3783 "zusätzliches B<SIGTRAP> an den verfolgten Prozess, nachdem B<execve>(2) "
3784 "zurückgekehrt ist. Dies ist ein gewöhnliches Signal (ähnlich einem, das "
3785 "durch I<kill -TRAP> erzeugt werden kann), keine Spezialart eines Ptrace-"
3786 "Stopps. Unter Einsatz von B<PTRACE_GETSIGINFO> für dieses Signal gibt "
3787 "I<si_code> auf 0 gesetzt (I<SI_USER>) zurück. Dieses Signal kann durch die "
3788 "Signalmaske blockiert sein und könnte daher (viel) später gesandt werden."
3789
3790 #. type: Plain text
3791 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3792 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3793 msgid ""
3794 "Usually, the tracer (for example, B<strace>(1)) would not want to show this "
3795 "extra post-execve B<SIGTRAP> signal to the user, and would suppress its "
3796 "delivery to the tracee (if B<SIGTRAP> is set to B<SIG_DFL>, it is a killing "
3797 "signal). However, determining I<which> B<SIGTRAP> to suppress is not easy. "
3798 "Setting the B<PTRACE_O_TRACEEXEC> option or using B<PTRACE_SEIZE> and thus "
3799 "suppressing this extra B<SIGTRAP> is the recommended approach."
3800 msgstr ""
3801 "Üblicherweise würde der Verfolger dem Anwender dieses zusätzliche B<SIGTRAP>-"
3802 "Signal nach Execve nicht zeigen wollen und seinen Versand an den verfolgten "
3803 "Prozess unterdrücken (falls B<SIGTRAP> auf B<SIGTRAP> gesetzt ist, killt es "
3804 "das Signal). Es ist jedoch nicht einfach zu bestimmen, I<welches> B<SIGTRAP> "
3805 "zu unterdrücken ist. Die empfohlene Herangehensweise ist, die Option "
3806 "B<PTRACE_O_TRACEEXEC> zu setzen oder B<PTRACE_SEIZE> zu verwenden und damit "
3807 "dieses zusätzliche B<SIGTRAP> zu unterdrücken."
3808
3809 #. type: SS
3810 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3811 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3812 #, no-wrap
3813 msgid "Real parent"
3814 msgstr "Echter Elternprozess"
3815
3816 #. type: Plain text
3817 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3818 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3819 msgid ""
3820 "The ptrace API (ab)uses the standard UNIX parent/child signaling over "
3821 "B<waitpid>(2). This used to cause the real parent of the process to stop "
3822 "receiving several kinds of B<waitpid>(2) notifications when the child "
3823 "process is traced by some other process."
3824 msgstr ""
3825 "Die Ptrace-Programmierschnittstelle (miss)braucht die Standard-UNIX-Eltern-/"
3826 "Kindprozess-Signalgebung über B<waitpid>(2). Diese wird benutzt, um den "
3827 "echten Elternprozess zum Stopp des Empfangs mehrerer Arten von B<waitpid>(2)-"
3828 "Benachrichtigungen zu veranlassen, wenn der Kindprozess durch einen anderen "
3829 "Prozess verfolgt wird."
3830
3831 #. type: Plain text
3832 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3833 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3834 msgid ""
3835 "Many of these bugs have been fixed, but as of Linux 2.6.38 several still "
3836 "exist; see BUGS below."
3837 msgstr ""
3838 "Viele dieser Fehler wurden behoben, aber ab Linux 2.6.38 existieren etliche "
3839 "immer noch; siehe FEHLER oberhalb."
3840
3841 #. type: Plain text
3842 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3843 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3844 msgid "As of Linux 2.6.38, the following is believed to work correctly:"
3845 msgstr ""
3846 "Ab Linux 2.6.38 wird davon ausgegangen, dass folgendes korrekt funktioniert:"
3847
3848 #. type: Plain text
3849 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3850 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3851 msgid ""
3852 "exit/death by signal is reported first to the tracer, then, when the tracer "
3853 "consumes the B<waitpid>(2) result, to the real parent (to the real parent "
3854 "only when the whole multithreaded process exits). If the tracer and the "
3855 "real parent are the same process, the report is sent only once."
3856 msgstr ""
3857 "Beenden/Sterben durch Signal wird zuerst an den Verfolger gemeldet, dann, "
3858 "wenn der Verfolger das B<waitpid>(2)-Ergebnis verbraucht, an den echten "
3859 "Elternprozess (an den echten Elternprozess nur, wenn der ganze Prozess aus "
3860 "mehreren Threads existiert). Falls der Verfolger und der echte Elternprozess "
3861 "derselbe Prozess sind, wird der Bericht nur einmal gesandt."
3862
3863 #. type: SH
3864 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3865 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3866 #, no-wrap
3867 msgid "RETURN VALUE"
3868 msgstr "RÜCKGABEWERT"
3869
3870 #. type: Plain text
3871 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3872 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3873 msgid ""
3874 "On success, the B<PTRACE_PEEK*> operations return the requested data (but "
3875 "see NOTES), the B<PTRACE_SECCOMP_GET_FILTER> operation returns the number of "
3876 "instructions in the BPF program, the B<PTRACE_GET_SYSCALL_INFO> operation "
3877 "returns the number of bytes available to be written by the kernel, and other "
3878 "operations return zero."
3879 msgstr ""
3880 "Bei Erfolg geben die B<PTRACE_PEEK*>-Aktionen die angeforderten Daten zurück "
3881 "(aber siehe die ANMERKUNGEN), die Aktion B<PTRACE_SECCOMP_GET_FILTER> "
3882 "liefert die Anzahl der Anweisungen in dem BPF-Programm zurück, die Aktion "
3883 "B<PTRACE_GET_SYSCALL_INFO> liefert die Anzahl der Byte zurück, die zum "
3884 "Schreiben durch den Kernel verfügbar sind und andere Aktionen geben Null "
3885 "zurück."
3886
3887 #. type: Plain text
3888 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3889 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3890 msgid ""
3891 "On error, all operations return -1, and I<errno> is set to indicate the "
3892 "error. Since the value returned by a successful B<PTRACE_PEEK*> operation "
3893 "may be -1, the caller must clear I<errno> before the call, and then check it "
3894 "afterward to determine whether or not an error occurred."
3895 msgstr ""
3896 "Bei einem Fehler geben alle Aktionen -1 zurück und I<errno> wird gesetzt, um "
3897 "den Fehler anzuzeigen. Da der Wert, der von einer erfolgreichen Aktion "
3898 "B<PTRACE_PEEK*> zurückgegeben wurde, -1 sein könnte, muss der Aufrufende vor "
3899 "dem Aufruf I<errno> leeren und es dann hinterher untersuchen, um "
3900 "festzustellen, ob ein Fehler aufgetreten ist oder nicht."
3901
3902 #. type: SH
3903 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3904 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3905 #, no-wrap
3906 msgid "ERRORS"
3907 msgstr "FEHLER"
3908
3909 #. type: TP
3910 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3911 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3912 #, no-wrap
3913 msgid "B<EBUSY>"
3914 msgstr "B<EBUSY>"
3915
3916 #. type: Plain text
3917 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3918 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3919 msgid ""
3920 "(i386 only) There was an error with allocating or freeing a debug register."
3921 msgstr ""
3922 "(nur i386) Es ist beim Reservieren oder der Freigabe eines Debug-Registers "
3923 "ein Fehler aufgetreten."
3924
3925 #. type: TP
3926 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3927 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3928 #, no-wrap
3929 msgid "B<EFAULT>"
3930 msgstr "B<EFAULT>"
3931
3932 #. type: Plain text
3933 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3934 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3935 msgid ""
3936 "There was an attempt to read from or write to an invalid area in the "
3937 "tracer's or the tracee's memory, probably because the area wasn't mapped or "
3938 "accessible. Unfortunately, under Linux, different variations of this fault "
3939 "will return B<EIO> or B<EFAULT> more or less arbitrarily."
3940 msgstr ""
3941 "Es gab einen Versuch in einem ungültigen Bereich im Speicher des Verfolgers "
3942 "oder des verfolgten Prozesses zu lesen oder zu schreiben, wahrscheinlich, "
3943 "weil der Bereich nicht abgebildet war oder kein Zugriff möglich war. "
3944 "Unglücklicherweise geben unter Linux mehrere Variationen dieser "
3945 "Ausnahmebehandlung mehr oder weniger willkürlich B<EIO> oder B<EFAULT> "
3946 "zurück."
3947
3948 #. type: TP
3949 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3950 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3951 #, no-wrap
3952 msgid "B<EINVAL>"
3953 msgstr "B<EINVAL>"
3954
3955 #. type: Plain text
3956 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3957 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3958 msgid "An attempt was made to set an invalid option."
3959 msgstr "Es wurde versucht, eine ungültige Option zu setzen."
3960
3961 #. type: TP
3962 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3963 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3964 #, no-wrap
3965 msgid "B<EIO>"
3966 msgstr "B<EIO>"
3967
3968 #. type: Plain text
3969 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3970 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3971 msgid ""
3972 "I<op> is invalid, or an attempt was made to read from or write to an invalid "
3973 "area in the tracer's or the tracee's memory, or there was a word-alignment "
3974 "violation, or an invalid signal was specified during a restart operation."
3975 msgstr ""
3976 "I<Aktion> ist ungültig, es wurde versucht, in einem ungültigen Bereich im "
3977 "Speicher des Verfolgers oder des verfolgten Prozesses zu lesen oder zu "
3978 "schreiben, es gab eine Verletzung der Ausrichtung an der »word«-Größe oder "
3979 "es wurde während der Neustart-Aktion ein ungültiges Signal angegeben."
3980
3981 #. type: TP
3982 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3983 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3984 #, no-wrap
3985 msgid "B<EPERM>"
3986 msgstr "B<EPERM>"
3987
3988 #. type: Plain text
3989 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3990 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3991 msgid ""
3992 "The specified process cannot be traced. This could be because the tracer "
3993 "has insufficient privileges (the required capability is B<CAP_SYS_PTRACE>); "
3994 "unprivileged processes cannot trace processes that they cannot send signals "
3995 "to or those running set-user-ID/set-group-ID programs, for obvious reasons. "
3996 "Alternatively, the process may already be being traced, or (before Linux "
3997 "2.6.26) be B<init>(1) (PID 1)."
3998 msgstr ""
3999 "Der angegebene Prozess kann nicht verfolgt werden. Dies könnte daher rühren, "
4000 "dass der Verfolger über unzureichende Privilegien verfügt (die Capability "
4001 "B<CAP_SYS_PTRACE> wird benötigt); unprivilegierte Prozesse können keine "
4002 "Prozesse verfolgen, denen sie keine Signale senden können oder die SUID-/"
4003 "SGID-Programme ausführen, was naheliegend ist. Alternativ könnte der Prozess "
4004 "bereits verfolgt werden oder (Linux vor 2.6.26) B<init>(1) (PID 1) sein."
4005
4006 #. type: TP
4007 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4008 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4009 #, no-wrap
4010 msgid "B<ESRCH>"
4011 msgstr "B<ESRCH>"
4012
4013 #. type: Plain text
4014 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4015 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4016 msgid ""
4017 "The specified process does not exist, or is not currently being traced by "
4018 "the caller, or is not stopped (for operations that require a stopped tracee)."
4019 msgstr ""
4020 "Der angegebene Prozess existiert nicht, wird derzeit nicht vom Aufrufenden "
4021 "verfolgt oder ist nicht gestoppt (bei Aktionen, die einen gestoppten "
4022 "verfolgten Prozess erfordern)."
4023
4024 #. type: SH
4025 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4026 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4027 #, no-wrap
4028 msgid "STANDARDS"
4029 msgstr "STANDARDS"
4030
4031 #. type: Plain text
4032 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4033 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4034 msgid "None."
4035 msgstr "Keine."
4036
4037 #. type: SH
4038 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4039 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4040 #, no-wrap
4041 msgid "HISTORY"
4042 msgstr "GESCHICHTE"
4043
4044 #. type: Plain text
4045 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4046 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4047 msgid "SVr4, 4.3BSD."
4048 msgstr "SVr4, 4.3BSD."
4049
4050 #. See commit 00cd5c37afd5f431ac186dd131705048c0a11fdb
4051 #. type: Plain text
4052 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4053 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4054 msgid ""
4055 "Before Linux 2.6.26, B<init>(1), the process with PID 1, may not be traced."
4056 msgstr ""
4057 "In Linux-Versionen vor 2.6.26 kann B<init>(1) den Prozess mit der "
4058 "Prozessnummer 1 nicht verfolgen."
4059
4060 #. type: SH
4061 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4062 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4063 #, no-wrap
4064 msgid "NOTES"
4065 msgstr "ANMERKUNGEN"
4066
4067 #. type: Plain text
4068 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4069 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4070 msgid ""
4071 "Although arguments to B<ptrace>() are interpreted according to the "
4072 "prototype given, glibc currently declares B<ptrace>() as a variadic "
4073 "function with only the I<op> argument fixed. It is recommended to always "
4074 "supply four arguments, even if the requested operation does not use them, "
4075 "setting unused/ignored arguments to I<0L> or I<(void\\ *)\\ 0>."
4076 msgstr ""
4077 "Obwohl Argumente für B<ptrace>() gemäß dem angegebenen Prototypen "
4078 "interpretiert werden, deklariert Glibc derzeit B<ptrace>() als eine variable "
4079 "Funktion mit nur dem festen Argument I<Aktion>. Es wird empfohlen, immer "
4080 "vier Argumente anzugeben, sogar dann, wenn die angeforderte Aktion sie nicht "
4081 "verwendet. Setzen Sie unbenutzte/ignorierte Argumente auf I<0L> oder "
4082 "I<(void\\ *)\\ 0>."
4083
4084 #. type: Plain text
4085 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4086 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4087 msgid ""
4088 "A tracees parent continues to be the tracer even if that tracer calls "
4089 "B<execve>(2)."
4090 msgstr ""
4091 "Der Elternprozess des verfolgten Prozesses wird weiterhin der Verfolger "
4092 "sein, selbst wenn der Verfolger B<execve>(2) aufruft."
4093
4094 #. See http://lkml.org/lkml/2008/5/8/375
4095 #. type: Plain text
4096 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4097 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4098 msgid ""
4099 "The layout of the contents of memory and the USER area are quite operating-"
4100 "system- and architecture-specific. The offset supplied, and the data "
4101 "returned, might not entirely match with the definition of I<struct user>."
4102 msgstr ""
4103 "Das Layout des Speicherinhalts und des BENUTZERbereichs sind ziemlich "
4104 "betriebsystem- und architekturspezifisch. Der mitgelieferte Versatz und die "
4105 "zurückgegebenen Daten passen möglicherweise nicht ganz zu der Definition von "
4106 "I<struct user>."
4107
4108 #. type: Plain text
4109 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4110 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4111 msgid ""
4112 "The size of a \"word\" is determined by the operating-system variant (e.g., "
4113 "for 32-bit Linux it is 32 bits)."
4114 msgstr ""
4115 "Die Größe eines »word« wird durch die Betriebsystemvariante festgelegt (z.B. "
4116 "ist es für ein 32-Bit-Linux 32 Bit)."
4117
4118 #. """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
4119 #. type: Plain text
4120 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4121 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4122 msgid ""
4123 "This page documents the way the B<ptrace>() call works currently in Linux. "
4124 "Its behavior differs significantly on other flavors of UNIX. In any case, "
4125 "use of B<ptrace>() is highly specific to the operating system and "
4126 "architecture."
4127 msgstr ""
4128 "Diese Seite dokumentiert die Möglichkeit, wie der B<ptrace>()-Aufruf derzeit "
4129 "in Linux arbeitet. Sein Verhalten unterscheidet sich auf anderen unixoiden "
4130 "Betriebssystemen deutlich. Auf jeden Fall ist die Benutzung von B<ptrace>() "
4131 "in hohem Grad abhängig vom Betriebssystem und der Architektur."
4132
4133 #. type: SS
4134 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4135 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4136 #, no-wrap
4137 msgid "Ptrace access mode checking"
4138 msgstr "Ptrace-Zugriffsmodusüberprüfung"
4139
4140 #. type: Plain text
4141 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4142 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4143 msgid ""
4144 "Various parts of the kernel-user-space API (not just B<ptrace>() "
4145 "operations), require so-called \"ptrace access mode\" checks, whose outcome "
4146 "determines whether an operation is permitted (or, in a few cases, causes a "
4147 "\"read\" operation to return sanitized data). These checks are performed in "
4148 "cases where one process can inspect sensitive information about, or in some "
4149 "cases modify the state of, another process. The checks are based on factors "
4150 "such as the credentials and capabilities of the two processes, whether or "
4151 "not the \"target\" process is dumpable, and the results of checks performed "
4152 "by any enabled Linux Security Module (LSM)\\[em]for example, SELinux, Yama, "
4153 "or Smack\\[em]and by the commoncap LSM (which is always invoked)."
4154 msgstr ""
4155 "Verschiedene Teile des Kernel-Benutzerraum-APIs (nicht nur B<ptrace>()-"
4156 "Aktionen) benötigen sogenannte »Ptrace-Zugriffsmodusüberprüfungen«, deren "
4157 "Ergebnis bestimmt, ob eine Aktion erlaubt (oder, in wenigen Fällen, einer "
4158 "»Lese«-Aktion bereinigte Daten zurückliefern) wird. Diese Überprüfungen "
4159 "werden in Fällen durchgeführt, in denen ein Prozess vertrauliche "
4160 "Informationen über einen anderen Prozess einsehen könnte oder in einigen "
4161 "Fällen den Zustand eines anderen Prozesse verändern könnte. Die "
4162 "Überprüfungen basieren auf Faktoren wie den Berechtigungsnachweisen und den "
4163 "Capabilitys der zwei Prozesse, ob der Speicherinhalt des »Zielprozesses« "
4164 "ausgegeben werden kann und dem Ergebnis der Überprüfungen, die durch jedes "
4165 "aktivierte Linux-Sicherheitsmodul (LSM) – zum Beispiel SELinux, Yama oder "
4166 "Smack – und durch das Commoncap-LSM (das immer ausgeführt wird), ausgeführt "
4167 "wird."
4168
4169 #. commit 006ebb40d3d65338bd74abb03b945f8d60e362bd
4170 #. type: Plain text
4171 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4172 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4173 msgid ""
4174 "Prior to Linux 2.6.27, all access checks were of a single type. Since Linux "
4175 "2.6.27, two access mode levels are distinguished:"
4176 msgstr ""
4177 "Vor Linux 2.6.27 waren alle Zugriffsprüfungen von einem einzigen Typ. Seit "
4178 "Linux 2.6.27 werden zwei Zugriffsmodi unterschieden:"
4179
4180 #. type: TP
4181 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4182 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4183 #, no-wrap
4184 msgid "B<PTRACE_MODE_READ>"
4185 msgstr "B<PTRACE_MODE_READ>"
4186
4187 #. type: Plain text
4188 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4189 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4190 msgid ""
4191 "For \"read\" operations or other operations that are less dangerous, such "
4192 "as: B<get_robust_list>(2); B<kcmp>(2); reading I</proc/>pidI</auxv>, I</proc/"
4193 ">pidI</environ>, or I</proc/>pidI</stat>; or B<readlink>(2) of a I</proc/"
4194 ">pidI</ns/*> file."
4195 msgstr ""
4196 "Für »Lese«-Aktionen oder andere Aktionen, die weniger gefährlich sind, wie "
4197 "B<get_robust_list>(2); B<kcmp>(2); Lesen aus I</proc/>PIDI</auxv>, I</proc/"
4198 ">PIDI</environ> oder I</proc/>PIDI</stat>; oder B<readlink>(2) einer I</proc/"
4199 ">PIDI</ns/*>-Datei."
4200
4201 #. type: TP
4202 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4203 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4204 #, no-wrap
4205 msgid "B<PTRACE_MODE_ATTACH>"
4206 msgstr "B<PTRACE_MODE_ATTACH>"
4207
4208 #
4209 #
4210 #. #-#-#-#-# archlinux: ptrace.2.pot (PACKAGE VERSION) #-#-#-#-#
4211 #. Regarding the above description of the distinction between
4212 #. PTRACE_MODE_READ and PTRACE_MODE_ATTACH, Stephen Smalley notes:
4213 #. That was the intent when the distinction was introduced, but it doesn't
4214 #. appear to have been properly maintained, e.g., there is now a common
4215 #. helper lock_trace() that is used for
4216 #. /proc/pid/{stack,syscall,personality} but checks PTRACE_MODE_ATTACH, and
4217 #. PTRACE_MODE_ATTACH is also used in timerslack_ns_write/show(). Likely
4218 #. should review and make them consistent. There was also some debate
4219 #. about proper handling of /proc/pid/fd. Arguably that one might belong
4220 #. back in the _ATTACH camp.
4221 #. type: Plain text
4222 #. #-#-#-#-# debian-trixie: ptrace.2.pot (PACKAGE VERSION) #-#-#-#-#
4223 #. Regarding the above description of the distinction between
4224 #. PTRACE_MODE_READ and PTRACE_MODE_ATTACH, Stephen Smalley notes:
4225 #. That was the intent when the distinction was introduced, but it doesn't
4226 #. appear to have been properly maintained, e.g. there is now a common
4227 #. helper lock_trace() that is used for
4228 #. /proc/pid/{stack,syscall,personality} but checks PTRACE_MODE_ATTACH, and
4229 #. PTRACE_MODE_ATTACH is also used in timerslack_ns_write/show(). Likely
4230 #. should review and make them consistent. There was also some debate
4231 #. about proper handling of /proc/pid/fd. Arguably that one might belong
4232 #. back in the _ATTACH camp.
4233 #. type: Plain text
4234 #. #-#-#-#-# debian-unstable: ptrace.2.pot (PACKAGE VERSION) #-#-#-#-#
4235 #. Regarding the above description of the distinction between
4236 #. PTRACE_MODE_READ and PTRACE_MODE_ATTACH, Stephen Smalley notes:
4237 #. That was the intent when the distinction was introduced, but it doesn't
4238 #. appear to have been properly maintained, e.g., there is now a common
4239 #. helper lock_trace() that is used for
4240 #. /proc/pid/{stack,syscall,personality} but checks PTRACE_MODE_ATTACH, and
4241 #. PTRACE_MODE_ATTACH is also used in timerslack_ns_write/show(). Likely
4242 #. should review and make them consistent. There was also some debate
4243 #. about proper handling of /proc/pid/fd. Arguably that one might belong
4244 #. back in the _ATTACH camp.
4245 #. type: Plain text
4246 #. #-#-#-#-# fedora-44: ptrace.2.pot (PACKAGE VERSION) #-#-#-#-#
4247 #. Regarding the above description of the distinction between
4248 #. PTRACE_MODE_READ and PTRACE_MODE_ATTACH, Stephen Smalley notes:
4249 #. That was the intent when the distinction was introduced, but it doesn't
4250 #. appear to have been properly maintained, e.g. there is now a common
4251 #. helper lock_trace() that is used for
4252 #. /proc/pid/{stack,syscall,personality} but checks PTRACE_MODE_ATTACH, and
4253 #. PTRACE_MODE_ATTACH is also used in timerslack_ns_write/show(). Likely
4254 #. should review and make them consistent. There was also some debate
4255 #. about proper handling of /proc/pid/fd. Arguably that one might belong
4256 #. back in the _ATTACH camp.
4257 #. type: Plain text
4258 #. #-#-#-#-# fedora-rawhide: ptrace.2.pot (PACKAGE VERSION) #-#-#-#-#
4259 #. Regarding the above description of the distinction between
4260 #. PTRACE_MODE_READ and PTRACE_MODE_ATTACH, Stephen Smalley notes:
4261 #. That was the intent when the distinction was introduced, but it doesn't
4262 #. appear to have been properly maintained, e.g. there is now a common
4263 #. helper lock_trace() that is used for
4264 #. /proc/pid/{stack,syscall,personality} but checks PTRACE_MODE_ATTACH, and
4265 #. PTRACE_MODE_ATTACH is also used in timerslack_ns_write/show(). Likely
4266 #. should review and make them consistent. There was also some debate
4267 #. about proper handling of /proc/pid/fd. Arguably that one might belong
4268 #. back in the _ATTACH camp.
4269 #. type: Plain text
4270 #. #-#-#-#-# mageia-cauldron: ptrace.2.pot (PACKAGE VERSION) #-#-#-#-#
4271 #. Regarding the above description of the distinction between
4272 #. PTRACE_MODE_READ and PTRACE_MODE_ATTACH, Stephen Smalley notes:
4273 #. That was the intent when the distinction was introduced, but it doesn't
4274 #. appear to have been properly maintained, e.g., there is now a common
4275 #. helper lock_trace() that is used for
4276 #. /proc/pid/{stack,syscall,personality} but checks PTRACE_MODE_ATTACH, and
4277 #. PTRACE_MODE_ATTACH is also used in timerslack_ns_write/show(). Likely
4278 #. should review and make them consistent. There was also some debate
4279 #. about proper handling of /proc/pid/fd. Arguably that one might belong
4280 #. back in the _ATTACH camp.
4281 #. type: Plain text
4282 #. #-#-#-#-# opensuse-leap-16-1: ptrace.2.pot (PACKAGE VERSION) #-#-#-#-#
4283 #. Regarding the above description of the distinction between
4284 #. PTRACE_MODE_READ and PTRACE_MODE_ATTACH, Stephen Smalley notes:
4285 #. That was the intent when the distinction was introduced, but it doesn't
4286 #. appear to have been properly maintained, e.g., there is now a common
4287 #. helper lock_trace() that is used for
4288 #. /proc/pid/{stack,syscall,personality} but checks PTRACE_MODE_ATTACH, and
4289 #. PTRACE_MODE_ATTACH is also used in timerslack_ns_write/show(). Likely
4290 #. should review and make them consistent. There was also some debate
4291 #. about proper handling of /proc/pid/fd. Arguably that one might belong
4292 #. back in the _ATTACH camp.
4293 #. type: Plain text
4294 #. #-#-#-#-# opensuse-tumbleweed: ptrace.2.pot (PACKAGE VERSION) #-#-#-#-#
4295 #. Regarding the above description of the distinction between
4296 #. PTRACE_MODE_READ and PTRACE_MODE_ATTACH, Stephen Smalley notes:
4297 #. That was the intent when the distinction was introduced, but it doesn't
4298 #. appear to have been properly maintained, e.g., there is now a common
4299 #. helper lock_trace() that is used for
4300 #. /proc/pid/{stack,syscall,personality} but checks PTRACE_MODE_ATTACH, and
4301 #. PTRACE_MODE_ATTACH is also used in timerslack_ns_write/show(). Likely
4302 #. should review and make them consistent. There was also some debate
4303 #. about proper handling of /proc/pid/fd. Arguably that one might belong
4304 #. back in the _ATTACH camp.
4305 #. type: Plain text
4306 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4307 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4308 msgid ""
4309 "For \"write\" operations, or other operations that are more dangerous, such "
4310 "as: ptrace attaching (B<PTRACE_ATTACH>) to another process or calling "
4311 "B<process_vm_writev>(2). (B<PTRACE_MODE_ATTACH> was effectively the default "
4312 "before Linux 2.6.27.)"
4313 msgstr ""
4314 "Für »Schreibe«-Aktionen oder andere Aktionen, die gefährlicher sind, wie "
4315 "Ptrace-Anhängungen (B<PTRACE_ATTACH>) an einen anderen Prozess oder Aufrufe "
4316 "von B<process_vm_writev>(2). (B<PTRACE_MODE_ATTACH> war tatsächlich die "
4317 "Vorgabe vor Linux 2.6.27.)"
4318
4319 #. commit caaee6234d05a58c5b4d05e7bf766131b810a657
4320 #. type: Plain text
4321 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4322 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4323 msgid ""
4324 "Since Linux 4.5, the above access mode checks are combined (ORed) with one "
4325 "of the following modifiers:"
4326 msgstr ""
4327 "Seit Linux 4.5 sind die obigen Zugriffsmodusprüfungen mittels ODER mit einem "
4328 "der folgenden Modifikatoren verknüpft:"
4329
4330 #. type: TP
4331 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4332 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4333 #, no-wrap
4334 msgid "B<PTRACE_MODE_FSCREDS>"
4335 msgstr "B<PTRACE_MODE_FSCREDS>"
4336
4337 #. type: Plain text
4338 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4339 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4340 msgid ""
4341 "Use the caller's filesystem UID and GID (see B<credentials>(7)) or "
4342 "effective capabilities for LSM checks."
4343 msgstr ""
4344 "Die Dateisystem-UID und -GID (siehe B<credentials>(7)) oder die effektiven "
4345 "Capabilitys für LSM-Prüfungen des Aufrufenden verwenden."
4346
4347 #. type: TP
4348 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4349 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4350 #, no-wrap
4351 msgid "B<PTRACE_MODE_REALCREDS>"
4352 msgstr "B<PTRACE_MODE_REALCREDS>"
4353
4354 #. type: Plain text
4355 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4356 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4357 msgid ""
4358 "Use the caller's real UID and GID or permitted capabilities for LSM checks. "
4359 "This was effectively the default before Linux 4.5."
4360 msgstr ""
4361 "Die reale UID und GID oder die erlaubten Capabilitys für LSM-Prüfungen des "
4362 "Aufrufenden verwenden. Dies war vor Linux 4.5 die Vorgabe."
4363
4364 #. type: Plain text
4365 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4366 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4367 msgid ""
4368 "Because combining one of the credential modifiers with one of the "
4369 "aforementioned access modes is typical, some macros are defined in the "
4370 "kernel sources for the combinations:"
4371 msgstr ""
4372 "Da die Kombination eines der Berechtigungsnachweise-Modifikatoren mit einem "
4373 "der vorgenannten Zugriffsmodi typisch ist, sind ein paar Makros in den "
4374 "Kernelquellen für die Kombinationen definiert."
4375
4376 #. type: TP
4377 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4378 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4379 #, no-wrap
4380 msgid "B<PTRACE_MODE_READ_FSCREDS>"
4381 msgstr "B<PTRACE_MODE_READ_FSCREDS>"
4382
4383 #. type: Plain text
4384 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4385 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4386 msgid "Defined as B<PTRACE_MODE_READ | PTRACE_MODE_FSCREDS>."
4387 msgstr "Definiert als B<PTRACE_MODE_READ | PTRACE_MODE_FSCREDS>."
4388
4389 #. type: TP
4390 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4391 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4392 #, no-wrap
4393 msgid "B<PTRACE_MODE_READ_REALCREDS>"
4394 msgstr "B<PTRACE_MODE_READ_REALCREDS>"
4395
4396 #. type: Plain text
4397 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4398 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4399 msgid "Defined as B<PTRACE_MODE_READ | PTRACE_MODE_REALCREDS>."
4400 msgstr "Definiert als B<PTRACE_MODE_READ | PTRACE_MODE_REALCREDS>."
4401
4402 #. type: TP
4403 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4404 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4405 #, no-wrap
4406 msgid "B<PTRACE_MODE_ATTACH_FSCREDS>"
4407 msgstr "B<PTRACE_MODE_ATTACH_FSCREDS>"
4408
4409 #. type: Plain text
4410 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4411 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4412 msgid "Defined as B<PTRACE_MODE_ATTACH | PTRACE_MODE_FSCREDS>."
4413 msgstr "Definiert als B<PTRACE_MODE_ATTACH | PTRACE_MODE_FSCREDS>."
4414
4415 #. type: TP
4416 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4417 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4418 #, no-wrap
4419 msgid "B<PTRACE_MODE_ATTACH_REALCREDS>"
4420 msgstr "B<PTRACE_MODE_ATTACH_REALCREDS>"
4421
4422 #. type: Plain text
4423 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4424 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4425 msgid "Defined as B<PTRACE_MODE_ATTACH | PTRACE_MODE_REALCREDS>."
4426 msgstr "Definiert als B<PTRACE_MODE_ATTACH | PTRACE_MODE_REALCREDS>."
4427
4428 #. type: Plain text
4429 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4430 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4431 msgid "One further modifier can be ORed with the access mode:"
4432 msgstr ""
4433 "Ein weiterer Modifikator kann mit den Zugriffsmodus mittels ODER verknüpft "
4434 "werden:"
4435
4436 #. type: TP
4437 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4438 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4439 #, no-wrap
4440 msgid "B<PTRACE_MODE_NOAUDIT> (since Linux 3.3)"
4441 msgstr "B<PTRACE_MODE_NOAUDIT> (seit Linux 3.3)"
4442
4443 #. commit 69f594a38967f4540ce7a29b3fd214e68a8330bd
4444 #. Just for /proc/pid/stat
4445 #. type: Plain text
4446 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4447 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4448 msgid ""
4449 "Don't audit this access mode check. This modifier is employed for ptrace "
4450 "access mode checks (such as checks when reading I</proc/>pidI</stat>) that "
4451 "merely cause the output to be filtered or sanitized, rather than causing an "
4452 "error to be returned to the caller. In these cases, accessing the file is "
4453 "not a security violation and there is no reason to generate a security audit "
4454 "record. This modifier suppresses the generation of such an audit record for "
4455 "the particular access check."
4456 msgstr ""
4457 "Diese Zugriffsmodusprüfung nicht auditieren. Dieser Modifikator wird für "
4458 "Ptrace-Zugriffsmodusprüfungen eingesetzt (wie z.B. Prüfungen beim Lesen von "
4459 "I</proc/>PIDI</stat>), die lediglich die Ausgabe filtern oder bereinigen, "
4460 "statt dem Aufrufenden einen Fehler zurückzuliefern. In diesen Fällen ist der "
4461 "Zugriff auf die Datei keine Sicherheitsverletzung und es gibt keinen Grund, "
4462 "einen Sicherheitsauditdatensatz zu erstellen. Dieser Modifikator unterdrückt "
4463 "die Erstellung eines solchen Auditdatensatzes für diese Zugriffsprüfung."
4464
4465 #. type: Plain text
4466 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4467 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4468 msgid ""
4469 "Note that all of the B<PTRACE_MODE_*> constants described in this subsection "
4470 "are kernel-internal, and not visible to user space. The constant names are "
4471 "mentioned here in order to label the various kinds of ptrace access mode "
4472 "checks that are performed for various system calls and accesses to various "
4473 "pseudofiles (e.g., under I</proc>). These names are used in other manual "
4474 "pages to provide a simple shorthand for labeling the different kernel checks."
4475 msgstr ""
4476 "Beachten Sie, dass alle in diesem Unterabschnitt beschriebenen Konstanten "
4477 "B<PTRACE_MODE_*> kernelintern und nicht im Anwendungsraum sichtbar sind. Die "
4478 "Konstantennamen werden hier benannt, um den verschiedenen Arten von Ptrace-"
4479 "Zugriffsmodusprüfungen, die für verschiedene Systemaufrufe und Zugriff auf "
4480 "verschiedene Pseudodateien (z.B. unter I</proc>) durchgeführt werden, einen "
4481 "Namen zu geben. Diese Namen werden in anderen Handbuchseiten benutzt, um "
4482 "eine einfache Abkürzung für die Benennung der verschiedenen Kernelprüfungen "
4483 "bereitzustellen."
4484
4485 #. type: Plain text
4486 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4487 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4488 msgid ""
4489 "The algorithm employed for ptrace access mode checking determines whether "
4490 "the calling process is allowed to perform the corresponding action on the "
4491 "target process. (In the case of opening I</proc/>pid files, the \"calling "
4492 "process\" is the one opening the file, and the process with the "
4493 "corresponding PID is the \"target process\".) The algorithm is as follows:"
4494 msgstr ""
4495 "Der für Ptrace-Zugriffsmodusprüfungen eingesetzte Algorithmus bestimmt, ob "
4496 "dem aufrufenden Prozess erlaubt wird, die entsprechende Aktion auf dem "
4497 "Zielprozess durchzuführen. (Im Falle des Öffnens von I</proc/>[PID]-Dateien "
4498 "ist der »aufrufende Prozess« derjenige, der die Datei öffnet, und der "
4499 "Prozess mit der entsprechenden PID der »Zielprozess«). Der Algorithmus geht "
4500 "wie folgt:"
4501
4502 #. type: IP
4503 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4504 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4505 #, no-wrap
4506 msgid "(1)"
4507 msgstr "(1)"
4508
4509 #. type: Plain text
4510 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4511 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4512 msgid ""
4513 "If the calling thread and the target thread are in the same thread group, "
4514 "access is always allowed."
4515 msgstr ""
4516 "Falls der aufrufende Thread und der Ziel-Thread in der gleichen Thread-"
4517 "Gruppe sind, wird der Zugriff immer erlaubt."
4518
4519 #. type: IP
4520 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4521 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4522 #, no-wrap
4523 msgid "(2)"
4524 msgstr "(2)"
4525
4526 #. type: Plain text
4527 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4528 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4529 msgid ""
4530 "If the access mode specifies B<PTRACE_MODE_FSCREDS>, then, for the check in "
4531 "the next step, employ the caller's filesystem UID and GID. (As noted in "
4532 "B<credentials>(7), the filesystem UID and GID almost always have the same "
4533 "values as the corresponding effective IDs.)"
4534 msgstr ""
4535 "Falls der Zugriffsmodus B<PTRACE_MODE_FSCREDS> festlegt, dann wird für die "
4536 "Prüfung im nächsten Schritt die Dateisystem-UID und -GID des Aufrufenden "
4537 "verwandt. (Wie in B<credentials>(7) vermerkt, haben die Dateisystem-UID und "
4538 "-GID fast immer die gleichen Werte wie die entsprechenden effektiven "
4539 "Kennungen.)"
4540
4541 #. type: Plain text
4542 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4543 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4544 msgid ""
4545 "Otherwise, the access mode specifies B<PTRACE_MODE_REALCREDS>, so use the "
4546 "caller's real UID and GID for the checks in the next step. (Most APIs that "
4547 "check the caller's UID and GID use the effective IDs. For historical "
4548 "reasons, the B<PTRACE_MODE_REALCREDS> check uses the real IDs instead.)"
4549 msgstr ""
4550 "Andernfalls legt der Zugriffsmodus B<PTRACE_MODE_REALCREDS> fest, so dass "
4551 "die reale UID und GID für die Prüfungen im nächsten Schritt verwandt werden. "
4552 "(Die meisten APIs, die die UIDs und GIDs des Aufrufenden prüfen, verwenden "
4553 "effektive Kennungen. Aus historischen Gründen verwendet die Prüfung "
4554 "B<PTRACE_MODE_REALCREDS> stattdessen die realen Kennungen.)"
4555
4556 #. type: IP
4557 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4558 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4559 #, no-wrap
4560 msgid "(3)"
4561 msgstr "(3)"
4562
4563 #. type: Plain text
4564 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4565 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4566 msgid "Deny access if I<neither> of the following is true:"
4567 msgstr "Zugriff verweigern, falls I<keines> der Folgenden wahr ist:"
4568
4569 #. type: Plain text
4570 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4571 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4572 msgid ""
4573 "The real, effective, and saved-set user IDs of the target match the caller's "
4574 "user ID, I<and> the real, effective, and saved-set group IDs of the target "
4575 "match the caller's group ID."
4576 msgstr ""
4577 "Die reale, effektive und saved-set-Benutzerkennungen des Zieles passen auf "
4578 "die der Benutzerkennung des Aufrufenden I<und> die reale, effektive und "
4579 "saved-set-Gruppenkennung des Zieles passen auf die der Gruppenkennung des "
4580 "Aufrufenden."
4581
4582 #. type: Plain text
4583 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4584 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4585 msgid ""
4586 "The caller has the B<CAP_SYS_PTRACE> capability in the user namespace of the "
4587 "target."
4588 msgstr ""
4589 "Der Aufrufende verfügt über die Capability B<CAP_SYS_PTRACE> in dem "
4590 "Benutzernamensraum des Ziels."
4591
4592 #. type: IP
4593 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4594 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4595 #, no-wrap
4596 msgid "(4)"
4597 msgstr "(4)"
4598
4599 #. type: Plain text
4600 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4601 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4602 msgid ""
4603 "Deny access if the target process \"dumpable\" attribute has a value other "
4604 "than 1 (B<SUID_DUMP_USER>; see the discussion of B<PR_SET_DUMPABLE> in "
4605 "B<prctl>(2)), and the caller does not have the B<CAP_SYS_PTRACE> capability "
4606 "in the user namespace of the target process."
4607 msgstr ""
4608 "Verweigert den Zugriff, falls das Attribut »dumpable« einen anderen Wert als "
4609 "1 (B<SUID_DUMP_USER>, siehe die Diskussion von B<PR_SET_DUMPABLE> in "
4610 "B<prctl>(2)) hat und der Aufrufende nicht über die Capability "
4611 "B<CAP_SYS_PTRACE> in dem Benutzernamensraum des Zielprozesses verfügt."
4612
4613 #. type: IP
4614 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4615 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4616 #, no-wrap
4617 msgid "(5)"
4618 msgstr "(5)"
4619
4620 #. (in cap_ptrace_access_check()):
4621 #. type: Plain text
4622 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4623 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4624 msgid ""
4625 "The kernel LSM I<security_ptrace_access_check>() interface is invoked to "
4626 "see if ptrace access is permitted. The results depend on the LSM(s). The "
4627 "implementation of this interface in the commoncap LSM performs the following "
4628 "steps:"
4629 msgstr ""
4630 "Die Schnittstelle I<security_ptrace_access_check>() wird aufgerufen, um zu "
4631 "erkennen, ob Ptrace-Zugriff erlaubt ist. Das Ergebnis hängt von dem/den "
4632 "LSM(en) ab. Die Implementierung dieser Schnittstelle im LSM Commoncap führt "
4633 "die folgenden Schritte durch:"
4634
4635 #. type: IP
4636 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4637 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4638 #, no-wrap
4639 msgid "(5.1)"
4640 msgstr "(5.1)"
4641
4642 #. type: Plain text
4643 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4644 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4645 msgid ""
4646 "If the access mode includes B<PTRACE_MODE_FSCREDS>, then use the caller's "
4647 "I<effective> capability set in the following check; otherwise (the access "
4648 "mode specifies B<PTRACE_MODE_REALCREDS>, so) use the caller's I<permitted> "
4649 "capability set."
4650 msgstr ""
4651 "Falls der Zugriffsmodus B<PTRACE_MODE_FSCREDS> enthält, dann wird die "
4652 "I<effektive> Capability-Menge des Aufrufenden in der nachfolgenden Prüfung "
4653 "verwandt, andernfalls (der Zugriffsmodus legt B<PTRACE_MODE_REALCREDS> fest) "
4654 "wird die I<erlaubte> Capability-Menge des Aufrufenden verwandt."
4655
4656 #. type: IP
4657 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4658 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4659 #, no-wrap
4660 msgid "(5.2)"
4661 msgstr "(5.2)"
4662
4663 #. type: Plain text
4664 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4665 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4666 msgid ""
4667 "The caller and the target process are in the same user namespace, and the "
4668 "caller's capabilities are a superset of the target process's I<permitted> "
4669 "capabilities."
4670 msgstr ""
4671 "Der aufrufende und der Zielprozess sind im gleichen Benutzernamensraum und "
4672 "die Capabilitys des Aufrufenden sind eine Obermenge der I<erlaubten> "
4673 "Capabilitys des Zielprozesses."
4674
4675 #. type: Plain text
4676 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4677 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4678 msgid ""
4679 "The caller has the B<CAP_SYS_PTRACE> capability in the target process's user "
4680 "namespace."
4681 msgstr ""
4682 "Der Aufrufende verfügt über die Capability B<CAP_SYS_PTRACE> in dem "
4683 "Benutzernamensraum des Zielprozesses."
4684
4685 #. type: Plain text
4686 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4687 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4688 msgid ""
4689 "Note that the commoncap LSM does not distinguish between B<PTRACE_MODE_READ> "
4690 "and B<PTRACE_MODE_ATTACH>."
4691 msgstr ""
4692 "Beachten Sie, dass das LSM Commoncap nicht zwischen B<PTRACE_MODE_READ> und "
4693 "B<PTRACE_MODE_ATTACH> unterscheidet."
4694
4695 #. type: IP
4696 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4697 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4698 #, no-wrap
4699 msgid "(6)"
4700 msgstr "(6)"
4701
4702 #
4703 #. """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
4704 #. type: Plain text
4705 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4706 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4707 msgid ""
4708 "If access has not been denied by any of the preceding steps, then access is "
4709 "allowed."
4710 msgstr ""
4711 "Falls der Zugriff in den vorhergehenden Schritten nicht verweigert wurde, "
4712 "dann wird er erlaubt."
4713
4714 #. type: SS
4715 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4716 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4717 #, no-wrap
4718 msgid "/proc/sys/kernel/yama/ptrace_scope"
4719 msgstr "/proc/sys/kernel/yama/ptrace_scope"
4720
4721 #. commit 2d514487faf188938a4ee4fb3464eeecfbdcf8eb
4722 #. type: Plain text
4723 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4724 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4725 msgid ""
4726 "On systems with the Yama Linux Security Module (LSM) installed (i.e., the "
4727 "kernel was configured with B<CONFIG_SECURITY_YAMA>), the I</proc/sys/kernel/"
4728 "yama/ptrace_scope> file (available since Linux 3.4) can be used to restrict "
4729 "the ability to trace a process with B<ptrace>() (and thus also the ability "
4730 "to use tools such as B<strace>(1) and B<gdb>(1)). The goal of such "
4731 "restrictions is to prevent attack escalation whereby a compromised process "
4732 "can ptrace-attach to other sensitive processes (e.g., a GPG agent or an SSH "
4733 "session) owned by the user in order to gain additional credentials that may "
4734 "exist in memory and thus expand the scope of the attack."
4735 msgstr ""
4736 "Auf Systemen, auf denen das Yama Linux Security Module (LSM) installiert "
4737 "(d.h. der Kernel mit B<CONFIG_SECURITY_YAMA> konfiguriert worden) ist, kann "
4738 "die Datei I</proc/sys/kernel/yama/ptrace_scope> (verfügbar seit Linux 3.4) "
4739 "zum Einschränken der Nachverfolgung von Prozessen mit B<ptrace>() verwandt "
4740 "werden (und damit auch die Möglichkeit, Werkzeuge wie B<strace>(1) und "
4741 "B<gdb>(1) zu verwenden). Das Ziel einer solchen Einschränkung besteht darin, "
4742 "Angriffseskalationen zu vermeiden, bei denen ein kompromittierter Prozess "
4743 "sich mittels Ptrace-attach an andere sensitive Prozesse (z.B. einem GPG-"
4744 "Agenten oder einer SSH-Sitzung), die dem Benutzer gehören, anhängen könnte, "
4745 "um zusätzliche Berechtigungsnachweise zu erlangen, die im Speicher "
4746 "existieren, und damit den Umfang des Angriffs zu erhöhen."
4747
4748 #. type: Plain text
4749 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4750 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4751 msgid "More precisely, the Yama LSM limits two types of operations:"
4752 msgstr "Genauer gesagt begrenzt die Yama LSM zwei Arten von Aktionen:"
4753
4754 #. type: Plain text
4755 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4756 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4757 msgid ""
4758 "Any operation that performs a ptrace access mode B<PTRACE_MODE_ATTACH> "
4759 "check\\[em]for example, B<ptrace>() B<PTRACE_ATTACH>. (See the \"Ptrace "
4760 "access mode checking\" discussion above.)"
4761 msgstr ""
4762 "Jede Aktion, die eine Ptrace-Zugriffsmodusprüfung B<PTRACE_MODE_ATTACH> "
4763 "durchführt – beispielsweise B<ptrace>() B<PTRACE_ATTACH>. (Siehe die obige "
4764 "Diskussion »Ptrace-Zugriffsmodusüberprüfung«)."
4765
4766 #. type: Plain text
4767 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4768 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4769 msgid "B<ptrace>() B<PTRACE_TRACEME>."
4770 msgstr "B<ptrace>() B<PTRACE_TRACEME>."
4771
4772 #. type: Plain text
4773 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4774 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4775 msgid ""
4776 "A process that has the B<CAP_SYS_PTRACE> capability can update the I</proc/"
4777 "sys/kernel/yama/ptrace_scope> file with one of the following values:"
4778 msgstr ""
4779 "Ein Prozess, der über die Capability B<CAP_SYS_PTRACE> verfügt, kann die "
4780 "Datei I</proc/sys/kernel/yama/ptrace_scope> mit einem der folgenden Werte "
4781 "aktualisieren:"
4782
4783 #. type: TP
4784 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4785 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4786 #, no-wrap
4787 msgid "0 (\"classic ptrace permissions\")"
4788 msgstr "0 (»klassische Ptrace-Berechtigungen«)"
4789
4790 #. type: Plain text
4791 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4792 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4793 msgid ""
4794 "No additional restrictions on operations that perform B<PTRACE_MODE_ATTACH> "
4795 "checks (beyond those imposed by the commoncap and other LSMs)."
4796 msgstr ""
4797 "Keine zusätzlichen Beschränkungen bei Aktionen, die B<PTRACE_MODE_ATTACH>-"
4798 "Überprüfungen durchführen (die über die von Commoncap und anderen LSMs "
4799 "hinausgehen)."
4800
4801 #. type: Plain text
4802 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4803 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4804 msgid "The use of B<PTRACE_TRACEME> is unchanged."
4805 msgstr "B<PTRACE_TRACEME> wird unverändert verwandt."
4806
4807 #. type: TP
4808 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4809 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4810 #, no-wrap
4811 msgid "1 (\"restricted ptrace\") [default value]"
4812 msgstr "1 (»eingeschränkter Ptrace«) [Vorgabewert]"
4813
4814 #. type: Plain text
4815 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4816 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4817 msgid ""
4818 "When performing an operation that requires a B<PTRACE_MODE_ATTACH> check, "
4819 "the calling process must either have the B<CAP_SYS_PTRACE> capability in the "
4820 "user namespace of the target process or it must have a predefined "
4821 "relationship with the target process. By default, the predefined "
4822 "relationship is that the target process must be a descendant of the caller."
4823 msgstr ""
4824 "Wenn eine Aktion durchgeführt wird, die eine B<PTRACE_MODE_ATTACH>-"
4825 "Überprüfung benötigt, muss der aufrufende Prozess entweder über die "
4826 "Capability B<CAP_SYS_PTRACE> in dem Benutzernamensraum des Zielprozesses "
4827 "verfügen oder er muss eine vorbestimmte Beziehung zum Zielprozess haben. "
4828 "Standardmäßig ist die vorbestimmte Beziehung, dass der Zielprozess ein "
4829 "Nachkomme des Aufrufenden sein muss."
4830
4831 #. type: Plain text
4832 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
4833 #: opensuse-tumbleweed
4834 msgid ""
4835 "A target process can employ the B<prctl>(2) B<PR_SET_PTRACER> operation to "
4836 "declare an additional PID that is allowed to perform B<PTRACE_MODE_ATTACH> "
4837 "operations on the target. See the kernel source file I<Documentation/admin-"
4838 "guide/LSM/Yama.rst> for further details."
4839 msgstr ""
4840 "Ein Zielprozess kann die B<prctl>(2)-Aktion B<PR_SET_PTRACER> einsetzen, um "
4841 "eine zusätzliche PID zu erklären, der es erlaubt ist, B<PTRACE_MODE_ATTACH>-"
4842 "Aktionen auf dem Ziel durchzuführen. Siehe die Kernelquelldatei "
4843 "I<Documentation/admin-guide/LSM/Yama.rst> für weitere Details."
4844
4845 #. type: TP
4846 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4847 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4848 #, no-wrap
4849 msgid "2 (\"admin-only attach\")"
4850 msgstr "2 (»nur Admin-Anhängung«)"
4851
4852 #. type: Plain text
4853 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4854 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4855 msgid ""
4856 "Only processes with the B<CAP_SYS_PTRACE> capability in the user namespace "
4857 "of the target process may perform B<PTRACE_MODE_ATTACH> operations or trace "
4858 "children that employ B<PTRACE_TRACEME>."
4859 msgstr ""
4860 "Nur Prozesse mit der Capability B<CAP_SYS_PTRACE> im Benutzernamensraum des "
4861 "Zielprozesses dürfen B<PTRACE_MODE_ATTACH>-Aktionen durchführen oder Kinder, "
4862 "die B<PTRACE_TRACEME> einsetzen, verfolgen."
4863
4864 #. type: TP
4865 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4866 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4867 #, no-wrap
4868 msgid "3 (\"no attach\")"
4869 msgstr "3 (»keine Anhängung«)"
4870
4871 #. type: Plain text
4872 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4873 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4874 msgid ""
4875 "No process may perform B<PTRACE_MODE_ATTACH> operations or trace children "
4876 "that employ B<PTRACE_TRACEME>."
4877 msgstr ""
4878 "Kein Prozess darf B<PTRACE_MODE_ATTACH>-Aktionen durchführen oder "
4879 "Kindprozesse verfolgen, die B<PTRACE_TRACEME> einsetzen."
4880
4881 #. type: Plain text
4882 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4883 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4884 msgid "Once this value has been written to the file, it cannot be changed."
4885 msgstr ""
4886 "Sobald dieser Wert in die Datei geschrieben wurde, kann er nicht mehr "
4887 "geändert werden."
4888
4889 #
4890 #. """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
4891 #. type: Plain text
4892 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4893 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4894 msgid ""
4895 "With respect to values 1 and 2, note that creating a new user namespace "
4896 "effectively removes the protection offered by Yama. This is because a "
4897 "process in the parent user namespace whose effective UID matches the UID of "
4898 "the creator of a child namespace has all capabilities (including "
4899 "B<CAP_SYS_PTRACE>) when performing operations within the child user "
4900 "namespace (and further-removed descendants of that namespace). "
4901 "Consequently, when a process tries to use user namespaces to sandbox itself, "
4902 "it inadvertently weakens the protections offered by the Yama LSM."
4903 msgstr ""
4904 "Beachten Sie im Hinblick auf die Werte 1 und 2, dass die Erstellung eines "
4905 "neuen Benutzernamensraums effektiv den durch Yama bereitgestellten Schutz "
4906 "entfernt. Dies rührt daher, dass der Prozess in dem Elternbenutzerraum, "
4907 "dessen effektive UID auf die UID des Erstellers des Kindnamensraums passt, "
4908 "über alle Capabilitys (einschließlich B<CAP_SYS_PTRACE>) verfügt, wenn er "
4909 "Aktionen innerhalb des Kindnamensraums (und weiter entfernter Nachkommen "
4910 "dieses Namensraums) durchführt. Wenn ein Prozess versucht, einen "
4911 "Benutzernamensraum zu verwenden, um sich in eine Sandbox zu bringen, wird er "
4912 "konsequenterweise den durch das Yama LSM bereitgestellten Schutz schwächen."
4913
4914 #. type: SS
4915 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4916 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4917 #, no-wrap
4918 msgid "C library/kernel differences"
4919 msgstr "Unterschiede C-Bibliothek/Kernel"
4920
4921 #. type: Plain text
4922 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4923 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4924 msgid ""
4925 "At the system call level, the B<PTRACE_PEEKTEXT>, B<PTRACE_PEEKDATA>, and "
4926 "B<PTRACE_PEEKUSER> operations have a different API: they store the result at "
4927 "the address specified by the I<data> parameter, and the return value is the "
4928 "error flag. The glibc wrapper function provides the API given in "
4929 "DESCRIPTION above, with the result being returned via the function return "
4930 "value."
4931 msgstr ""
4932 "Auf der Systemaufrufebene haben die Aktionen B<PTRACE_PEEKTEXT>, "
4933 "B<PTRACE_PEEKDATA> und B<PTRACE_PEEKUSER> eine unterschiedliche "
4934 "Programmierschnittstelle: Sie speichern das Ergebnis an der durch den "
4935 "Parameter I<Daten> angegebenen Adresse und der Rückgabewert ist ein "
4936 "Fehlercode. Die Glibc-Wrapper-Funktion stellt die oben in BESCHREIBUNG "
4937 "angegebene Programmierschnittstelle bereit. Ihr Ergebnis wird über den "
4938 "Rückgabewert der Funktion zurückgegeben."
4939
4940 #. type: SH
4941 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4942 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4943 #, no-wrap
4944 msgid "BUGS"
4945 msgstr "FEHLER"
4946
4947 #. type: Plain text
4948 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4949 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4950 msgid ""
4951 "On hosts with Linux 2.6 kernel headers, B<PTRACE_SETOPTIONS> is declared "
4952 "with a different value than the one for Linux 2.4. This leads to "
4953 "applications compiled with Linux 2.6 kernel headers failing when run on "
4954 "Linux 2.4. This can be worked around by redefining B<PTRACE_SETOPTIONS> to "
4955 "B<PTRACE_OLDSETOPTIONS>, if that is defined."
4956 msgstr ""
4957 "Auf Rechnern mit 2.6 Linux-Headern ist B<PTRACE_SETOPTIONS> mit einem "
4958 "anderen Wert deklariert, als auf einem für 2.4. Dies führt dazu, dass "
4959 "Anwendungen, die mit 2.6-Linux-Headern kompiliert wurden, bei der Ausführung "
4960 "auf 2.4er Kerneln scheitern. Dies kann durch Neudefinieren von "
4961 "B<PTRACE_SETOPTIONS> zu B<PTRACE_OLDSETOPTIONS> umgangen werden, wenn dies "
4962 "definiert ist."
4963
4964 #. type: Plain text
4965 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4966 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4967 msgid ""
4968 "Group-stop notifications are sent to the tracer, but not to real parent. "
4969 "Last confirmed on 2.6.38.6."
4970 msgstr ""
4971 "Gruppenstoppbenachrichtigungen werden an der Verfolger gesandt, aber nicht "
4972 "an den echten Elternprozess. Zuletzt auf 2.6.38.6 bestätigt."
4973
4974 #. #-#-#-#-# archlinux: ptrace.2.pot (PACKAGE VERSION) #-#-#-#-#
4975 #. Note from Denys Vlasenko:
4976 #. Here "exits" means any kind of death - _exit, exit_group,
4977 #. signal death. Signal death and exit_group cases are trivial,
4978 #. though: since signal death and exit_group kill all other threads
4979 #. too, "until all other threads exit" thing happens rather soon
4980 #. in these cases. Therefore, only _exit presents observably
4981 #. puzzling behavior to ptrace users: thread leader _exit's,
4982 #. but WIFEXITED isn't reported! We are trying to explain here
4983 #. why it is so.
4984 #. FIXME . need to test/verify this scenario
4985 #. type: Plain text
4986 #. #-#-#-#-# debian-trixie: ptrace.2.pot (PACKAGE VERSION) #-#-#-#-#
4987 #. Note from Denys Vlasenko:
4988 #. Here "exits" means any kind of death - _exit, exit_group,
4989 #. signal death. Signal death and exit_group cases are trivial,
4990 #. though: since signal death and exit_group kill all other threads
4991 #. too, "until all other threads exit" thing happens rather soon
4992 #. in these cases. Therefore, only _exit presents observably
4993 #. puzzling behavior to ptrace users: thread leader _exit's,
4994 #. but WIFEXITED isn't reported! We are trying to explain here
4995 #. why it is so.
4996 #. FIXME . need to test/verify this scenario
4997 #. type: Plain text
4998 #. #-#-#-#-# debian-unstable: ptrace.2.pot (PACKAGE VERSION) #-#-#-#-#
4999 #. Note from Denys Vlasenko:
5000 #. Here "exits" means any kind of death - _exit, exit_group,
5001 #. signal death. Signal death and exit_group cases are trivial,
5002 #. though: since signal death and exit_group kill all other threads
5003 #. too, "until all other threads exit" thing happens rather soon
5004 #. in these cases. Therefore, only _exit presents observably
5005 #. puzzling behavior to ptrace users: thread leader _exit's,
5006 #. but WIFEXITED isn't reported! We are trying to explain here
5007 #. why it is so.
5008 #. FIXME . need to test/verify this scenario
5009 #. type: Plain text
5010 #. #-#-#-#-# fedora-44: ptrace.2.pot (PACKAGE VERSION) #-#-#-#-#
5011 #. Note from Denys Vlasenko:
5012 #. Here "exits" means any kind of death - _exit, exit_group,
5013 #. signal death. Signal death and exit_group cases are trivial,
5014 #. though: since signal death and exit_group kill all other threads
5015 #. too, "until all other threads exit" thing happens rather soon
5016 #. in these cases. Therefore, only _exit presents observably
5017 #. puzzling behavior to ptrace users: thread leader _exit's,
5018 #. but WIFEXITED isn't reported! We are trying to explain here
5019 #. why it is so.
5020 #. FIXME . need to test/verify this scenario
5021 #. type: Plain text
5022 #. #-#-#-#-# fedora-rawhide: ptrace.2.pot (PACKAGE VERSION) #-#-#-#-#
5023 #. Note from Denys Vlasenko:
5024 #. Here "exits" means any kind of death - _exit, exit_group,
5025 #. signal death. Signal death and exit_group cases are trivial,
5026 #. though: since signal death and exit_group kill all other threads
5027 #. too, "until all other threads exit" thing happens rather soon
5028 #. in these cases. Therefore, only _exit presents observably
5029 #. puzzling behavior to ptrace users: thread leader _exit's,
5030 #. but WIFEXITED isn't reported! We are trying to explain here
5031 #. why it is so.
5032 #. FIXME . need to test/verify this scenario
5033 #. type: Plain text
5034 #. #-#-#-#-# mageia-cauldron: ptrace.2.pot (PACKAGE VERSION) #-#-#-#-#
5035 #. Note from Denys Vlasenko:
5036 #. Here "exits" means any kind of death - _exit, exit_group,
5037 #. signal death. Signal death and exit_group cases are trivial,
5038 #. though: since signal death and exit_group kill all other threads
5039 #. too, "until all other threads exit" thing happens rather soon
5040 #. in these cases. Therefore, only _exit presents observably
5041 #. puzzling behavior to ptrace users: thread leader _exit's,
5042 #. but WIFEXITED isn't reported! We are trying to explain here
5043 #. why it is so.
5044 #. FIXME . need to test/verify this scenario
5045 #. type: Plain text
5046 #. #-#-#-#-# opensuse-leap-16-1: ptrace.2.pot (PACKAGE VERSION) #-#-#-#-#
5047 #. Note from Denys Vlasenko:
5048 #. Here "exits" means any kind of death - _exit, exit_group,
5049 #. signal death. Signal death and exit_group cases are trivial,
5050 #. though: since signal death and exit_group kill all other threads
5051 #. too, "until all other threads exit" thing happens rather soon
5052 #. in these cases. Therefore, only _exit presents observably
5053 #. puzzling behavior to ptrace users: thread leader _exit's,
5054 #. but WIFEXITED isn't reported! We are trying to explain here
5055 #. why it is so.
5056 #. FIXME . need to test/verify this scenario
5057 #. type: Plain text
5058 #. #-#-#-#-# opensuse-tumbleweed: ptrace.2.pot (PACKAGE VERSION) #-#-#-#-#
5059 #. Note from Denys Vlasenko:
5060 #. Here "exits" means any kind of death - _exit, exit_group,
5061 #. signal death. Signal death and exit_group cases are trivial,
5062 #. though: since signal death and exit_group kill all other threads
5063 #. too, "until all other threads exit" thing happens rather soon
5064 #. in these cases. Therefore, only _exit presents observably
5065 #. puzzling behavior to ptrace users: thread leader _exit's,
5066 #. but WIFEXITED isn't reported! We are trying to explain here
5067 #. why it is so.
5068 #. FIXME . need to test/verify this scenario
5069 #. type: Plain text
5070 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5071 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
5072 msgid ""
5073 "If a thread group leader is traced and exits by calling B<_exit>(2), a "
5074 "B<PTRACE_EVENT_EXIT> stop will happen for it (if requested), but the "
5075 "subsequent B<WIFEXITED> notification will not be delivered until all other "
5076 "threads exit. As explained above, if one of other threads calls "
5077 "B<execve>(2), the death of the thread group leader will I<never> be "
5078 "reported. If the execed thread is not traced by this tracer, the tracer "
5079 "will never know that B<execve>(2) happened. One possible workaround is to "
5080 "B<PTRACE_DETACH> the thread group leader instead of restarting it in this "
5081 "case. Last confirmed on 2.6.38.6."
5082 msgstr ""
5083 "Falls ein führender Thread einer Gruppe verfolgt und durch den Aufruf von "
5084 "B<_exit>(2) beendet wird, wird es für ihn zu einem B<PTRACE_EVENT_EXIT>-"
5085 "Stopp kommen (falls angefordert), aber die nachfolgende B<WIFEXITED>-"
5086 "Benachrichtigung wird nicht gesandt, bis alle anderen Threads beendet sind. "
5087 "Wie oben erklärt, wird der Tod des führenden Prozesses der Gruppe gemeldet, "
5088 "falls einer der anderen Threads B<execve>(2) aufruft. Falls der ausgeführte "
5089 "Thread nicht durch den Verfolger verfolgt wird, wird der Verfolger niemals "
5090 "erfahren, dass B<execve>(2) auftrat. Eine mögliche Notlösung ist ein "
5091 "B<PTRACE_DETACH> für den führenden Thread der Gruppe, anstatt ihn in diesem "
5092 "Fall neu zu starten. Zuletzt auf 2.6.38.6 bestätigt."
5093
5094 #. type: Plain text
5095 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5096 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
5097 msgid ""
5098 "A B<SIGKILL> signal may still cause a B<PTRACE_EVENT_EXIT> stop before "
5099 "actual signal death. This may be changed in the future; B<SIGKILL> is meant "
5100 "to always immediately kill tasks even under ptrace. Last confirmed on Linux "
5101 "3.13."
5102 msgstr ""
5103 "Ein B<SIGKILL>-Signal kann immer noch einen B<PTRACE_EVENT_EXIT>-Stopp vor "
5104 "dem tatsächlichen Signaltod verursachen. Dies könnte in Zukunft geändert "
5105 "werden; B<SIGKILL> ist dazu gedacht, Aufgaben immer sofort zu killen, sogar "
5106 "unter Ptrace. Zuletzt auf Linux 3.13 bestätigt."
5107
5108 #. type: Plain text
5109 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5110 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
5111 msgid ""
5112 "Some system calls return with B<EINTR> if a signal was sent to a tracee, but "
5113 "delivery was suppressed by the tracer. (This is very typical operation: it "
5114 "is usually done by debuggers on every attach, in order to not introduce a "
5115 "bogus B<SIGSTOP>). As of Linux 3.2.9, the following system calls are "
5116 "affected (this list is likely incomplete): B<epoll_wait>(2), and B<read>(2) "
5117 "from an B<inotify>(7) file descriptor. The usual symptom of this bug is "
5118 "that when you attach to a quiescent process with the command"
5119 msgstr ""
5120 "Einige Systemaufrufe kehren mit B<EINTR> zurück, falls ein Signal an den "
5121 "verfolgten Prozess gesandt, die Auslieferung aber durch den Verfolger "
5122 "unterdrückt wurde. (Dies ist eine ganz typische Aktion: Sie wird "
5123 "normalerweise von Fehlersuchprogrammen bei jedem Anhängen durchgeführt, um "
5124 "kein fingiertes B<SIGSTOP> einzuleiten.) Ab Linux 3.2.9 werden die folgenden "
5125 "Systemaufrufe beeinflusst (diese Liste ist wahrscheinlich nicht "
5126 "vollständig): B<epoll_wait>(2) und B<read>(2) von einem B<inotify>(7)-"
5127 "Dateideskriptor. Das übliche Anzeichen für diesen Fehler ist, falls Sie "
5128 "einen ruhenden Prozess mit dem Befehl"
5129
5130 #. type: Plain text
5131 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5132 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
5133 #, no-wrap
5134 msgid "strace -p E<lt>process-IDE<gt>\n"
5135 msgstr "strace -p E<lt>ProzesskennungE<gt>\n"
5136
5137 #. type: Plain text
5138 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5139 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
5140 msgid "then, instead of the usual and expected one-line output such as"
5141 msgstr "anhängen, dass Sie statt der erwarteten einzeiligen Ausgabe, wie"
5142
5143 #. type: Plain text
5144 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
5145 #: opensuse-tumbleweed
5146 #, no-wrap
5147 msgid "restart_syscall(E<lt>...\\& resuming interrupted call ...E<gt>_\n"
5148 msgstr "restart_syscall(E<lt>…\\& resuming interrupted call …E<gt>_\n"
5149
5150 #. type: Plain text
5151 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5152 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
5153 #, no-wrap
5154 msgid "select(6, [5], NULL, [5], NULL_\n"
5155 msgstr "select(6, [5], NULL, [5], NULL_\n"
5156
5157 #. type: Plain text
5158 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5159 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
5160 msgid ""
5161 "('_' denotes the cursor position), you observe more than one line. For "
5162 "example:"
5163 msgstr ""
5164 "('_' kennzeichnet die Cursor-Position) mehr als eine Zeile beobachten "
5165 "können, zum Beispiel:"
5166
5167 #. type: Plain text
5168 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5169 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
5170 #, no-wrap
5171 msgid ""
5172 " clock_gettime(CLOCK_MONOTONIC, {15370, 690928118}) = 0\n"
5173 " epoll_wait(4,_\n"
5174 msgstr ""
5175 " clock_gettime(CLOCK_MONOTONIC, {15370, 690928118}) = 0\n"
5176 " epoll_wait(4,_\n"
5177
5178 # http://de.wikipedia.org/wiki/Mode-Setting#Mode-Setting_im_User-Space
5179 #. type: Plain text
5180 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5181 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
5182 msgid ""
5183 "What is not visible here is that the process was blocked in "
5184 "B<epoll_wait>(2) before B<strace>(1) has attached to it. Attaching caused "
5185 "B<epoll_wait>(2) to return to user space with the error B<EINTR>. In this "
5186 "particular case, the program reacted to B<EINTR> by checking the current "
5187 "time, and then executing B<epoll_wait>(2) again. (Programs which do not "
5188 "expect such \"stray\" B<EINTR> errors may behave in an unintended way upon "
5189 "an B<strace>(1) attach.)"
5190 msgstr ""
5191 "Was hier nicht sichtbar ist, ist, dass der Prozess in B<epoll_wait>(2) "
5192 "blockiert wurde, bevor B<strace>(1) an ihn angehängt hat. Das Anhängen "
5193 "verursachte ein B<epoll_wait>(2), um zum Anwendungsraum mit dem Fehler "
5194 "B<EINTR> zurückzukehren. In diesem besonderen Fall reagiert das Programm auf "
5195 "B<EINTR>, indem die aktuelle Zeit geprüft und dann B<epoll_wait>(2) erneut "
5196 "ausgeführt wird. (Programme, die keine derartigen »verirrten« B<EINTR>-"
5197 "Fehler erwarten, können sich bei einem B<strace>(1)-Anhängen in "
5198 "unbeabsichtigter Weise verhalten.)"
5199
5200 #. type: Plain text
5201 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5202 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
5203 msgid ""
5204 "Contrary to the normal rules, the glibc wrapper for B<ptrace>() can set "
5205 "I<errno> to zero."
5206 msgstr ""
5207 "Entgegen den normalen Regeln kann der Glibc-Wrapper für B<ptrace>() I<errno> "
5208 "auf Null setzen."
5209
5210 #. type: SH
5211 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5212 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
5213 #, no-wrap
5214 msgid "SEE ALSO"
5215 msgstr "SIEHE AUCH"
5216
5217 #. type: Plain text
5218 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5219 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
5220 msgid ""
5221 "B<gdb>(1), B<ltrace>(1), B<strace>(1), B<clone>(2), B<execve>(2), "
5222 "B<fork>(2), B<gettid>(2), B<prctl>(2), B<seccomp>(2), B<sigaction>(2), "
5223 "B<tgkill>(2), B<vfork>(2), B<waitpid>(2), B<exec>(3), B<capabilities>(7), "
5224 "B<signal>(7)"
5225 msgstr ""
5226 "B<gdb>(1), B<ltrace>(1), B<strace>(1), B<clone>(2), B<execve>(2), "
5227 "B<fork>(2), B<gettid>(2), B<prctl>(2), B<seccomp>(2), B<sigaction>(2), "
5228 "B<tgkill>(2), B<vfork>(2), B<waitpid>(2), B<exec>(3), B<capabilities>(7), "
5229 "B<signal>(7)"
5230
5231 #. type: TH
5232 #: debian-trixie
5233 #, no-wrap
5234 msgid "2024-05-02"
5235 msgstr "2. Mai 2024"
5236
5237 #. type: TH
5238 #: debian-trixie
5239 #, no-wrap
5240 msgid "Linux man-pages 6.9.1"
5241 msgstr "Linux man-pages 6.9.1"
5242
5243 #. type: Plain text
5244 #: debian-trixie
5245 msgid "Standard C library (I<libc>, I<-lc>)"
5246 msgstr "Standard-C-Bibliothek (I<libc>, I<-lc>)"
5247
5248 #. type: Plain text
5249 #: debian-trixie
5250 msgid ""
5251 "Read the tracee's registers. I<addr> specifies, in an architecture-"
5252 "dependent way, the type of registers to be read. B<NT_PRSTATUS> (with "
5253 "numerical value 1) usually results in reading of general-purpose "
5254 "registers. If the CPU has, for example, floating-point and/or vector "
5255 "registers, they can be retrieved by setting I<addr> to the corresponding "
5256 "B<NT_foo> constant. I<data> points to a B<struct iovec>, which describes "
5257 "the destination buffer's location and length. On return, the kernel "
5258 "modifies B<iov.len> to indicate the actual number of bytes returned."
5259 msgstr ""
5260 "liest die Register des verfolgten Prozesses. I<Adresse> gibt auf eine von "
5261 "der Architektur unabhängige Weise den Typ des Registers an, das gelesen "
5262 "werden soll. B<NT_PRSTATUS> (mit numerischem Wert 1) führt normalerweise "
5263 "dazu, dass Allzweckregister gelesen werden. Falls die CPU zum Beispiel "
5264 "Fließkomma- und/oder Vektorregister hat, können sie durch Setzen von "
5265 "I<Adresse> auf die entsprechende Konstante B<NT_foo> ermittelt werden. "
5266 "I<Daten> zeigt auf einen B<struct iovec>, der den Speicherort und die Länge "
5267 "des Zielpuffers beschreibt. Bei der Rückkehr ändert der Kernel B<iov.len>, "
5268 "um die tatsächliche Anzahl zurückgegebener Byte anzuzeigen."
5269
5270 #. type: Plain text
5271 #: debian-trixie fedora-44 fedora-rawhide
5272 #, no-wrap
5273 msgid ""
5274 "struct ptrace_syscall_info {\n"
5275 " __u8 op; /* Type of system call stop */\n"
5276 " __u32 arch; /* AUDIT_ARCH_* value; see seccomp(2) */\n"
5277 " __u64 instruction_pointer; /* CPU instruction pointer */\n"
5278 " __u64 stack_pointer; /* CPU stack pointer */\n"
5279 " union {\n"
5280 " struct { /* op == PTRACE_SYSCALL_INFO_ENTRY */\n"
5281 " __u64 nr; /* System call number */\n"
5282 " __u64 args[6]; /* System call arguments */\n"
5283 " } entry;\n"
5284 " struct { /* op == PTRACE_SYSCALL_INFO_EXIT */\n"
5285 " __s64 rval; /* System call return value */\n"
5286 " __u8 is_error; /* System call error flag;\n"
5287 " Boolean: does rval contain\n"
5288 " an error value (-ERRCODE) or\n"
5289 " a nonerror return value? */\n"
5290 " } exit;\n"
5291 " struct { /* op == PTRACE_SYSCALL_INFO_SECCOMP */\n"
5292 " __u64 nr; /* System call number */\n"
5293 " __u64 args[6]; /* System call arguments */\n"
5294 " __u32 ret_data; /* SECCOMP_RET_DATA portion\n"
5295 " of SECCOMP_RET_TRACE\n"
5296 " return value */\n"
5297 " } seccomp;\n"
5298 " };\n"
5299 "};\n"
5300 msgstr ""
5301 "struct ptrace_syscall_info {\n"
5302 " __u8 op; /* Typ des Systemaufruf-Stopps */\n"
5303 " __u32 arch; /* AUDIT_ARCH_*-Wert; siehe seccomp(2) */\n"
5304 " __u64 instruction_pointer; /* CPU-Anweisungszeiger */\n"
5305 " __u64 stack_pointer; /* CPU-Stack-Zeiger */\n"
5306 " union {\n"
5307 " struct { /* op == PTRACE_SYSCALL_INFO_ENTRY */\n"
5308 " __u64 nr; /* Systemaufrufnummer */\n"
5309 " __u64 args[6]; /* Systemaufrufargumente */\n"
5310 " } entry;\n"
5311 " struct { /* op == PTRACE_SYSCALL_INFO_EXIT */\n"
5312 " __s64 rval; /* Systemaufruf-Rückgabewert */\n"
5313 " __u8 is_error; /* Systemaufruf-Fehlerschalter;\n"
5314 " logisch: enthält rval einen\n"
5315 " Fehlerwert (-ERRCODE) oder\n"
5316 " einen nichtfehler-Rückgabewert? */\n"
5317 " } exit;\n"
5318 " struct { /* op == PTRACE_SYSCALL_INFO_SECCOMP */\n"
5319 " __u64 nr; /* Systemaufrufnummer */\n"
5320 " __u64 args[6]; /* Systemaufrufargumente */\n"
5321 " __u32 ret_data; /* SECCOMP_RET_DATA-Anteil\n"
5322 " vom SECCOMP_RET_TRACE-\n"
5323 " Rückgabewert */\n"
5324 " } seccomp;\n"
5325 " };\n"
5326 "};\n"
5327
5328 #. type: Plain text
5329 #: debian-trixie fedora-44 fedora-rawhide
5330 #, no-wrap
5331 msgid ""
5332 "*** we get syscall-enter-stop in thread 1: **\n"
5333 "PID1 execve(\"/bin/foo\", \"foo\" E<lt>unfinished ...E<gt>\n"
5334 "*** we issue PTRACE_SYSCALL for thread 1 **\n"
5335 "*** we get syscall-enter-stop in thread 2: **\n"
5336 "PID2 execve(\"/bin/bar\", \"bar\" E<lt>unfinished ...E<gt>\n"
5337 "*** we issue PTRACE_SYSCALL for thread 2 **\n"
5338 "*** we get PTRACE_EVENT_EXEC for PID0, we issue PTRACE_SYSCALL **\n"
5339 "*** we get syscall-exit-stop for PID0: **\n"
5340 "PID0 E<lt>... execve resumedE<gt> ) = 0\n"
5341 msgstr ""
5342 "*** wir bekommen einen Systemaufrufeintrittsstopp in Thread 1: **\n"
5343 "PID1 execve(\"/bin/foo\", \"foo\" E<lt>nicht abgeschlossen …E<gt>\n"
5344 "*** wir liefern PTRACE_SYSCALL für Thread 1 **\n"
5345 "*** wir bekommen einen Systemaufrufeintrittsstopp in Thread 2: **\n"
5346 "PID2 execve(\"/bin/bar\", \"bar\" E<lt>nicht abgeschlossen …E<gt>\n"
5347 "*** wir liefern PTRACE_SYSCALL für Thread 2 **\n"
5348 "*** wir bekommen PTRACE_EVENT_EXEC für PID0, wir liefern PTRACE_SYSCALL **\n"
5349 "*** wir bekommen Systemaufrufbeendigungsstopp für PID0: **\n"
5350 "PID0 E<lt>… execve wieder aufgenommenE<gt> ) = 0\n"
5351
5352 #. commit 90bb766440f2147486a2acc3e793d7b8348b0c22
5353 #. type: Plain text
5354 #: debian-trixie fedora-44 fedora-rawhide
5355 msgid ""
5356 "A target process can employ the B<prctl>(2) B<PR_SET_PTRACER> operation to "
5357 "declare an additional PID that is allowed to perform B<PTRACE_MODE_ATTACH> "
5358 "operations on the target. See the kernel source file I<Documentation/admin-"
5359 "guide/LSM/Yama.rst> (or I<Documentation/security/Yama.txt> before Linux "
5360 "4.13) for further details."
5361 msgstr ""
5362 "Ein Zielprozess kann die B<prctl>(2)-Aktion B<PR_SET_PTRACER> einsetzen, um "
5363 "eine zusätzliche PID zu erklären, der es erlaubt ist, B<PTRACE_MODE_ATTACH>-"
5364 "Aktionen auf dem Ziel durchzuführen. Siehe die Kernelquelldatei "
5365 "I<Documentation/admin-guide/LSM/Yama.rst> (oder I<Documentation/security/"
5366 "Yama.txt> vor Linux 4.13) für weitere Details."
5367
5368 #. type: Plain text
5369 #: debian-trixie fedora-44 fedora-rawhide
5370 #, no-wrap
5371 msgid "restart_syscall(E<lt>... resuming interrupted call ...E<gt>_\n"
5372 msgstr "restart_syscall(E<lt>… resuming interrupted call …E<gt>_\n"
5373
5374 #. type: TH
5375 #: fedora-44 fedora-rawhide
5376 #, no-wrap
5377 msgid "2024-11-17"
5378 msgstr "17. November 2024"
5379
5380 #. type: TH
5381 #: fedora-44 fedora-rawhide
5382 #, no-wrap
5383 msgid "Linux man-pages 6.13"
5384 msgstr "Linux man-pages 6.13"
5385
5386 #. type: TH
5387 #: mageia-cauldron
5388 #, no-wrap
5389 msgid "Linux man-pages 6.17"
5390 msgstr "Linux man-pages 6.17"
5391
5392 #. type: TH
5393 #: opensuse-leap-16-1 opensuse-tumbleweed
5394 #, no-wrap
5395 msgid "Linux man-pages (unreleased)"
5396 msgstr "Linux man-pages (unveröffentlicht)"