4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-01-26 09:07:34 +08:00
Takashi Yano 46bb999a89 Cygwin: pipe: Give up to use query_hdl for non-cygwin apps.
Non-cygwin app may call ReadFile() for empty pipe, which makes
NtQueryObject() for ObjectNameInformation block in fhandler_pipe::
get_query_hdl_per_process. Therefore, do not to try to get query_hdl
for non-cygwin apps.

Addresses: https://github.com/msys2/msys2-runtime/issues/202

Fixes: b531d6b06eeb ("Cygwin: pipe: Introduce temporary query_hdl.")
Reported-by: Alisa Sireneva, Johannes Schindelin <Johannes.Schindelin@gmx.de>
Reviewed-by: Corinna Vinschen <corinna@vinschen.de>
Signed-off-by: Takashi Yano <takashi.yano@nifty.ne.jp>
2024-03-05 22:03:01 +09:00

16 lines
665 B
Groff

Fixes:
------
- Fix the problem that console setup accesses shared memory which
is already unmapped due to race condition. To avoid this issue,
shared console memory will be kept mapped if it belongs to CTTY.
Addresses: https://cygwin.com/pipermail/cygwin/2024-February/255561.html
- Fix a race issue between console open() and close() which is caused
by state mismatch between con.owner and console attaching state.
Addresses: https://cygwin.com/pipermail/cygwin/2024-March/255575.html
- Fix a problem that select() call for write-side of a pipe possibly
hangs with non-cygwin reader.
Addresses: https://github.com/msys2/msys2-runtime/issues/202