From 326224b21fa847158049d89fea60ba734343abaa Mon Sep 17 00:00:00 2001 From: Bruce Dubbs Date: Wed, 4 Mar 2015 03:23:00 +0000 Subject: 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 --- chapter06/e2fsprogs.xml | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'chapter06/e2fsprogs.xml') 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 @@ Installation of E2fsprogs + First, fix a potential security issue identified upstream: + +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 + The E2fsprogs documentation recommends that the package be built in a subdirectory of the source tree: -- cgit v1.2.3-54-g00ecf