diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2006-07-10 08:29:24 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2006-08-03 10:55:18 -0400 |
commit | 471a5c7c839114cc8b55876203aeb2817c33e3c5 (patch) | |
tree | a034011f4efe66adcdca6e21efc2e05b0c0d3e34 /kernel/auditsc.c | |
parent | 5422e01ac16df7398b2bad1eccad0ae3be4dee32 (diff) | |
download | linux-471a5c7c839114cc8b55876203aeb2817c33e3c5.tar.bz2 |
[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). |