aboutsummaryrefslogtreecommitdiff
path: root/config.sub
diff options
context:
space:
mode:
authorTakashi Yano <takashi.yano@nifty.ne.jp>2023-08-16 08:00:27 +0900
committerTakashi Yano <takashi.yano@nifty.ne.jp>2023-08-16 22:06:56 +0900
commitc3eab1e295c2716b9c670213d7de21c968ebc161 (patch)
tree58aeb63fd11c0e4c66eb9f3d837400504848577d /config.sub
parentefba30dd1d4cf3db6df7f7bc7ee13775c577f1a1 (diff)
downloadnewlib-cygwin-3.4.8.zip
newlib-cygwin-3.4.8.tar.gz
newlib-cygwin-3.4.8.tar.bz2
Cygwin: shared: Fix access permissions setting in open_shared().cygwin-3.4.8
After the commit 62f11a5a5704, 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: 62f11a5a5704 ("Cygwin: open_shared: don't reuse shared_locations parameter as output") Fixes: fb16f490bf6e ("Cygwin: open_shared: try harder allocating a shared region") Reviewed-by: Corinna Vinschen <corinna@vinschen.de> Signedd-off-by: Takashi Yano <takashi.yano@nifty.ne.jp>
Diffstat (limited to 'config.sub')
0 files changed, 0 insertions, 0 deletions