Gentoo Archives: gentoo-hardened

From: Grant <emailgrant@×××××.com>
To: gentoo-hardened@l.g.o
Subject: Re: [gentoo-hardened] hardened-sources shrinks Processor Family list
Date: Sat, 22 Dec 2012 00:02:20
Message-Id: CAN0CFw3-TkZa8OTbmeZZJFGwugXdNeqSDnNw2nOh3-7QZNTt7A@mail.gmail.com
In Reply to: Re: [gentoo-hardened] hardened-sources shrinks Processor Family list by Hinnerk van Bruinehsen
1 >> > > I noticed the Processor Family list is much smaller in hardened-sources
2 >> > > than in other kernels, even with CONFIG_GRKERNSEC disabled. Is that an
3 >> > > unavoidable side-effect of the patches, or can I enable/disable
4 >> something
5 >> > > to bring the full list back?
6 >> > >
7 >> > > - Grant
8 >> >
9 >> > Hi Grant,
10 >> >
11 >> > what exactly do you mean? If I compare hardened sources and latest git
12 >> > (from Linus) I get the same 5 options with an x86_64. It's much less
13 >> > compared to make ARCH=x86 menuconfig but I don't think that that's
14 >> > depending on hardened or not but on a guess by menuconfig (or better the
15 >> > Kconfig stuff) that if I use a 64 bit userland I'll need a 64 bit kernel
16 >> > to support it.
17 >> >
18 >> > Hope that helps..
19 >> >
20 >> > WKR
21 >> > Hinnerk
22 >>
23 >> You're right, I tested a few more kernels and I only get the long list of
24 >> processor families when I use geek-sources from the init6 overlay. So
25 >> geek-sources doesn't know I'm using a 64-bit CPU and the other kernels do?
26 >> Can I fix geek-sources in this regard?
27 >>
28 >> - Grant
29 >
30 > I don't know geek-sources. I'd guess it will have a "hacked" buildsystem
31 > that takes aleast some of the "autodetection" of the normal buildsystem
32 > away. You could try to make a diff to see differences (especially the
33 > Kconfig files). The easiest way will most likely be to contact the
34 > author of geek-sources and try to find out, if the geek-part may be that
35 > you have to configure such things manually instead of autoconfig... ;)
36 >
37 > WKR
38 > Hinnerk
39
40 It turns out the extra choices are due to this patch:
41
42 https://github.com/init6/init_6/blob/master/sys-kernel/geek-sources/files/3.7.1/fix/kernel-37-gcc47-1.patch
43
44 I'm sorry to have bothered the hardened list with this.
45
46 - Grant

Replies

Subject Author
Re: [gentoo-hardened] hardened-sources shrinks Processor Family list "Francisco Blas Izquierdo Riera (klondike)" <klondike@g.o>