keyctl.2: ERRORS: EINVAL: wfix needed
Hi Michael,
Reading keyctl(2), I found the following:
(Around keyctl.2:1749)
[
EINVAL operation was KEYCTL_SEARCH and the size of the de‐
scription in arg4 (including the terminating null byte) exceeded 4096 bytes. size of the string (in‐ cluding the terminating null byte) specified in arg3 (the key type) or arg4 (the key description) exceeded the limit (32 bytes and 4096 bytes respectively).
]
It's hard to read because of [. size], but AFAICS it looks like two completely different errors (both setting errno to EINVAL), and therefore it should be two separate entries, shouldn't it?
Thanks,
Alex
Signature · 3 lines
Alejandro Colomar Linux man-pages comaintainer; https://www.kernel.org/doc/man-pages/ http://www.alejandro-colomar.es/
Hi Alex,
Quoted 13 lines · Alejandro Colomar (man-pages)
Hi Michael,
Reading keyctl(2), I found the following:
(Around keyctl.2:1749)
[
EINVAL operation wasKEYCTL_SEARCHand the size of the de‐
scription in arg4 (including the terminating null byte) exceeded 4096 bytes. size of the string (in‐ cluding the terminating null byte) specified in arg3 (the key type) or arg4 (the key description) exceeded the limit (32 bytes and 4096 bytes respectively).
Quoted 5 lines
]
It's hard to read because of [. size], but AFAICS it looks like two completely different errors (both setting errno to EINVAL), and therefore it should be two separate entries, shouldn't it?
Looking at commit ff91beca5bec550a7a16d9dfe2fd3f9210fbb06c, I think you are right. I added another "[.TP\n.B EINVAL|.
Thanks,
Michael
Signature · 3 lines
Michael Kerrisk Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/ Linux/UNIX System Programming Training: http://man7.org/training/