Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 May 2010 18:46:11 +0000 (UTC)
From:      Edward Tomasz Napierala <trasz@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org
Subject:   svn commit: r208359 - stable/8/lib/libc/posix1e
Message-ID:  <201005201846.o4KIkB0t078273@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201005201846.o4KIkB0t078273>