Home
last modified time | relevance | path

Searched hist:"796 e46f9e2cb2d823578044598ee8fe77f86e3f7" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/security/keys/
H A Dkeyring.cdiff 796e46f9e2cb2d823578044598ee8fe77f86e3f7 Mon Nov 23 17:54:00 CST 2020 Jann Horn <jannh@google.com> keys: Remove outdated __user annotations

When the semantics of the ->read() handlers were changed such that "buffer"
is a kernel pointer, some __user annotations survived.
Since they're wrong now, get rid of them.

Fixes: d3ec10aa9581 ("KEYS: Don't write out to userspace while holding key semaphore")
Signed-off-by: Jann Horn <jannh@google.com>
Signed-off-by: David Howells <dhowells@redhat.com>
Reviewed-by: Ben Boeckel <mathstuf@gmail.com>