Patch "selinux: use "grep -E" instead of "egrep"" has been added to the 4.9-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 4.9-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-4.9 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
@@ -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
 
 


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

queue-4.9/input-xpad-fix-wireless-360-controller-breaking-after-suspend.patch
queue-4.9/fs-dlm-handle-ebusy-first-in-lock-arg-validation.patch
queue-4.9/random-avoid-reading-two-cache-lines-on-irq-randomness.patch
queue-4.9/parisc-fbdev-stifb-align-graphics-memory-size-to-4mb.patch
queue-4.9/alsa-rawmidi-drop-register_mutex-in-snd_rawmidi_free.patch
queue-4.9/ext4-fix-null-ptr-deref-in-ext4_write_info.patch
queue-4.9/alsa-hda-fix-position-reporting-on-poulsbo.patch
queue-4.9/scsi-stex-properly-zero-out-the-passthrough-command-structure.patch
queue-4.9/nilfs2-fix-leak-of-nilfs_root-in-case-of-writer-thread-creation-failure.patch
queue-4.9/input-xpad-add-supported-devices-as-contributed-on-github.patch
queue-4.9/fs-dlm-fix-race-between-test_bit-and-queue_work.patch
queue-4.9/iio-dac-ad5593r-fix-i2c-read-protocol-requirements.patch
queue-4.9/mm-prevent-page_frag_alloc-from-corrupting-the-memory.patch
queue-4.9/alsa-oss-fix-potential-deadlock-at-unregistration.patch
queue-4.9/selinux-use-grep-e-instead-of-egrep.patch
queue-4.9/arm-fix-function-graph-tracer-and-unwinder-dependencies.patch
queue-4.9/alsa-usb-audio-fix-potential-memory-leaks.patch
queue-4.9/mmc-moxart-fix-4-bit-bus-width-and-remove-8-bit-bus-width.patch
queue-4.9/ext4-place-buffer-head-allocation-before-handle-start.patch
queue-4.9/ring-buffer-fix-race-between-reset-page-and-reading-page.patch
queue-4.9/fbdev-smscufx-fix-use-after-free-in-ufx_ops_open.patch
queue-4.9/usb-serial-ftdi_sio-fix-300-bps-rate-for-sio.patch
queue-4.9/uas-ignore-uas-for-thinkplus-chips.patch
queue-4.9/net-usb-qmi_wwan-add-new-usb-id-for-dell-branded-em7455.patch
queue-4.9/uas-add-no-uas-quirk-for-hiksemi-usb_disk.patch
queue-4.9/usb-storage-add-hiksemi-usb3-fw-to-ignore_uas.patch
queue-4.9/ring-buffer-allow-splice-to-read-previous-partially-read-pages.patch
queue-4.9/random-restore-o_nonblock-support.patch
queue-4.9/random-clamp-credited-irq-bits-to-maximum-mixed.patch
queue-4.9/wifi-mac80211_hwsim-avoid-mac80211-warning-on-bad-rate.patch
queue-4.9/nilfs2-replace-warn_ons-by-nilfs_error-for-checkpoint-acquisition-failure.patch
queue-4.9/um-cpuinfo-fix-a-warning-for-config_cpumask_offstack.patch
queue-4.9/ext4-make-ext4_lazyinit_thread-freezable.patch
queue-4.9/nilfs2-fix-use-after-free-bug-of-struct-nilfs_root.patch
queue-4.9/fs-fix-uaf-gpf-bug-in-nilfs_mdt_destroy.patch
queue-4.9/kvm-x86-emulator-fix-handing-of-pop-ss-to-correctly-set-interruptibility.patch
queue-4.9/regulator-qcom_rpm-fix-circular-deferral-regression.patch
queue-4.9/ring-buffer-check-pending-waiters-when-doing-wake-ups-as-well.patch
queue-4.9/makefile.extrawarn-move-wcast-function-type-strict-to-w-1.patch
queue-4.9/ceph-don-t-truncate-file-in-atomic_open.patch
queue-4.9/nilfs2-fix-null-pointer-dereference-at-nilfs_bmap_lookup_at_level.patch
queue-4.9/usb-serial-qcserial-add-new-usb-id-for-dell-branded-em7455.patch
queue-4.9/quota-check-next-prev-free-block-number-after-reading-from-quota-file.patch
queue-4.9/random-use-expired-timer-rather-than-wq-for-mixing-fast-pool.patch
queue-4.9/pci-sanitise-firmware-bar-assignments-behind-a-pci-pci-bridge.patch
queue-4.9/usb-mon-make-mmapped-memory-read-only.patch
queue-4.9/ntfs-fix-bug_on-in-ntfs_lookup_inode_by_name.patch
queue-4.9/ext4-avoid-crash-when-inline-data-creation-follows-dio-write.patch
queue-4.9/alsa-usb-audio-fix-null-dererence-at-error-path.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