Commit 6465652c by Ian Lance Taylor

internal/syscall/unix: add getrandom syscall for MIPS and SPARC

    
    Reviewed-on: https://go-review.googlesource.com/29678

From-SVN: r240457
parent 4a8d4422
57bf3f21005c4508003f65207282c057e3526ec0
28b79f1d5a3a8924329128999a21d0693e08a603
The first line of this file holds the git revision number of the last
merge done from the gofrontend repository.
......@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// +build mips64 mips64le
// +build mips64 mips64le mipsn64 mipso64
package unix
......
// 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 mipsn32
package unix
// Linux getrandom system call number.
// See GetRandom in getrandom_linux.go.
const randomTrap uintptr = 6317
// 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 mipso32
package unix
// Linux getrandom system call number.
// See GetRandom in getrandom_linux.go.
const randomTrap uintptr = 4353
// 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 sparc sparc64
package unix
// Linux getrandom system call number.
// See GetRandom in getrandom_linux.go.
const randomTrap uintptr = 347
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