]> Pileus Git - ~andy/linux/commit
IMA: fix audit res field to indicate 1 for success and 0 for failure
authorEric Paris <eparis@redhat.com>
Tue, 14 Feb 2012 22:11:07 +0000 (17:11 -0500)
committerJames Morris <jmorris@namei.org>
Thu, 16 Feb 2012 01:01:42 +0000 (12:01 +1100)
commitb0d5de4d58803bbcce2b8175a8dd21c559a3abc1
tree08213154dd13ab28eac64e9a87b3a8b7e5660381
parentbf06189e4d14641c0148bea16e9dd24943862215
IMA: fix audit res field to indicate 1 for success and 0 for failure

The audit res field ususally indicates success with a 1 and 0 for a
failure.  So make IMA do it the same way.

Signed-off-by: Eric Paris <eparis@redhat.com>
Signed-off-by: Mimi Zohar <zohar@us.ibm.com>
Signed-off-by: James Morris <jmorris@namei.org>
security/integrity/ima/ima_audit.c
security/integrity/ima/ima_policy.c