4 ms·
> The setting is retained across forks, as shown in the original article That’s not what the man page says: > The parent-death signal setting is cleared for t
by skissane 2y ago
> The setting is retained across forks, as shown in the original article
That’s not what the man page says:
> The parent-death signal setting is cleared for the child of a fork(2).
https://man7.org/linux/man-pages/man2/pr_set_pdeathsig.2const.html https://man7.org/linux/man-pages/man2/pr_set_pdeathsig.2cons...
Unless the man page is wrong?
- zokier 2y agoI wonder if this is difference between libc fork (which calls clone syscall) and kernel fork syscall.