flag only for some specific children. Hence the
"run_with_pdeathsig" builtin that sets it only for the child created to
execute the command.
If target-specific features are an issue, I won't push that proposal any
further.
On 12/11/2023 06:36, Oğuz wrote:
On Saturday, November
Except a wrapper program would be subject to the race condition I
mentioned in my own message. Sorry for the noise.
On 11/11/2023 21:54, Corto Beau wrote:
I think that a loadable builtin might be overkill for the second
case, because one could write a wrapper program to set PDEATHSIG and
the other hand, the shell option to automatically set PDEATHSIG on
all newly created children allows to enable this behavior without
prefixing every line with "noreparent". I would understand if this
use-case was considered too narrow though.
On 11/11/2023 21:32, Corto Beau wrote:
process might
have been reparented by a subreaper.
On 11/11/2023 20:49, Oğuz wrote:
On Saturday, November 11, 2023, Corto Beau wrote:
Configuration Information [Automatically generated, do not change]:
Machine: x86_64
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS: -g -O2
Configuration Information [Automatically generated, do not change]:
Machine: x86_64
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS: -g -O2
uname output: Linux zinc 6.6.1-arch1-1 #1 SMP PREEMPT_DYNAMIC Wed, 08
Nov 2023 16:05:38 + x86_64 GNU/Linux
Machine Type: x86_64-pc-linux-gnu
Bash Versio