From de8b6cb08abf05452b2e26dcc0329954bb98e822 Mon Sep 17 00:00:00 2001 From: Bruce Dubbs Date: Fri, 20 Aug 2021 15:47:13 -0500 Subject: Fix security issue in Chapter 8 glibc. Add a sed to glibc in Chapter 8 to fix a critical security issue. --- chapter08/glibc.xml | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'chapter08') diff --git a/chapter08/glibc.xml b/chapter08/glibc.xml index e8ca57ab2..968b398e0 100644 --- a/chapter08/glibc.xml +++ b/chapter08/glibc.xml @@ -43,6 +43,11 @@ Installation of Glibc + First, fix a security problem identified upstream: + + sed -e '/NOTIFY_REMOVED)/s/)/ \&\& data.attr != NULL)/' \ + -i sysdeps/unix/sysv/linux/mq_notify.c + Some of the Glibc programs use the non-FHS compliant /var/db directory to store their runtime data. Apply the following patch to make such programs -- cgit v1.2.3-54-g00ecf