4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-02-18 23:12:15 +08:00

Define larger MINSIGSTKSZ and SIGSTKSZ values for Cygwin

* include/cygwin/signal.h: Revert to define MINSIGSTKSZ and SIGSTKSZ
	here with bigger values to allow _cygtls to reside on signal stack,
	should it turn out to be required at one point.

Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
Corinna Vinschen 2015-06-26 21:41:26 +02:00
parent 2ecaa3c176
commit ba170254e6
2 changed files with 13 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2015-06-26 Corinna Vinschen <corinna@vinschen.de>
* include/cygwin/signal.h: Revert to define MINSIGSTKSZ and SIGSTKSZ
here with bigger values to allow _cygtls to reside on signal stack,
should it turn out to be required at one point.
2015-06-26 Corinna Vinschen <corinna@vinschen.de>
* resource.cc (getrlimit): Fix values returned by RLIMIT_STACK.

View File

@ -355,6 +355,13 @@ struct sigaction
Do not use. */
#define _SA_INTERNAL_MASK 0xf000 /* bits in this range are internal */
#ifndef MINSIGSTKSZ
#define MINSIGSTKSZ 32768
#endif
#ifndef SIGSTKSZ
#define SIGSTKSZ 65536
#endif
#define SIGHUP 1 /* hangup */
#define SIGINT 2 /* interrupt */
#define SIGQUIT 3 /* quit */