[PATCH 0/4] um: Set parent-death signal for sub-processes
Tiwei Bie
tiwei.btw at antgroup.com
Thu Oct 24 07:28:24 PDT 2024
The ubd io and write_sigio threads/processes may leak e.g. when
the main process is killed by "kill -9". Fix it by setting the
parent-death signal for them.
Tiwei Bie (4):
um: Add os_set_pdeathsig helper function
um: Set parent-death signal for ubd io thread/process
um: Set parent-death signal for write_sigio thread/process
um: Use os_set_pdeathsig helper in winch thread/process
arch/um/drivers/chan_user.c | 3 +--
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 +
5 files changed, 11 insertions(+), 2 deletions(-)
--
2.34.1
More information about the linux-um
mailing list