prctl.2: Suggest /proc/PID/status "Seccomp" as alternative to PRCTL_GET_SECCOMP

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2015-01-07 11:26:40 +01:00
parent 8eeb062d88
commit 787843e723
1 changed files with 8 additions and 0 deletions

View File

@ -430,6 +430,14 @@ This operation is available only
if the kernel is configured with
.B CONFIG_SECCOMP
enabled.
Since Linux 3.8, the
.IR Seccomp
field of the
.IR /proc/[pid]/status
file provides a method of obtaining the same information,
without the risk that the process is killed; see
.BR proc (5).
.TP
.BR PR_SET_SECUREBITS " (since Linux 2.6.26)"
Set the "securebits" flags of the calling thread to the value supplied in