From: Greg Kroah-Hartman Date: Sun, 16 Oct 2022 20:08:04 +0000 (+0200) Subject: 4.9-stable patches X-Git-Tag: v5.4.219~63 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=dbe00ad030481560414c1cfe5840edb33b8863f8;p=thirdparty%2Fkernel%2Fstable-queue.git 4.9-stable patches added patches: selinux-use-grep-e-instead-of-egrep.patch --- diff --git a/queue-4.9/selinux-use-grep-e-instead-of-egrep.patch b/queue-4.9/selinux-use-grep-e-instead-of-egrep.patch new file mode 100644 index 00000000000..6da72b6e8ef --- /dev/null +++ b/queue-4.9/selinux-use-grep-e-instead-of-egrep.patch @@ -0,0 +1,37 @@ +From c969bb8dbaf2f3628927eae73e7c579a74cf1b6e Mon Sep 17 00:00:00 2001 +From: Greg Kroah-Hartman +Date: Tue, 20 Sep 2022 19:12:52 +0200 +Subject: selinux: use "grep -E" instead of "egrep" + +From: Greg Kroah-Hartman + +commit c969bb8dbaf2f3628927eae73e7c579a74cf1b6e upstream. + +The latest version of grep claims that egrep is now obsolete so the build +now contains warnings that look like: + egrep: warning: egrep is obsolescent; using grep -E +fix this by using "grep -E" instead. + +Cc: Paul Moore +Cc: Stephen Smalley +Cc: Eric Paris +Cc: selinux@vger.kernel.org +Signed-off-by: Greg Kroah-Hartman +[PM: tweak to remove vdso reference, cleanup subj line] +Signed-off-by: Paul Moore +Signed-off-by: Greg Kroah-Hartman +--- + scripts/selinux/install_policy.sh | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +--- a/scripts/selinux/install_policy.sh ++++ b/scripts/selinux/install_policy.sh +@@ -56,7 +56,7 @@ fi + cd /etc/selinux/dummy/contexts/files + $SF file_contexts / + +-mounts=`cat /proc/$$/mounts | egrep "ext2|ext3|xfs|jfs|ext4|ext4dev|gfs2" | awk '{ print $2 '}` ++mounts=`cat /proc/$$/mounts | grep -E "ext2|ext3|xfs|jfs|ext4|ext4dev|gfs2" | awk '{ print $2 '}` + $SF file_contexts $mounts + + diff --git a/queue-4.9/series b/queue-4.9/series index 81ad27043db..8db33da0384 100644 --- a/queue-4.9/series +++ b/queue-4.9/series @@ -60,3 +60,4 @@ ring-buffer-allow-splice-to-read-previous-partially-read-pages.patch ring-buffer-check-pending-waiters-when-doing-wake-ups-as-well.patch ring-buffer-fix-race-between-reset-page-and-reading-page.patch kvm-x86-emulator-fix-handing-of-pop-ss-to-correctly-set-interruptibility.patch +selinux-use-grep-e-instead-of-egrep.patch