Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f9886bc5 authored by Eric W. Biederman's avatar Eric W. Biederman
Browse files

signal: Document the strange si_codes used by ptrace event stops

parent deaf19c0
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -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
 */