mirror of
https://github.com/golang/go
synced 2024-11-18 13:54:59 -07:00
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>
This commit is contained in:
parent
4a2233cea1
commit
cdc2b0568f
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user