-
- Downloads
keys: allow the callout data to be passed as a blob rather than a string
Allow the callout data to be passed as a blob rather than a string for internal kernel services that call any request_key_*() interface other than request_key(). request_key() itself still takes a NUL-terminated string. The functions that change are: request_key_with_auxdata() request_key_async() request_key_async_with_auxdata() Signed-off-by:David Howells <dhowells@redhat.com> Cc: Paul Moore <paul.moore@hp.com> Cc: Chris Wright <chrisw@sous-sol.org> Cc: Stephen Smalley <sds@tycho.nsa.gov> Cc: James Morris <jmorris@namei.org> Cc: Kevin Coffman <kwc@citi.umich.edu> Signed-off-by:
Andrew Morton <akpm@linux-foundation.org> Signed-off-by:
Linus Torvalds <torvalds@linux-foundation.org>
Showing
- Documentation/keys-request-key.txt 7 additions, 4 deletionsDocumentation/keys-request-key.txt
- Documentation/keys.txt 9 additions, 5 deletionsDocumentation/keys.txt
- include/linux/key.h 6 additions, 3 deletionsinclude/linux/key.h
- security/keys/internal.h 6 additions, 3 deletionssecurity/keys/internal.h
- security/keys/keyctl.c 5 additions, 2 deletionssecurity/keys/keyctl.c
- security/keys/request_key.c 30 additions, 19 deletionssecurity/keys/request_key.c
- security/keys/request_key_auth.c 7 additions, 5 deletionssecurity/keys/request_key_auth.c
Loading
Please register or sign in to comment