This is the start of the stable review cycle for the 5.10.162 release. There are 63 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be made by Thu, 05 Jan 2023 08:12:47 +0000. Anything received after that time might be too late. The whole patch series can be found in one patch at: https://www.kernel.org/pub/linux/kernel/v5.x/stable-review/patch-5.10.162-rc1.gz or in the git tree and branch at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-5.10.y and the diffstat can be found below. thanks, greg k-h ------------- Pseudo-Shortlog of commits: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> Linux 5.10.162-rc1 Jens Axboe <axboe@xxxxxxxxx> io_uring: pass in EPOLL_URING_WAKE for eventfd signaling and wakeups Jens Axboe <axboe@xxxxxxxxx> eventfd: provide a eventfd_signal_mask() helper Jens Axboe <axboe@xxxxxxxxx> eventpoll: add EPOLL_URING_WAKE poll wakeup flag Jens Axboe <axboe@xxxxxxxxx> Revert "proc: don't allow async path resolution of /proc/self components" Jens Axboe <axboe@xxxxxxxxx> Revert "proc: don't allow async path resolution of /proc/thread-self components" Jens Axboe <axboe@xxxxxxxxx> net: remove cmsg restriction from io_uring based send/recvmsg calls Jens Axboe <axboe@xxxxxxxxx> task_work: unconditionally run task_work from get_signal() Jens Axboe <axboe@xxxxxxxxx> signal: kill JOBCTL_TASK_WORK Jens Axboe <axboe@xxxxxxxxx> io_uring: import 5.15-stable io_uring Jens Axboe <axboe@xxxxxxxxx> task_work: add helper for more targeted task_work canceling Jens Axboe <axboe@xxxxxxxxx> kernel: don't call do_exit() for PF_IO_WORKER threads Jens Axboe <axboe@xxxxxxxxx> kernel: stop masking signals in create_io_thread() Stefan Metzmacher <metze@xxxxxxxxx> x86/process: setup io_threads more like normal user space threads Jens Axboe <axboe@xxxxxxxxx> arch: ensure parisc/powerpc handle PF_IO_WORKER in copy_thread() Jens Axboe <axboe@xxxxxxxxx> arch: setup PF_IO_WORKER threads like PF_KTHREAD Seth Forshee <sforshee@xxxxxxxxxxxxxxxx> entry/kvm: Exit to user mode when TIF_NOTIFY_SIGNAL is set Jens Axboe <axboe@xxxxxxxxx> kernel: allow fork with TIF_NOTIFY_SIGNAL pending Eric W. Biederman <ebiederm@xxxxxxxxxxxx> coredump: Limit what can interrupt coredumps Jens Axboe <axboe@xxxxxxxxx> kernel: remove checking for TIF_NOTIFY_SIGNAL Jens Axboe <axboe@xxxxxxxxx> task_work: remove legacy TWA_SIGNAL path Al Viro <viro@xxxxxxxxxxxxxxxxxx> alpha: fix TIF_NOTIFY_SIGNAL handling Vineet Gupta <vgupta@xxxxxxxxxxxx> ARC: unbork 5.11 bootup: fix snafu in _TIF_NOTIFY_SIGNAL handling Jens Axboe <axboe@xxxxxxxxx> ia64: don't call handle_signal() unless there's actually a signal queued Jens Axboe <axboe@xxxxxxxxx> sparc: add support for TIF_NOTIFY_SIGNAL Jens Axboe <axboe@xxxxxxxxx> riscv: add support for TIF_NOTIFY_SIGNAL Jens Axboe <axboe@xxxxxxxxx> nds32: add support for TIF_NOTIFY_SIGNAL Jens Axboe <axboe@xxxxxxxxx> ia64: add support for TIF_NOTIFY_SIGNAL Jens Axboe <axboe@xxxxxxxxx> h8300: add support for TIF_NOTIFY_SIGNAL Jens Axboe <axboe@xxxxxxxxx> c6x: add support for TIF_NOTIFY_SIGNAL Jens Axboe <axboe@xxxxxxxxx> alpha: add support for TIF_NOTIFY_SIGNAL Jens Axboe <axboe@xxxxxxxxx> xtensa: add support for TIF_NOTIFY_SIGNAL Jens Axboe <axboe@xxxxxxxxx> arm: add support for TIF_NOTIFY_SIGNAL Jens Axboe <axboe@xxxxxxxxx> microblaze: add support for TIF_NOTIFY_SIGNAL Jens Axboe <axboe@xxxxxxxxx> hexagon: add support for TIF_NOTIFY_SIGNAL Jens Axboe <axboe@xxxxxxxxx> csky: add support for TIF_NOTIFY_SIGNAL Jens Axboe <axboe@xxxxxxxxx> openrisc: add support for TIF_NOTIFY_SIGNAL Jens Axboe <axboe@xxxxxxxxx> sh: add support for TIF_NOTIFY_SIGNAL Jens Axboe <axboe@xxxxxxxxx> um: add support for TIF_NOTIFY_SIGNAL Jens Axboe <axboe@xxxxxxxxx> s390: add support for TIF_NOTIFY_SIGNAL Jens Axboe <axboe@xxxxxxxxx> mips: add support for TIF_NOTIFY_SIGNAL Jens Axboe <axboe@xxxxxxxxx> powerpc: add support for TIF_NOTIFY_SIGNAL Jens Axboe <axboe@xxxxxxxxx> parisc: add support for TIF_NOTIFY_SIGNAL Jens Axboe <axboe@xxxxxxxxx> nios32: add support for TIF_NOTIFY_SIGNAL Jens Axboe <axboe@xxxxxxxxx> m68k: add support for TIF_NOTIFY_SIGNAL Jens Axboe <axboe@xxxxxxxxx> arm64: add support for TIF_NOTIFY_SIGNAL Jens Axboe <axboe@xxxxxxxxx> arc: add support for TIF_NOTIFY_SIGNAL Jens Axboe <axboe@xxxxxxxxx> x86: Wire up TIF_NOTIFY_SIGNAL Jens Axboe <axboe@xxxxxxxxx> task_work: Use TIF_NOTIFY_SIGNAL if available Jens Axboe <axboe@xxxxxxxxx> entry: Add support for TIF_NOTIFY_SIGNAL Jens Axboe <axboe@xxxxxxxxx> fs: provide locked helper variant of close_fd_get_file() Eric W. Biederman <ebiederm@xxxxxxxxxxxx> file: Rename __close_fd_get_file close_fd_get_file Jens Axboe <axboe@xxxxxxxxx> fs: make do_renameat2() take struct filename Jens Axboe <axboe@xxxxxxxxx> signal: Add task_sigpending() helper Pavel Begunkov <asml.silence@xxxxxxxxx> net: add accept helper not installing fd Jens Axboe <axboe@xxxxxxxxx> net: provide __sys_shutdown_sock() that takes a socket Arnaldo Carvalho de Melo <acme@xxxxxxxxxx> tools headers UAPI: Sync openat2.h with the kernel sources Jens Axboe <axboe@xxxxxxxxx> fs: expose LOOKUP_CACHED through openat2() RESOLVE_CACHED Al Viro <viro@xxxxxxxxxxxxxxxxxx> Make sure nd->path.mnt and nd->path.dentry are always valid pointers Al Viro <viro@xxxxxxxxxxxxxxxxxx> fix handling of nd->depth on LOOKUP_CACHED failures in try_to_unlazy* Jens Axboe <axboe@xxxxxxxxx> fs: add support for LOOKUP_CACHED Al Viro <viro@xxxxxxxxxxxxxxxxxx> saner calling conventions for unlazy_child() Jens Axboe <axboe@xxxxxxxxx> iov_iter: add helper to save iov_iter state Jens Axboe <axboe@xxxxxxxxx> kernel: provide create_io_thread() helper ------------- Diffstat: Makefile | 6 +- arch/alpha/include/asm/thread_info.h | 4 +- arch/alpha/kernel/entry.S | 2 +- arch/alpha/kernel/process.c | 2 +- arch/alpha/kernel/signal.c | 2 +- arch/arc/include/asm/thread_info.h | 4 +- arch/arc/kernel/entry.S | 3 +- arch/arc/kernel/process.c | 2 +- arch/arc/kernel/signal.c | 2 +- arch/arm/include/asm/thread_info.h | 7 +- arch/arm/kernel/entry-common.S | 6 +- arch/arm/kernel/entry-v7m.S | 2 +- arch/arm/kernel/process.c | 2 +- arch/arm/kernel/signal.c | 2 +- arch/arm64/include/asm/thread_info.h | 5 +- arch/arm64/kernel/process.c | 2 +- arch/arm64/kernel/signal.c | 2 +- arch/c6x/include/asm/thread_info.h | 1 + arch/c6x/kernel/asm-offsets.c | 1 + arch/c6x/kernel/signal.c | 3 +- arch/csky/include/asm/thread_info.h | 5 +- arch/csky/kernel/process.c | 2 +- arch/csky/kernel/signal.c | 2 +- arch/h8300/include/asm/thread_info.h | 4 +- arch/h8300/kernel/process.c | 2 +- arch/h8300/kernel/signal.c | 2 +- arch/hexagon/include/asm/thread_info.h | 2 + arch/hexagon/kernel/process.c | 4 +- arch/ia64/include/asm/thread_info.h | 4 +- arch/ia64/kernel/process.c | 5 +- arch/ia64/kernel/signal.c | 3 +- arch/m68k/include/asm/thread_info.h | 1 + arch/m68k/kernel/process.c | 2 +- arch/m68k/kernel/signal.c | 3 +- arch/microblaze/include/asm/thread_info.h | 2 + arch/microblaze/kernel/process.c | 2 +- arch/microblaze/kernel/signal.c | 3 +- arch/mips/include/asm/thread_info.h | 4 +- arch/mips/kernel/process.c | 2 +- arch/mips/kernel/signal.c | 2 +- arch/nds32/include/asm/thread_info.h | 2 + arch/nds32/kernel/ex-exit.S | 2 +- arch/nds32/kernel/process.c | 2 +- arch/nds32/kernel/signal.c | 2 +- arch/nios2/include/asm/thread_info.h | 2 + arch/nios2/kernel/process.c | 2 +- arch/nios2/kernel/signal.c | 3 +- arch/openrisc/include/asm/thread_info.h | 2 + arch/openrisc/kernel/process.c | 2 +- arch/openrisc/kernel/signal.c | 2 +- arch/parisc/include/asm/thread_info.h | 4 +- arch/parisc/kernel/process.c | 2 +- arch/parisc/kernel/signal.c | 3 +- arch/powerpc/include/asm/thread_info.h | 5 +- arch/powerpc/kernel/process.c | 2 +- arch/powerpc/kernel/signal.c | 2 +- arch/riscv/include/asm/thread_info.h | 5 +- arch/riscv/kernel/process.c | 2 +- arch/riscv/kernel/signal.c | 2 +- arch/s390/include/asm/thread_info.h | 2 + arch/s390/kernel/entry.S | 11 +- arch/s390/kernel/process.c | 2 +- arch/s390/kernel/signal.c | 2 +- arch/sh/include/asm/thread_info.h | 4 +- arch/sh/kernel/process_32.c | 2 +- arch/sh/kernel/signal_32.c | 2 +- arch/sparc/include/asm/thread_info_32.h | 4 +- arch/sparc/include/asm/thread_info_64.h | 6 +- arch/sparc/kernel/process_32.c | 2 +- arch/sparc/kernel/process_64.c | 2 +- arch/sparc/kernel/signal_32.c | 2 +- arch/sparc/kernel/signal_64.c | 2 +- arch/um/include/asm/thread_info.h | 2 + arch/um/kernel/process.c | 5 +- arch/x86/include/asm/thread_info.h | 2 + arch/x86/kernel/process.c | 17 + arch/x86/kernel/signal.c | 4 +- arch/xtensa/include/asm/thread_info.h | 5 +- arch/xtensa/kernel/entry.S | 4 +- arch/xtensa/kernel/process.c | 2 +- arch/xtensa/kernel/signal.c | 3 +- drivers/android/binder.c | 2 +- fs/Makefile | 2 - fs/coredump.c | 2 +- fs/eventfd.c | 37 +- fs/eventpoll.c | 18 +- fs/file.c | 34 +- fs/internal.h | 3 + fs/io-wq.c | 1242 ---- fs/namei.c | 84 +- fs/open.c | 6 + fs/proc/self.c | 7 - fs/proc/thread_self.c | 7 - include/linux/entry-common.h | 7 +- include/linux/entry-kvm.h | 4 +- include/linux/eventfd.h | 7 + include/linux/fcntl.h | 2 +- include/linux/fdtable.h | 2 +- include/linux/io_uring.h | 46 +- include/linux/namei.h | 1 + include/linux/net.h | 3 - include/linux/sched.h | 3 + include/linux/sched/jobctl.h | 4 +- include/linux/sched/signal.h | 18 +- include/linux/sched/task.h | 2 + include/linux/socket.h | 4 + include/linux/syscalls.h | 2 +- include/linux/task_work.h | 2 + include/linux/tracehook.h | 23 + include/linux/uio.h | 15 + include/trace/events/io_uring.h | 121 +- include/uapi/linux/eventpoll.h | 6 + include/uapi/linux/io_uring.h | 115 +- include/uapi/linux/openat2.h | 4 + io_uring/Makefile | 6 + io_uring/io-wq.c | 1398 +++++ {fs => io_uring}/io-wq.h | 47 +- {fs => io_uring}/io_uring.c | 9209 ++++++++++++++++------------- kernel/entry/common.c | 14 +- kernel/entry/kvm.c | 2 +- kernel/events/uprobes.c | 2 +- kernel/exit.c | 2 +- kernel/fork.c | 33 +- kernel/sched/core.c | 2 +- kernel/signal.c | 53 +- kernel/task_work.c | 48 +- lib/iov_iter.c | 52 +- net/ipv4/af_inet.c | 1 - net/ipv6/af_inet6.c | 1 - net/socket.c | 92 +- tools/include/uapi/linux/openat2.h | 4 + 131 files changed, 7279 insertions(+), 5773 deletions(-)