ptrace.2: ffix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2019-09-12 09:21:47 +02:00
parent 1c0955b15a
commit 93c37f08be
1 changed files with 23 additions and 23 deletions

View File

@ -1031,36 +1031,36 @@ The
.I ptrace_syscall_info .I ptrace_syscall_info
structure contains the following fields: structure contains the following fields:
.IP .IP
.in .in +4n
.EX .EX
struct ptrace_syscall_info { struct ptrace_syscall_info {
__u8 op; /* PTRACE_SYSCALL_INFO_* value __u8 op; /* PTRACE_SYSCALL_INFO_* value
describing the kind describing the kind
of system call stop, of system call stop,
see <linux/ptrace.h> */ see <linux/ptrace.h> */
__u32 arch; /* AUDIT_ARCH_* value, __u32 arch; /* AUDIT_ARCH_* value,
see seccomp(2) */ see seccomp(2) */
__u64 instruction_pointer; /* CPU instruction pointer */ __u64 instruction_pointer; /* CPU instruction pointer */
__u64 stack_pointer; /* CPU stack pointer */ __u64 stack_pointer; /* CPU stack pointer */
union { union {
struct { struct {
__u64 nr; /* System call number */ __u64 nr; /* System call number */
__u64 args[6]; /* System call arguments */ __u64 args[6]; /* System call arguments */
} entry; /* Information specific to } entry; /* Information specific to
system call entry stops */ system call entry stops */
struct { struct {
__s64 rval; /* System call return value */ __s64 rval; /* System call return value */
__u8 is_error; /* System call error flag */ __u8 is_error; /* System call error flag */
} exit; /* Information specific to } exit; /* Information specific to
system call exit stops */ system call exit stops */
struct { struct {
__u64 nr; /* System call number */ __u64 nr; /* System call number */
__u64 args[6]; /* System call arguments */ __u64 args[6]; /* System call arguments */
__u32 ret_data; /* The SECCOMP_RET_DATA portion __u32 ret_data; /* The SECCOMP_RET_DATA portion
of SECCOMP_RET_TRACE return of SECCOMP_RET_TRACE return
value */ value */
} seccomp; /* Information specific to } seccomp; /* Information specific to
PTRACE_EVENT_SECCOMP stops */ PTRACE_EVENT_SECCOMP stops */
}; };
}; };
.EE .EE