]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
prctl.2: srcfix: remove commented-out error text
authorMichael Kerrisk <mtk.manpages@gmail.com>
Fri, 4 Dec 2015 08:08:42 +0000 (09:08 +0100)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Fri, 4 Dec 2015 09:25:28 +0000 (10:25 +0100)
The PR_SET_SECCOMP EPERM error path was never reachable in strict
mode, and the actual kernel code was removed in Linux 3.5.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
man2/prctl.2

index 19193d425473bfbcaf68a0545315a65745fbcf82..4be4f10e182350d5e835452845a6f01f1e11d118 100644 (file)
@@ -1266,14 +1266,6 @@ is
 and the file descriptor passed in
 .I arg4
 is not valid.
-.\" The following can't actually happen, because prctl() in
-.\" seccomp mode will cause SIGKILL.
-.\" .TP
-.\" .B EPERM
-.\" .I option
-.\" is
-.\" .BR PR_SET_SECCOMP ,
-.\" and secure computing mode is already 1.
 .TP
 .B ENXIO
 .I option