Skip to content
Commit 037c3431 authored by Hannes Reinecke's avatar Hannes Reinecke Committed by Keith Busch
Browse files

security/keys: export key_lookup()



For in-kernel consumers one cannot readily assign a user (eg when
running from a workqueue), so the normal key search permissions
cannot be applied.
This patch exports the 'key_lookup()' function for a simple lookup
of keys without checking for permissions.

Signed-off-by: default avatarHannes Reinecke <hare@suse.de>
Reviewed-by: default avatarSagi Grimberg <sagi@grimberg.me>
Acked-by: default avatarDavid Howells <dhowells@redhat.com>
Signed-off-by: default avatarKeith Busch <kbusch@kernel.org>
parent 501cc6f4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment