seccomp.2: Minor edits to Tycho's SECCOMP_FILTER_FLAG_NEW_LISTENER patch

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2020-09-26 15:45:45 +02:00
parent b9395f4a3e
commit d7a3918456
1 changed files with 9 additions and 5 deletions

View File

@ -217,12 +217,16 @@ actions from being logged via the
.IR /proc/sys/kernel/seccomp/actions_logged
file.
.TP
.BR SECCOMP_FILTER_FLAG_NEW_LISTENER " (since Linux 4.21)"
With this flag, a new userspace notification fd is returned on success. When
this filter returns
.BR SECCOMP_FILTER_FLAG_NEW_LISTENER " (since Linux 5.0)"
.\" commit 6a21cc50f0c7f87dae5259f6cfefe024412313f6
With this flag,
a new user-space notification file descriptor is returned on success.
When the filter returns
.BR SECCOMP_RET_USER_NOTIF
a notification will be sent to this fd. See "Userspace Notification" below for
more details.
a notification will be sent to this file descriptor.
See
.BR seccomp_unotify (2)
for further details.
.TP
.BR SECCOMP_FILTER_FLAG_SPEC_ALLOW " (since Linux 4.17)"
.\" commit 00a02d0c502a06d15e07b857f8ff921e3e402675