Thread (2 messages) 2 messages, 2 authors, 2021-01-08

keyctl.2: ERRORS: EINVAL: wfix needed

From: Alejandro Colomar (man-pages) <hidden>
Date: 2021-01-07 17:29:32

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

-- 
Alejandro Colomar
Linux man-pages comaintainer; https://www.kernel.org/doc/man-pages/
http://www.alejandro-colomar.es/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help