diff options
author | Eric Paris <eparis@redhat.com> | 2013-04-19 13:23:09 -0400 |
---|---|---|
committer | Eric Paris <eparis@redhat.com> | 2013-04-30 15:31:28 -0400 |
commit | dc9eb698f441889f2d7926b1cc6f1e14f0787f00 (patch) | |
tree | acdd37f268633b38b370fe0725f57ccd0d4fcadc /include/linux/audit.h | |
parent | 18900909163758baf2152c9102b1a0953f7f1c30 (diff) |
audit: stop pushing loginid, uid, sessionid as arguments
We always use current. Stop pulling this when the skb comes in and
pushing it around as arguments. Just get it at the end when you need
it.
Signed-off-by: Eric Paris <eparis@redhat.com>
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 b26d7f121ac5..a3a50cca1efb 100644 --- a/include/linux/audit.h +++ b/include/linux/audit.h | |||
@@ -441,8 +441,7 @@ extern int audit_update_lsm_rules(void); | |||
441 | extern int audit_filter_user(int type); | 441 | extern int audit_filter_user(int type); |
442 | extern int audit_filter_type(int type); | 442 | extern int audit_filter_type(int type); |
443 | extern int audit_receive_filter(int type, int pid, int seq, | 443 | extern int audit_receive_filter(int type, int pid, int seq, |
444 | void *data, size_t datasz, kuid_t loginuid, | 444 | void *data, size_t datasz); |
445 | u32 sessionid, u32 sid); | ||
446 | extern int audit_enabled; | 445 | extern int audit_enabled; |
447 | #else /* CONFIG_AUDIT */ | 446 | #else /* CONFIG_AUDIT */ |
448 | static inline __printf(4, 5) | 447 | static inline __printf(4, 5) |