mirror of https://github.com/mkerrisk/man-pages
seccomp_unotify.2: Note when FD indicates EOF/(E)POLLHUP in (e)poll/select
Verified by experiment. Reported-by: Christian Brauner <christian.brauner@canonical.com> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
6048506c77
commit
cd3224b7df
|
@ -612,6 +612,16 @@ meaning that a notification response can be sent using the
|
||||||
operation.
|
operation.
|
||||||
.\" FIXME
|
.\" FIXME
|
||||||
.\" But (how) is the writable/(E)POLLOUT useful?
|
.\" But (how) is the writable/(E)POLLOUT useful?
|
||||||
|
.IP \(bu
|
||||||
|
After the last thread using the filter has terminated and been reaped using
|
||||||
|
.BR waitpid (2)
|
||||||
|
(or similar),
|
||||||
|
the file descriptor indicates an end-of-file condition (readable in
|
||||||
|
.BR select (2);
|
||||||
|
.BR POLLHUP / EPOLLHUP
|
||||||
|
in
|
||||||
|
.BR poll (2)/
|
||||||
|
.BR epoll_wait (2)).
|
||||||
.SH BUGS
|
.SH BUGS
|
||||||
If a
|
If a
|
||||||
.BR SECCOMP_IOCTL_NOTIF_RECV
|
.BR SECCOMP_IOCTL_NOTIF_RECV
|
||||||
|
|
Loading…
Reference in New Issue