mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
[PATCH] introduce audit rules counter
Signed-off-by: Al Viro <[email protected]>
This commit is contained in:
parent
5422e01ac1
commit
471a5c7c83
3 changed files with 29 additions and 0 deletions
|
|
@ -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).
|
||||
|
|
|
|||
Loading…
Reference in a new issue