I got patching problems..

Discuss usability issues, general maintenance, and general support issues for a grsecurity-enabled system.

I got patching problems..

Postby lolgubbe » Sun Aug 31, 2003 3:51 pm

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..
lolgubbe
 
Posts: 2
Joined: Sun Aug 31, 2003 3:48 pm

Re: I got patching problems..

Postby PaX Team » Sun Aug 31, 2003 4:48 pm

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.
PaX Team
 
Posts: 2310
Joined: Mon Mar 18, 2002 4:35 pm

Postby lolgubbe » Mon Sep 01, 2003 8:24 am

thanks, it works great now :)
lolgubbe
 
Posts: 2
Joined: Sun Aug 31, 2003 3:48 pm


Return to grsecurity support