aboutsummaryrefslogtreecommitdiffstats
path: root/man7
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2016-05-18 22:02:04 +0200
committerMichael Kerrisk <mtk.manpages@gmail.com>2016-05-18 22:02:04 +0200
commit68886a1c7e75230cd4000a48e911af55ef5a26fc (patch)
treee93042cf116fe86bf0e4f94315f8d5ba21b64662 /man7
parent8f29c47d8783de4aac9558b595ad33353605020f (diff)
downloadman-pages-68886a1c7e75230cd4000a48e911af55ef5a26fc.tar.gz
namespaces.7: Nowadays, file changes in /proc/PID/mounts are notified differently
Exceptional condition for select(), (E)POLLPRI for (e)poll Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Diffstat (limited to 'man7')
-rw-r--r--man7/namespaces.713
1 files changed, 11 insertions, 2 deletions
diff --git a/man7/namespaces.7 b/man7/namespaces.7
index a736711f75..3de8f5f462 100644
--- a/man7/namespaces.7
+++ b/man7/namespaces.7
@@ -297,11 +297,20 @@ Since kernel version 2.6.15, this file is pollable:
after opening the file for reading, a change in this file
(i.e., a filesystem mount or unmount) causes
.BR select (2)
-to mark the file descriptor as readable, and
+to mark the file descriptor as having an exceptional condition, and
.BR poll (2)
and
.BR epoll_wait (2)
-mark the file as having an error condition.
+mark the file as having a priority event
+.RB ( POLLPRI ).
+(Before Linux 2.6.30,
+a change in this file was indicated by the file descriptor
+being marked as readable for
+.BR select (2),
+and being marked as having an error condition for
+.BR poll (2)
+and
+.BR epoll_wait (2).)
The
.IR /proc/[pid]/mountstats