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; q=dns; s=default; b=xWoAzb
	/YUm41p95N26YdHCVV5S0QEZW0vyjH9/X/fOTv0ShaECIg5FQv0F+xxHuw6/l+Us
	MeUiWivL8FZPAU9LJ7FkIV6TeaXz6HgAWQjfI0b/C/RHH11MLQV4wKVp/0dRXcVh
	Tz70zzhV+sjZ1Xlg57eTXHnqHRpZxFk/vAM+4=
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; s=default; bh=MUHeJpQRopm5
	J/OHHfRO2WOQSvo=; b=oFigNYKQ8t5ZMDilpXMawOV+NGF+i38nyDrQ9+Izgxha
	QCcFiXGlUbzs3epgO5Pnt+JoiT1eLL6L36bp89yhVWa7GEJTu145xOXDg+y/x5MH
	VMcG0o/jURkV+funaufz1IZ2qD1n1give3cwNx5Nt5qsoGQrrqbHNT/DmrHLkRQ=
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=-2.0 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2
X-HELO: mx1.redhat.com
Message-ID: <53FDEDDE.6050902@redhat.com>
Date: Wed, 27 Aug 2014 08:40:30 -0600
From: Eric Blake <eblake@redhat.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.7.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>
In-Reply-To: <20140827134700.GJ20700@calimero.vinschen.de>
OpenPGP: url=http://people.redhat.com/eblake/eblake.gpg
Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="9N6k6AP9kU6DVmjert3qQde2ixHTlxKBc"
X-IsSubscribed: yes

--9N6k6AP9kU6DVmjert3qQde2ixHTlxKBc
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

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.
>=20
> Yes, it is.  It's pretty much the same as the Solaris/Cygwin function
>=20
>   int acl (const char *path, int cmd, int nentries, aclent_t *aclbufp);
>=20
> 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.

--=20
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org


--9N6k6AP9kU6DVmjert3qQde2ixHTlxKBc
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: Public key at http://people.redhat.com/eblake/eblake.gpg

iQEcBAEBCAAGBQJT/e3eAAoJEKeha0olJ0Nqyp4IAJhmni0d8qA9Jn8jRFFLpoLz
IdRuA4zxneeS+7QVKCa58a4hsxbqob8fpbYRU2LsKlh9A9UNzVacXav49GQCAGYl
mHOatHVgvyUJ3ZQWWKRrCbxozRS2MBfcGjwCQlrVnU1//M7nTfyv/szKiRjJUfmq
cKGv+Zj5/0+qNfktczHlLAjcR/LwDhLhMGHIsOHP4ZsAPBQnH9QxkwCQAvd3nxjq
iSp0UTB7FrkG0ysikd0UzlOzCTZIyF5DqgXa0JJY+X9yX3VSLANhHmsDmY84BjNp
xW0Zg4hTZwHZHwKwa/IziWAZmxynUKJ/1Y4RKfLzzrzEJl1Kv6nLwk1SCkp88gE=
=+U9b
-----END PGP SIGNATURE-----

--9N6k6AP9kU6DVmjert3qQde2ixHTlxKBc--
