keys: Provide request_key_rcu()
Provide a request_key_rcu() function that can be used to request a key
under RCU conditions. It can only search and check permissions; it cannot
allocate a new key, upcall or wait for an upcall to complete. It may
return a partially constructed key.
Signed-off-by:
David Howells <dhowells@redhat.com>
Showing
- Documentation/security/keys/core.rst 10 additions, 0 deletionsDocumentation/security/keys/core.rst
- Documentation/security/keys/request-key.rst 9 additions, 0 deletionsDocumentation/security/keys/request-key.rst
- include/linux/key.h 3 additions, 0 deletionsinclude/linux/key.h
- security/keys/request_key.c 44 additions, 0 deletionssecurity/keys/request_key.c
Loading
Please register or sign in to comment