delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/08/27/10:41:16

X-Recipient: archive-cygwin AT delorie DOT 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 AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT 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 AT redhat DOT 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 AT cygwin DOT com
Subject: Re: (call-process ...) hangs in emacs
References: <53E39BAD DOT 3010004 AT redhat DOT com> <53E3CB46 DOT 1020909 AT cornell DOT edu> <53E3F2AE DOT 7030608 AT redhat DOT com> <53E4D01B DOT 9010005 AT cornell DOT edu> <53F1F154 DOT 1020702 AT cornell DOT edu> <53FB87DC DOT 2050908 AT cornell DOT edu> <87wq9v9j2y DOT fsf AT Rainer DOT invalid> <53FD0662 DOT 5050208 AT cornell DOT edu> <20140827084245 DOT GD20700 AT calimero DOT vinschen DOT de> <53FDD4A8 DOT 5050401 AT cornell DOT edu> <20140827134700 DOT GJ20700 AT calimero DOT vinschen DOT de>
In-Reply-To: <20140827134700.GJ20700@calimero.vinschen.de>
OpenPGP: url=http://people.redhat.com/eblake/eblake.gpg
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--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019