Re: [PATCH v2 6/6] keyctl.2: mention ENOMEM in ERRORS

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

 



On 09/02/2017 06:40 AM, Eugene Syromyatnikov wrote:
> This one is not very specific, as memory allocations are scattered across
> the code, so let's put some generic description here.

Thanks, Eugene. Applied.

Cheers,

Michael

> ---
>  man2/keyctl.2 | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/man2/keyctl.2 b/man2/keyctl.2
> index bbd85ce..fe17b1e 100644
> --- a/man2/keyctl.2
> +++ b/man2/keyctl.2
> @@ -1866,6 +1866,10 @@ did not exist, and
>  .I arg3
>  was zero (meaning don't create the key if it didn't exist).
>  .TP
> +.B ENOMEM
> +One of kernel memory allocation routines failed during the execution of the
> +syscall.
> +.TP
>  .B ENOTDIR
>  A key of keyring type was expected but the ID of a key with
>  a different type was provided.
> 


-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[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