From: Mimi Zohar <zohar@linux.ibm.com>
To: Xiu Jianfeng <xiujianfeng@huawei.com>,
dmitry.kasatkin@gmail.com, paul@paul-moore.com,
jmorris@namei.org, serge@hallyn.com
Cc: linux-integrity@vger.kernel.org,
linux-security-module@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH -next] evm: call dump_security_xattr() in all cases to remove code duplication
Date: Sun, 29 Jan 2023 11:15:47 -0500 [thread overview]
Message-ID: <a7f1324e88023a86c3489d53268bde17069ece1f.camel@linux.ibm.com> (raw)
In-Reply-To: <20230129004637.191106-1-xiujianfeng@huawei.com>
> @@ -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
next prev parent reply other threads:[~2023-01-29 16:16 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-01-29 0:46 Xiu Jianfeng
2023-01-29 16:15 ` Mimi Zohar [this message]
2023-01-30 4:02 ` xiujianfeng
2023-01-30 12:17 ` Mimi Zohar
2023-01-31 2:05 ` xiujianfeng
2023-01-31 2:00 Xiu Jianfeng
2023-01-31 2:11 ` xiujianfeng
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=a7f1324e88023a86c3489d53268bde17069ece1f.camel@linux.ibm.com \
--to=zohar@linux.ibm.com \
--cc=dmitry.kasatkin@gmail.com \
--cc=jmorris@namei.org \
--cc=linux-integrity@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-security-module@vger.kernel.org \
--cc=paul@paul-moore.com \
--cc=serge@hallyn.com \
--cc=xiujianfeng@huawei.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®