summaryrefslogtreecommitdiffstats
path: root/security/keys/key.c
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2017-11-15 17:38:44 +0100
committerDavid Howells <dhowells@redhat.com>2017-11-15 17:38:44 +0100
commitbe543dd626c0a23829e9cc1a28e1e3af4cd9ced6 (patch)
tree7d0a0f99d87697d67565fdf8daafe415a28b62a2 /security/keys/key.c
parentMerge tag 'devicetree-for-4.15' of git://git.kernel.org/pub/scm/linux/kernel/... (diff)
downloadlinux-be543dd626c0a23829e9cc1a28e1e3af4cd9ced6.tar.xz
linux-be543dd626c0a23829e9cc1a28e1e3af4cd9ced6.zip
KEYS: fix in-kernel documentation for keyctl_read()
When keyctl_read() is passed a buffer that is too small, the behavior is inconsistent. Some key types will fill as much of the buffer as possible, while others won't copy anything. Moreover, the in-kernel documentation contradicted the man page on this point. Update the in-kernel documentation to say that this point is unspecified. Signed-off-by: Eric Biggers <ebiggers@google.com> Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'security/keys/key.c')
0 files changed, 0 insertions, 0 deletions