summaryrefslogtreecommitdiff
path: root/include/uapi
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2017-06-26 21:09:03 +0300
committerEric W. Biederman <ebiederm@xmission.com>2018-01-12 23:34:43 +0300
commitf9886bc50a8e49425137f4798fda828136f4e4a9 (patch)
treee796ea81783e4e88bbaa323daac5819c914acbcf /include/uapi
parentdeaf19c058049a584ddb3c6f0b5751552ed1ef64 (diff)
downloadlinux-f9886bc50a8e49425137f4798fda828136f4e4a9.tar.xz
signal: Document the strange si_codes used by ptrace event stops
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Diffstat (limited to 'include/uapi')
-rw-r--r--include/uapi/asm-generic/siginfo.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/uapi/asm-generic/siginfo.h b/include/uapi/asm-generic/siginfo.h
index cbe1b0cc7a6a..7158421ac911 100644
--- a/include/uapi/asm-generic/siginfo.h
+++ b/include/uapi/asm-generic/siginfo.h
@@ -226,6 +226,11 @@ typedef struct siginfo {
#define NSIGTRAP 4
/*
+ * There are an additional set of SIGTRAP si_codes used by ptrace
+ * that of the form: ((PTRACE_EVENT_XXX << 8) | SIGTRAP)
+ */
+
+/*
* SIGCHLD si_codes
*/
#define CLD_EXITED 1 /* child has exited */