[tomoyo-users-en 36] Re: Searching Kernel patch for Gentoo-Hardened 2.6.27-r3

Back to archive index
Vadim Korschok korsc****@carit*****
Thu Jan 8 21:34:11 JST 2009


>Yes. Can you show me commands you typed for preparing Gentoo-Hardened
>2.6.27-r3's source tree? I'll prepare it in my environment and create a patch.

1. Install Gentoo with install-amd64-minimal-2008.0-r1.iso
2. Format and mount partitions
3. Download Hardened Multilib Stage3 : http://gentoo.osuosl.org/releases/${ARCH}/2008.0/stages/hardened/ 
4. Download latest portage tree
5. mirrorselect -i -o -r >> /mnt/gentoo/etc/make.conf (mounted root partiotion to /mnt/gentoo)
6. mirrorselect -i -o -r >> /mnt/gentoo/etc/make.conf
7. chroot in new enviroment
8. nano /etc/portage/package.keywords
9. add "sys-kernel/hardened-sources"
10. emerge hardened-sources grub
11. cd /usr/src/linux && make menuconfig
11. setup /etc/fstab and grub
12. set password
13. reboot

Gentoo Handbook: http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1&chap=4 

> I'm using Gentoo-Hardened 2.6.27-r3 and i've failed to patch the Kernel.
> Regarding Gentoo, a layman repository is available.
> Please try http://tomoyo.sourceforge.jp/en/1.6.x/compile.html#Gentoo .

I've tried the overlay, then i have emerged "ccs-sources" (2.6.27-r7).
"make menuconfig" fails, "make -s menuconfig" works !?
The problem with the ccs-sources, that i dont have any Grsecurity/PaX support, which i want also to use.

>>> Tetsuo Handa <from-****@i-lov*****> 08.01.2009 03:19 >>>
Hello.

Vadim Korschok wrote:
> i'm very new with Tomoyo Linux, but i like it :) The LiveCD is a good first look.
Thank you.

> I'm using Gentoo-Hardened 2.6.27-r3 and i've failed to patch the Kernel.
Regarding Gentoo, a layman repository is available.
Please try http://tomoyo.sourceforge.jp/en/1.6.x/compile.html#Gentoo .

> Can you create a patch ?
Yes. Can you show me commands you typed for preparing Gentoo-Hardened
2.6.27-r3's source tree? I'll prepare it in my environment and create a patch.

Regards.




More information about the tomoyo-users-en mailing list
Back to archive index