public inbox for linux-man@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 6/6] keyctl.2: mention ENOMEM in ERRORS
@ 2017-09-02  4:40 Eugene Syromyatnikov
       [not found] ` <20170902044032.GA7817-ZbobWygYI+YXGNroddHbYwC/G2K4zDHf@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Eugene Syromyatnikov @ 2017-09-02  4:40 UTC (permalink / raw)
  To: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w
  Cc: linux-man-u79uwXL29TY76Z2rM5mHXA, David Howells, Mat Martineau,
	Stephan Mueller, keyrings-u79uwXL29TY76Z2rM5mHXA

This one is not very specific, as memory allocations are scattered across
the code, so let's put some generic description here.
---
 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.
-- 
2.1.4

--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH v2 6/6] keyctl.2: mention ENOMEM in ERRORS
       [not found] ` <20170902044032.GA7817-ZbobWygYI+YXGNroddHbYwC/G2K4zDHf@public.gmane.org>
@ 2017-09-03  0:23   ` Michael Kerrisk (man-pages)
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Kerrisk (man-pages) @ 2017-09-03  0:23 UTC (permalink / raw)
  To: Eugene Syromyatnikov
  Cc: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w,
	linux-man-u79uwXL29TY76Z2rM5mHXA, David Howells, Mat Martineau,
	Stephan Mueller, keyrings-u79uwXL29TY76Z2rM5mHXA

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-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-09-03  0:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-09-02  4:40 [PATCH v2 6/6] keyctl.2: mention ENOMEM in ERRORS Eugene Syromyatnikov
     [not found] ` <20170902044032.GA7817-ZbobWygYI+YXGNroddHbYwC/G2K4zDHf@public.gmane.org>
2017-09-03  0:23   ` Michael Kerrisk (man-pages)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox