mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-02-01 12:03:41 +00:00
3b4fcd8575
We need to make sure no existing mappings exist between the MAP_GROWSDOWN page and the guard page, since otherwise it's not going to be able to grow down thus causing difficult to troubleshoot failures.
16 lines
440 B
C
16 lines
440 B
C
#ifndef COSMOPOLITAN_LIBC_SYSV_CONSTS_SS_H_
|
|
#define COSMOPOLITAN_LIBC_SYSV_CONSTS_SS_H_
|
|
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
|
COSMOPOLITAN_C_START_
|
|
|
|
extern const int SS_DISABLE;
|
|
|
|
COSMOPOLITAN_C_END_
|
|
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
|
|
|
#define SIGSTKSZ 32768
|
|
#define MINSIGSTKSZ 32768 /* xnu defines the highest minimum */
|
|
#define SS_ONSTACK 1
|
|
#define SS_DISABLE SS_DISABLE
|
|
|
|
#endif /* COSMOPOLITAN_LIBC_SYSV_CONSTS_SS_H_ */
|