Don't check for tls values if there's a binding around.
[sbcl.git] / tools-for-build / mmap-rwx.c
blob5769189f388d0af4ebe262a22d13f462a6ee93c9
1 #include <sys/mman.h>
3 int
4 main()
6 if (mmap(0, 1, PROT_EXEC|PROT_READ|PROT_WRITE,
7 MAP_PRIVATE|MAP_ANON, -1, 0) == MAP_FAILED)
8 return 1;
9 return 0;