ptrace.2: Fix description of 'is_error' field in 'struct ptrace_syscall_info'

Reported-by: Dmitry V. Levin <ldv@altlinux.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2019-09-13 20:48:34 +02:00
parent c4f0c33fb6
commit 9914d8bdb8
1 changed files with 3 additions and 1 deletions

View File

@ -1046,7 +1046,9 @@ struct ptrace_syscall_info {
struct { /* op == PTRACE_SYSCALL_INFO_EXIT */
__s64 rval; /* System call return value */
__u8 is_error; /* System call error flag;
Boolean: is rval != 0? */
Boolean: does rval contain
an error value (\-ERRCODE) or
a nonerror return value? */
} exit;
struct { /* op == PTRACE_SYSCALL_INFO_SECCOMP */
__u64 nr; /* System call number */