github.com/rafaeltorres324/go/src@v0.0.0-20210519164414-9fdf653a9838/internal/syscall/unix/sysnum_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 riscv64
     7  
     8  package unix
     9  
    10  // This file is named "generic" because at a certain point Linux started
    11  // standardizing on system call numbers across architectures. So far this
    12  // means only arm64 and riscv64 use the standard numbers.
    13  
    14  const (
    15  	getrandomTrap     uintptr = 278
    16  	copyFileRangeTrap uintptr = 285
    17  )