From 32114f8806363681160c9505a0dfa90331e8579d Mon Sep 17 00:00:00 2001 From: Toomas Soome Date: Fri, 22 Nov 2019 11:31:00 +0200 Subject: [PATCH] 12012 zdb: do not output binary org.illumos:checksum_salt on terminal Reviewed by: Andy Fiddaman Reviewed by: Jason King Approved by: Dan McDonald --- usr/src/cmd/zdb/zdb.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/usr/src/cmd/zdb/zdb.c b/usr/src/cmd/zdb/zdb.c index 61cfd74df3..22d6a96b49 100644 --- a/usr/src/cmd/zdb/zdb.c +++ b/usr/src/cmd/zdb/zdb.c @@ -448,7 +448,8 @@ dump_zap(objset_t *os, uint64_t object, void *data, size_t size) strcmp(attr.za_name, DSL_CRYPTO_KEY_HMAC_KEY) == 0 || strcmp(attr.za_name, DSL_CRYPTO_KEY_IV) == 0 || - strcmp(attr.za_name, DSL_CRYPTO_KEY_MAC) == 0) { + strcmp(attr.za_name, DSL_CRYPTO_KEY_MAC) == 0 || + strcmp(attr.za_name, DMU_POOL_CHECKSUM_SALT) == 0) { uint8_t *u8 = prop; for (i = 0; i < attr.za_num_integers; i++) { -- 2.45.2