prctl.2: Note that seccomp(2) is preferred over prctl(2) for setting seccomp mode

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2021-09-01 23:57:17 +02:00
parent e186261405
commit 2da936fe2b
1 changed files with 2 additions and 1 deletions

View File

@ -1135,7 +1135,8 @@ the available system calls.
The more recent
.BR seccomp (2)
system call provides a superset of the functionality of
.BR PR_SET_SECCOMP .
.BR PR_SET_SECCOMP ,
and is the preferred interface for new applications.
.IP
The seccomp mode is selected via
.IR arg2 .