From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] POSIX ACL support Date: Mon, 19 Nov 2012 19:47:57 +0200 Message-ID: <83ip91xz5e.fsf@gnu.org> References: <878v9yr1h1.fsf@silenus.orebokech.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1353347350 18556 80.91.229.3 (19 Nov 2012 17:49:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 19 Nov 2012 17:49:10 +0000 (UTC) Cc: romain@orebokech.com, emacs-devel@gnu.org To: Glenn Morris Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Nov 19 18:49:21 2012 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 1TaVT9-0005d5-2w for ged-emacs-devel@m.gmane.org; Mon, 19 Nov 2012 18:49:15 +0100 Original-Received: from localhost ([::1]:57471 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TaVSv-0004h8-Lp for ged-emacs-devel@m.gmane.org; Mon, 19 Nov 2012 12:49:01 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:34711) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TaVSn-0004fM-Jy for emacs-devel@gnu.org; Mon, 19 Nov 2012 12:48:59 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TaVST-0006jg-Ic for emacs-devel@gnu.org; Mon, 19 Nov 2012 12:48:49 -0500 Original-Received: from mtaout21.012.net.il ([80.179.55.169]:46585) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TaVST-0006YE-AA; Mon, 19 Nov 2012 12:48:33 -0500 Original-Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0MDQ00600X436G00@a-mtaout21.012.net.il>; Mon, 19 Nov 2012 19:48:20 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MDQ006FEXGJ0U90@a-mtaout21.012.net.il>; Mon, 19 Nov 2012 19:48:20 +0200 (IST) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.169 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:154960 Archived-At: > From: Glenn Morris > Date: Mon, 19 Nov 2012 12:11:38 -0500 > Cc: emacs-devel@gnu.org > > > -(defun backup-buffer-copy (from-name to-name modes context) > > +(defun backup-buffer-copy (from-name to-name modes context acl) > > [and several other such] > > This is really a general comment, not an issue with your patch in > particular, so don't let it distract. I just wonder if it is possible to > find a different way to pass this information around, so that we don't > need to have an ever increasing list of function arguments and return > values (preserve-this, preserve-that, preserve-the-other, etc...). Agreed. > I don't have a good suggestion for how to do that. How about a cons cell of the form (TYPE . DATA), where TYPE can be selinux-context, posix-acls, etc., and DATA is whatever value is appropriate for TYPE? Or maybe (:TYPE DATA)?