aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2017-02-15 15:14:41 -0500
committerMichael Kerrisk <mtk.manpages@gmail.com>2017-04-19 15:52:04 +0200
commita87d0921a7cceb1c9cc15f7319e17499232afffd (patch)
tree6edccfd0528d1a63b1959b3750ccb9ac64ac4355
parentd983a4c8544c8fff8bfeb461d62f9164c06a518f (diff)
downloadman-pages-a87d0921a7cceb1c9cc15f7319e17499232afffd.tar.gz
prctl(2): PR_SET_MM: Document arg4/arg5 zero behavior
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@chromium.org> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
-rw-r--r--man2/prctl.25
1 files changed, 5 insertions, 0 deletions
diff --git a/man2/prctl.2 b/man2/prctl.2
index ed374e5862..c6d828a910 100644
--- a/man2/prctl.2
+++ b/man2/prctl.2
@@ -534,6 +534,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