grsecurity-2.2.2-2.6.32.46-201110250925 and kernel 2.6.32.46
Posted: Fri Nov 11, 2011 2:32 pm
Hi,
I am not a specialist with kernel compilation and I have tried several times to patch the kernel with grsecurity with no luck for now even after reading some docs, so if someone could help, it will be greatly apprecited.
I am running debian 6.0.3 squeeze,
I have downloaded the 2.6.32.46 kernel version (since this the the one that grsecurity can be applied on) from http://ftp.ua.postgresql.org/pub/linux/ ... 46.tar.bz2 and the patch grsecurity-2.2.2-2.6.32.46-201110250925.patch
I have put all in /usr/src/linux and each time I try to patch using
patch -p0 < grsecurity-2.2.2-2.6.32.46-201110250925.patch
I have the errors:
At this point, I stop the patch
I also a bit lost with kernel version on debian...
With the latest updates, I seems to have the 2.6.32.38 but this page http://www.debian.org/News/2011/20111008.fr.html seems to says that the 2.6.32.46 is available for debian but I can't find how the get it the right way.
Could someone help to be sure I am doing the right steps?
Thanjs
I am not a specialist with kernel compilation and I have tried several times to patch the kernel with grsecurity with no luck for now even after reading some docs, so if someone could help, it will be greatly apprecited.
I am running debian 6.0.3 squeeze,
I have downloaded the 2.6.32.46 kernel version (since this the the one that grsecurity can be applied on) from http://ftp.ua.postgresql.org/pub/linux/ ... 46.tar.bz2 and the patch grsecurity-2.2.2-2.6.32.46-201110250925.patch
I have put all in /usr/src/linux and each time I try to patch using
patch -p0 < grsecurity-2.2.2-2.6.32.46-201110250925.patch
I have the errors:
root@lalande2:/usr/src/linux# patch -p0 < grsecurity-2.2.2-2.6.32.46-201110250925.patch
patching file linux-2.6.32.46/arch/alpha/include/asm/elf.h
Hunk #1 FAILED at 91.
1 out of 1 hunk FAILED -- saving rejects to file linux-2.6.32.46/arch/alpha/include/asm/elf.h.rej
patching file linux-2.6.32.46/arch/alpha/include/asm/pgtable.h
Hunk #1 FAILED at 101.
1 out of 1 hunk FAILED -- saving rejects to file linux-2.6.32.46/arch/alpha/include/asm/pgtable.h.rej
patching file linux-2.6.32.46/arch/alpha/kernel/module.c
Hunk #1 FAILED at 182.
1 out of 1 hunk FAILED -- saving rejects to file linux-2.6.32.46/arch/alpha/kernel/module.c.rej
patching file linux-2.6.32.46/arch/alpha/kernel/osf_sys.c
Hunk #1 FAILED at 1172.
Hunk #2 FAILED at 1208.
Hunk #3 FAILED at 1215.
3 out of 3 hunks FAILED -- saving rejects to file linux-2.6.32.46/arch/alpha/kernel/osf_sys.c.rej
patching file linux-2.6.32.46/arch/alpha/mm/fault.c
Hunk #1 FAILED at 54.
Hunk #2 FAILED at 131.
...
13 out of 13 hunks FAILED -- saving rejects to file linux-2.6.32.46/arch/x86/kernel/traps.c.rej
The next patch would delete the file linux-2.6.32.46/arch/x86/kernel/verify_cpu_64.S,
At this point, I stop the patch
I also a bit lost with kernel version on debian...
With the latest updates, I seems to have the 2.6.32.38 but this page http://www.debian.org/News/2011/20111008.fr.html seems to says that the 2.6.32.46 is available for debian but I can't find how the get it the right way.
Could someone help to be sure I am doing the right steps?
Thanjs