]> 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)
commit437fc11688072bedaf1d6f43b2db4b03d7b4503d
treed43d33ef05884c3642a94d23f3e88f8fdaabbefb
parentecf63fcefd68e6e71f228174a2b85fc454c001c2
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: 0edea71e23c02 ("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