Re: Issue with kill after exec in testsuite

2025-07-11 Thread Jeremy Drake via Cygwin-developers
On Fri, 11 Jul 2025, Jeremy Drake via Cygwin-developers wrote: > On Fri, 11 Jul 2025, Jon Turney wrote: > > > On 08/07/2025 20:02, Jeremy Drake via Cygwin-developers wrote: > > > I've run into an odd issue with exec and kill in winsup/testsuite that > > > doesn't happen in a more normal configurat

Re: Issue with kill after exec in testsuite

2025-07-11 Thread Jeremy Drake via Cygwin-developers
On Fri, 11 Jul 2025, Jon Turney wrote: > On 08/07/2025 20:02, Jeremy Drake via Cygwin-developers wrote: > > I've run into an odd issue with exec and kill in winsup/testsuite that > > doesn't happen in a more normal configuration. What I'm doing is getting > > This is odd. > > Jst so I'm clear: Th

Re: Issue with kill after exec in testsuite

2025-07-11 Thread Jon Turney
On 08/07/2025 20:02, Jeremy Drake via Cygwin-developers wrote: I've run into an odd issue with exec and kill in winsup/testsuite that doesn't happen in a more normal configuration. What I'm doing is getting This is odd. Jst so I'm clear: This works when run normally, but but fails when run i

Issue with kill after exec in testsuite

2025-07-08 Thread Jeremy Drake via Cygwin-developers
I've run into an odd issue with exec and kill in winsup/testsuite that doesn't happen in a more normal configuration. What I'm doing is getting the pid via getpid (), then forking. In the forked child, I can call kill (pid, SIGUSR1) without issue, but if instead I call execv (passing the pid as a