aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/lsm_audit.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/lsm_audit.h')
-rw-r--r--include/linux/lsm_audit.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/lsm_audit.h b/include/linux/lsm_audit.h
index e461b2c3d711..68f7bce572b0 100644
--- a/include/linux/lsm_audit.h
+++ b/include/linux/lsm_audit.h
@@ -66,11 +66,11 @@ struct common_audit_data {
66 } key_struct; 66 } key_struct;
67#endif 67#endif
68 } u; 68 } u;
69 const char *function;
70 /* this union contains LSM specific data */ 69 /* this union contains LSM specific data */
71 union { 70 union {
72 /* SMACK data */ 71 /* SMACK data */
73 struct smack_audit_data { 72 struct smack_audit_data {
73 const char *function;
74 char *subject; 74 char *subject;
75 char *object; 75 char *object;
76 char *request; 76 char *request;
@@ -104,7 +104,7 @@ int ipv6_skb_to_auditdata(struct sk_buff *skb,
104/* Initialize an LSM audit data structure. */ 104/* Initialize an LSM audit data structure. */
105#define COMMON_AUDIT_DATA_INIT(_d, _t) \ 105#define COMMON_AUDIT_DATA_INIT(_d, _t) \
106 { memset((_d), 0, sizeof(struct common_audit_data)); \ 106 { memset((_d), 0, sizeof(struct common_audit_data)); \
107 (_d)->type = LSM_AUDIT_DATA_##_t; (_d)->function = __func__; } 107 (_d)->type = LSM_AUDIT_DATA_##_t; }
108 108
109void common_lsm_audit(struct common_audit_data *a); 109void common_lsm_audit(struct common_audit_data *a);
110 110