aboutsummaryrefslogtreecommitdiff
path: root/src/runtime
diff options
context:
space:
mode:
authorBrad Fitzpatrick <bradfitz@golang.org>2015-02-11 23:20:15 -0800
committerBrad Fitzpatrick <bradfitz@golang.org>2015-02-12 08:04:48 +0000
commitcdc2b0568feac1867377dddccf6eafa45cd27352 (patch)
treee33f489f0798bed81998e0871897f12a63830696 /src/runtime
parent4a2233cea14adba7905cd02061b62e7e3a986f68 (diff)
downloadgo-cdc2b0568feac1867377dddccf6eafa45cd27352.tar.xz
runtime: remove obsolete SELinux execmem comment
We don't have executable memory anymore. Change-Id: I9835f03a7bcd97d809841ecbed8718b3048bfb32 Reviewed-on: https://go-review.googlesource.com/4681 Reviewed-by: Dmitry Vyukov <dvyukov@google.com> Reviewed-by: Dave Cheney <dave@cheney.net>
Diffstat (limited to 'src/runtime')
-rw-r--r--src/runtime/mem_linux.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/runtime/mem_linux.go b/src/runtime/mem_linux.go
index aa99b762bf..920fbcf6d6 100644
--- a/src/runtime/mem_linux.go
+++ b/src/runtime/mem_linux.go
@@ -54,7 +54,6 @@ func sysAlloc(n uintptr, stat *uint64) unsafe.Pointer {
if uintptr(p) < 4096 {
if uintptr(p) == _EACCES {
print("runtime: mmap: access denied\n")
- print("if you're running SELinux, enable execmem for this process.\n")
exit(2)
}
if uintptr(p) == _EAGAIN {