-
- Downloads
KEYS: Do preallocation for __key_link()
Do preallocation for __key_link() so that the various callers in request_key.c can deal with any errors from this source before attempting to construct a key. This allows them to assume that the actual linkage step is guaranteed to be successful. Signed-off-by:David Howells <dhowells@redhat.com> Signed-off-by:
James Morris <jmorris@namei.org>
Showing
- security/keys/internal.h 10 additions, 1 deletionsecurity/keys/internal.h
- security/keys/key.c 29 additions, 16 deletionssecurity/keys/key.c
- security/keys/keyring.c 145 additions, 97 deletionssecurity/keys/keyring.c
- security/keys/request_key.c 31 additions, 16 deletionssecurity/keys/request_key.c
Loading