r1137 - in trunk/BOOK: . chapter01 chapter04 chapter07 prologue

robert at linuxfromscratch.org robert at linuxfromscratch.org
Wed Jun 6 17:34:50 PDT 2007


Author: robert
Date: 2007-06-06 18:34:50 -0600 (Wed, 06 Jun 2007)
New Revision: 1137

Modified:
   trunk/BOOK/chapter01/changelog.xml
   trunk/BOOK/chapter04/patches.xml
   trunk/BOOK/chapter07/kernel.xml
   trunk/BOOK/patches.ent
   trunk/BOOK/prologue/bookinfo.xml
Log:
Added Frandom/Erandom kernel patch

Modified: trunk/BOOK/chapter01/changelog.xml
===================================================================
--- trunk/BOOK/chapter01/changelog.xml	2007-06-07 00:17:10 UTC (rev 1136)
+++ trunk/BOOK/chapter01/changelog.xml	2007-06-07 00:34:50 UTC (rev 1137)
@@ -52,6 +52,9 @@
       <para>June 6th, 2007</para>
       <itemizedlist>
         <listitem>
+          <para>[robert]: Added Frandom/Erandom kernel patch.</para>
+        </listitem>
+        <listitem>
           <para>[robert]: Bump to linux-2.4.34.5.</para>
         </listitem>
         <listitem>

Modified: trunk/BOOK/chapter04/patches.xml
===================================================================
--- trunk/BOOK/chapter04/patches.xml	2007-06-07 00:17:10 UTC (rev 1136)
+++ trunk/BOOK/chapter04/patches.xml	2007-06-07 00:34:50 UTC (rev 1137)
@@ -314,7 +314,22 @@
       </listitem>
     </varlistentry>
 
+    <varlistentry vendor="2.6">
+      <term>Kernel Frandom Patch - <token>&linux26-frandom-patch-size;</token>:</term>
+      <listitem>
+        <para>Download: <ulink url="&patches-root;&linux26-frandom-patch;"/></para>
+        <para>MD5 sum: <literal>&linux26-frandom-patch-md5;</literal></para>
+      </listitem>
+    </varlistentry>
 
+    <varlistentry vendor="2.4">
+      <term>Kernel Frandom Patch - <token>&linux24-frandom-patch-size;</token>:</term>
+      <listitem>
+        <para>Download: <ulink url="&patches-root;&linux24-frandom-patch;"/></para>
+        <para>MD5 sum: <literal>&linux24-frandom-patch-md5;</literal></para>
+      </listitem>
+    </varlistentry>
+
     <varlistentry>
       <term>Mktemp Tempfile Patch - <token>&mktemp-add_tempfile-patch-size;</token>:</term>
       <listitem>

Modified: trunk/BOOK/chapter07/kernel.xml
===================================================================
--- trunk/BOOK/chapter07/kernel.xml	2007-06-07 00:17:10 UTC (rev 1136)
+++ trunk/BOOK/chapter07/kernel.xml	2007-06-07 00:34:50 UTC (rev 1137)
@@ -40,12 +40,23 @@
     in the kernel source tree for alternative methods to the way this book
     configures the kernel.</para>
 
-    <para>Start by patching the kernel:</para>
+    <para>Apply the Grsecurity patch:</para>
 
 <screen vendor="2.6"><userinput>patch -Np1 -i ../&grsecurity26-patch;</userinput></screen>
 
 <screen vendor="2.4"><userinput>zcat ../&grsecurity24-patch; | patch -Np1 -i</userinput></screen>
 
+    <para>Apply the optional Frandom/Erandom patch:</para>
+
+<screen vendor="2.6"><userinput>patch -Np1 -i ../&linux26-frandom-patch;</userinput></screen>
+
+<screen vendor="2.4"><userinput>patch -Np1 -i ../&linux24-frandom-patch;</userinput></screen>
+
+    <para vendor="2.4">And create the device nodes:</para>
+
+<screen vendor="2.4"><userinput>mknod /dev/frandom c 235 11
+mknod /dev/erandom c 235 12</userinput></screen>
+
     <para>Prepare for compilation by running the following command:</para>
 
 <screen><userinput>make mrproper</userinput></screen>

Modified: trunk/BOOK/patches.ent
===================================================================
--- trunk/BOOK/patches.ent	2007-06-07 00:17:10 UTC (rev 1136)
+++ trunk/BOOK/patches.ent	2007-06-07 00:34:50 UTC (rev 1137)
@@ -150,6 +150,14 @@
 <!ENTITY lfs-bootscripts_sysklogd_piv_sep-patch-md5 "168e9862ab9fad33b40a074edf88f90f">
 <!ENTITY lfs-bootscripts_sysklogd_piv_sep-patch-size "4 KB">
 
+<!ENTITY linux26-frandom-patch "linux-&linux26-version;-frandom-1.patch">
+<!ENTITY linux26-frandom-patch-md5 "1cb961b3c6621464953e9133f94402d9">
+<!ENTITY linux26-frandom-patch-size "16 KB">
+
+<!ENTITY linux24-frandom-patch "linux-&linux24-version;-frandom-1.patch">
+<!ENTITY linux24-frandom-patch-md5 "1f17a4c55c5b32ac58b792184d11d0687">
+<!ENTITY linux24-frandom-patch-size "16 KB">
+
 <!ENTITY mktemp-add_tempfile-patch "mktemp-&mktemp-version;-add_tempfile-3.patch">
 <!ENTITY mktemp-add_tempfile-patch-md5 "65d73faabe3f637ad79853b460d30a19">
 <!ENTITY mktemp-add_tempfile-patch-size "3.5 KB">

Modified: trunk/BOOK/prologue/bookinfo.xml
===================================================================
--- trunk/BOOK/prologue/bookinfo.xml	2007-06-07 00:17:10 UTC (rev 1136)
+++ trunk/BOOK/prologue/bookinfo.xml	2007-06-07 00:34:50 UTC (rev 1137)
@@ -48,6 +48,9 @@
           <para> Grsecurity: <ulink url="http://www.grsecurity.net/"/></para>
         </listitem>
         <listitem>
+          <para> Frandom/Erandom device drivers: <ulink url="http://frandom.sourceforge.net/"/></para>
+        </listitem>
+        <listitem>
           <para>GCC PIE patch. This is now part of gcc-3.4+: <ulink
           url="http://gcc.gnu.org/ml/gcc-patches/2003-06/msg00140.html"/></para>
         </listitem>




More information about the hlfs-book mailing list