Commit 1a8c00ea authored by Brad Fitzpatrick's avatar Brad Fitzpatrick

internal/syscall: add support for getrandom on arm

Added in linux commit eb6452537b28

LGTM=agl
R=agl
CC=golang-codereviews
https://golang.org/cl/130170043
parent e0df11d5
...@@ -12,8 +12,9 @@ import ( ...@@ -12,8 +12,9 @@ import (
) )
var randomTrap = map[string]uintptr{ var randomTrap = map[string]uintptr{
"amd64": 318,
"386": 355, "386": 355,
"amd64": 318,
"arm": 384,
}[runtime.GOARCH] }[runtime.GOARCH]
var randomUnsupported int32 // atomic var randomUnsupported int32 // atomic
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment