Date: Tue, 30 Nov 2010 21:04:05 +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: <201011302104.oAUL4Tw7012781@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
trasz 2010-11-30 21:04:05 UTC FreeBSD src repository Modified files: sys/cddl/compat/opensolaris/kern opensolaris_acl.c Log: SVN rev 216084 on 2010-11-30 21:04:05Z by trasz 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 Revision Changes Path 1.3 +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?201011302104.oAUL4Tw7012781>