[PATCH] fix a bug that option '-i' cannot be used
Steve Grubb
sgrubb at redhat.com
Fri Jul 25 18:22:48 UTC 2008
Hello Yu,
On Friday 18 July 2008 23:42:01 Yu Zhiguo wrote:
> Option '-i' cannot be used, because the check about option '-R'
> in main() is wrong.
> When check option '-R', we should consider whether option '-i'
> is specified.
I was just looking at this patch. The intention with the -R option is for it
to be given saying that all options will be read from the file. You should be
able to place "-i" on a line by itself within the file and it should ignore
errors. This would be similar to the way the -D option is given by itself
near the top of a typical rule file.
I agree with some of the cleanup that this patch suggests and will apply that
part. But I think the intent was for "-i" to be in the file and not the
command line.
Thanks,
-Steve
More information about the Linux-audit
mailing list