diff options
author | Eric Paris <eparis@redhat.com> | 2012-04-04 15:01:42 -0400 |
---|---|---|
committer | Eric Paris <eparis@redhat.com> | 2012-04-09 12:23:01 -0400 |
commit | bd5e50f9c1c71daac273fa586424f07205f6b13b (patch) | |
tree | 57331d7e1941077cd55d33e7f12e6f8a07cdd80e /include/linux/lsm_audit.h | |
parent | d4cf970d0732628d514405c5a975024b9e205b0b (diff) |
LSM: remove the COMMON_AUDIT_DATA_INIT type expansion
Just open code it so grep on the source code works better.
Signed-off-by: Eric Paris <eparis@redhat.com>
Diffstat (limited to 'include/linux/lsm_audit.h')
-rw-r--r-- | include/linux/lsm_audit.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/lsm_audit.h b/include/linux/lsm_audit.h index fad48aab893b..9e1ebf5851b8 100644 --- a/include/linux/lsm_audit.h +++ b/include/linux/lsm_audit.h | |||
@@ -96,7 +96,7 @@ int ipv6_skb_to_auditdata(struct sk_buff *skb, | |||
96 | /* Initialize an LSM audit data structure. */ | 96 | /* Initialize an LSM audit data structure. */ |
97 | #define COMMON_AUDIT_DATA_INIT(_d, _t) \ | 97 | #define COMMON_AUDIT_DATA_INIT(_d, _t) \ |
98 | { memset((_d), 0, sizeof(struct common_audit_data)); \ | 98 | { memset((_d), 0, sizeof(struct common_audit_data)); \ |
99 | (_d)->type = LSM_AUDIT_DATA_##_t; } | 99 | (_d)->type = _t; } |
100 | 100 | ||
101 | void common_lsm_audit(struct common_audit_data *a, | 101 | void common_lsm_audit(struct common_audit_data *a, |
102 | void (*pre_audit)(struct audit_buffer *, void *), | 102 | void (*pre_audit)(struct audit_buffer *, void *), |