[PATCH 1/3] prctl(2): PR_SET_MM: document arg4/arg5 zero behavior

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

 



The kernel will immediately reject calls where arg4/arg5 are not zero.
See kernel/sys.c:prctl_set_mm().

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

diff --git a/man2/prctl.2 b/man2/prctl.2
index 97cf21a4c558..c91d328e5aa1 100644
--- a/man2/prctl.2
+++ b/man2/prctl.2
@@ -515,6 +515,11 @@ The value in
 is one of the options below, while
 .I arg3
 provides a new value for the option.
+The
+.I arg4
+and
+.I arg5
+arguments must be zero if unused.
 .RS
 .TP
 .BR PR_SET_MM_START_CODE
-- 
2.11.0

--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[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