diff options
author | trasz <trasz@FreeBSD.org> | 2010-11-30 21:04:05 +0000 |
---|---|---|
committer | trasz <trasz@FreeBSD.org> | 2010-11-30 21:04:05 +0000 |
commit | cb2672a1ca9f2f4c40256707b7aaacd4638ab028 (patch) | |
tree | df7735ff1679895cb88603ddabaca95347792656 /lib/libc | |
parent | 768c79cd77507ac85776ce9d84567c35df4ca8a2 (diff) | |
download | FreeBSD-src-cb2672a1ca9f2f4c40256707b7aaacd4638ab028.zip FreeBSD-src-cb2672a1ca9f2f4c40256707b7aaacd4638ab028.tar.gz |
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
Diffstat (limited to 'lib/libc')
0 files changed, 0 insertions, 0 deletions