borkborkbork
May 28th, 2008, 04:40 PM
I am trying to patch grsec to the linux kernel
I downloaded the latest kernel (2.6.25.4) with the latest grsecurity patch (2.1.11-2.4.36.2) and when I enter the command:
patch -p0 <./grsecurity-2.1.11-2.4.36.2-200804211830.patch
I get this error message:
root@prime:/home# patch -p0 < ./grsecurity-2.1.11-2.4.36.2-200804211830.patch
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -urNp linux-2.4.36.2/arch/alpha/config.in linux-2.4.36.2/arch/alpha/config.in
|--- linux-2.4.36.2/arch/alpha/config.in 2008-02-24 15:38:03.000000000 -0500
|+++ linux-2.4.36.2/arch/alpha/config.in 2008-03-11 14:12:45.000000000 -0400
--------------------------
File to patch:
What do I do?
I downloaded the latest kernel (2.6.25.4) with the latest grsecurity patch (2.1.11-2.4.36.2) and when I enter the command:
patch -p0 <./grsecurity-2.1.11-2.4.36.2-200804211830.patch
I get this error message:
root@prime:/home# patch -p0 < ./grsecurity-2.1.11-2.4.36.2-200804211830.patch
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -urNp linux-2.4.36.2/arch/alpha/config.in linux-2.4.36.2/arch/alpha/config.in
|--- linux-2.4.36.2/arch/alpha/config.in 2008-02-24 15:38:03.000000000 -0500
|+++ linux-2.4.36.2/arch/alpha/config.in 2008-03-11 14:12:45.000000000 -0400
--------------------------
File to patch:
What do I do?