signal: Document the strange si_codes used by ptrace event stops

Signed-off-by: "Eric W. Biederman" <[email protected]>
This commit is contained in:
Eric W. Biederman committed 2018-01-12 14:34:43 -06:00
1 parent deaf19c058
commit f9886bc50a
1 file changed
+5
+5
View File
@@ -225,6 +225,11 @@ typedef struct siginfo {
#define TRAP_HWBKPT 4 /* hardware breakpoint/watchpoint */
#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
*/