+
+struct compat_poll_event {
+ /*
+ * Modified by the wait action. Updated using current fields if the
+ * need_update flag is set.
+ */
+ struct compat_poll_event_array wait;
+ /*
+ * This is modified by add/del actions being the _current_ flow of
+ * execution before a poll wait is done.
+ */
+ struct compat_poll_event_array current;
+ /* Indicate if wait.events needs to be realloc. */
+ int need_realloc:1;
+ /* Indicate if wait.events need to be updated from current. */
+ int need_update:1;
+};