]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - kernel/auditsc.c
[PATCH] introduce audit rules counter
[net-next-2.6.git] / kernel / auditsc.c
index b1356fc63b26744faf7ee03e44973aeaa6418ec8..3ea836d3d941b2ff94a9e74f98ebbdf42033994d 100644 (file)
@@ -85,6 +85,9 @@ extern int audit_enabled;
 /* Indicates that audit should log the full pathname. */
 #define AUDIT_NAME_FULL -1
 
+/* number of audit rules */
+int audit_n_rules;
+
 /* When fs/namei.c:getname() is called, we store the pointer in name and
  * we don't let putname() free it (instead we free all of the saved
  * pointers at syscall exit time).