Commit Graph

5 Commits (3c43ac0060de5b70dab0b5fdcbfc2cfa7c1010cc)

Author SHA1 Message Date
shirou bc060cc227 add SPDX License, remove old build tag, and replace import 10 months ago
mmorel-35 1e6b445a8a gofumpt 3 years ago
Tobias Klauser aacbba22ae Use unix.SysctlUvmexp on OpenBSD
Use SysctlUvmexp from golang.org/x/sys/unix to avoid having to define
the type Uvmexp and the sysctl consts. This will also allow to build on
GOOS=openbsd with e.g. GOARCH=arm64.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
5 years ago
Cameron Sparr a213bf5e6d
run go fmt ./... 8 years ago
Marco Pfatschbacher b4846b445b Add support for OpenBSD/amd64
This code is based on the FreeBSD version
and implements roughly the same feature set.
8 years ago