seccomp.2: NOTES: mention ptrace(PTRACE_SECCOMP_GET_FILTER) to dump seccomp filters

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2016-11-08 13:40:52 +01:00
parent baf11d5c1d
commit 88f02af602
1 changed files with 6 additions and 0 deletions

View File

@ -586,6 +586,12 @@ provides a superset of the functionality provided by the
.BR PR_SET_SECCOMP
operation (which does not support
.IR flags ).
Since Linux 4.4, the
.BR prctl (2)
.B PTRACE_SECCOMP_GET_FILTER
operation can be used to dump a process's seccomp filters.
.\"
.SS Seccomp-specific BPF details
Note the following BPF details specific to seccomp filters:
.IP * 3