From 58dc29b0b508097ed1e0632851c8840dda71558e Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Wed, 22 Mar 2017 23:51:35 +0000 Subject: [PATCH] internal/syscall/unix: add randomTrap for m68k Patch by Andrwas Schwab. Reviewed-on: https://go-review.googlesource.com/38456 From-SVN: r246410 --- libgo/go/internal/syscall/unix/getrandom_linux_m68k.go | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 libgo/go/internal/syscall/unix/getrandom_linux_m68k.go diff --git a/libgo/go/internal/syscall/unix/getrandom_linux_m68k.go b/libgo/go/internal/syscall/unix/getrandom_linux_m68k.go new file mode 100644 index 00000000000..5559d30d331 --- /dev/null +++ b/libgo/go/internal/syscall/unix/getrandom_linux_m68k.go @@ -0,0 +1,9 @@ +// Copyright 2017 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 = 352 -- 2.30.2