svn commit: r208359 - stable/8/lib/libc/posix1e

Edward Tomasz Napierala trasz at FreeBSD.org
Thu May 20 18:46:11 UTC 2010


Author: trasz
Date: Thu May 20 18:46:11 2010
New Revision: 208359
URL: http://svn.freebsd.org/changeset/base/208359

Log:
  MFC r208034:
  
  Make branding less intrusive - in acl_set(3), in case ACL brand
  is ACL_BRAND_UNKNOWN, do what the programmer says instead of failing.

Modified:
  stable/8/lib/libc/posix1e/acl_branding.c
Directory Properties:
  stable/8/lib/libc/   (props changed)
  stable/8/lib/libc/stdtime/   (props changed)

Modified: stable/8/lib/libc/posix1e/acl_branding.c
==============================================================================
--- stable/8/lib/libc/posix1e/acl_branding.c	Thu May 20 18:45:07 2010	(r208358)
+++ stable/8/lib/libc/posix1e/acl_branding.c	Thu May 20 18:46:11 2010	(r208359)
@@ -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-all mailing list