mlock/munlock, errno and ?ior