diff options
| author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2013-07-02 12:01:31 -0400 |
|---|---|---|
| committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2013-07-02 12:01:31 -0400 |
| commit | 27eb2c4b3d3e13f376a359e293c212a2e9407af5 (patch) | |
| tree | 556aa7b5cd6eeb4214dec129c789515157187010 /include/uapi/linux/cn_proc.h | |
| parent | 5705b8aca5a80141de5637ff0e23b31b26f2c5bf (diff) | |
| parent | 67bf12ca50d524f9e225347fe63533562e2004de (diff) | |
Merge branch 'next' into for-linus
Prepare first set of updates for 3.11 merge window.
Diffstat (limited to 'include/uapi/linux/cn_proc.h')
| -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 | ||
