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.19-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.19 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 @@ -57,7 +57,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.19/mmc-core-replace-with-already-defined-values-for-readability.patch queue-4.19/input-xpad-fix-wireless-360-controller-breaking-after-suspend.patch queue-4.19/fs-dlm-handle-ebusy-first-in-lock-arg-validation.patch queue-4.19/kvm-nvmx-unconditionally-purge-queued-injected-events-on-nested-exit.patch queue-4.19/random-avoid-reading-two-cache-lines-on-irq-randomness.patch queue-4.19/parisc-fbdev-stifb-align-graphics-memory-size-to-4mb.patch queue-4.19/alsa-rawmidi-drop-register_mutex-in-snd_rawmidi_free.patch queue-4.19/mtd-rawnand-atmel-unmap-streaming-dma-mappings.patch queue-4.19/ext4-fix-null-ptr-deref-in-ext4_write_info.patch queue-4.19/alsa-hda-fix-position-reporting-on-poulsbo.patch queue-4.19/scsi-stex-properly-zero-out-the-passthrough-command-structure.patch queue-4.19/nilfs2-fix-leak-of-nilfs_root-in-case-of-writer-thread-creation-failure.patch queue-4.19/input-xpad-add-supported-devices-as-contributed-on-github.patch queue-4.19/fs-dlm-fix-race-between-test_bit-and-queue_work.patch queue-4.19/riscv-allow-prot_write-only-mmap.patch queue-4.19/iio-dac-ad5593r-fix-i2c-read-protocol-requirements.patch queue-4.19/alsa-oss-fix-potential-deadlock-at-unregistration.patch queue-4.19/selinux-use-grep-e-instead-of-egrep.patch queue-4.19/arm-fix-function-graph-tracer-and-unwinder-dependencies.patch queue-4.19/alsa-usb-audio-fix-potential-memory-leaks.patch queue-4.19/docs-update-mediator-information-in-coc-docs.patch queue-4.19/rpmsg-qcom-glink-replace-strncpy-with-strscpy_pad.patch queue-4.19/ext4-place-buffer-head-allocation-before-handle-start.patch queue-4.19/ring-buffer-fix-race-between-reset-page-and-reading-page.patch queue-4.19/fbdev-smscufx-fix-use-after-free-in-ufx_ops_open.patch queue-4.19/usb-serial-ftdi_sio-fix-300-bps-rate-for-sio.patch queue-4.19/can-kvaser_usb_leaf-fix-overread-with-an-invalid-command.patch queue-4.19/riscv-fix-build-with-binutils-2.38.patch queue-4.19/mmc-core-terminate-infinite-loop-in-sd-uhs-voltage-switch.patch queue-4.19/can-kvaser_usb_leaf-fix-can-state-after-restart.patch queue-4.19/hid-multitouch-add-memory-barriers.patch queue-4.19/can-kvaser_usb-fix-use-of-uninitialized-completion.patch queue-4.19/ring-buffer-allow-splice-to-read-previous-partially-read-pages.patch queue-4.19/alsa-hda-realtek-remove-alc289_fixup_dual_spk-for-dell-5530.patch queue-4.19/random-restore-o_nonblock-support.patch queue-4.19/random-clamp-credited-irq-bits-to-maximum-mixed.patch queue-4.19/btrfs-fix-race-between-quota-enable-and-quota-rescan-ioctl.patch queue-4.19/wifi-mac80211_hwsim-avoid-mac80211-warning-on-bad-rate.patch queue-4.19/nilfs2-replace-warn_ons-by-nilfs_error-for-checkpoint-acquisition-failure.patch queue-4.19/um-cpuinfo-fix-a-warning-for-config_cpumask_offstack.patch queue-4.19/ext4-make-ext4_lazyinit_thread-freezable.patch queue-4.19/nilfs2-fix-use-after-free-bug-of-struct-nilfs_root.patch queue-4.19/fs-fix-uaf-gpf-bug-in-nilfs_mdt_destroy.patch queue-4.19/kvm-x86-emulator-fix-handing-of-pop-ss-to-correctly-set-interruptibility.patch queue-4.19/regulator-qcom_rpm-fix-circular-deferral-regression.patch queue-4.19/ring-buffer-check-pending-waiters-when-doing-wake-ups-as-well.patch queue-4.19/makefile.extrawarn-move-wcast-function-type-strict-to-w-1.patch queue-4.19/ceph-don-t-truncate-file-in-atomic_open.patch queue-4.19/nilfs2-fix-null-pointer-dereference-at-nilfs_bmap_lookup_at_level.patch queue-4.19/usb-serial-qcserial-add-new-usb-id-for-dell-branded-em7455.patch queue-4.19/quota-check-next-prev-free-block-number-after-reading-from-quota-file.patch queue-4.19/usb-add-quirks-for-lenovo-onelink-dock.patch queue-4.19/random-use-expired-timer-rather-than-wq-for-mixing-fast-pool.patch queue-4.19/pci-sanitise-firmware-bar-assignments-behind-a-pci-pci-bridge.patch queue-4.19/usb-mon-make-mmapped-memory-read-only.patch queue-4.19/ext4-avoid-crash-when-inline-data-creation-follows-dio-write.patch queue-4.19/can-kvaser_usb_leaf-fix-tx-queue-out-of-sync-after-restart.patch queue-4.19/alsa-usb-audio-fix-null-dererence-at-error-path.patch queue-4.19/ftrace-properly-unset-ftrace_hash_fl_mod.patch queue-4.19/livepatch-fix-race-between-fork-and-klp-transition.patch