KEYS: Add an iovec version of KEYCTL_INSTANTIATE
Add a keyctl op (KEYCTL_INSTANTIATE_IOV) that is like KEYCTL_INSTANTIATE, but takes an iovec array and concatenates the data in-kernel into one buffer. Since the KEYCTL_INSTANTIATE copies the data anyway, this isn't too much of a problem. Signed-off-by:David Howells <dhowells@redhat.com> Signed-off-by:
James Morris <jmorris@namei.org>
Showing
- Documentation/keys.txt 11 additions, 4 deletionsDocumentation/keys.txt
- arch/x86/Kconfig 5 additions, 0 deletionsarch/x86/Kconfig
- include/linux/keyctl.h 1 addition, 0 deletionsinclude/linux/keyctl.h
- security/keys/compat.c 47 additions, 0 deletionssecurity/keys/compat.c
- security/keys/internal.h 7 additions, 0 deletionssecurity/keys/internal.h
- security/keys/keyctl.c 96 additions, 7 deletionssecurity/keys/keyctl.c
Loading
Please register or sign in to comment