]> Cypherpunks repositories - gostls13.git/commitdiff
runtime: remove obsolete SELinux execmem comment
authorBrad Fitzpatrick <bradfitz@golang.org>
Thu, 12 Feb 2015 07:20:15 +0000 (23:20 -0800)
committerBrad Fitzpatrick <bradfitz@golang.org>
Thu, 12 Feb 2015 08:04:48 +0000 (08:04 +0000)
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>
src/runtime/mem_linux.go

index aa99b762bfecd8bf02d46af557bb0a60e5fe7879..920fbcf6d6be3d42826deb167edc16c8874286dd 100644 (file)
@@ -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 {