]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] new predicate - AUDIT_FILETYPE
authorAl Viro <viro@zeniv.linux.org.uk>
Mon, 28 Apr 2008 08:15:49 +0000 (04:15 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 28 Apr 2008 10:28:37 +0000 (06:28 -0400)
commit8b67dca9420474623709e00d72a066068a502b20
tree9d4dc19d849dd23cf00cee0851fd402062cdf1ea
parent4a761b8c1d7a3a4ee7ccf92ce255d986f601e067
[PATCH] new predicate - AUDIT_FILETYPE

Argument is S_IF... | <index>, where index is normally 0 or 1.
Triggers if chosen element of ctx->names[] is present and the
mode of object in question matches the upper bits of argument.
I.e. for things like "is the argument of that chmod a directory",
etc.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
include/linux/audit.h
kernel/auditfilter.c
kernel/auditsc.c