how do i upgrade my kernel if its patched?

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

how do i upgrade my kernel if its patched?

Postby sirexar » Fri Aug 29, 2003 3:31 am

If im running 2.4.20 with grsec patch, and i want to run 2.4.21 what should i do? If i apply the 2.4.21 patch to the patched 2.4.20 kernel will it work? and if i want to upgrade grsec to, should i patch my 2.4.20 kernel with grsec first with 2.4.21 kernel and then the grsec patch or what?
sirexar
 
Posts: 3
Joined: Tue Aug 13, 2002 1:45 am

Re: how do i upgrade my kernel if its patched?

Postby PaX Team » Fri Aug 29, 2003 9:13 am

sirexar wrote:If im running 2.4.20 with grsec patch, and i want to run 2.4.21 what should i do? If i apply the 2.4.21 patch to the patched 2.4.20 kernel will it work? and if i want to upgrade grsec to, should i patch my 2.4.20 kernel with grsec first with 2.4.21 kernel and then the grsec patch or what?
you're best off by simply patching a fresh 2.4.21 tree with the corresponding grsec patch, upgrading from patched trees via diffs is just calling out for trouble. you can also make use of your old .config by simply copying it into the new tree and running make oldconfig first.
PaX Team
 
Posts: 2310
Joined: Mon Mar 18, 2002 4:35 pm


Return to grsecurity support

cron