Skip to contentSkip to conversation

keyctl.2: mention ENOMEM in ERRORS

PATCH Applied Eugene Syromyatnikov 2 participants 2 messages Sep 2, 2017 – Sep 3, 2017 1 message not in the archive

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

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
index bbd85ce..fe17b1e 100644
@@ -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]

#2 lore raw
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
index bbd85ce..fe17b1e 100644
@@ -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/