From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from aserp2130.oracle.com ([141.146.126.79]:34040 "EHLO aserp2130.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725798AbfBTS7F (ORCPT ); Wed, 20 Feb 2019 13:59:05 -0500 Date: Wed, 20 Feb 2019 10:58:47 -0800 From: "Darrick J. Wong" Subject: Re: [PATCH 4/3] generic: posix acl extended attribute memory corruption test Message-ID: <20190220185847.GP32253@magnolia> References: <154993784038.1948.7502664832930298472.stgit@magnolia> <20190213204814.GB6477@magnolia> <20190220132952.GW9874@twin.jikos.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: Sender: fstests-owner@vger.kernel.org Content-Transfer-Encoding: quoted-printable To: Holger =?iso-8859-1?Q?Hoffst=E4tte?= Cc: David Sterba , guaneryu@gmail.com, linux-xfs@vger.kernel.org, fstests@vger.kernel.org List-ID: On Wed, Feb 20, 2019 at 03:09:32PM +0100, Holger Hoffst=E4tte wrote: >=20 > On Wed, 20 Feb 2019, David Sterba wrote: >=20 > > On Wed, Feb 13, 2019 at 12:48:14PM -0800, Darrick J. Wong wrote: > > > +#include > >=20 > > This does not compile on some systems, sys/xattr.h works (it's provid= ed > > by glibc) and is also used by other fstests' sources. I'm not sure wh= ere > > does attr/xattr.h come from, my devel package for libattr provides on= ly > > attr/libattr.h. >=20 > This was removed from attr back in 2015 [1] but apparently caused > many aplications to no longer compile, so some packagers added attr/xat= tr.h > back, completing the cycle of confusion. > I just randomly remembered because Gentoo fell into the same sinkhole > and is still climbing out [2]. >=20 > AFAIK sys/xattr.h is the preferred thing now unless you are building on= an > ancient distro. ...an ancient distro like Debian Testing or Ubuntu 18.04, which still ships libattr 2.4.47, which has manpages telling you to use attr/xattr.h. OTOH xfsprogs has been using sys/xattr.h since 2009, so patch coming soon. --D > cheers > Holger >=20 > [1] http://git.savannah.nongnu.org/cgit/attr.git/commit/?id=3D792115789= 0d07858d092f4003ca4c6bae9fd2c38 > [2] https://bugs.gentoo.org/648864