[PATCH stable 6.12 0/9] Kunit backports for older systems

From: Florian Fainelli

Date: Fri Jul 24 2026 - 17:50:16 EST


This patch series addresses an issue we encountered on older Ubuntu
20.04.6 LTS servers whereby running Kunit would not return to a prompt
and it would not be possible to Ctrl-C the running session either.

Benjamin Berg (2):
um: Set parent death signal for winch thread/process
um: Set parent death signal for userspace process

David Gow (1):
kunit: tool: Terminate kernel under test on SIGINT

Shuvam Pandey (1):
kunit: tool: skip stty when stdin is not a tty

Tiwei Bie (5):
um: Add os_set_pdeathsig helper function
um: Use os_set_pdeathsig helper in winch thread/process
um: Set parent-death signal for ubd io thread/process
um: Set parent-death signal for write_sigio thread/process
um: Preserve errno within signal handler

arch/um/drivers/chan_user.c | 2 ++
arch/um/drivers/ubd_kern.c | 1 +
arch/um/include/shared/os.h | 2 ++
arch/um/os-Linux/process.c | 6 ++++
arch/um/os-Linux/sigio.c | 1 +
arch/um/os-Linux/signal.c | 3 ++
arch/um/os-Linux/skas/process.c | 3 ++
tools/testing/kunit/kunit_kernel.py | 39 +++++++++++++++++-------
tools/testing/kunit/kunit_tool_test.py | 42 ++++++++++++++++++++++++++
9 files changed, 88 insertions(+), 11 deletions(-)

--
2.34.1