[PATCH] introduce audit rules counter

Signed-off-by: Al Viro <[email protected]>
This commit is contained in:
Al Viro 2006-07-10 08:29:24 -04:00
commit 471a5c7c83
3 changed files with 29 additions and 0 deletions

View 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).