[PATCH] prctl.2: refine PR_SET_MM_{ARG,ENV}_{START,END} availability

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

 



From: Mike Frysinger <vapier@xxxxxxxxxxxx>

The existing code is correct in that Linux 3.5 added these, but it was
only for checkpoint users.  Linux 3.10 moved the code out for everyone.

Signed-off-by: Mike Frysinger <vapier@xxxxxxxxxx>
---
 man2/prctl.2 | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/man2/prctl.2 b/man2/prctl.2
index 071049d48483..f875eec3cc1a 100644
--- a/man2/prctl.2
+++ b/man2/prctl.2
@@ -592,8 +592,12 @@ The requirements for the address are the same as for the
 .BR PR_SET_MM_START_BRK
 option.
 .PP
-The following options are available since Linux 3.5.
 .\" commit fe8c7f5cbf91124987106faa3bdf0c8b955c4cf7
+The following options are available since Linux 3.5 only if the
+.B CONFIG_CHECKPOINT_RESTORE
+kernel configuration option is enabled.
+.\" commit 52b3694157e3aa6df871e283115652ec6f2d31e0
+Starting with Linux 3.10, they are always available.
 .TP
 .BR PR_SET_MM_ARG_START
 Set the address above which the program command line is placed.
-- 
2.17.1




[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