]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
seccomp.2: Add some details for SECCOMP_FILTER_FLAG_NEW_LISTENER
authorMichael Kerrisk <mtk.manpages@gmail.com>
Sat, 26 Sep 2020 20:48:44 +0000 (22:48 +0200)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Wed, 9 Jun 2021 22:40:17 +0000 (10:40 +1200)
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>
man2/seccomp.2

index 6cde0ad210f9607bae75ba8452ee5f22db17a4df..5aa3d7c6f01a184d458d9a2104b666a87dcc1bc3 100644 (file)
@@ -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.