Page 1 of 1

I got patching problems..

PostPosted: Sun Aug 31, 2003 3:51 pm
by lolgubbe
root@moer:/usr/src# patch -p0 < grsecurity-1.9.12-2.4.22.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 -urN linux-2.4.22/Documentation/Configure.help linux-2.4.22-grsec/Documentation/Configure.help
|--- linux-2.4.22/Documentation/Configure.help 2003-08-25 13:44:39.000000000 +0200
|+++ linux-2.4.22-grsec/Documentation/Configure.help 2003-08-26 10:59:47.000000000 +0200
--------------------------
File to patch:

that's what I get when I try to patch the kernel.
the kernel (2.4.22) is in a folder called linux, and it's vanilla.
I run Slackware 9.0

btw, I've never patched anything before...ever..

Re: I got patching problems..

PostPosted: Sun Aug 31, 2003 4:48 pm
by PaX Team
lolgubbe wrote:that's what I get when I try to patch the kernel.
the kernel (2.4.22) is in a folder called linux, and it's vanilla.
cd into your linux sources directory then issue patch with -p1.

PostPosted: Mon Sep 01, 2003 8:24 am
by lolgubbe
thanks, it works great now :)