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: Gnulib ACL wrappers Date: Wed, 27 Aug 2014 13:15:24 -0400 Message-ID: <53FE122C.4040605@cornell.edu> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1409159793 6498 80.91.229.3 (27 Aug 2014 17:16:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 27 Aug 2014 17:16:33 +0000 (UTC) Cc: Eric Blake , emacs-devel To: Paul Eggert Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Aug 27 19:16:26 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 1XMgpa-0002eJ-Pm for ged-emacs-devel@m.gmane.org; Wed, 27 Aug 2014 19:16:22 +0200 Original-Received: from localhost ([::1]:60681 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XMgpY-0004zU-7X for ged-emacs-devel@m.gmane.org; Wed, 27 Aug 2014 13:16:20 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56315) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XMgpP-0004y0-7q for emacs-devel@gnu.org; Wed, 27 Aug 2014 13:16:17 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XMgpJ-0005FN-5A for emacs-devel@gnu.org; Wed, 27 Aug 2014 13:16:11 -0400 Original-Received: from limerock03.mail.cornell.edu ([128.84.13.243]:49855) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XMgpJ-0005F0-1B for emacs-devel@gnu.org; Wed, 27 Aug 2014 13:16:05 -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 s7RHFqWC022393; Wed, 27 Aug 2014 13:15:52 -0400 Original-Received: from [192.168.1.4] (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 s7RHFpgl018959 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Wed, 27 Aug 2014 13:15:52 -0400 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 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:173852 Archived-At: Paul, This is a followup to a discussion on the Cygwin list. See https://cygwin.com/ml/cygwin/2014-08/msg00531.html, and perhaps one or two earlier messages in the thread if you need more context. 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? Here's what's in config.h concerning ACLs: #define EMACS_CONFIG_FEATURES "DBUS ACL GNUTLS LIBXML2 ZLIB" /* #undef HAVE_ACLSORT */ /* #undef HAVE_ACLV_H */ /* #undef HAVE_ACLX_GET */ /* #undef HAVE_ACL_COPY_EXT_NATIVE */ /* #undef HAVE_ACL_CREATE_ENTRY_NP */ /* #undef HAVE_ACL_DELETE_DEF_FILE */ /* #undef HAVE_ACL_DELETE_FD_NP */ /* #undef HAVE_ACL_DELETE_FILE_NP */ /* #undef HAVE_ACL_ENTRIES */ /* #undef HAVE_ACL_EXTENDED_FILE */ /* #undef HAVE_ACL_FIRST_ENTRY */ /* #undef HAVE_ACL_FREE */ /* #undef HAVE_ACL_FREE_TEXT */ /* #undef HAVE_ACL_FROM_MODE */ /* #undef HAVE_ACL_FROM_TEXT */ /* #undef HAVE_ACL_GET_FD */ /* #undef HAVE_ACL_GET_FILE */ /* #undef HAVE_ACL_LIBACL_H */ /* #undef HAVE_ACL_SET_FD */ /* #undef HAVE_ACL_SET_FILE */ /* #undef HAVE_ACL_TO_SHORT_TEXT */ /* #undef HAVE_ACL_TRIVIAL */ /* #undef HAVE_ACL_TYPE_EXTENDED */ #define HAVE_FACL 1 /* #undef HAVE_GETACL */ /* #undef HAVE_STATACL */ #define HAVE_SYS_ACL_H 1 #define USE_ACL 1 Ken