keyctl.2: mention ENOMEM in ERRORS
PATCH v2 6/6 keyctl.2: mention ENOMEM in ERRORS
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(+)
man2/keyctl.2 +4 -0
@@ -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.
Signature · 1 line
2.1.4
A message that is not in the archive (sent off-list or not yet received): 20170902044032.GA7817-ZbobWygYI+YXGNroddHbYwC/[email protected]
Quoted 2 lines · Eugene Syromyatnikov
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
Quoted 20 lines
--- man2/keyctl.2 | 4 ++++ 1 file changed, 4 insertions(+)man2/keyctl.2 +4
-0@@ -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.
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/