1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-20 15:43:16 +00:00

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
This commit is contained in:
Edward Tomasz Napierala 2010-05-13 16:44:27 +00:00
parent 6a3cf4c80b
commit 1ccc2ae37f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=208034

View File

@ -129,6 +129,9 @@ _acl_type_not_valid_for_acl(const acl_t acl, acl_type_t type)
if (type == ACL_TYPE_ACCESS || type == ACL_TYPE_DEFAULT)
return (0);
break;
case ACL_BRAND_UNKNOWN:
return (0);
}
return (-1);