Announcing FUSE for OS X 3.3.2 Posted on 26 May 2016
Release Notes
-
Optimize
vnop_readdirmodeVNODE_READDIR_EXTENDEDin kernel extensionOur user space buffer for
VNODE_READDIR_EXTENDEDneeds to be smaller since re-packing will expand eachstruct fuse_dirent.The worse case (when the name length is 8) corresponds to a
struct direntrysize of 40 bytes (8-byte aligned) and astruct fuse_direntsize of 32 bytes (8-byte aligned). So having a buffer that is 4/5 the size will prevent us from reading more than we can pack.



