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:
parent
d3a3b74aa1
commit
c408266e28
11
src/internal/syscall/unix/getrandom_linux_mipsx.go
Normal file
11
src/internal/syscall/unix/getrandom_linux_mipsx.go
Normal 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
|
Loading…
Reference in New Issue
Block a user