1
0
mirror of https://github.com/golang/go synced 2024-11-23 20:50:04 -07:00

internal/syscall/unix: add randomTrap const for GOARCH=mips{,le}

Change-Id: I76c62a7b79ea526f59f281e933e4fd431539d2da
Reviewed-on: https://go-review.googlesource.com/31486
Reviewed-by: Cherry Zhang <cherryyz@google.com>
This commit is contained in:
Vladimir Stefanovic 2016-10-18 23:50:59 +02:00 committed by Brad Fitzpatrick
parent d3a3b74aa1
commit c408266e28

View File

@ -0,0 +1,11 @@
// Copyright 2016 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// +build mips mipsle
package unix
// Linux getrandom system call number.
// See GetRandom in getrandom_linux.go.
const randomTrap uintptr = 4353