summaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2022-10-10 22:09:33 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2022-10-10 22:09:33 +0200
commitada3bfb6492a6d0d3eca50f3b61315fe032efc72 (patch)
tree10be4da5fc33357dc362e64e295c00ac7be421b4 /security
parentMerge tag 'v6.1-p1' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/... (diff)
parentselftest: tpm2: Add Client.__del__() to close /dev/tpm* handle (diff)
downloadlinux-ada3bfb6492a6d0d3eca50f3b61315fe032efc72.tar.xz
linux-ada3bfb6492a6d0d3eca50f3b61315fe032efc72.zip
Merge tag 'tpmdd-next-v6.1-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/jarkko/linux-tpmdd
Pull tpm updates from Jarkko Sakkinen: "Just a few bug fixes this time" * tag 'tpmdd-next-v6.1-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/jarkko/linux-tpmdd: selftest: tpm2: Add Client.__del__() to close /dev/tpm* handle security/keys: Remove inconsistent __user annotation char: move from strlcpy with unused retval to strscpy
Diffstat (limited to 'security')
-rw-r--r--security/keys/keyring.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/keys/keyring.c b/security/keys/keyring.c
index 5e6a90760753..4448758f643a 100644
--- a/security/keys/keyring.c
+++ b/security/keys/keyring.c
@@ -79,7 +79,7 @@ static void keyring_revoke(struct key *keyring);
static void keyring_destroy(struct key *keyring);
static void keyring_describe(const struct key *keyring, struct seq_file *m);
static long keyring_read(const struct key *keyring,
- char __user *buffer, size_t buflen);
+ char *buffer, size_t buflen);
struct key_type key_type_keyring = {
.name = "keyring",