From owner-freebsd-hackers@FreeBSD.ORG Mon Nov 25 22:58:16 2013 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C2051FE9; Mon, 25 Nov 2013 22:58:16 +0000 (UTC) Received: from mail.crittercasa.com (mail.turbofuzz.com [208.87.221.144]) by mx1.freebsd.org (Postfix) with ESMTP id 9F6D52058; Mon, 25 Nov 2013 22:58:15 +0000 (UTC) Received: from kruse-49.3.ixsystems.com (unknown [69.198.165.132]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mail.crittercasa.com (Postfix) with ESMTPS id CD6AC164882; Mon, 25 Nov 2013 14:57:34 -0800 (PST) Mime-Version: 1.0 (Mac OS X Mail 7.0 \(1822\)) Subject: Re: O_XATTR support in FreeBSD? From: Jordan Hubbard In-Reply-To: Date: Mon, 25 Nov 2013 14:58:07 -0800 Message-Id: References: <820263347.19772534.1385247218007.JavaMail.root@uoguelph.ca> To: Tim Kientzle X-Mailer: Apple Mail (2.1822) X-Mailman-Approved-At: Mon, 25 Nov 2013 23:11:58 +0000 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.16 Cc: Rick Macklem , Cedric Blancher , Freebsd hackers list , Richard Yao , Pedro Giffuni , Jordan Hubbard X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Nov 2013 22:58:16 -0000 On Nov 25, 2013, at 10:52 AM, Tim Kientzle wrote: > But less broken, please. >=20 > Libarchive uses copyfile() to fetch/restore extended attribute bundles > on Mac OS, but it=92s a pretty ugly API. In particular, there=92s no = way > to fetch/restore an EA bundle directly to/from memory; you must go > through an intermediate file on disk, which is slow and race-prone. If FreeBSD would be willing to take on copyfile(3) as an API, I think it = could be arranged that any flaws or concerns with it were addressed as a = prerequisite to adoption! - Jordan