github.com/guyezi/gofrontend@v0.0.0-20200228202240-7a62a49e62c0/libgo/go/internal/syscall/unix/getrandom_linux_generic.go (about) 1 // Copyright 2014 The Go Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style 3 // license that can be found in the LICENSE file. 4 5 // +build linux 6 // +build arm64 arm64be nios2 riscv64 7 8 package unix 9 10 // Linux getrandom system call number. 11 // See GetRandom in getrandom_linux.go. 12 // 13 // This file is named "generic" because at a certain point Linux started 14 // standardizing on system call numbers across architectures. So far this means 15 // only arm64 and riscv64 use the standard numbers. 16 const randomTrap uintptr = 278