home     open source
Drivers
PHP and modifications
RPM Building
SuSE Linux RPMs
Security
Linux Installation
Contact
Privacy Statement

PaX kernel patches for Red Hat Linux

Work on this project has been stalled as Red Hat 9 approaches it's end of life, the PaX team no longer maintains a patch for 2.4.20, and doing both a backport and a manual patch against (mainly) the ac patches just is too labour intensive. I did not succeed in patching PaX against the 2.4.22 Fedora kernel that uses exec-shield. Although I got the kernel to compile the result was unbootable (surprise, surprise ;) .

The disabling of CONFIG_KALLSYMS turned out to be unnecessary. If you patch linux-2.4.20/arch/i386/vmlinux.lds.S in the original PaX patch tree against linux-2.4.20/arch/i386/vmlinux.lds in the Red Hat tree you should be able to reenable CONFIG_KALLSYMS in the configs. That would mean you can drop all first hunks in the ix86 .config file patches.

Here you can find modified PaX patches for use with a Red Hat 7.3 2.4.20 kernel (possibly with later releases, ie redhat 8.0 & 9 as well). You will need the according spec file to build the PaX kernel. I had to disable the linux-2.4.20-ldt.patch and disable CONFIG_KALLSYMS in all config files to get it to compile.

Although the resulting kernels have been running on my firewall for months without any apparent problems these files are provided to you without any warranty ;-) .

Reversioned the spec file and patches so they include the full Red Hat kernel version in their name.

PaX homepage

Version PaX 2003-08-27 16:15 PaX 2003-08-09 00:05
Red Hat Kernel Version kernel-2.4.20-20.7 kernel-2.4.20-20.7
Modified patch for RH 7.3 linux-2.4.20-20.7rh-pax-200308271615.patch.gz linux-2.4.20-20.7rh-pax-200308090005.patch.gz
Spec file for RH 7.3 kernel-2.4.20-20.7rh-pax20030827.spec.gz kernel-2.4.20-20.7rh-pax20030809.spec.gz
Original patch pax-linux-2.4.20-200308271615.patch.gz pax-linux-2.4.20-200308090005.patch.gz
 
Version PaX 2003-08-09 00:05 PaX 2003-08-06 00:25
Red Hat Kernel Version kernel-2.4.20-19.7 kernel-2.4.20-19.7
Modified patch for RH 7.3 linux-2.4.20-19.7rh-pax-200308090005.patch.gz linux-2.4.20-19.7rh-pax-200308060025.patch.gz
Spec file for RH 7.3 kernel-2.4.20-19.7rh-pax20030809.spec.gz kernel-2.4.20-19.7rh-pax20030806.spec.gz
Original patch pax-linux-2.4.20-200308090005.patch.gz pax-linux-2.4.20-200308060025.patch.gz
 
Version PaX 2003-07-26 19:15 PaX 2003-07-15 16:50
Red Hat Kernel Version kernel-2.4.20-19.7 kernel-2.4.20-19.7
Modified patch for RH 7.3 linux-2.4.20-19.7rh-pax-200307261915.patch.gz linux-2.4.20-19.7rh-pax-200307151650.patch.gz
Spec file for RH 7.3 kernel-2.4.20-19.7rh-pax20030726.spec.gz kernel-2.4.20-19.7rh-pax20030715.spec.gz
Original patch pax-linux-2.4.20-200307261915.patch.gz pax-linux-2.4.20-200307151650.patch.gz
 
Version PaX 2003-06-21 17:03 PaX 2003-05-09 17:15
Red Hat Kernel Version kernel-2.4.20-18.7 kernel-2.4.20-18.7
Modified patch for RH 7.3 linux-2.4.20-18.7rh-pax-200306211703.patch.gz linux-2.4.20-18.7rh-pax-200305091715.patch.gz
Spec file for RH 7.3 kernel-2.4.20-18.7rh-pax20030621.spec.gz kernel-2.4.20-18.7rh-pax20030509.spec.gz
Original patch pax-linux-2.4.20-200306211703.patch.gz pax-linux-2.4.20-200305091715.patch.gz