[PATCH] fix audit_krule_to_{rule,data} return values
authorAmy Griffis <amy.griffis@hp.com>
Tue, 2 May 2006 19:06:01 +0000 (15:06 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Tue, 20 Jun 2006 09:25:23 +0000 (05:25 -0400)
commit0a3b483e83edb6aa6d3c49db70eeb6f1cd9f6c6b
treed8714c7953e2eb5f1e12243fe8098127b4e7cada
parent3c66251e573219a0532a5a07381b2f60a412d9eb
[PATCH] fix audit_krule_to_{rule,data} return values

Don't return -ENOMEM when callers of these functions are checking for
a NULL return.  Bug noticed by Serge Hallyn.

Signed-off-by: Amy Griffis <amy.griffis@hp.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
kernel/auditfilter.c