Cygwin: timerfd: fix shared memory allocation in fork/exec

timerfd_tracker::fixup_after_fork_exec always tries to restore
the shared timer region at the same address as in the parent.
This is entirely unnecessary and wasn't intended, rather some
kind of copy/paste thinko.  Fix that.  Print NtMapViewOfSection
status code in api_fatal on failure for debugging.

Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
Corinna Vinschen
2019-02-24 20:15:36 +01:00
parent aeaa051f3b
commit a4e2eb6ba3
2 changed files with 11 additions and 6 deletions

View File

@@ -12,6 +12,9 @@ Bug Fixes
- Fix timerfd select always returning immediately.
Addresses: https://cygwin.com/ml/cygwin/2019-02/msg00364.html
- Fix fork/exec failing to restore timerfd share mem in child process.
Addresses: https://cygwin.com/ml/cygwin/2019-02/msg00400.html
- Drop enforcing case-correct group names for AD accounts to avoid
excessively long startup times.
Addresses: https://cygwin.com/ml/cygwin/2019-02/msg00301.html