diff options
Diffstat (limited to 'include/linux/audit.h')
-rw-r--r-- | include/linux/audit.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/linux/audit.h b/include/linux/audit.h index 1a221b65f7b7..1057e90bd3e3 100644 --- a/include/linux/audit.h +++ b/include/linux/audit.h | |||
@@ -278,6 +278,7 @@ struct audit_rule { /* for AUDIT_LIST, AUDIT_ADD, and AUDIT_DEL */ | |||
278 | struct audit_sig_info { | 278 | struct audit_sig_info { |
279 | uid_t uid; | 279 | uid_t uid; |
280 | pid_t pid; | 280 | pid_t pid; |
281 | char ctx[0]; | ||
281 | }; | 282 | }; |
282 | 283 | ||
283 | struct audit_buffer; | 284 | struct audit_buffer; |
@@ -328,7 +329,6 @@ extern int audit_bprm(struct linux_binprm *bprm); | |||
328 | extern int audit_socketcall(int nargs, unsigned long *args); | 329 | extern int audit_socketcall(int nargs, unsigned long *args); |
329 | extern int audit_sockaddr(int len, void *addr); | 330 | extern int audit_sockaddr(int len, void *addr); |
330 | extern int audit_avc_path(struct dentry *dentry, struct vfsmount *mnt); | 331 | extern int audit_avc_path(struct dentry *dentry, struct vfsmount *mnt); |
331 | extern void audit_signal_info(int sig, struct task_struct *t); | ||
332 | extern int audit_set_macxattr(const char *name); | 332 | extern int audit_set_macxattr(const char *name); |
333 | #else | 333 | #else |
334 | #define audit_alloc(t) ({ 0; }) | 334 | #define audit_alloc(t) ({ 0; }) |
@@ -349,7 +349,6 @@ extern int audit_set_macxattr(const char *name); | |||
349 | #define audit_socketcall(n,a) ({ 0; }) | 349 | #define audit_socketcall(n,a) ({ 0; }) |
350 | #define audit_sockaddr(len, addr) ({ 0; }) | 350 | #define audit_sockaddr(len, addr) ({ 0; }) |
351 | #define audit_avc_path(dentry, mnt) ({ 0; }) | 351 | #define audit_avc_path(dentry, mnt) ({ 0; }) |
352 | #define audit_signal_info(s,t) do { ; } while (0) | ||
353 | #define audit_set_macxattr(n) do { ; } while (0) | 352 | #define audit_set_macxattr(n) do { ; } while (0) |
354 | #endif | 353 | #endif |
355 | 354 | ||