4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-01-25 16:47:20 +08:00
Takashi Yano 65d34484e9 Cygwin: shared: Fix access permissions setting in open_shared().
After the commit 93508e5bb841, the access permissions argument passed
to open_shared() is ignored and always replaced with (FILE_MAP_READ |
FILE_MAP_WRITE). This causes the weird behaviour that sshd service
process loses its cygwin PID. This triggers the failure in pty that
transfer_input() does not work properly.

This patch resumes the access permission settings to fix that.

Fixes: 93508e5bb841 ("Cygwin: open_shared: don't reuse shared_locations parameter as output")
Reviewed-by: Corinna Vinschen <corinna@vinschen.de>
Signedd-off-by: Takashi Yano <takashi.yano@nifty.ne.jp>
2023-08-16 22:11:17 +09:00

23 lines
906 B
Groff

Bug Fixes
---------
- Make <sys/cpuset.h> safe for c89 compilations.
Addresses: https://cygwin.com/pipermail/cygwin-patches/2023q3/012308.html
- Make gcc-specific code in <sys/cpuset.h> compiler-agnostic.
Addresses: https://cygwin.com/pipermail/cygwin/2023-July/253927.html
- Fix AT_EMPTY_PATH handling in fchmodat and fstatat if dirfd referres to
a file other than a directory
Addresses: https://cygwin.com/pipermail/cygwin-patches/2023q2/012306.html
- Rename internal macros _NL_CTYPE_OUTDIGITSx_MB/WC to GLibc compatible
_NL_CTYPE_OUTDIGITx_MB/WC.
Addresses: https://cygwin.com/pipermail/cygwin-developers/2023-July/012637.html
- Fix memory leak in printf() regarding gdtoa-based _ldtoa_r().
Addresses: https://cygwin.com/pipermail/cygwin/2023-July/254054.html
- Fix a bug introduced in cygwin 3.4.5 that open_shared() does not set
access permissions as requested by its argument.