Linux Kernel

From All4Dev

Contents

Interesting patches

Ingo Molnar

Exec Shield patch

grsecurity

UML

Tips

~$ wget http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.7.tar.bz2
~$ wget http://uml-pub.ists.dartmouth.edu/uml/uml-patch-2.6.7-1.bz2
~$ wget http://uml-pub.ists.dartmouth.edu/uml/Debian-3.0r0.ext2.bz2

~$ tar jxvf linux-2.6.7.tar.bz2
~$ ln -s linux-2.6.7 linux
~$ cd linux
~$ bzcat ../uml-patch-2.6.7-1.bz2 | patch -p1

~$ su
~# mv /usr/bin/gcc /usr/bin/gcc_sav
~# ln -s /usr/bin/gcc-2.95 /usr/bin/gcc
~# ^D

~$ make mrproper
~$ make ARCH=um menuconfig
~$ make ARCH=um linux

~$ su
~# rm /usr/bin/gcc
~# mv /usr/bin/gcc_sav /usr/bin/gcc
~# ^D

~$ bunzip2 Debian-3.0r0.ext2.bz2
~$ ./linux root=/dev/ubd/0 ubd0=Debian-3.0r0.ext2 devfs=mount

USB

POSIX Access Control List (ACL)

LKM (Loadable Kernel Modules)