[PATCH] prevent duplicate syscall rules

Amy Griffis amy.griffis at hp.com
Mon Aug 1 15:41:46 UTC 2005


On Fri, Jul 29, 2005 at 07:50:12PM -0400, Steve Grubb wrote:
> On Friday 29 July 2005 18:50, Amy Griffis wrote:
> > +???????????????if (!audit_compare_rule(rule, &entry->rule)) {
> > +???????????????????????return -EINVAL;
> 
> Thanks for the patch.
> 
> Would -EEXIST be better? Its not really invalid, its just duplicated.

Yes, good catch.

Thanks,
Amy




More information about the Linux-audit mailing list