summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDmitry Kasatkin <dmitry.kasatkin@intel.com>2012-09-21 01:01:29 +0300
committerMimi Zohar <zohar@linux.vnet.ibm.com>2013-01-16 17:49:57 -0500
commitb51524635b73cfa27cc393859b277cee9c042820 (patch)
treec4fae16b423b732dce39b28faca4ae4f1dadc3f9
parent750943a30714b7e9a5a2b0e08eeef7a808b5a869 (diff)
downloadlinux-b51524635b73cfa27cc393859b277cee9c042820.tar.bz2
ima: remove security.ima hexdump
Hexdump is not really helping. Audit messages prints error messages. Remove it. Signed-off-by: Dmitry Kasatkin <dmitry.kasatkin@intel.com> Signed-off-by: Mimi Zohar <zohar@linux.vnet.ibm.com>
-rw-r--r--security/integrity/ima/ima_appraise.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/security/integrity/ima/ima_appraise.c b/security/integrity/ima/ima_appraise.c
index b240c58403e2..fa675c907e0f 100644
--- a/security/integrity/ima/ima_appraise.c
+++ b/security/integrity/ima/ima_appraise.c
@@ -107,11 +107,6 @@ int ima_appraise_measurement(struct integrity_iint_cache *iint,
if (rc) {
cause = "invalid-hash";
status = INTEGRITY_FAIL;
- print_hex_dump_bytes("security.ima: ", DUMP_PREFIX_NONE,
- xattr_value, sizeof(*xattr_value));
- print_hex_dump_bytes("collected: ", DUMP_PREFIX_NONE,
- (u8 *)&iint->ima_xattr,
- sizeof iint->ima_xattr);
break;
}
status = INTEGRITY_PASS;