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