mlockall/munlockall not imported from FreeBSD; implementation is pretty different...