From 9914d8bdb832a31992b0c10a0e26980808fd0462 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Fri, 13 Sep 2019 20:48:34 +0200 Subject: [PATCH] ptrace.2: Fix description of 'is_error' field in 'struct ptrace_syscall_info' Reported-by: Dmitry V. Levin Signed-off-by: Michael Kerrisk --- man2/ptrace.2 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/man2/ptrace.2 b/man2/ptrace.2 index 997a73a8a..0977623e3 100644 --- a/man2/ptrace.2 +++ b/man2/ptrace.2 @@ -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 */