4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-01-21 05:49:19 +08:00
Corinna Vinschen dc0fe7742b Cygwin: open_shared: try harder allocating a shared region
For fixed regions (cygwin/user/myself/shared console), try fixed
address first.  Fallback to non-fixed region.  Don't even try fixed
address if the Cygwin DLL gets dynamically loaded.

For non-fixed regions, try to allocate in a loop within the area
from SHARED_REGIONS_ADDRESS_LOW to SHARED_REGIONS_ADDRESS_HIGH.

Fixes: 60675f1a7eb2 ("Cygwin: decouple shared mem regions from Cygwin DLL")
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
2023-01-17 18:41:10 +01:00

25 lines
1.1 KiB
Groff

Bug Fixes
---------
- Fix an uninitialized variable having weird side-effects in path handling.
Addresses: https://cygwin.com/pipermail/cygwin/2022-December/252734.html
- Fix hang-up of less on quit which occurs when it is started from non-cygwin
shell and window is resized.
Addresses: https://cygwin.com/pipermail/cygwin/2022-December/252737.html
- Reinstantiate exporting _alloca.
Addresses: https://cygwin.com/pipermail/cygwin/2023-January/252797.html
- Avoid hangs when reading /proc/<PID>/status.
Addresses: https://cygwin.com/pipermail/cygwin/2022-December/252756.html
- Fix vmstat(1) printing an error message on single core CPUs.
Addresses: https://cygwin.com/pipermail/cygwin/2023-January/252857.html
- Fix potential process termination during process initialization.
Most easily reproducible is the case of non-Cygwin processes running
with high-entropy VA enabled and loading the Cygwin DLL dynamically.
Addresses: https://cygwin.com/pipermail/cygwin/2023-January/252765.html
https://cygwin.com/pipermail/cygwin/2023-January/252865.html