mirror of https://github.com/golang/go.git
internal/syscall/unix: document randomTrap
Updates #10848 Change-Id: I8353100ed01cb0e8fc19225157f5709bae388612 Reviewed-on: https://go-review.googlesource.com/20975 Reviewed-by: Rob Pike <r@golang.org>
This commit is contained in:
parent
4402ee9fa3
commit
f226e886c2
|
|
@ -4,4 +4,6 @@
|
|||
|
||||
package unix
|
||||
|
||||
// Linux getrandom system call number.
|
||||
// See GetRandom in getrandom_linux.go.
|
||||
const randomTrap uintptr = 355
|
||||
|
|
|
|||
|
|
@ -4,4 +4,6 @@
|
|||
|
||||
package unix
|
||||
|
||||
// Linux getrandom system call number.
|
||||
// See GetRandom in getrandom_linux.go.
|
||||
const randomTrap uintptr = 318
|
||||
|
|
|
|||
|
|
@ -4,4 +4,6 @@
|
|||
|
||||
package unix
|
||||
|
||||
// Linux getrandom system call number.
|
||||
// See GetRandom in getrandom_linux.go.
|
||||
const randomTrap uintptr = 384
|
||||
|
|
|
|||
|
|
@ -6,4 +6,11 @@
|
|||
|
||||
package unix
|
||||
|
||||
// Linux getrandom system call number.
|
||||
// See GetRandom in getrandom_linux.go.
|
||||
//
|
||||
// This file is named "generic" because at a certain point Linux
|
||||
// started standardizing on system call numbers across
|
||||
// architectures. So far this means only arm64 uses the standard
|
||||
// numbers.
|
||||
const randomTrap uintptr = 278
|
||||
|
|
|
|||
|
|
@ -6,4 +6,6 @@
|
|||
|
||||
package unix
|
||||
|
||||
// Linux getrandom system call number.
|
||||
// See GetRandom in getrandom_linux.go.
|
||||
const randomTrap uintptr = 5313
|
||||
|
|
|
|||
|
|
@ -6,4 +6,6 @@
|
|||
|
||||
package unix
|
||||
|
||||
// Linux getrandom system call number.
|
||||
// See GetRandom in getrandom_linux.go.
|
||||
const randomTrap uintptr = 359
|
||||
|
|
|
|||
Loading…
Reference in New Issue