aboutsummaryrefslogtreecommitdiffstats
path: root/man2
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2020-09-26 22:48:44 +0200
committerMichael Kerrisk <mtk.manpages@gmail.com>2021-06-10 10:40:17 +1200
commitb723c6d8dd061e88723bca33e450012c7e8e726c (patch)
tree63ad92a09ece2685d5db35cf3711ebd312091f97 /man2
parentd7a3918456f1b93c8960baa999b467a23e779e1f (diff)
downloadman-pages-b723c6d8dd061e88723bca33e450012c7e8e726c.tar.gz
seccomp.2: Add some details for SECCOMP_FILTER_FLAG_NEW_LISTENER
Rework the description a little, and note that the close-on-exec flag is set for the returned file descriptor. Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Diffstat (limited to 'man2')
-rw-r--r--man2/seccomp.25
1 files changed, 3 insertions, 2 deletions
diff --git a/man2/seccomp.2 b/man2/seccomp.2
index 6cde0ad210..5aa3d7c6f0 100644
--- a/man2/seccomp.2
+++ b/man2/seccomp.2
@@ -219,8 +219,9 @@ file.
.TP
.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.
+After successfully installing the filter program,
+return a new user-space notification file descriptor.
+(The close-on-exec flag is set for the file descriptor.)
When the filter returns
.BR SECCOMP_RET_USER_NOTIF
a notification will be sent to this file descriptor.