Cleanup: remove ignored flags from poll events bitmasks
authorMichael Jeanson <mjeanson@efficios.com>
Wed, 11 Nov 2020 15:38:51 +0000 (10:38 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 28 Oct 2022 20:57:16 +0000 (16:57 -0400)
The POLLHUP and POLLERR flags are only valid in 'revents', they are
implicitly enabled regardless of the fact they were set in 'events' or not.

As such remove those flags from all poll events to reduce possible
confusion as to which flags can be returned by poll.

Change-Id: Id22c78c38257d96dfc47e1337795f13c70dd5f91
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>

No differences found
This page took 0.02534 seconds and 4 git commands to generate.