Commit Graph

7 Commits (2f14062364b00090f0d93ad757a3f5e769c19342)

Author SHA1 Message Date
shirou d725bd1786 fix lint
shirou bc060cc227 add SPDX License, remove old build tag, and replace import
shirou 0969c9436b delete v2 directory, move v3 to top #1078
Tobias Klauser 7f9e55b000 Use Getfsstat from golang.org/x/sys/unix on OpenBSD
Use the syscall wrapper and types from golang.org/x/sys/unix instead of
implementing them locally.

Also remove unused generated types and consts.

Follow-up for #810 and #812
Tobias Klauser 214c5bdb50 Use MNT_* consts from golang.org/x/sys/unix on freebsd and openbsd
Update vendored version of golang.org/x/sys/unix and use the MNT_*
constants there to replace the locally generated ones.
Cameron Sparr a213bf5e6d
run go fmt ./...
Marco Pfatschbacher b4846b445b Add support for OpenBSD/amd64
This code is based on the FreeBSD version
and implements roughly the same feature set.