lsm_audit: don't specify the audit pre/post callbacks in 'struct common_audit_data'
[deliverable/linux.git] / security / smack / smack_access.c
index 2af7fcc98a71e619de75e46474492aba52dc1bbd..c8115f7308f843969ce60d5b1be16f71166eaebf 100644 (file)
@@ -321,9 +321,8 @@ void smack_log(char *subject_label, char *object_label, int request,
        sad->object  = object_label;
        sad->request = request_buffer;
        sad->result  = result;
-       a->lsm_pre_audit = smack_log_callback;
 
-       common_lsm_audit(a);
+       common_lsm_audit(a, smack_log_callback, NULL);
 }
 #else /* #ifdef CONFIG_AUDIT */
 void smack_log(char *subject_label, char *object_label, int request,
This page took 0.037848 seconds and 5 git commands to generate.