[Issue 19146] New: std.process.spawnProcess: Set signal handlers are reset to SIG_DFL before fork
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Aug 6 13:32:45 UTC 2018
https://issues.dlang.org/show_bug.cgi?id=19146
Issue ID: 19146
Summary: std.process.spawnProcess: Set signal handlers are
reset to SIG_DFL before fork
Product: D
Version: D2
Hardware: All
OS: Linux
Status: NEW
Severity: enhancement
Priority: P1
Component: phobos
Assignee: nobody at puremagic.com
Reporter: kubo39 at gmail.com
It's a possibility that rewriteing global variables may be performed by singal
handler,So set signal handlers are reset to SIG_DFL.
In order to prevent race condition, it is necessary to mask signals once in the
parent process before fork.
--
More information about the Digitalmars-d-bugs
mailing list