Gentoo Archives: gentoo-hardened

From: "Tóth Attila" <atoth@××××××××××.hu>
To: gentoo-hardened@l.g.o
Cc: Zac Medico <zmedico@g.o>
Subject: Re: [gentoo-hardened] XATTR_PAX migration
Date: Tue, 10 Sep 2013 14:40:43
Message-Id: f75d00a1838c09499e350c7563023b58.squirrel@atoth.sote.hu
In Reply to: Re: [gentoo-hardened] XATTR_PAX migration by "Anthony G. Basile"
1 2013.Szeptember 10.(K) 16:00 időpontban Anthony G. Basile ezt írta:
2 > On 09/10/2013 08:52 AM, "Tóth Attila" wrote:
3 >> 2013.Szeptember 10.(K) 13:50 időpontban Anthony G. Basile ezt írta:
4 >>> On 09/09/2013 06:06 PM, Alex Efros wrote:
5 >>>> Hi!
6 >>>>
7 >>>> On Mon, Sep 09, 2013 at 05:26:57PM -0400, Anthony G. Basile wrote:
8 >>>>> install is being wrapped by install.py. As a result every instance
9 >>>>> of
10 >>>>> install mean invoking the python interpreter. With lots and lots of
11 >>>>> installs, this adds up to being very slow.
12 >>>>
13 >>>> Why not just add a patch for `install`? Even if you will just exec
14 >>>> `paxctl-ng` at end of `install` it still will be much faster.
15 >>>>
16 >>>
17 >>> We decided that changing the default behavior of install was not a good
18 >>> idea. See [1]
19 >>>
20 >>> There are places where we have to do pax markings before install. We
21 >>> could do them twice, that was the other option. When I wrote the
22 >>> python
23 >>> wrapper, I had no idea it was going to be this slow.
24 >>>
25 >>> Ref
26 >>> [1] https://bugs.gentoo.org/show_bug.cgi?id=470660
27 >>>
28 >>> --
29 >>> Anthony G. Basile, Ph. D.
30 >>> Chair of Information Technology
31 >>> D'Youville College
32 >>> Buffalo, NY 14201
33 >>> (716) 829-8197
34 >>>
35 >>
36 >> Dear blueness: what is the future perspective?
37 >>
38 >
39 > Well right now, I don't have a hard plan. I'll need to speak with Zac
40 > Medico how he might want to replace that wrapper. It should be possible
41 > to just drop in a compiled version of install with our patch that
42 > preserves *just* user.pax.flags.
43
44 Sounds great. I'll surely test it as soon as it appears in the hardened
45 overlay or such.
46
47 Thx: Dw.
48 --
49 dr Tóth Attila, Radiológus, 06-20-825-8057
50 Attila Toth MD, Radiologist, +36-20-825-8057

Replies

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