Patch "selinux: use "grep -E" instead of "egrep"" has been added to the 5.4-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    selinux: use "grep -E" instead of "egrep"

to the 5.4-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     selinux-use-grep-e-instead-of-egrep.patch
and it can be found in the queue-5.4 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.


>From c969bb8dbaf2f3628927eae73e7c579a74cf1b6e Mon Sep 17 00:00:00 2001
From: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
Date: Tue, 20 Sep 2022 19:12:52 +0200
Subject: selinux: use "grep -E" instead of "egrep"

From: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>

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 <paul@xxxxxxxxxxxxxx>
Cc: Stephen Smalley <stephen.smalley.work@xxxxxxxxx>
Cc: Eric Paris <eparis@xxxxxxxxxxxxxx>
Cc: selinux@xxxxxxxxxxxxxxx
Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
[PM: tweak to remove vdso reference, cleanup subj line]
Signed-off-by: Paul Moore <paul@xxxxxxxxxxxxxx>
Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
---
 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
@@ -78,7 +78,7 @@ cd /etc/selinux/dummy/contexts/files
 $SF -F file_contexts /
 
 mounts=`cat /proc/$$/mounts | \
-	egrep "ext[234]|jfs|xfs|reiserfs|jffs2|gfs2|btrfs|f2fs|ocfs2" | \
+	grep -E "ext[234]|jfs|xfs|reiserfs|jffs2|gfs2|btrfs|f2fs|ocfs2" | \
 	awk '{ print $2 '}`
 $SF -F file_contexts $mounts
 


Patches currently in stable-queue which might be from gregkh@xxxxxxxxxxxxxxxxxxx are

queue-5.4/fs-dlm-handle-ebusy-first-in-lock-arg-validation.patch
queue-5.4/kvm-nvmx-unconditionally-purge-queued-injected-events-on-nested-exit.patch
queue-5.4/iio-pressure-dps310-refactor-startup-procedure.patch
queue-5.4/parisc-fbdev-stifb-align-graphics-memory-size-to-4mb.patch
queue-5.4/alsa-rawmidi-drop-register_mutex-in-snd_rawmidi_free.patch
queue-5.4/mtd-rawnand-atmel-unmap-streaming-dma-mappings.patch
queue-5.4/ext4-fix-null-ptr-deref-in-ext4_write_info.patch
queue-5.4/ring-buffer-have-the-shortest_full-queue-be-the-shortest-not-longest.patch
queue-5.4/fs-dlm-fix-race-between-test_bit-and-queue_work.patch
queue-5.4/riscv-allow-prot_write-only-mmap.patch
queue-5.4/iio-dac-ad5593r-fix-i2c-read-protocol-requirements.patch
queue-5.4/kvm-vmx-drop-bits-31-16-when-shoving-exception-error-code-into-vmcs.patch
queue-5.4/asoc-wcd9335-fix-order-of-slimbus-unprepare-disable.patch
queue-5.4/riscv-pass-mno-relax-only-on-lld-15.0.0.patch
queue-5.4/f2fs-increase-the-limit-for-reserve_root.patch
queue-5.4/alsa-oss-fix-potential-deadlock-at-unregistration.patch
queue-5.4/powerpc-boot-explicitly-disable-usage-of-spe-instructions.patch
queue-5.4/selinux-use-grep-e-instead-of-egrep.patch
queue-5.4/f2fs-fix-to-do-sanity-check-on-destination-blkaddr-during-recovery.patch
queue-5.4/alsa-usb-audio-fix-potential-memory-leaks.patch
queue-5.4/ext4-place-buffer-head-allocation-before-handle-start.patch
queue-5.4/ring-buffer-fix-race-between-reset-page-and-reading-page.patch
queue-5.4/fbdev-smscufx-fix-use-after-free-in-ufx_ops_open.patch
queue-5.4/media-cedrus-set-the-platform-driver-data-earlier.patch
queue-5.4/can-kvaser_usb_leaf-fix-overread-with-an-invalid-command.patch
queue-5.4/iio-pressure-dps310-reset-chip-after-timeout.patch
queue-5.4/risc-v-make-port-i-o-string-accessors-actually-work.patch
queue-5.4/can-kvaser_usb_leaf-fix-can-state-after-restart.patch
queue-5.4/hid-multitouch-add-memory-barriers.patch
queue-5.4/can-kvaser_usb-fix-use-of-uninitialized-completion.patch
queue-5.4/alsa-hda-realtek-add-quirk-for-asus-gv601r-laptop.patch
queue-5.4/alsa-hda-realtek-correct-pin-configs-for-asus-g533z.patch
queue-5.4/ring-buffer-allow-splice-to-read-previous-partially-read-pages.patch
queue-5.4/alsa-hda-realtek-remove-alc289_fixup_dual_spk-for-dell-5530.patch
queue-5.4/alsa-hda-realtek-add-intel-reference-ssid-to-support-headset-keys.patch
queue-5.4/btrfs-fix-race-between-quota-enable-and-quota-rescan-ioctl.patch
queue-5.4/um-cpuinfo-fix-a-warning-for-config_cpumask_offstack.patch
queue-5.4/cifs-fix-the-error-length-of-validate_negotiate_info-message.patch
queue-5.4/cifs-destage-dirty-pages-before-re-reading-them-for-cache-none.patch
queue-5.4/ext4-make-ext4_lazyinit_thread-freezable.patch
queue-5.4/nilfs2-fix-use-after-free-bug-of-struct-nilfs_root.patch
queue-5.4/kvm-x86-emulator-fix-handing-of-pop-ss-to-correctly-set-interruptibility.patch
queue-5.4/regulator-qcom_rpm-fix-circular-deferral-regression.patch
queue-5.4/f2fs-fix-to-do-sanity-check-on-summary-info.patch
queue-5.4/ring-buffer-check-pending-waiters-when-doing-wake-ups-as-well.patch
queue-5.4/quota-check-next-prev-free-block-number-after-reading-from-quota-file.patch
queue-5.4/usb-add-quirks-for-lenovo-onelink-dock.patch
queue-5.4/pci-sanitise-firmware-bar-assignments-behind-a-pci-pci-bridge.patch
queue-5.4/drm-nouveau-fix-a-use-after-free-in-nouveau_gem_prime_import_sg_table.patch
queue-5.4/mmc-sdhci-sprd-fix-minimum-clock-limit.patch
queue-5.4/ext4-avoid-crash-when-inline-data-creation-follows-dio-write.patch
queue-5.4/can-kvaser_usb_leaf-fix-tx-queue-out-of-sync-after-restart.patch
queue-5.4/alsa-usb-audio-fix-null-dererence-at-error-path.patch
queue-5.4/jbd2-wake-up-journal-waiters-in-fifo-order-not-lifo.patch
queue-5.4/ftrace-properly-unset-ftrace_hash_fl_mod.patch
queue-5.4/livepatch-fix-race-between-fork-and-klp-transition.patch



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux