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>
This commit is contained in:
@@ -47,7 +47,7 @@ struct ima_template_data {
|
||||
|
||||
struct ima_template_entry {
|
||||
u8 digest[IMA_DIGEST_SIZE]; /* sha1 or md5 measurement hash */
|
||||
char *template_name;
|
||||
const char *template_name;
|
||||
int template_len;
|
||||
struct ima_template_data template;
|
||||
};
|
||||
|
Reference in New Issue
Block a user