diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2006-05-25 10:19:47 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2006-06-20 05:25:21 -0400 |
commit | e1396065e0489f98b35021b97907ab4edbfb24e1 (patch) | |
tree | a276ea0a2ece9132d435adf1a1f82d0ada1ae938 /include | |
parent | 473ae30bc7b1dda5c5791c773f95e9424ddfead9 (diff) |
[PATCH] collect sid of those who send signals to auditd
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include')
-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 | ||