X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:subject:to:references:from:message-id:date
	:mime-version:in-reply-to:content-type
	:content-transfer-encoding; q=dns; s=default; b=qB/Ovm7RrZN0tXUz
	N8IAwckWEH3vQ+ge+6shT61rv+rh7aaKTBbJaAxsoP4QK2QdSqV4GgxpJTJfh32+
	VnUYvlJKxWp6NoGmYHvZyAXulVv74/mvNsO++5YTN5YWGMHIWw5K6I29GD7PwQol
	HjsZHZSiZIKp6A90ZQd14QXHECU=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:subject:to:references:from:message-id:date
	:mime-version:in-reply-to:content-type
	:content-transfer-encoding; s=default; bh=+BXDbt/DrFw5m1epOL+8Ll
	oB0e8=; b=kz3BkNVF5mw8e1kq53iQ0BhJX7w6bGW5TrNZauOhZnnJFGeoGKag31
	uyaHzV3BgF4D5dCgrHngkzOybYZJARBhtCF/X3s67aqoTEtBoQv9aszPkDfJNbrt
	3lcSifHDRtpZByK2j9ED1JD/yVHei7e3SUKgTXKXu2zp5RgFLlCAg=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.6 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 spammy=OTHER, H*i:sk:announc, H*MI:sk:announc, H*f:sk:announc
X-HELO: limerock02.mail.cornell.edu
X-CornellRouted: This message has been Routed already.
Subject: Re: [ANNOUNCEMENT] TEST RELEASE: Cygwin 2.5.0-0.1
To: cygwin@cygwin.com
References: <announce.20160124115654.GB11514@calimero.vinschen.de>
From: Ken Brown <kbrown@cornell.edu>
Message-ID: <56A52443.7030809@cornell.edu>
Date: Sun, 24 Jan 2016 14:21:39 -0500
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1
MIME-Version: 1.0
In-Reply-To: <announce.20160124115654.GB11514@calimero.vinschen.de>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes

On 1/24/2016 6:56 AM, Corinna Vinschen wrote:
> Hi Cygwin friends and users,
>
>
> I released a new Cygwin TEST version 2.5.0-0.1.
>
> This release introduces a major change addressing developers only, so
> as a user you can skip this test release.
>
> tl;dr: Cygwin 2.5.0 switches Cygwin from the Solaris ACL API to the
>         POSIX.1e ACL API.
>
> Since the year 2000, Cygwin supports a POSIXoid ACL emulation.  This
> emulation is based on the Solaris API, which is only marginally
> comparable to the POSIX ACL API defined in the withdrawn draft
> POSIX.1e(*).
>
> At about the same time SGI started to implement POSIX.1e which
> eventually became libacl in 2001.  Libacl is the POSIX ACL
> implementation used on Linux.
>
> With Cygwin 2.4.0, Cygwin introduced a major revamp of the POSIX ACL
> emulation.  This new emulation is complete in the sense that the ACL
> handling covers all of POSIX.1e quirks.  This in turn allows to use
> the POSIX.1e API.
>
> The Solaris API is the base implementation and stays available.  The
> POSIX.1e API is implemented in terms of the Solaris types and mainly
> a slim layer on top of the Solaris API.
>
> Changes for developers:
>
> - The full set of POSIX.1e functions is now available.
>
> - Most of the libacl extensions are available as well.  The only
>    exceptions right now are the two functions perm_copy_file and
>    perm_copy_fd.  These can be added later.  Somebody just has to do it :)
>
> - The <sys/acl.h> header now *only* exposes the POSIX.1e API.
>
> - To get access to the Solaris API, you will have to include
>    <cygwin/acl.h> now.
>
> - There's a new header <acl/libacl.h> which exposes the libacl extension
>    functions.
>
> Please give this new POSIX.1e ACL implementation a test.  If you have
> a project or maintain a package utilizing ACLs, please make sure that
> your project picks up the new POSIX.1e API and that it works as desired.
>
> Projects like emacs, vim, coreutils come to mind...

Hi Corinna,

emacs builds and passes its test suite.  Here are the configure results 
related to ACLs:

TESTS FOR FUNCTIONS
===================
Yes:

acl_delete_def_file
acl_entries
acl_extended_file
acl_free
acl_from_mode
acl_from_text
acl_get_fd
acl_get_file
acl_set_fd
acl_set_file

No:

acl_copy_ext_native
acl_create_entry_np
acl_delete_fd_np
acl_delete_file_np
acl_free_text
acl_to_short_text

TESTS FOR HEADERS
=================
Yes:

<acl/libacl.h>
<sys/acl.h>

OTHER TESTS
===========
constant ACL_FIRST_ENTRY -- Yes
type ACL_TYPE_EXTENDED -- No

If any of these results are unexpected, let me know, and I'll provide 
the configure tests.

I'll start working with the new build to see if anything unexpected 
happens.  Is there anything in particular that I should check?

Ken

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

