Opened 10 months ago

Last modified 10 months ago

#14690 new enhancement

Add support for prctl(PR_SET_PDEATHSIG) or procctl(PROC_PDEATHSIG_CTL)

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:
Has a Patch: no 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 (2)

comment:1 by mmu_man, 10 months ago

Description: modified (diff)

comment:2 by mmu_man, 10 months ago

Type: bugenhancement
Note: See TracTickets for help on using tickets.