]> Cypherpunks repositories - gostls13.git/commitdiff
internal/syscall/unix: add randomTrap const for s390x
authorMichael Munday <munday@ca.ibm.com>
Mon, 21 Mar 2016 01:56:12 +0000 (21:56 -0400)
committerBrad Fitzpatrick <bradfitz@golang.org>
Tue, 22 Mar 2016 04:25:34 +0000 (04:25 +0000)
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>
src/internal/syscall/unix/getrandom_linux_s390x.go [new file with mode: 0644]

diff --git a/src/internal/syscall/unix/getrandom_linux_s390x.go b/src/internal/syscall/unix/getrandom_linux_s390x.go
new file mode 100644 (file)
index 0000000..e3bc4ee
--- /dev/null
@@ -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