aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMichael Munday <munday@ca.ibm.com>2016-03-20 21:56:12 -0400
committerBrad Fitzpatrick <bradfitz@golang.org>2016-03-22 04:25:34 +0000
commit5f0935b7d4df072f4342f603b7d96dfd391a8edf (patch)
treed65e23aa917792cede6d69ff3a137fd40cd57255 /src
parent2a7e85f16242a47625994fa52d1e9668d6c4f9b9 (diff)
downloadgo-5f0935b7d4df072f4342f603b7d96dfd391a8edf.tar.xz
internal/syscall/unix: add randomTrap const for s390x
Change-Id: I81376f524e76db25fd52cc5bec2c80fbf618a0c5 Reviewed-on: https://go-review.googlesource.com/20877 Reviewed-by: Minux Ma <minux@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'src')
-rw-r--r--src/internal/syscall/unix/getrandom_linux_s390x.go9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/internal/syscall/unix/getrandom_linux_s390x.go b/src/internal/syscall/unix/getrandom_linux_s390x.go
new file mode 100644
index 0000000000..e3bc4ee355
--- /dev/null
+++ b/src/internal/syscall/unix/getrandom_linux_s390x.go
@@ -0,0 +1,9 @@
+// Copyright 2016 The Go Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
+package unix
+
+// Linux getrandom system call number.
+// See GetRandom in getrandom_linux.go.
+const randomTrap uintptr = 349