eventpoll: move EPOLL_URING_WAKE outside of uapi header
authorJens Axboe <axboe@kernel.dk>
Thu, 6 Feb 2025 18:18:05 +0000 (11:18 -0700)
committerJens Axboe <axboe@kernel.dk>
Thu, 6 Feb 2025 18:19:02 +0000 (11:19 -0700)
commitce7c541a2f0d0f02ff8a8e4d986db01c6ff87a8d
treeccf242ec21e10d733d90de2338bab43eb4350aa6
parent530b88ee3b7e30cbcedb7938cc034ce21df10061
eventpoll: move EPOLL_URING_WAKE outside of uapi header

It really doesn't belong there, and nor should it be allowed for an
application to set this flag - it's purely for internal use, it's not
an event type that can be waited on. Have ep_insert() check for
internal flags and reject the attempt to add the event if they are set.

Leave a notice in the uapi header about bit 27 being for internal use.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/eventpoll.c
include/linux/eventpoll.h
include/uapi/linux/eventpoll.h
io_uring/io_uring.h