diff options
author | Mimi Zohar <zohar@linux.vnet.ibm.com> | 2009-02-11 11:12:28 -0500 |
---|---|---|
committer | James Morris <jmorris@namei.org> | 2009-02-11 17:40:14 -0500 |
commit | 523979adfa0b79d4e3aa053220c37a9233294206 (patch) | |
tree | 15ff42f935f9d443220edb118f3980432f924360 /security/integrity/ima/ima_init.c | |
parent | ed850a52af971528b048812c4215cef298af0d3b (diff) |
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>
Diffstat (limited to 'security/integrity/ima/ima_init.c')
-rw-r--r-- | security/integrity/ima/ima_init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/security/integrity/ima/ima_init.c b/security/integrity/ima/ima_init.c index cf227dbfac2..0b0bb8c978c 100644 --- a/security/integrity/ima/ima_init.c +++ b/security/integrity/ima/ima_init.c | |||
@@ -20,7 +20,7 @@ | |||
20 | #include "ima.h" | 20 | #include "ima.h" |
21 | 21 | ||
22 | /* name for boot aggregate entry */ | 22 | /* name for boot aggregate entry */ |
23 | static char *boot_aggregate_name = "boot_aggregate"; | 23 | static const char *boot_aggregate_name = "boot_aggregate"; |
24 | int ima_used_chip; | 24 | int ima_used_chip; |
25 | 25 | ||
26 | /* Add the boot aggregate to the IMA measurement list and extend | 26 | /* Add the boot aggregate to the IMA measurement list and extend |