diff options
author | Takashi Yano <takashi.yano@nifty.ne.jp> | 2023-08-16 02:00:27 +0300 |
---|---|---|
committer | Takashi Yano <takashi.yano@nifty.ne.jp> | 2023-08-16 16:11:17 +0300 |
commit | 65d34484e9097fd9036dd577028423355cb5f5bc (patch) | |
tree | b362843ed6433a444b5c08df0c8ce97177b035fb /newlib/configure.host | |
parent | 2ee8de782b809c83c4261cc6e7e17bdaf31cff96 (diff) |
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>
Diffstat (limited to 'newlib/configure.host')
0 files changed, 0 insertions, 0 deletions