Gentoo Archives: gentoo-hardened

From: Alex Efros <powerman@××××××××.name>
To: gentoo-hardened@l.g.o
Subject: Re: [gentoo-hardened] XATTR_PAX migration
Date: Fri, 04 Oct 2013 04:29:48
Message-Id: 20131004042301.GA31520@home.power
In Reply to: Re: [gentoo-hardened] XATTR_PAX migration by "Anthony G. Basile"
1 Hi!
2
3 On Mon, Sep 09, 2013 at 05:26:57PM -0400, Anthony G. Basile wrote:
4 > You can use XT_PAX provided you're not running something like a
5 > tinderbox, ie doing massive amounts of ebuilds. The problem is that
6 > install is being wrapped by install.py. As a result every instance of
7 > install mean invoking the python interpreter. With lots and lots of
8 > installs, this adds up to being very slow.
9
10 I think it may be possible to add very ease and effective optimization -
11 call install.py only for executable files and use /usr/bin/install for all
12 other files. This can be implemented in single line in
13 /usr/lib/portage/bin/ebuild-helpers/xattr/install. Also it may make sense
14 to rewrite /usr/lib/portage/bin/ebuild-helpers/xattr/install in C.
15
16 --
17 WBR, Alex.

Replies

Subject Author
Re: [gentoo-hardened] XATTR_PAX migration "Anthony G. Basile" <basile@××××××××××××××.edu>