diff options
author | Russ Cox <rsc@golang.org> | 2009-02-06 13:46:56 -0800 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2009-02-06 13:46:56 -0800 |
commit | 39ff860d8973ec9388d29d4206c2f63e1c3e3dcb (patch) | |
tree | b8e48ca2a3b0f4983102041168ebc81244a713e8 /src/runtime/malloc.c | |
parent | defac22beba1644c0197e43df5ba7b0e2c305cf5 (diff) | |
download | go-39ff860d8973ec9388d29d4206c2f63e1c3e3dcb.tar.gz |
closures - runtime and debugger support, test case
R=r
DELTA=257 (250 added, 1 deleted, 6 changed)
OCL=24509
CL=24565
Diffstat (limited to 'src/runtime/malloc.c')
-rw-r--r-- | src/runtime/malloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/malloc.c b/src/runtime/malloc.c index 74354357c..ac5de61a5 100644 --- a/src/runtime/malloc.c +++ b/src/runtime/malloc.c @@ -203,7 +203,7 @@ void* SysAlloc(uintptr n) { mstats.sys += n; - return sys_mmap(nil, n, PROT_READ|PROT_WRITE, MAP_ANON|MAP_PRIVATE, 0, 0); + return sys_mmap(nil, n, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_ANON|MAP_PRIVATE, 0, 0); } void |