diff options
author | Al Viro | 2006-07-10 14:29:24 +0200 |
---|---|---|
committer | Al Viro | 2006-08-03 16:55:18 +0200 |
commit | 471a5c7c839114cc8b55876203aeb2817c33e3c5 (patch) | |
tree | a034011f4efe66adcdca6e21efc2e05b0c0d3e34 /kernel/auditsc.c | |
parent | [PATCH] fix audit oops with invalid operator (diff) | |
download | kernel-qcow2-linux-471a5c7c839114cc8b55876203aeb2817c33e3c5.tar.gz kernel-qcow2-linux-471a5c7c839114cc8b55876203aeb2817c33e3c5.tar.xz kernel-qcow2-linux-471a5c7c839114cc8b55876203aeb2817c33e3c5.zip |
[PATCH] introduce audit rules counter
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'kernel/auditsc.c')
-rw-r--r-- | kernel/auditsc.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/kernel/auditsc.c b/kernel/auditsc.c index b1356fc63b26..3ea836d3d941 100644 --- a/kernel/auditsc.c +++ b/kernel/auditsc.c @@ -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). |