open-vault/helper/mlock
Sean Chittenden 8c9dadf82b
Don't build mlock for NetBSD
NetBSD doesn't have the right symbols defined in Go for mlockall support.  The OS supports it just fine, but the definitions aren't present in Go.  If someone wanted to they could add support XOR the values from `sys/mman.h` for `MCL_CURRENT | MCL_FUTURE` which is almost certainly `0x01 | 0x02` but we're not going to do that in code due to the maintenance of a one-off just for NetBSD.  PR's welcome.
2016-05-10 16:39:54 -07:00
..
mlock.go vault: add helper/mlock for doing mlock 2015-04-28 14:59:43 -07:00
mlock_unavail.go Don't build mlock for NetBSD 2016-05-10 16:39:54 -07:00
mlock_unix.go Don't build mlock for NetBSD 2016-05-10 16:39:54 -07:00