From: Michael Munday Date: Mon, 21 Mar 2016 01:56:12 +0000 (-0400) Subject: internal/syscall/unix: add randomTrap const for s390x X-Git-Tag: go1.7beta1~1162 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=5f0935b7d4df072f4342f603b7d96dfd391a8edf;p=gostls13.git internal/syscall/unix: add randomTrap const for s390x Change-Id: I81376f524e76db25fd52cc5bec2c80fbf618a0c5 Reviewed-on: https://go-review.googlesource.com/20877 Reviewed-by: Minux Ma Reviewed-by: Brad Fitzpatrick --- 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