github.com/zebozhuang/go@v0.0.0-20200207033046-f8a98f6f5c5d/src/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 arm64 6 7 package unix 8 9 // Linux getrandom system call number. 10 // See GetRandom in getrandom_linux.go. 11 // 12 // This file is named "generic" because at a certain point Linux 13 // started standardizing on system call numbers across 14 // architectures. So far this means only arm64 uses the standard 15 // numbers. 16 const randomTrap uintptr = 278