Home | History | Annotate | Download | only in unix
      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
     17