svn commit: r208034 - head/lib/libc/posix1e
Edward Tomasz Napierala
trasz at FreeBSD.org
Thu May 13 16:44:28 UTC 2010
Author: trasz
Date: Thu May 13 16:44:27 2010
New Revision: 208034
URL: http://svn.freebsd.org/changeset/base/208034
Log:
Make branding less intrusive - in acl_set(3), in case ACL brand
is ACL_BRAND_UNKNOWN, do what the programmer says instead of failing.
MFC after: 1 week
Modified:
head/lib/libc/posix1e/acl_branding.c
Modified: head/lib/libc/posix1e/acl_branding.c
==============================================================================
--- head/lib/libc/posix1e/acl_branding.c Thu May 13 16:42:01 2010 (r208033)
+++ head/lib/libc/posix1e/acl_branding.c Thu May 13 16:44:27 2010 (r208034)
@@ -129,6 +129,9 @@ _acl_type_not_valid_for_acl(const acl_t
if (type == ACL_TYPE_ACCESS || type == ACL_TYPE_DEFAULT)
return (0);
break;
+
+ case ACL_BRAND_UNKNOWN:
+ return (0);
}
return (-1);
More information about the svn-src-head
mailing list