'as' kernel tree and grsecurity

Robert Connolly robert at linuxfromscratch.org
Fri Feb 4 16:23:51 PST 2005


On February 4, 2005 06:46 pm, Archaic wrote:
> On Fri, Feb 04, 2005 at 06:42:03PM -0500, Robert Connolly wrote:
> > If I use as3 one hunk from the grsecurity patch will fail to apply.
>
> May need to modify the grsec patch, then. Perhaps -as3 includes a fix
> the grsec already had and no longer needs.
>
> I don't know how wise/foolish it would be to constantly modify the grsec
> patch to track -as patches, though. Might be rather time consuming.

It nothing. This is the reject from Makefile:

- EXTRAVERSION = -as2
+ EXTRAVERSION = -grsec

and
old... NAME=Woozy Numbat + fixes
new... NAME=Rocket

this is the fix:

sed -e 's/EXTRAVERSION = -as2/EXTRAVERSION = -as3/' \
        -e 's/NAME=Woozy Numbat + fixes/NAME=Rocket/' \
        ../grsecurity-2.1.1-2.6.10-as2-200501242254.patch | patch -Np1

I'll add it to the book.

robert



More information about the hlfs-dev mailing list