go/src/pkg/runtime
Adam Langley 3f7a32405d runtime: warn about SELinux based mmap failures on Linux.
SELinux will cause mmap to fail when we request w+x memory unless the
user has configured their policies. We have a warning in make.bash,
but it's quite likely that the policy will be reset at some point and
then all their binaries start failing.

This patch prints a warning on Linux when mmap fails with EACCES.

R=rsc
CC=golang-dev
https://golang.org/cl/152086
2009-11-13 10:08:51 -08:00
..
386 rename sys functions to runtime, 2009-10-15 23:10:49 -07:00
amd64 rename sys functions to runtime, 2009-10-15 23:10:49 -07:00
arm add support for pre arm v6 cas. set GOARM=5 to enable. 2009-11-12 15:23:23 -08:00
darwin rename sys functions to runtime, 2009-10-15 23:10:49 -07:00
linux runtime: warn about SELinux based mmap failures on Linux. 2009-11-13 10:08:51 -08:00
nacl rename sys functions to runtime, 2009-10-15 23:10:49 -07:00
Makefile fix style nit ignored in previous cl 2009-11-12 16:12:28 -08:00
cgo2c.c rename runtime internals to have modern names (array->slice etc) 2009-08-25 15:54:25 -07:00
cgocall.c rename sys functions to runtime, 2009-10-15 23:10:49 -07:00
cgocall.h 8c, 8l dynamic loading support. 2009-10-03 10:37:12 -07:00
chan.c Fix bug when sending via select. 2009-10-28 18:23:53 -07:00
extern.go gofmt-ify io, json, runtime, encoding 2009-11-05 15:37:55 -08:00
float.c move math out of runtime. 2009-10-15 23:09:22 -07:00
hashmap.c rename sys functions to runtime, 2009-10-15 23:10:49 -07:00
hashmap.h rename sys functions to runtime, 2009-10-15 23:10:49 -07:00
iface.c rename sys functions to runtime, 2009-10-15 23:10:49 -07:00
malloc.cgo runtime: warn about SELinux based mmap failures on Linux. 2009-11-13 10:08:51 -08:00
malloc.h
mcache.c
mcentral.c
mem.c runtime: warn about SELinux based mmap failures on Linux. 2009-11-13 10:08:51 -08:00
mfixalloc.c
mgc0.c FFI step 2: can ask for libc.so.6. 2009-08-20 16:09:38 -07:00
mheap.c changes to accommodate nacl: 2009-09-22 16:28:32 -07:00
mheapmap32.c rename sys functions to runtime, 2009-10-15 23:10:49 -07:00
mheapmap32.h
mheapmap64.c rename sys functions to runtime, 2009-10-15 23:10:49 -07:00
mheapmap64.h
mkasmh.sh mysterious bug: runtime.acid wasn't getting rebuilt 2009-10-28 14:03:16 -07:00
msize.c
print.c rename sys functions to runtime, 2009-10-15 23:10:49 -07:00
proc.c update old comment: things are much better now 2009-11-10 19:59:22 -08:00
reflect.cgo pass Type* to makechan and makemap so that 2009-09-08 13:46:54 -07:00
rune.c fix range on invalid utf8 bug 2009-09-03 13:56:06 -07:00
runtime.c rename sys functions to runtime, 2009-10-15 23:10:49 -07:00
runtime.h runtime: warn about SELinux based mmap failures on Linux. 2009-11-13 10:08:51 -08:00
sema.cgo publish semacquire and semrelease for use by sync. 2009-10-15 17:46:53 -07:00
slice.c bug162, over and over 2009-10-20 08:03:43 -07:00
string.cgo rename sys functions to runtime, 2009-10-15 23:10:49 -07:00
symtab.c rename sys functions to runtime, 2009-10-15 23:10:49 -07:00
type.go - replaced gofmt expression formatting algorithm with 2009-11-09 21:23:52 -08:00
type.h rename runtime internals to have modern names (array->slice etc) 2009-08-25 15:54:25 -07:00