aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/audit.h
diff options
context:
space:
mode:
authorSteve Grubb <sgrubb@redhat.com>2006-04-01 18:29:34 -0500
committerAl Viro <viro@zeniv.linux.org.uk>2006-05-01 06:10:01 -0400
commitce29b682e228c70cdc91a1b2935c5adb2087bab8 (patch)
tree39e3e5b345748bec1c2d21962407689cdb1b7dab /include/linux/audit.h
parente7c3497013a7e5496ce3d5fd3c73b5cf5af7a56e (diff)
[PATCH] More user space subject labels
Hi, The patch below builds upon the patch sent earlier and adds subject label to all audit events generated via the netlink interface. It also cleans up a few other minor things. Signed-off-by: Steve Grubb <sgrubb@redhat.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include/linux/audit.h')
-rw-r--r--include/linux/audit.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/audit.h b/include/linux/audit.h
index 740f950397b7..d5c40823e166 100644
--- a/include/linux/audit.h
+++ b/include/linux/audit.h
@@ -371,7 +371,7 @@ extern void audit_log_d_path(struct audit_buffer *ab,
371extern int audit_filter_user(struct netlink_skb_parms *cb, int type); 371extern int audit_filter_user(struct netlink_skb_parms *cb, int type);
372extern int audit_filter_type(int type); 372extern int audit_filter_type(int type);
373extern int audit_receive_filter(int type, int pid, int uid, int seq, 373extern int audit_receive_filter(int type, int pid, int uid, int seq,
374 void *data, size_t datasz, uid_t loginuid); 374 void *data, size_t datasz, uid_t loginuid, u32 sid);
375#else 375#else
376#define audit_log(c,g,t,f,...) do { ; } while (0) 376#define audit_log(c,g,t,f,...) do { ; } while (0)
377#define audit_log_start(c,g,t) ({ NULL; }) 377#define audit_log_start(c,g,t) ({ NULL; })