RFR: 8234262: Unmask SIGQUIT in a child process

Brian Burkhalter bpb at openjdk.org
Wed Sep 21 20:55:16 UTC 2022


On Wed, 21 Sep 2022 20:30:53 GMT, Roger Riggs <rriggs at openjdk.org> wrote:

> Clear the signal mask of the child when launching with posix_spawn.
> 
> SIGQUIT signals are handled on non-Java Threads by the VM.
> For Java threads the signal mask blocks SIGQUIT.  
> The ProcessBuilder uses posix_spawn on all platforms to create new processes.
> Without a specific request, the child process inherits the signal masks from the parent.

Looks correct.

-------------

Marked as reviewed by bpb (Reviewer).

PR: https://git.openjdk.org/jdk/pull/10379


More information about the core-libs-dev mailing list