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);
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to