]> git.baikalelectronics.ru Git - kernel.git/commit
io_uring: disable polling pollfree files
authorPavel Begunkov <asml.silence@gmail.com>
Thu, 1 Sep 2022 15:19:15 +0000 (16:19 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 5 Sep 2022 08:27:47 +0000 (10:27 +0200)
commit2aa2d61cf560597bcf5a257d465fc05f2c9f1d22
treed43d33ef05884c3642a94d23f3e88f8fdaabbefb
parent69f837f6f55c1cf36ec17e98f47e19079d6eefea
io_uring: disable polling pollfree files

Older kernels lack io_uring POLLFREE handling. As only affected files
are signalfd and android binder the safest option would be to disable
polling those files via io_uring and hope there are no users.

Fixes: 12cb9a4b4263c ("io_uring: add support for IORING_OP_POLL")
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/android/binder.c
fs/io_uring.c
fs/signalfd.c
include/linux/fs.h