Skip to content

um: Set parent-death signal for sub-processes

Tiwei Bie linux-um lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4um: Add os_set_pdeathsig helper functionarch/um/include/shared/os.h arch/um/os-Linux/process.c+8 -00 replies
2/4um: Set parent-death signal for ubd io thread/processarch/um/drivers/ubd_kern.c+1 -00 replies
3/4um: Set parent-death signal for write_sigio thread/processarch/um/os-Linux/sigio.c+1 -00 replies
4/4um: Use os_set_pdeathsig helper in winch thread/processarch/um/drivers/chan_user.c+1 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] um: Set parent-death signal for sub-processes

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(-)
Signature · 1 line
2.34.1