The PDEATHSIG flag is indeed cleared for the child of a fork, but
preserved across calls to execve.
If there was a way to avoid this and propagate the flag across all
descendants, I think it would mess up processes that expect their
children to outlive them.
The rationale for this feature pr
commit 4214b0e12b4345c970d4d50705b1443441baedf8
Author: Chet Ramey
Date: Fri 2023-11-10 05:39:38 +0800
Bash-5.2 patch 16: fix for a crash if one of the expressions in an
arithmetic for command expands to NULL
M execute_cmd.c
M patchlevel.h
A tags
I guess it's not intenti