Date: Tue, 7 Dec 2010 22:00:48 +0000 (UTC) From: Edward Tomasz Napierala <trasz@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/cddl/compat/opensolaris/kern opensolaris_acl.c Message-ID: <201012072201.oB7M1CmJ054122@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
trasz 2010-12-07 22:00:48 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_8)
sys/cddl/compat/opensolaris/kern opensolaris_acl.c
Log:
SVN rev 216271 on 2010-12-07 22:00:48Z by trasz
MFC r216084:
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.
Approved by: re (kib)
Revision Changes Path
1.2.2.2 +4 -1 src/sys/cddl/compat/opensolaris/kern/opensolaris_acl.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201012072201.oB7M1CmJ054122>
