]> Cypherpunks repositories - gostls13.git/commit
syscall: implement nametomib for openbsd.
authorJoel Sing <jsing@google.com>
Thu, 17 Nov 2011 12:13:49 +0000 (23:13 +1100)
committerJoel Sing <jsing@google.com>
Thu, 17 Nov 2011 12:13:49 +0000 (23:13 +1100)
commit773a921ccbb26324db1161edceb38507ab0c96b6
treeb8a4639a1055e41cfd36e670d0c467e12439caa6
parenta1dbfa6f09d2463f421eaa91ee06e15848df7ba0
syscall: implement nametomib for openbsd.

Move the existing darwin/freebsd specific nametomib implementation
into the respective operating system dependent files.

Provide a nametomib implementation for openbsd, which operates on a
sysctl MIB that has been pre-generated from the various system headers
by mksysctl_openbsd.pl.

R=rsc
CC=golang-dev
https://golang.org/cl/4935044
src/pkg/syscall/Makefile
src/pkg/syscall/mkall.sh
src/pkg/syscall/mksysctl_openbsd.pl [new file with mode: 0755]
src/pkg/syscall/syscall_bsd.go
src/pkg/syscall/syscall_darwin.go
src/pkg/syscall/syscall_freebsd.go
src/pkg/syscall/syscall_openbsd.go
src/pkg/syscall/zsysctl_openbsd.go [new file with mode: 0644]