Re: keyctl.2: ERRORS: EINVAL: wfix needed

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Alex,

On 1/7/21 6:28 PM, Alejandro Colomar (man-pages) wrote:
> 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?

Looking at commit ff91beca5bec550a7a16d9dfe2fd3f9210fbb06c,
I think you are right. I added another "[.TP\n.B EINVAL|.

Thanks,

Michael


-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/



[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux