[PATCH 1/2] memfd_secret.2: mention that it inhibits hibernation

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

 



Ref: https://lore.kernel.org/all/20210518072034.31572-6-rppt@xxxxxxxxxx/
Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@xxxxxxxxxxxxxxxxxx>
---
 man2/memfd_secret.2 | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/man2/memfd_secret.2 b/man2/memfd_secret.2
index f3380818e..e9fc8aaa0 100644
--- a/man2/memfd_secret.2
+++ b/man2/memfd_secret.2
@@ -101,7 +101,10 @@ unless the close-on-exec flag has been set.
 .PP
 The memory region is locked into memory in the same way as with
 .BR mlock (2),
-so that it will never be written into swap.
+so that it will never be written into swap,
+and hibernation is inhibited for as long as any
+.BR memfd_secret ()
+descriptions exist.
 However the implementation of
 .BR memfd_secret ()
 will not try to populate the whole range during the
-- 
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