Re: [PATCH] Cygwin: shared: Fix access permissions setting in open_shared().

2023-08-16 Thread Corinna Vinschen
On Aug 16 09:51, Corinna Vinschen wrote: > On Aug 16 08:37, Takashi Yano wrote: > > 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

Re: [PATCH] Cygwin: shared: Fix access permissions setting in open_shared().

2023-08-16 Thread Corinna Vinschen
On Aug 16 08:37, Takashi Yano wrote: > 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

Re: [PATCH] Cygwin: shared: Fix access permissions setting in open_shared().

2023-08-15 Thread Takashi Yano
On Wed, 16 Aug 2023 08:37:46 +0900 Takashi Yano wrote: > 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

[PATCH] Cygwin: shared: Fix access permissions setting in open_shared().

2023-08-15 Thread Takashi Yano
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