Re: RFR: 8234262: Unmask SIGQUIT in a child process [v2]

2022-09-22 Thread Roger Riggs
On Wed, 21 Sep 2022 21:37:59 GMT, Roger Riggs 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 platfor

Re: RFR: 8234262: Unmask SIGQUIT in a child process [v2]

2022-09-22 Thread David Holmes
On Wed, 21 Sep 2022 21:37:59 GMT, Roger Riggs 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 platfor

Re: RFR: 8234262: Unmask SIGQUIT in a child process [v2]

2022-09-22 Thread Thomas Stuefe
On Thu, 22 Sep 2022 14:26:51 GMT, Roger Riggs wrote: > Hi Roger, Using the spawn attributes seems more far reaching than simply > temporarily changing the signal mask of the calling thread. I'd be concerned > this has some unintended side-effects. I don't think that is a good idea. If the thre

Re: RFR: 8234262: Unmask SIGQUIT in a child process [v2]

2022-09-22 Thread Alan Bateman
On Thu, 22 Sep 2022 14:26:51 GMT, Roger Riggs wrote: > The launching of a new executable is a two+ step process. A small executable > (jspawnhelper) is spawned and it does the exec of the requested executable. > An alternate implementation is to have jspawnhelper reset its own signal mask > be

Re: RFR: 8234262: Unmask SIGQUIT in a child process [v2]

2022-09-22 Thread Roger Riggs
On Wed, 21 Sep 2022 23:12:13 GMT, David Holmes wrote: > Hi Roger, Using the spawn attributes seems more far reaching than simply > temporarily changing the signal mask of the calling thread. I'd be concerned > this has some unintended side-effects. @dholmes-ora The signal masks for threads are

Re: RFR: 8234262: Unmask SIGQUIT in a child process [v2]

2022-09-21 Thread David Holmes
On Wed, 21 Sep 2022 21:37:59 GMT, Roger Riggs 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 platfor

Re: RFR: 8234262: Unmask SIGQUIT in a child process [v2]

2022-09-21 Thread Brian Burkhalter
On Wed, 21 Sep 2022 21:37:59 GMT, Roger Riggs 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 platfor

Re: RFR: 8234262: Unmask SIGQUIT in a child process [v2]

2022-09-21 Thread Roger Riggs
> 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, th