diff options
Diffstat (limited to 'include/uapi/linux')
| -rw-r--r-- | include/uapi/linux/cn_proc.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/include/uapi/linux/cn_proc.h b/include/uapi/linux/cn_proc.h index 0d7b49973bb3..f6c271035bbd 100644 --- a/include/uapi/linux/cn_proc.h +++ b/include/uapi/linux/cn_proc.h | |||
| @@ -56,7 +56,9 @@ struct proc_event { | |||
| 56 | PROC_EVENT_PTRACE = 0x00000100, | 56 | PROC_EVENT_PTRACE = 0x00000100, |
| 57 | PROC_EVENT_COMM = 0x00000200, | 57 | PROC_EVENT_COMM = 0x00000200, |
| 58 | /* "next" should be 0x00000400 */ | 58 | /* "next" should be 0x00000400 */ |
| 59 | /* "last" is the last process event: exit */ | 59 | /* "last" is the last process event: exit, |
| 60 | * while "next to last" is coredumping event */ | ||
| 61 | PROC_EVENT_COREDUMP = 0x40000000, | ||
| 60 | PROC_EVENT_EXIT = 0x80000000 | 62 | PROC_EVENT_EXIT = 0x80000000 |
| 61 | } what; | 63 | } what; |
| 62 | __u32 cpu; | 64 | __u32 cpu; |
| @@ -110,11 +112,17 @@ struct proc_event { | |||
| 110 | char comm[16]; | 112 | char comm[16]; |
| 111 | } comm; | 113 | } comm; |
| 112 | 114 | ||
| 115 | struct coredump_proc_event { | ||
| 116 | __kernel_pid_t process_pid; | ||
| 117 | __kernel_pid_t process_tgid; | ||
| 118 | } coredump; | ||
| 119 | |||
| 113 | struct exit_proc_event { | 120 | struct exit_proc_event { |
| 114 | __kernel_pid_t process_pid; | 121 | __kernel_pid_t process_pid; |
| 115 | __kernel_pid_t process_tgid; | 122 | __kernel_pid_t process_tgid; |
| 116 | __u32 exit_code, exit_signal; | 123 | __u32 exit_code, exit_signal; |
| 117 | } exit; | 124 | } exit; |
| 125 | |||
| 118 | } event_data; | 126 | } event_data; |
| 119 | }; | 127 | }; |
| 120 | 128 | ||
