Is this OK to push?

On Wed, 9 Jul 2025, Jeremy Drake via Cygwin-patches wrote:

> This is a mingw program meant to demonstrate loading the Cygwin dll in a
> non-Cygwin process, but the Cygwin dll still initializes the cygheap on
> load in that case.  Without --disable-high-entropy-va, Windows may
> occasionally locate the PEB, TEB, and/or stacks in the address space
> that Cygwin tries to reserve for the cygheap, resulting in a failure.
>
> Fixes: 60675f1a7eb2 ("Cygwin: decouple shared mem regions from Cygwin DLL")
> Signed-off-by: Jeremy Drake <cyg...@jdrake.com>
> ---
>  winsup/testsuite/mingw/Makefile.am | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/winsup/testsuite/mingw/Makefile.am 
> b/winsup/testsuite/mingw/Makefile.am
> index 25300a15d9..775d617aef 100644
> --- a/winsup/testsuite/mingw/Makefile.am
> +++ b/winsup/testsuite/mingw/Makefile.am
> @@ -23,7 +23,7 @@ cygrun_SOURCES = \
>
>  cygload_SOURCES = \
>       ../winsup.api/cygload.cc
> -cygload_LDFLAGS=-static -Wl,-e,cygloadCRTStartup
> +cygload_LDFLAGS=-static -Wl,-e,cygloadCRTStartup 
> -Wl,--disable-high-entropy-va
>
>  winchild_SOURCES = \
>       ../winsup.api/posix_spawn/winchild.c
>

-- 
Although written many years ago, Lady Chatterley's Lover has just been
reissued by the Grove Press, and this pictorial account of the
day-to-day life of an English gamekeeper is full of considerable
interest to outdoor minded readers, as it contains many passages on
pheasant-raising, the apprehending of poachers, ways to control vermin,
and other chores and duties of the professional gamekeeper.
Unfortunately, one is obliged to wade through many pages of extraneous
material in order to discover and savour those sidelights on the
management of a midland shooting estate, and in this reviewer's opinion
the book cannot take the place of J. R. Miller's "Practical
Gamekeeping."
                -- Ed Zern, "Field and Stream" (Nov. 1959)

Reply via email to