From 5f0935b7d4df072f4342f603b7d96dfd391a8edf Mon Sep 17 00:00:00 2001 From: Michael Munday Date: Sun, 20 Mar 2016 21:56:12 -0400 Subject: [PATCH] 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 --- src/internal/syscall/unix/getrandom_linux_s390x.go | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 src/internal/syscall/unix/getrandom_linux_s390x.go 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 -- 2.48.1