Skip to content

Commit b515246

Browse files
Dmitry KasatkinMimi Zohar
authored andcommitted
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>
1 parent 750943a commit b515246

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

‎security/integrity/ima/ima_appraise.c‎

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -107,11 +107,6 @@ int ima_appraise_measurement(struct integrity_iint_cache *iint,
107107
if (rc) {
108108
cause = "invalid-hash";
109109
status = INTEGRITY_FAIL;
110-
print_hex_dump_bytes("security.ima: ", DUMP_PREFIX_NONE,
111-
xattr_value, sizeof(*xattr_value));
112-
print_hex_dump_bytes("collected: ", DUMP_PREFIX_NONE,
113-
(u8 *)&iint->ima_xattr,
114-
sizeof iint->ima_xattr);
115110
break;
116111
}
117112
status = INTEGRITY_PASS;

0 commit comments

Comments
 (0)