Home
last modified time | relevance | path

Searched hist:be543dd6 (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/Documentation/security/keys/
H A Dcore.rstbe543dd6 Wed Nov 15 10:38:44 CST 2017 Eric Biggers <ebiggers@google.com> 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>
be543dd6 Wed Nov 15 10:38:44 CST 2017 Eric Biggers <ebiggers@google.com> 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>