[grsec] make error : > 2.6.10-ac10 + grsecurity-2.1.0-2.6.10-200501081640.patch

Szabo Akos fonya at fatav.hu
Fri Jan 21 05:00:05 EST 2005


On Thu, 20 Jan 2005, xerophyte penta wrote:

Hi,

> i am getting make error
> 1) patched the kernel 2.6.10 with ac patch
> 2) then i have patch the kernel again with grsecurity patch

2a) find all reject patches, and make them clear by hand, for example,:
cat ~/2.6/10/grsec/grsecurity-2.1.1-2.6.10-200501201852.patch \
     | patch -p1 > /tmp/p
grep \\.rej /tmp/p

And You'll see what paches don't applied.
I may case /ac10+grsec/:
1 out of 2 hunks FAILED -- saving rejects to file Makefile.rej
1 out of 14 hunks FAILED -- saving rejects to file fs/proc/base.c.rej
1 out of 1 hunk FAILED -- saving rejects to file 
include/linux/sysctl.h.rej
1 out of 7 hunks FAILED -- saving rejects to file kernel/sys.c.rej
3 out of 37 hunks FAILED -- saving rejects to file mm/mmap.c.rej

So, open with Your favorit text editor this files:
joe kernel/sys.c*

Compare, think, and do it :)

> 3) make

> i got error on the file  arch/sysctl.c

Where? If You think the kernel/sysctl.c , You must only add a line 
#include <linux/grsecurity.h>
near, after tty.h include line.

Sorry for bad English

-- 
Ciao:
 	Fonya

      Amióta NT-t installáltam a porszívómra, semmi szívás nincs vele.
                 PGP key ID F86614E5, GPG key ID 83AD9365


More information about the grsecurity mailing list