From 5ade353db4beb2d32b4de0106b40a407860ab0c7 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Thu, 21 Sep 2017 15:02:06 +0200 Subject: [PATCH] memfd_create.2: Note the limit for size of 'name' Signed-off-by: Michael Kerrisk --- man2/memfd_create.2 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/man2/memfd_create.2 b/man2/memfd_create.2 index 6c1c54a85..5f0920301 100644 --- a/man2/memfd_create.2 +++ b/man2/memfd_create.2 @@ -176,6 +176,9 @@ included unknown bits. .B EINVAL .I name was too long. +(The limit is +.\" NAME_MAX - strlen("memfd:") +249 bytes, excluding the terminating null byte.) .TP .B EINVAL Both