r129 - trunk/text/chapter06

robert at linuxfromscratch.org robert at linuxfromscratch.org
Thu Jan 27 03:08:13 PST 2005


Author: robert
Date: 2005-01-27 04:08:12 -0700 (Thu, 27 Jan 2005)
New Revision: 129

Added:
   trunk/text/chapter06/60-paxctl.txt
Log:
Added paxctl...

Added: trunk/text/chapter06/60-paxctl.txt
===================================================================
--- trunk/text/chapter06/60-paxctl.txt	2005-01-27 11:07:49 UTC (rev 128)
+++ trunk/text/chapter06/60-paxctl.txt	2005-01-27 11:08:12 UTC (rev 129)
@@ -0,0 +1,20 @@
+- Chapter 6 - Installing Paxctl 0.2
+
+# This program is used to change PaX flags on a per file basis.
+
+make &&
+make install
+
+# There are currently only two programs known to need this. Grub uses
+# anonymous mapping and will be killed by PaX. The following command changes
+# Grub's flags so PaX will allow it to execute anonymous pages.
+
+paxctl -spm /usr/sbin/grub
+
+# If you installed Glibc, localedef has a similiar problem. The following
+# command will allow localedef to execute memory pages.
+
+paxctl -sp /usr/bin/localedef
+
+# If you find more please let us know.
+




More information about the hlfs-dev mailing list