From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ken Brown Newsgroups: gmane.emacs.devel Subject: Re: Gnulib ACL wrappers Date: Thu, 28 Aug 2014 13:51:06 -0400 Message-ID: <53FF6C0A.8050104@cornell.edu> References: <53FE122C.4040605@cornell.edu> <53FE1621.3090303@cs.ucla.edu> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1409248264 14168 80.91.229.3 (28 Aug 2014 17:51:04 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 28 Aug 2014 17:51:04 +0000 (UTC) Cc: Eric Blake , emacs-devel To: Paul Eggert Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Aug 28 19:50:57 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XN3qZ-0002KS-OE for ged-emacs-devel@m.gmane.org; Thu, 28 Aug 2014 19:50:55 +0200 Original-Received: from localhost ([::1]:38393 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XN3qZ-0004z0-0Q for ged-emacs-devel@m.gmane.org; Thu, 28 Aug 2014 13:50:55 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48025) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XN3qE-0004yW-BJ for emacs-devel@gnu.org; Thu, 28 Aug 2014 13:50:41 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XN3q6-0004Pj-Jz for emacs-devel@gnu.org; Thu, 28 Aug 2014 13:50:34 -0400 Original-Received: from limerock03.mail.cornell.edu ([128.84.13.243]:34089) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XN3q6-0004PC-GJ for emacs-devel@gnu.org; Thu, 28 Aug 2014 13:50:26 -0400 X-CornellRouted: This message has been Routed already. Original-Received: from authusersmtp.mail.cornell.edu (granite4.serverfarm.cornell.edu [10.16.197.9]) by limerock03.mail.cornell.edu (8.14.4/8.14.4_cu) with ESMTP id s7SHoDFP018399; Thu, 28 Aug 2014 13:50:13 -0400 Original-Received: from [192.168.1.3] (cpe-67-249-176-226.twcny.res.rr.com [67.249.176.226]) (authenticated bits=0) by authusersmtp.mail.cornell.edu (8.14.4/8.12.10) with ESMTP id s7SHoBDX016539 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Thu, 28 Aug 2014 13:50:12 -0400 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 In-Reply-To: <53FE1621.3090303@cs.ucla.edu> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 128.84.13.243 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:173870 Archived-At: On 8/27/2014 1:32 PM, Paul Eggert wrote: > Ken Brown wrote: >> Although Cygwin has Solaris ACL functions, emacs doesn't use these in >> fileio.c. Shouldn't the Gnulib ACL wrappers provide support for these? >> Or is there something needed in Cygwin to make this work? > > Sorry, I don't know, as I don't use Cygwin. However, if the Cygwin ACL > functions are compatible with Solaris's, it should be easy to modify the > Gnulib code to use them on Cygwin too. I think I asked the wrong question. It's clear from looking at the Gnulib sources that Gnulib supports Solaris ACL functions on Cygwin. But emacs doesn't use these functions. AFAICT, fileio.c only uses ACL functions on systems that have POSIX ACL functions. So the Gnulib code doesn't help. Or am I misunderstanding something? Ken