um: Set parent-death signal for sub-processes
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | um: Add os_set_pdeathsig helper functionarch/ arch/ | +8 | 0 replies | |
| 2/4 | um: Set parent-death signal for ubd io thread/processarch/ | +1 | 0 replies | |
| 3/4 | um: Set parent-death signal for write_sigio thread/processarch/ | +1 | 0 replies | |
| 4/4 | um: Use os_set_pdeathsig helper in winch thread/processarch/ | +1 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
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