hunks failed with 2.6.24.1

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

hunks failed with 2.6.24.1

Postby KDE » Sat Feb 09, 2008 5:35 am

Hello,
I tried to patch 2.6.24.1 with pax-linux-2.6.24-test11.patch.
Some errors and warnings appeared:

patching file kernel/relay.c
Hunk #1 succeeded at 1140 (offset 1 line).
patching file mm/mmap.c
Hunk #57 FAILED at 2215.
1 out of 57 hunks FAILED -- saving rejects to file mm/mmap.c.rej
patching file mm/slab.c
Hunk #1 FAILED at 305.
1 out of 3 hunks FAILED -- saving rejects to file mm/slab.c.rej
KDE
 
Posts: 57
Joined: Sat Feb 09, 2008 5:29 am

Re: hunks failed with 2.6.24.1

Postby KDE » Sat Feb 09, 2008 5:45 am

Previous patch output is incorrect. Following output is correct:

patching file kernel/relay.c
Hunk #1 succeeded at 1140 (offset 1 line).
patching file mm/mmap.c
Hunk #57 FAILED at 2707.
1 out of 57 hunks FAILED -- saving rejects to file mm/mmap.c.rej
patching file mm/slab.c
Hunk #1 FAILED at 305.
1 out of 3 hunks FAILED -- saving rejects to file mm/slab.c.rej
KDE
 
Posts: 57
Joined: Sat Feb 09, 2008 5:29 am

Re: hunks failed with 2.6.24.1

Postby PaX Team » Sat Feb 09, 2008 8:04 am

KDE wrote:I tried to patch 2.6.24.1 with pax-linux-2.6.24-test11.patch.
why aren't you using the PaX patch for 2.6.24.1?
PaX Team
 
Posts: 2310
Joined: Mon Mar 18, 2002 4:35 pm

Re: hunks failed with 2.6.24.1

Postby KDE » Sat Feb 09, 2008 8:45 am

It wasn't available, when I tried to compile it.
I will use it.
KDE
 
Posts: 57
Joined: Sat Feb 09, 2008 5:29 am

Re: hunks failed with 2.6.24.1

Postby PaX Team » Sat Feb 09, 2008 10:49 am

KDE wrote:It wasn't available, when I tried to compile it.
that i don't know but it was definitely available when you posted here :P.
I will use it.
cheers ;-).
PaX Team
 
Posts: 2310
Joined: Mon Mar 18, 2002 4:35 pm


Return to grsecurity support