mirror of
https://github.com/rwinkhart/sys.git
synced 2026-09-02 15:17:31 -04:00
unix: update syscall numbers to OpenBSD 6.4
For all supported platforms (386, amd64, arm). Note that this doesn't update whole `unix` package for these platforms. Change-Id: I0a66f8403f704c6328000ffc9f238989c22936d2 GitHub-Last-Rev: 14fd451964abcfacdb94dca3dc41742bacd0f732 GitHub-Pull-Request: golang/sys#21 Reviewed-on: https://go-review.googlesource.com/c/143542 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> Reviewed-by: Tobias Klauser <tobias.klauser@gmail.com> Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
This commit is contained in:
committed by
Tobias Klauser
parent
8e24a49d80
commit
eda9bb28ed
@@ -31,3 +31,7 @@ func (msghdr *Msghdr) SetControllen(length int) {
|
||||
func (cmsg *Cmsghdr) SetLen(length int) {
|
||||
cmsg.Len = uint32(length)
|
||||
}
|
||||
|
||||
// SYS___SYSCTL is used by syscall_bsd.go for all BSDs, but in modern versions
|
||||
// of openbsd/arm the syscall is called sysctl instead of __sysctl.
|
||||
const SYS___SYSCTL = SYS_SYSCTL
|
||||
|
||||
Reference in New Issue
Block a user