mbox series

[4.19,0/5] aio poll fixes for 4.19

Message ID 20211210235312.40412-1-ebiggers@kernel.org
Headers show
Series aio poll fixes for 4.19 | expand

Message

Eric Biggers Dec. 10, 2021, 11:53 p.m. UTC
Backport the aio poll fixes to 4.19.  This resolves conflicts in patches
1 and 4.  They are "trivial" conflicts, but I'm sending this to make
sure patches don't get dropped.

Eric Biggers (5):
  wait: add wake_up_pollfree()
  binder: use wake_up_pollfree()
  signalfd: use wake_up_pollfree()
  aio: keep poll requests on waitqueue until completed
  aio: fix use-after-free due to missing POLLFREE handling

 drivers/android/binder.c        |  21 ++--
 fs/aio.c                        | 184 ++++++++++++++++++++++++++------
 fs/signalfd.c                   |  12 +--
 include/linux/wait.h            |  26 +++++
 include/uapi/asm-generic/poll.h |   2 +-
 kernel/sched/wait.c             |   7 ++
 6 files changed, 195 insertions(+), 57 deletions(-)