From: Michael Kerrisk Date: Sat, 26 Sep 2020 20:48:44 +0000 (+0200) Subject: seccomp.2: Add some details for SECCOMP_FILTER_FLAG_NEW_LISTENER X-Git-Tag: man-pages-5.12~85 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b723c6d8dd061e88723bca33e450012c7e8e726c;p=thirdparty%2Fman-pages.git 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 --- 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.