]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
evm: Fix build warnings
authorRoberto Sassu <roberto.sassu@huawei.com>
Tue, 6 Jun 2023 07:41:12 +0000 (09:41 +0200)
committerRoxana Nicolescu <roxana.nicolescu@canonical.com>
Mon, 2 Oct 2023 15:19:33 +0000 (17:19 +0200)
commit9fb68b2beeac55c0a15af1f314ffc3dd364bea36
tree3351cb3949128c1761771ad9d6eef58e606ef492
parent97fd5a9f912de44fa1baf172ec7b2a0f734a8fe5
evm: Fix build warnings

BugLink: https://bugs.launchpad.net/bugs/2034469
[ Upstream commit 996e0a97ebd7b11cb785794e2a83c20c1add9d92 ]

Fix build warnings (function parameters description) for
evm_read_protected_xattrs(), evm_set_key() and evm_verifyxattr().

Fixes: 7626676320f3 ("evm: provide a function to set the EVM key from the kernel") # v4.5+
Fixes: 8314b6732ae4 ("ima: Define new template fields xattrnames, xattrlengths and xattrvalues") # v5.14+
Fixes: 2960e6cb5f7c ("evm: additional parameter to pass integrity cache entry 'iint'") # v3.2+
Signed-off-by: Roberto Sassu <roberto.sassu@huawei.com>
Signed-off-by: Mimi Zohar <zohar@linux.ibm.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
security/integrity/evm/evm_crypto.c
security/integrity/evm/evm_main.c