From owner-freebsd-hackers@FreeBSD.ORG Thu May 12 22:07:22 2005 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0AFBF16A4CE for ; Thu, 12 May 2005 22:07:22 +0000 (GMT) Received: from cyrus.watson.org (cyrus.watson.org [204.156.12.53]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8FFD043D6D for ; Thu, 12 May 2005 22:07:21 +0000 (GMT) (envelope-from rwatson@FreeBSD.org) Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by cyrus.watson.org (Postfix) with ESMTP id E868946B37; Thu, 12 May 2005 18:07:20 -0400 (EDT) Date: Thu, 12 May 2005 23:11:59 +0100 (BST) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: =?ISO-8859-1?Q?Herv=E9_Kergourlay?= In-Reply-To: <428307A9.10901@atempo.com> Message-ID: <20050512230409.G92075@fledge.watson.org> References: <428307A9.10901@atempo.com> MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="0-1566304580-1115935919=:92075" cc: hackers@FreeBSD.org Subject: Re: Porting on FreeBSD 53 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 May 2005 22:07:22 -0000 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --0-1566304580-1115935919=:92075 Content-Type: TEXT/PLAIN; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE On Thu, 12 May 2005, Herv=E9 Kergourlay wrote: > 2) ACLs > > I'm using the API acl_get_file and family with success with ACL_TYPE_ACCE= SS=20 > defined in /usr/include/sys/acl.h > > #define ACL_TYPE_ACCESS 0x00000000 > #define ACL_TYPE_DEFAULT 0x00000001 > #define ACL_TYPE_AFS 0x00000002 > #define ACL_TYPE_CODA 0x00000003 > #define ACL_TYPE_NTFS 0x00000004 > #define ACL_TYPE_NWFS 0x00000005 > > but what about the other defines, specially ACL_TYPE_DEFAULT, are there= =20 > used. I didn't find who in the documentation ACL_TYPE_ACCESS and ACL_TYPE_DEFAULT are the only implemented types. I=20 just removed the others from HEAD since they're unnecessary. I'll merge=20 that change to RELENG_5_4. > 3) Extended attributes > > are Acls part of these attributes or not ? do we have to backup theses=20 > attributes with the Acls ? Access control lists are stored in system extended attributes. From the=20 perspective of backup, you want to backup the ACLs, not the system=20 attributes. There is reference code in BSD tar, and star is also able to= =20 backup ACLs. Robert N M Watson --0-1566304580-1115935919=:92075--