[Issue 21575] Child processes spawned by std.process.spawnProcess accidentally inherit signal masks in parent process

2021-01-23 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=21575

Tomoya Tanjo  changed:

   What|Removed |Added

Summary|Child processes spawned by  |Child processes spawned by
   |std.process.spawnProcess|std.process.spawnProcess
   |accidentally inherit signal |accidentally inherit signal
   |handlers in parent process  |masks in parent process

--


[Issue 21575] Child processes spawned by std.process.spawnProcess accidentally inherit signal masks in parent process

2021-01-23 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=21575

Tomoya Tanjo  changed:

   What|Removed |Added

   Severity|enhancement |major

--- Comment #1 from Tomoya Tanjo  ---
Sorry, I misunderstood the problem.

As shown in the following link, `execve` that is internally called by
spawnProcess does not inherit signal handlers but inherits signal masks of the
parent process.
Inheriting the signal masks is the source of this issue.

https://man7.org/linux/man-pages/man7/signal.7.html

I fixed the title of this issue.

--


[Issue 21575] Child processes spawned by std.process.spawnProcess accidentally inherit signal masks in parent process

2021-01-23 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=21575

Dlang Bot  changed:

   What|Removed |Added

   Keywords||pull

--- Comment #2 from Dlang Bot  ---
@tom-tan created dlang/phobos pull request #7766 "Fix issue 21575 - Child
processes spawned by std.process.spawnProcess accidentally inherit signal masks
in parent process" fixing this issue:

- Fix issue 21575 - Child processes spawned by std.process.spawnProcess
accidentally inherit signal handlers in parent process

- Fix issue 21575 - Child processes spawned by std.process.spawnProcess
accidentally inherit signal masks in parent process

https://github.com/dlang/phobos/pull/7766

--


[Issue 21575] Child processes spawned by std.process.spawnProcess accidentally inherit signal masks in parent process

2021-04-19 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=21575

Dlang Bot  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

--- Comment #3 from Dlang Bot  ---
dlang/phobos pull request #7766 "Fix issue 21575 - Child processes spawned by
std.process.spawnProcess accidentally inherit signal masks in parent process"
was merged into master:

- 371e3c8606c54da2c343f570a7571176d178166c by Tomoya Tanjo:
  Fix issue 21575 - Child processes spawned by std.process.spawnProcess
accidentally inherit signal masks in parent process

https://github.com/dlang/phobos/pull/7766

--