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:
Brad Fitzpatrick 2016-03-21 18:27:21 +11:00
parent 4402ee9fa3
commit f226e886c2
6 changed files with 17 additions and 0 deletions

View File

@ -4,4 +4,6 @@
package unix
// Linux getrandom system call number.
// See GetRandom in getrandom_linux.go.
const randomTrap uintptr = 355

View File

@ -4,4 +4,6 @@
package unix
// Linux getrandom system call number.
// See GetRandom in getrandom_linux.go.
const randomTrap uintptr = 318

View File

@ -4,4 +4,6 @@
package unix
// Linux getrandom system call number.
// See GetRandom in getrandom_linux.go.
const randomTrap uintptr = 384

View File

@ -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

View File

@ -6,4 +6,6 @@
package unix
// Linux getrandom system call number.
// See GetRandom in getrandom_linux.go.
const randomTrap uintptr = 5313

View File

@ -6,4 +6,6 @@
package unix
// Linux getrandom system call number.
// See GetRandom in getrandom_linux.go.
const randomTrap uintptr = 359