Page 1 of 1

how do i upgrade my kernel if its patched?

PostPosted: Fri Aug 29, 2003 3:31 am
by sirexar
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?

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

PostPosted: Fri Aug 29, 2003 9:13 am
by PaX Team
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.