ima: remove security.ima hexdump
authorDmitry Kasatkin <dmitry.kasatkin@intel.com>
Thu, 20 Sep 2012 22:01:29 +0000 (01:01 +0300)
committerMimi Zohar <zohar@linux.vnet.ibm.com>
Wed, 16 Jan 2013 22:49:57 +0000 (17:49 -0500)
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>
security/integrity/ima/ima_appraise.c

index b240c58..fa675c9 100644 (file)
@@ -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;