Opened 6 years ago

Last modified 6 years ago

#14690 new enhancement

Add support for prctl(PR_SET_PDEATHSIG) or procctl(PROC_PDEATHSIG_CTL) — at Version 1

Reported by: mmu_man Owned by: nobody
Priority: normal Milestone: Unscheduled
Component: System/Kernel Version: R1/Development
Keywords: prctl, procctl, thread Cc:
Blocked By: Blocking:
Platform: All

Description (last modified by mmu_man)

NBDKit tries to use it to get the TERM signal on parent thread death.

prctl is from Linux, procctl is from FreeBSD.

While we do have a notification API that can send THREAD_REMOVED, it's not really handy to use in unixish code, and patches using it would probably be rejected.

Change History (1)

comment:1 by mmu_man, 6 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.