r1247 - in trunk/BOOK: . chapter01 chapter04 chapter06

robert at linuxfromscratch.org robert at linuxfromscratch.org
Mon Oct 8 09:09:43 PDT 2007


Author: robert
Date: 2007-10-08 10:09:43 -0600 (Mon, 08 Oct 2007)
New Revision: 1247

Modified:
   trunk/BOOK/chapter01/changelog.xml
   trunk/BOOK/chapter04/patches.xml
   trunk/BOOK/chapter06/vim.xml
   trunk/BOOK/patches.ent
Log:
Added Vim hardened_tmp patch

Modified: trunk/BOOK/chapter01/changelog.xml
===================================================================
--- trunk/BOOK/chapter01/changelog.xml	2007-10-08 15:23:10 UTC (rev 1246)
+++ trunk/BOOK/chapter01/changelog.xml	2007-10-08 16:09:43 UTC (rev 1247)
@@ -52,6 +52,9 @@
       <para>October 8th, 2006</para>
       <itemizedlist>
         <listitem>
+          <para>[robert] - Added Vim hardened_tmp patch.</para>
+        </listitem>
+        <listitem>
           <para>[robert] - Bump to Vim-fixes-2 patch.</para>
         </listitem>
         <listitem>

Modified: trunk/BOOK/chapter04/patches.xml
===================================================================
--- trunk/BOOK/chapter04/patches.xml	2007-10-08 15:23:10 UTC (rev 1246)
+++ trunk/BOOK/chapter04/patches.xml	2007-10-08 16:09:43 UTC (rev 1247)
@@ -491,6 +491,14 @@
       </listitem>
     </varlistentry>
 
+    <varlistentry>
+      <term>Vim Hardened Temp Patch - <token>&vim-hardened_tmp-patch-size;</token>:</term>
+      <listitem>
+        <para>Download: <ulink url="&patches-root;&vim-hardened_tmp-patch;"/></para>
+        <para>MD5 sum: <literal>&vim-hardened_tmp-patch-md5;</literal></para>
+      </listitem>
+    </varlistentry>
+
   </variablelist>
 
   <para>Total size of these patches: about <returnvalue/></para>

Modified: trunk/BOOK/chapter06/vim.xml
===================================================================
--- trunk/BOOK/chapter06/vim.xml	2007-10-08 15:23:10 UTC (rev 1246)
+++ trunk/BOOK/chapter06/vim.xml	2007-10-08 16:09:43 UTC (rev 1247)
@@ -38,12 +38,10 @@
 
 <screen><userinput>patch -Np1 -i ../&vim-fixes-patch;</userinput></screen>
 
-<!--
-    <para role="hardened_tmp">This patch modifies Vim to create temporary files
-    in a paranoid way:</para>
+    <para role="hardened_tmp">The next patch modifies Vim to use mkstemp(3)
+    and <command>mktemp</command>(1) exlusively:</para>
 
 <screen role="hardened_tmp"><userinput>patch -Np1 -i ../&vim-hardened_tmp-patch;</userinput></screen>
--->
 
     <para>One of Vim's functions is programed to intentionally overflow
     because the length is unknown. SSP and _FORTIFY_SOURCE will not allow

Modified: trunk/BOOK/patches.ent
===================================================================
--- trunk/BOOK/patches.ent	2007-10-08 15:23:10 UTC (rev 1246)
+++ trunk/BOOK/patches.ent	2007-10-08 16:09:43 UTC (rev 1247)
@@ -238,3 +238,7 @@
 <!ENTITY vim-fixes-patch-md5 "4b33bda20c4e75601cd581b745477a2d">
 <!ENTITY vim-fixes-patch-size "296 KB">
 
+<!ENTITY vim-hardened_tmp-patch "vim-&vim-version;-hardened_tmp-1.patch">
+<!ENTITY vim-hardened_tmp-patch-md5 "940d1adfda6b99e13c9c825cb5c411e1">
+<!ENTITY vim-hardened_tmp-patch-size "4 KB">
+




More information about the hlfs-book mailing list