add common crypto hashing implementation for macOS

fix wrong status code when an ACL check fails in vfs_open

use readdir instead of readdir_r

(0) -300 -100 -30 -10 -3 +3 +10 +30 tip

mercurial