integrity: audit update
authorMimi Zohar <zohar@linux.vnet.ibm.com>
Wed, 11 Feb 2009 16:12:28 +0000 (11:12 -0500)
committerJames Morris <jmorris@namei.org>
Wed, 11 Feb 2009 22:40:14 +0000 (09:40 +1100)
commit523979adfa0b79d4e3aa053220c37a9233294206
tree15ff42f935f9d443220edb118f3980432f924360
parented850a52af971528b048812c4215cef298af0d3b
integrity: audit update

Based on discussions on linux-audit, as per Steve Grubb's request
http://lkml.org/lkml/2009/2/6/269, the following changes were made:
- forced audit result to be either 0 or 1.
- made template names const
- Added new stand-alone message type: AUDIT_INTEGRITY_RULE

Signed-off-by: Mimi Zohar <zohar@us.ibm.com>
Acked-by: Steve Grubb <sgrubb@redhat.com>
Signed-off-by: James Morris <jmorris@namei.org>
include/linux/audit.h
security/integrity/ima/ima.h
security/integrity/ima/ima_api.c
security/integrity/ima/ima_audit.c
security/integrity/ima/ima_fs.c
security/integrity/ima/ima_init.c
security/integrity/ima/ima_policy.c