HomeFreeBSD

Don't panic when we read an empty ACL from ZFS. Apparently this may happen
rS216084Unpublished

Unpublished Commit ยท Learn More

No further details are available.

Description

Don't panic when we read an empty ACL from ZFS. Apparently this may happen
with filesystems created under MacOS X ZFS port. This is kind of filesystem
corruption (we don't allow for setting empty ACLs), so make acl_get_file(3)
and related syscalls fail with EINVAL in that case. In theory, we could
return empty ACL to userland, but I'm afraid this would break some code.

MFC after: 3 days

Details

Provenance
traszAuthored on
Parents
rS216083: Several chipset drivers alter parameters relevant for the DMA tag creation,
Branches
Unknown
Tags
Unknown

Event Timeline