Eric Paris
4b8a311bb1
[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>
2006-10-04 08:31:16 -04:00
..
2006-09-29 09:18:07 -07:00
2006-10-02 07:57:21 -07:00
2006-10-01 00:39:27 -07:00
2006-01-03 11:35:26 +01:00
2006-10-01 00:39:29 -07:00
2006-09-26 08:48:52 -07:00
2006-09-11 13:32:30 -04:00
2006-10-04 08:31:16 -04:00
2006-09-29 09:18:25 -07:00
2006-09-29 09:18:12 -07:00
2006-10-02 08:03:31 -07:00
2006-06-30 19:25:36 +02:00
2006-09-26 08:48:59 -07:00
2006-10-01 00:39:30 -07:00
2006-09-01 11:39:08 -07:00
2006-10-03 08:03:41 -07:00
2006-06-30 19:25:36 +02:00
2006-10-02 07:57:21 -07:00
2006-05-15 11:20:55 -07:00
2006-10-02 07:57:22 -07:00
2006-08-06 08:57:49 -07:00
2006-10-02 07:57:14 -07:00
2006-09-29 09:18:15 -07:00
2006-03-26 08:57:03 -08:00
2006-10-03 08:03:41 -07:00
2005-06-23 09:45:10 -07:00
2005-06-25 16:24:45 -07:00
2006-09-29 09:18:15 -07:00
2006-09-29 09:18:13 -07:00
2006-10-02 07:57:23 -07:00
2006-10-02 07:57:16 -07:00
2006-06-30 19:25:36 +02:00
2006-07-14 21:53:52 -07:00
2006-10-01 00:39:19 -07:00
2006-09-13 07:32:14 -07:00
2006-07-03 15:27:04 -07:00
2006-10-02 07:57:21 -07:00
2006-10-02 07:57:21 -07:00
2006-10-03 08:03:41 -07:00
2006-07-03 15:27:04 -07:00
2006-07-03 15:27:01 -07:00
2006-07-03 15:27:04 -07:00
2006-07-03 15:27:04 -07:00
2006-10-02 07:57:22 -07:00
2006-09-30 01:47:55 +02:00
2006-09-29 09:18:08 -07:00
2006-10-02 07:57:25 -07:00
2006-09-29 09:18:15 -07:00
2006-10-03 23:01:26 +02:00
2006-09-26 08:49:03 -07:00
2006-09-26 08:48:50 -07:00
2006-09-29 09:18:12 -07:00
2006-09-13 07:32:14 -07:00
2006-10-03 23:26:16 +02:00
2006-09-29 09:18:06 -07:00
2006-10-03 08:03:41 -07:00
2006-06-27 17:32:47 -07:00
2006-07-03 15:27:11 -07:00
2006-07-03 15:27:01 -07:00
2006-07-14 21:53:53 -07:00
2006-09-29 09:18:09 -07:00
2006-07-03 15:27:01 -07:00
2006-07-03 15:27:04 -07:00
2006-10-03 08:04:07 -07:00
2005-04-16 15:20:36 -07:00
2006-10-02 07:57:15 -07:00
2006-09-29 09:18:14 -07:00
2006-09-29 09:18:14 -07:00
2006-10-01 00:39:21 -07:00
2006-07-03 15:27:02 -07:00
2006-09-29 09:18:24 -07:00
2006-09-30 20:52:31 +02:00
2006-10-02 07:57:25 -07:00
2006-10-02 07:57:25 -07:00
2006-10-01 00:39:29 -07:00
2006-10-01 00:39:26 -07:00
2006-10-01 00:39:27 -07:00
2006-10-01 00:39:29 -07:00
2006-04-19 16:27:18 -07:00
2006-09-29 09:18:11 -07:00
2006-06-22 15:05:55 -07:00
2006-10-02 07:57:22 -07:00
2006-07-10 13:24:25 -07:00
2006-10-03 23:07:31 +02:00