[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <a7f1324e88023a86c3489d53268bde17069ece1f.camel@linux.ibm.com>
Date: Sun, 29 Jan 2023 11:15:47 -0500
From: Mimi Zohar <zohar@...ux.ibm.com>
To: Xiu Jianfeng <xiujianfeng@...wei.com>, dmitry.kasatkin@...il.com,
paul@...l-moore.com, jmorris@...ei.org, serge@...lyn.com
Cc: linux-integrity@...r.kernel.org,
linux-security-module@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH -next] evm: call dump_security_xattr() in all cases to
remove code duplication
> @@ -254,15 +264,9 @@ static int evm_calc_hmac_or_hash(struct dentry *dentry,
> if (is_ima)
> ima_present = true;
>
> - if (req_xattr_value_len < 64)
> - pr_debug("%s: (%zu) [%*phN]\n", req_xattr_name,
> - req_xattr_value_len,
> - (int)req_xattr_value_len,
> - req_xattr_value);
> - else
> - dump_security_xattr(req_xattr_name,
> - req_xattr_value,
> - req_xattr_value_len);
> + dump_security_xattr(req_xattr_name,
> + req_xattr_value,
> + req_xattr_value_len);
> continue;
> }
> size = vfs_getxattr_alloc(&nop_mnt_idmap, dentry, xattr->name,
Hm, this patch doesn't apply properly.
Mimi
Powered by blists - more mailing lists