repo.or.cz
/
sbcl.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Don't check for tls values if there's a binding around.
[sbcl.git]
/
tools-for-build
/
mmap-rwx.c
blob
5769189f388d0af4ebe262a22d13f462a6ee93c9
1
#include <sys/mman.h>
2
3
int
4
main
()
5
{
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
;
10
}