Commit f226e886 authored by Brad Fitzpatrick's avatar Brad Fitzpatrick

internal/syscall/unix: document randomTrap

Updates #10848

Change-Id: I8353100ed01cb0e8fc19225157f5709bae388612
Reviewed-on: https://go-review.googlesource.com/20975Reviewed-by: 's avatarRob Pike <r@golang.org>
parent 4402ee9f
......@@ -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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment