diff options
author | Eric Paris <eparis@redhat.com> | 2006-09-28 23:46:21 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2006-10-04 14:31:16 +0200 |
commit | 4b8a311bb161a3bd2ab44311f42c526b6dc76270 (patch) | |
tree | a2a269d8292ebcb8020c6748dad340bf74566979 /kernel/auditsc.c | |
parent | [PATCH] i383 numa: fix numaq/summit apicid conflict (diff) | |
download | linux-4b8a311bb161a3bd2ab44311f42c526b6dc76270.tar.xz linux-4b8a311bb161a3bd2ab44311f42c526b6dc76270.zip |
[PATCH] arch filter lists with < or > should not be accepted
Currently the kernel audit system represents arch's as numbers and will
gladly accept comparisons between archs using >, <, >=, <= when the only
thing that makes sense is = or !=. I'm told that the next revision of
auditctl will do this checking but this will provide enforcement in the
kernel even for old userspace. A simple command to show the issue would
be to run
auditctl -d entry,always -F arch>i686 -S chmod
with this patch the kernel will reject this with -EINVAL
Please comment/ack/nak as soon as possible.
-Eric
kernel/auditfilter.c | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'kernel/auditsc.c')
0 files changed, 0 insertions, 0 deletions