1 |
W dniu 02.03.2017, czw o godzinie 15∶09 +0100, użytkownik Michael |
2 |
Haubenwallner napisał: |
3 |
> On 01/21/2017 11:59 PM, Michał Górny wrote: |
4 |
> > Include arch/amd64/no-multilib in the hardened no-multilib amd64 |
5 |
> > variant. Confirmed with profile-dumper that it does not currently change |
6 |
> > anything. |
7 |
> > --- |
8 |
> > profiles/hardened/linux/amd64/no-multilib/parent | 1 + |
9 |
> > 1 file changed, 1 insertion(+) |
10 |
> > |
11 |
> > diff --git a/profiles/hardened/linux/amd64/no-multilib/parent b/profiles/hardened/linux/amd64/no-multilib/parent |
12 |
> > index 8305c3556463..0defac31415d 100644 |
13 |
> > --- a/profiles/hardened/linux/amd64/no-multilib/parent |
14 |
> > +++ b/profiles/hardened/linux/amd64/no-multilib/parent |
15 |
> > @@ -1,2 +1,3 @@ |
16 |
> > +../../../../arch/amd64/no-multilib |
17 |
> > .. |
18 |
> > |
19 |
> |
20 |
> As hardened/linux/amd64 does inherit arch/amd64, this way arch/amd64 |
21 |
> always overrides arch/amd64/no-multilib, rendering the latter useless. |
22 |
> |
23 |
> Instead, profiles/hardened/linux/amd64/no-multilib/parent should read: |
24 |
> .. |
25 |
> ../../../../arch/amd64/no-multilib |
26 |
> |
27 |
> Beyond that: |
28 |
> While arch/amd64/no-multilib of course _is_ an override to arch/amd64, |
29 |
> question is whether it also should _perform_ the override by itself. |
30 |
> |
31 |
> Currently it does perform the override, causing lots of subsequent profiles |
32 |
> to end up with arch/amd64 inherited multiple times - most prominent is the |
33 |
> default/linux/amd64/13.0/no-multilib profile. |
34 |
> |
35 |
> So removing arch/amd64/no-multilib/parent would simplify things here. |
36 |
> |
37 |
> Thoughts? |
38 |
|
39 |
I was considering that as well but I didn't really have time to look |
40 |
into it properly. If it doesn't break anything, it's fine with me. You |
41 |
may want to talk with arch team first, though. |
42 |
|
43 |
-- |
44 |
Best regards, |
45 |
Michał Górny |