[PATCH 2/2] memfd_secret.2: mention ENOSYS is also returned when secretmem_enable=0

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

 



Ref: https://lore.kernel.org/all/20210518072034.31572-5-rppt@xxxxxxxxxx/
Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@xxxxxxxxxxxxxxxxxx>
---
I went a bit Big here and noted the parameter name,
dunno if you like that or not.

 man2/memfd_secret.2 | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/man2/memfd_secret.2 b/man2/memfd_secret.2
index e9fc8aaa0..ee7614aa0 100644
--- a/man2/memfd_secret.2
+++ b/man2/memfd_secret.2
@@ -141,7 +141,9 @@ There was insufficient memory to create a new anonymous file.
 .TP
 .B ENOSYS
 .BR memfd_secret ()
-is not implemented on this architecture.
+is not implemented on this architecture,
+or has not been enabled on the kernel command-line with
+.BR secretmem_enable =1.
 .SH VERSIONS
 The
 .BR memfd_secret ()
-- 
2.30.2

Attachment: signature.asc
Description: PGP signature


[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