diff options
author | Amy Griffis <amy.griffis@hp.com> | 2006-06-02 19:16:01 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2006-06-20 11:25:28 +0200 |
commit | 6a2bceec0ea7fdc47aef9a3f2f771c201eaabe5d (patch) | |
tree | 9496dcc64e7cf94f4e87f01957ef41ed18b13e40 /kernel/audit.h | |
parent | [PATCH] validate rule fields' types (diff) | |
download | linux-6a2bceec0ea7fdc47aef9a3f2f771c201eaabe5d.tar.xz linux-6a2bceec0ea7fdc47aef9a3f2f771c201eaabe5d.zip |
[PATCH] fix AUDIT_FILTER_PREPEND handling
Clear AUDIT_FILTER_PREPEND flag after adding rule to list. This
fixes three problems when a rule is added with the -A syntax:
- auditctl displays filter list as "(null)"
- the rule cannot be removed using -d
- a duplicate rule can be added with -a
Signed-off-by: Amy Griffis <amy.griffis@hp.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'kernel/audit.h')
0 files changed, 0 insertions, 0 deletions