[PATCH] fix audit oops with invalid operator
authorAmy Griffis <[email protected]>
Tue, 1 Aug 2006 21:52:26 +0000 (17:52 -0400)
committerAl Viro <[email protected]>
Thu, 3 Aug 2006 14:54:43 +0000 (10:54 -0400)
commit5422e01ac16df7398b2bad1eccad0ae3be4dee32
treeadb7941adc3125155874859b93b4d7720ce8db48
parent6988434ee5f532c71be3131fba23283f5cf43847
[PATCH] fix audit oops with invalid operator

Michael C Thompson wrote:  [Tue Aug 01 2006, 02:36:36PM EDT]
> The trigger for this oops is:
> # auditctl -a exit,always -S pread64 -F 'inode<1'

Setting the err value will fix it.

Signed-off-by: Amy Griffis <[email protected]>
Signed-off-by: Al Viro <[email protected]>
kernel/auditfilter.c