freebsd-dev/sys/cddl/compat/opensolaris
Edward Tomasz Napierala de2a57325d 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
2010-11-30 21:04:05 +00:00
..
kern Don't panic when we read an empty ACL from ZFS. Apparently this may happen 2010-11-30 21:04:05 +00:00
rpc Our libc doesn't implement control method for XDR (only kernel does) and it 2009-08-20 00:05:29 +00:00
sys Fix kernel panic when moving a file to .zfs/shares 2010-09-15 19:55:26 +00:00