ptrace.2: ffix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2019-09-12 10:37:59 +02:00
parent f04534d22c
commit 9d8f542d1f
1 changed files with 16 additions and 16 deletions

View File

@ -1031,28 +1031,28 @@ The
.I ptrace_syscall_info .I ptrace_syscall_info
structure contains the following fields: structure contains the following fields:
.IP .IP
.in +4n .in +2n
.EX .EX
struct ptrace_syscall_info { struct ptrace_syscall_info {
__u8 op; /* Type of system call stop */ __u8 op; /* Type of system call stop */
__u32 arch; /* AUDIT_ARCH_* value; see seccomp(2) */ __u32 arch; /* AUDIT_ARCH_* value; 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 { /* op == PTRACE_SYSCALL_INFO_ENTRY */ struct { /* op == PTRACE_SYSCALL_INFO_ENTRY */
__u64 nr; /* System call number */ __u64 nr; /* System call number */
__u64 args[6]; /* System call arguments */ __u64 args[6]; /* System call arguments */
} entry; } entry;
struct { /* op == PTRACE_SYSCALL_INFO_EXIT */ struct { /* op == PTRACE_SYSCALL_INFO_EXIT */
__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; } exit;
struct { /* op == PTRACE_SYSCALL_INFO_SECCOMP */ struct { /* op == PTRACE_SYSCALL_INFO_SECCOMP */
__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; /* SECCOMP_RET_DATA portion __u32 ret_data; /* SECCOMP_RET_DATA portion
of SECCOMP_RET_TRACE return of SECCOMP_RET_TRACE
value */ return value */
} seccomp; } seccomp;
}; };
}; };