man-pages/man-pages-2.76-prctl.patch
Ivana Varekova 35c732a350 - update to 2.76
- add new option to prctl man page
2008-01-29 14:19:31 +00:00

21 lines
724 B
Diff

diff -up man-pages-2.76/man2/prctl.2.pom man-pages-2.76/man2/prctl.2
--- man-pages-2.76/man2/prctl.2.pom 2008-01-12 14:44:04.000000000 +0100
+++ man-pages-2.76/man2/prctl.2 2008-01-29 15:12:54.000000000 +0100
@@ -192,6 +192,16 @@ Pass \fBPR_FP_EXC_SW_ENABLE\fP to use FP
.B PR_GET_FPEXC
(Since Linux 2.4.21, 2.5.32, only on PowerPC)
Get floating-point exception mode from \fIarg2\fP.
+.TP
+.B PR_GET_SECCOMP
+(Since Linux 2.6.23)
+Return process secure computing mode.
+.TP
+.B PR_SET_SECCOMP
+(Since Linux 2.6.23)
+Set process secure computing mode to \fIarg2\fP,
+which should be either 0 or 1.
+It is possible to set the mode to even more secure (value 1) and only once.
.SH "RETURN VALUE"
.B PR_GET_DUMPABLE
and