Re: [PATCH 15/15] audit: validate comparison operations, store themin sane form

From: James Morris
Date: Wed Dec 17 2008 - 02:55:03 EST


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@xxxxxxxxxxxxxxxxxx>

Reviewed-by: James Morris <jmorris@xxxxxxxxx>


--
James Morris
<jmorris@xxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/