[PATCH 15/15] audit: validate comparison operations, store them in sane form
James Morris
jmorris at namei.org
Wed Dec 17 07:54:37 UTC 2008
On Wed, 17 Dec 2008, Al Viro wrote:
>
> Don't store the field->op in the messy (and very inconvenient for e.g.
> audit_comparator()) form; translate to dense set of values and do full
> validation of userland-submitted value while we are at it.
>
> ->audit_init_rule() and ->audit_match_rule() get new values now; in-tree
> instances updated.
>
> Signed-off-by: Al Viro <viro at zeniv.linux.org.uk>
Reviewed-by: James Morris <jmorris at namei.org>
--
James Morris
<jmorris at namei.org>
More information about the Linux-audit
mailing list