summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2021-09-01 23:57:17 +0200
committerMichael Kerrisk <mtk.manpages@gmail.com>2021-09-01 23:57:17 +0200
commit2da936fe2bfcd397d17df359936e971069ec8b73 (patch)
treea63234d0b5581edd2d3654cb80088725e935d1cc
parente186261405cad58a71c44df7be8f9da02a9d6eff (diff)
prctl.2: Note that seccomp(2) is preferred over prctl(2) for setting seccomp mode
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
-rw-r--r--man2/prctl.23
1 files changed, 2 insertions, 1 deletions
diff --git a/man2/prctl.2 b/man2/prctl.2
index b38af67e7..25750ae81 100644
--- a/man2/prctl.2
+++ b/man2/prctl.2
@@ -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 .