audit: consolidate handling of mm->exe_file
[firefly-linux-kernel-4.4.55.git] / kernel / audit.h
index 3cdffad5a1d9fb941823af4fc981aa587b342828..28067c50fd04e21bd42c1feb0b7853f5d401baf6 100644 (file)
@@ -270,6 +270,9 @@ extern struct list_head audit_filter_list[];
 
 extern struct audit_entry *audit_dupe_rule(struct audit_krule *old);
 
+extern void audit_log_d_path_exe(struct audit_buffer *ab,
+                                struct mm_struct *mm);
+
 /* audit watch functions */
 #ifdef CONFIG_AUDIT_WATCH
 extern void audit_put_watch(struct audit_watch *watch);