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:message-id:date:from:mime-version:to:subject
	:references:in-reply-to:content-type:content-transfer-encoding;
	 q=dns; s=default; b=jDkAG4lxHrBczUOuIn6kF7+QheHy9wS0o5yO15wJREe
	bnE2Bqjm0EjaYgOKEVdPY8b57i5oYLVBQuu4AvcKkLjZKYWDte48LbWFajB+x1xl
	r2K6r9agUiU21tfevLo/z5FJJUEbPj7oSW1mcyfKs8GnY9yO2iqCaAll1S5EaF3Y
	=
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:message-id:date:from:mime-version:to:subject
	:references:in-reply-to:content-type:content-transfer-encoding;
	 s=default; bh=avRWSS2yKm6UBOJubEU5GW3oCEg=; b=wwh+8VaTOb1LLV4PQ
	1QXvBbbcsCveqtxAp0VYJQDk8jW/nZ1XTW3EzhHxRGEnXKKKwZQumWGOntbfqaZk
	z3jmNbMC2Y4rAN+AnJXIeU4MdWT1z0uDT1RQbEbZRC7F0ozOi+C2xJcrJQHO3gsQ
	gMGTHwCdv024ZVVlJCueBe4eYs=
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.7 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2
X-HELO: limerock02.mail.cornell.edu
X-CornellRouted: This message has been Routed already.
Message-ID: <53FE1222.9050803@cornell.edu>
Date: Wed, 27 Aug 2014 13:15:14 -0400
From: Ken Brown <kbrown@cornell.edu>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: (call-process ...) hangs in emacs
References: <53E39BAD.3010004@redhat.com> <53E3CB46.1020909@cornell.edu> <53E3F2AE.7030608@redhat.com> <53E4D01B.9010005@cornell.edu> <53F1F154.1020702@cornell.edu> <53FB87DC.2050908@cornell.edu> <87wq9v9j2y.fsf@Rainer.invalid> <53FD0662.5050208@cornell.edu> <20140827084245.GD20700@calimero.vinschen.de> <53FDD4A8.5050401@cornell.edu> <20140827134700.GJ20700@calimero.vinschen.de> <53FDEDDE.6050902@redhat.com>
In-Reply-To: <53FDEDDE.6050902@redhat.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes

On 8/27/2014 10:40 AM, Eric Blake wrote:
> On 08/27/2014 07:47 AM, Corinna Vinschen wrote:
>
>>>>
>>>> Works for vim.  Does the Emacs configure test only check for POSIX
>>>> ACL functions and not for Solaris ACL functions, by any chance?
>>>
>>> I spoke too soon.  It does detect that Cygwin has certain ACL functions.
>>> But the feature that Achim was asking about seems to get used only on
>>> systems that have acl_get_file.  I guess that's a POSIX ACL function.
>>
>> Yes, it is.  It's pretty much the same as the Solaris/Cygwin function
>>
>>    int acl (const char *path, int cmd, int nentries, aclent_t *aclbufp);
>>
>> See http://docs.oracle.com/cd/E23823_01/html/816-5167/acl-2.html for
>> a description.  We're only supporting the aclent_t type (funny, isn't it?)
>> which is pretty much based on POSIX ACLs and which is defined in
>> /usr/include/cygwin/acl.h.
>
> Hmm; isn't emacs using gnulib's acl wrappers?  (Paul Eggert would know;
> he's the developer that's done the most recent work on Gnulib ACL
> support as well as on emacs).  In that case, shouldn't the behavior be
> the same as for coreutils, which also uses gnulib?  I'm wondering if
> there are any bugs in the gnulib acl wrappers which might affect more
> than just emacs, and/or where a cygwin patch would make the gnulib
> wrappers happier.  Sadly, I'm also not the best expert on ACLs.

I'll follow up on the emacs-devel list.

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

