aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/e2fsprogs.xml
diff options
context:
space:
mode:
authorBruce Dubbs <bdubbs@linuxfromscratch.org>2015-03-04 03:23:00 +0000
committerBruce Dubbs <bdubbs@linuxfromscratch.org>2015-03-04 03:23:00 +0000
commit326224b21fa847158049d89fea60ba734343abaa (patch)
tree7d9c47057fef219b33d4a99e34a7a752fa67f11b /chapter06/e2fsprogs.xml
parentb304545f357ff9afcf45617ebd801f3d5a4c3055 (diff)
Add seds to grep and e3fsprogs to fix security issues found upstream.
Remove unrecognized option in eudev. Minor text corrections. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10863 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/e2fsprogs.xml')
-rw-r--r--chapter06/e2fsprogs.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/chapter06/e2fsprogs.xml b/chapter06/e2fsprogs.xml
index 7aa781254..071fb147e 100644
--- a/chapter06/e2fsprogs.xml
+++ b/chapter06/e2fsprogs.xml
@@ -44,6 +44,12 @@
<sect2 role="installation">
<title>Installation of E2fsprogs</title>
+ <para>First, fix a potential security issue identified upstream:</para>
+
+<screen><userinput remap="pre">sed -e '/int.*old_desc_blocks/s/int/blk64_t/' \
+ -e '/if (old_desc_blocks/s/super->s_first_meta_bg/desc_blocks/' \
+ -i lib/ext2fs/closefs.c</userinput></screen>
+
<para>The E2fsprogs documentation recommends that the package be built in
a subdirectory of the source tree: </para>