diff options
Diffstat (limited to 'kernel/audit.h')
| -rw-r--r-- | kernel/audit.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/kernel/audit.h b/kernel/audit.h index 57cc64d67718..7bb65730c890 100644 --- a/kernel/audit.h +++ b/kernel/audit.h | |||
| @@ -106,6 +106,11 @@ struct audit_names { | |||
| 106 | bool should_free; | 106 | bool should_free; |
| 107 | }; | 107 | }; |
| 108 | 108 | ||
| 109 | struct audit_proctitle { | ||
| 110 | int len; /* length of the cmdline field. */ | ||
| 111 | char *value; /* the cmdline field */ | ||
| 112 | }; | ||
| 113 | |||
| 109 | /* The per-task audit context. */ | 114 | /* The per-task audit context. */ |
| 110 | struct audit_context { | 115 | struct audit_context { |
| 111 | int dummy; /* must be the first element */ | 116 | int dummy; /* must be the first element */ |
| @@ -202,6 +207,7 @@ struct audit_context { | |||
| 202 | } execve; | 207 | } execve; |
| 203 | }; | 208 | }; |
| 204 | int fds[2]; | 209 | int fds[2]; |
| 210 | struct audit_proctitle proctitle; | ||
| 205 | 211 | ||
| 206 | #if AUDIT_DEBUG | 212 | #if AUDIT_DEBUG |
| 207 | int put_count; | 213 | int put_count; |
| @@ -247,7 +253,7 @@ extern void audit_panic(const char *message); | |||
| 247 | 253 | ||
| 248 | struct audit_netlink_list { | 254 | struct audit_netlink_list { |
| 249 | __u32 portid; | 255 | __u32 portid; |
| 250 | pid_t pid; | 256 | struct net *net; |
| 251 | struct sk_buff_head q; | 257 | struct sk_buff_head q; |
| 252 | }; | 258 | }; |
| 253 | 259 | ||
