Author: robert
Date: 2011-08-14 01:06:01 -0600 (Sun, 14 Aug 2011)
New Revision: 1646

Modified:
   trunk/BOOK/chapter01/changelog.xml
   trunk/BOOK/chapter06/glibc.xml
Log:
Configure Glibc, in chapter 6, with --enable-bind-now 
--enable-stackguard-randomization.

Modified: trunk/BOOK/chapter01/changelog.xml
===================================================================
--- trunk/BOOK/chapter01/changelog.xml  2011-08-14 06:48:41 UTC (rev 1645)
+++ trunk/BOOK/chapter01/changelog.xml  2011-08-14 07:06:01 UTC (rev 1646)
@@ -46,6 +46,10 @@
        <listitem>
          <para>[robert] - Add strlcpy_strlcat patch to Glibc.</para>
        </listitem>
+        <listitem>
+          <para>[robert] - Configure Glibc, in chapter 6, with
+         --enable-bind-now --enable-stackguard-randomization.</para>
+        </listitem>
      </itemizedlist>
     </listitem>
 

Modified: trunk/BOOK/chapter06/glibc.xml
===================================================================
--- trunk/BOOK/chapter06/glibc.xml      2011-08-14 06:48:41 UTC (rev 1645)
+++ trunk/BOOK/chapter06/glibc.xml      2011-08-14 07:06:01 UTC (rev 1646)
@@ -139,7 +139,8 @@
 
 <screen><userinput remap="configure">../glibc-&glibc-version;/configure 
--prefix=/usr \
     --disable-profile --enable-add-ons \
-    --enable-kernel=2.6.22.5 --libexecdir=/usr/lib/glibc</userinput></screen>
+    --enable-kernel=2.6.22.5 --libexecdir=/usr/lib/glibc\
+    --enable-bind-now --enable-stackguard-randomization</userinput></screen>
 
     <variablelist>
       <title>The meaning of the new configure options:</title>
@@ -154,6 +155,22 @@
         </listitem>
       </varlistentry>
 
+     <varlistentry>
+        <term><parameter>--enable-bind-now</parameter></term>
+        <listitem>
+          <para>This configures Glibc to use the <option>-z now</option>
+          linker option.</para>
+        </listitem>
+      </varlistentry>
+
+     <varlistentry>
+        <term><parameter>--enable-stackguard-randomization</parameter></term>
+        <listitem>
+          <para>This configures Glibc to use <filename>/dev/urandom</filename>
+          with <option>-fstack-protector</option>.</para>
+        </listitem>
+      </varlistentry>
+
     </variablelist>
 
     <para>Compile the libraries:</para>

-- 
http://linuxfromscratch.org/mailman/listinfo/hlfs-book
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to