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.10-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.10 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.10/drm-nouveau-kms-nv140-disable-interlacing.patch queue-5.10/drm-i915-fix-watermark-calculations-for-gen12-rc-ccs-modifier.patch queue-5.10/fs-dlm-handle-ebusy-first-in-lock-arg-validation.patch queue-5.10/kvm-nvmx-unconditionally-purge-queued-injected-events-on-nested-exit.patch queue-5.10/iio-pressure-dps310-refactor-startup-procedure.patch queue-5.10/parisc-fbdev-stifb-align-graphics-memory-size-to-4mb.patch queue-5.10/ext4-update-state-fc_regions_size-after-successful-memory-allocation.patch queue-5.10/alsa-rawmidi-drop-register_mutex-in-snd_rawmidi_free.patch queue-5.10/mtd-rawnand-atmel-unmap-streaming-dma-mappings.patch queue-5.10/ext4-fix-null-ptr-deref-in-ext4_write_info.patch queue-5.10/ring-buffer-have-the-shortest_full-queue-be-the-shortest-not-longest.patch queue-5.10/thunderbolt-explicitly-enable-lane-adapter-hotplug-events-at-startup.patch queue-5.10/fs-dlm-fix-race-between-test_bit-and-queue_work.patch queue-5.10/riscv-allow-prot_write-only-mmap.patch queue-5.10/iio-dac-ad5593r-fix-i2c-read-protocol-requirements.patch queue-5.10/ring-buffer-add-ring_buffer_wake_waiters.patch queue-5.10/kvm-vmx-drop-bits-31-16-when-shoving-exception-error-code-into-vmcs.patch queue-5.10/asoc-wcd9335-fix-order-of-slimbus-unprepare-disable.patch queue-5.10/jbd2-fix-potential-buffer-head-reference-count-leak.patch queue-5.10/riscv-pass-mno-relax-only-on-lld-15.0.0.patch queue-5.10/f2fs-increase-the-limit-for-reserve_root.patch queue-5.10/alsa-oss-fix-potential-deadlock-at-unregistration.patch queue-5.10/powerpc-boot-explicitly-disable-usage-of-spe-instructions.patch queue-5.10/serial-8250-let-drivers-request-full-16550a-feature-probing.patch queue-5.10/selinux-use-grep-e-instead-of-egrep.patch queue-5.10/f2fs-fix-to-do-sanity-check-on-destination-blkaddr-during-recovery.patch queue-5.10/ext4-fix-miss-release-buffer-head-in-ext4_fc_write_inode.patch queue-5.10/platform-chrome-cros_ec_proto-update-version-on-get_next_event-failure.patch queue-5.10/alsa-usb-audio-fix-potential-memory-leaks.patch queue-5.10/ext4-ext4_read_bh_lock-should-submit-io-if-the-buffer-isn-t-uptodate.patch queue-5.10/ext4-place-buffer-head-allocation-before-handle-start.patch queue-5.10/ring-buffer-fix-race-between-reset-page-and-reading-page.patch queue-5.10/fbdev-smscufx-fix-use-after-free-in-ufx_ops_open.patch queue-5.10/jbd2-fix-potential-use-after-free-in-jbd2_fc_wait_bufs.patch queue-5.10/drm-i915-fix-watermark-calculations-for-gen12-mc-ccs-modifier.patch queue-5.10/tracing-disable-interrupt-or-preemption-before-acquiring-arch_spinlock_t.patch queue-5.10/hardening-avoid-harmless-clang-option-under-config_init_stack_all_zero.patch queue-5.10/hardening-remove-clang-s-enable-flag-for-ftrivial-auto-var-init-zero.patch queue-5.10/media-cedrus-set-the-platform-driver-data-earlier.patch queue-5.10/can-kvaser_usb_leaf-fix-overread-with-an-invalid-command.patch queue-5.10/iio-pressure-dps310-reset-chip-after-timeout.patch queue-5.10/drm-virtio-check-whether-transferred-2d-bo-is-shmem.patch queue-5.10/riscv-make-vm_write-imply-vm_read.patch queue-5.10/asoc-wcd934x-fix-order-of-slimbus-unprepare-disable.patch queue-5.10/scsi-qedf-populate-sysfs-attributes-for-vport.patch queue-5.10/risc-v-make-port-i-o-string-accessors-actually-work.patch queue-5.10/efi-libstub-drop-pointless-get_memory_map-call.patch queue-5.10/can-kvaser_usb_leaf-fix-can-state-after-restart.patch queue-5.10/hid-multitouch-add-memory-barriers.patch queue-5.10/can-kvaser_usb-fix-use-of-uninitialized-completion.patch queue-5.10/alsa-hda-realtek-add-quirk-for-asus-gv601r-laptop.patch queue-5.10/staging-greybus-audio_helper-remove-unused-and-wrong-debugfs-usage.patch queue-5.10/alsa-hda-realtek-correct-pin-configs-for-asus-g533z.patch queue-5.10/ring-buffer-allow-splice-to-read-previous-partially-read-pages.patch queue-5.10/alsa-hda-realtek-remove-alc289_fixup_dual_spk-for-dell-5530.patch queue-5.10/alsa-hda-realtek-add-intel-reference-ssid-to-support-headset-keys.patch queue-5.10/btrfs-fix-race-between-quota-enable-and-quota-rescan-ioctl.patch queue-5.10/ext4-fix-potential-memory-leak-in-ext4_fc_record_modified_inode.patch queue-5.10/um-cpuinfo-fix-a-warning-for-config_cpumask_offstack.patch queue-5.10/iio-ltc2497-fix-reading-conversion-results.patch queue-5.10/cifs-fix-the-error-length-of-validate_negotiate_info-message.patch queue-5.10/mm-mmap-undo-mmap-when-arch_validate_flags-fails.patch queue-5.10/cifs-destage-dirty-pages-before-re-reading-them-for-cache-none.patch queue-5.10/hwmon-gsc-hwmon-call-of_node_get-before-of_find_xxx-api.patch queue-5.10/ext4-make-ext4_lazyinit_thread-freezable.patch queue-5.10/nvme-pci-set-min_align_mask-before-calculating-max_hw_sectors.patch queue-5.10/ext4-fix-potential-memory-leak-in-ext4_fc_record_regions.patch queue-5.10/kvm-x86-emulator-fix-handing-of-pop-ss-to-correctly-set-interruptibility.patch queue-5.10/regulator-qcom_rpm-fix-circular-deferral-regression.patch queue-5.10/jbd2-add-miss-release-buffer-head-in-fc_do_one_pass.patch queue-5.10/f2fs-fix-to-do-sanity-check-on-summary-info.patch queue-5.10/ring-buffer-check-pending-waiters-when-doing-wake-ups-as-well.patch queue-5.10/hardening-clarify-kconfig-text-for-auto-var-init.patch queue-5.10/quota-check-next-prev-free-block-number-after-reading-from-quota-file.patch queue-5.10/usb-add-quirks-for-lenovo-onelink-dock.patch queue-5.10/drm-udl-restore-display-mode-on-resume.patch queue-5.10/pci-sanitise-firmware-bar-assignments-behind-a-pci-pci-bridge.patch queue-5.10/drm-nouveau-fix-a-use-after-free-in-nouveau_gem_prime_import_sg_table.patch queue-5.10/smb3-must-initialize-two-acl-struct-fields-to-zero.patch queue-5.10/iio-adc-ad7923-fix-channel-readings-for-some-variants.patch queue-5.10/mmc-sdhci-sprd-fix-minimum-clock-limit.patch queue-5.10/ext4-don-t-increase-iversion-counter-for-ea_inodes.patch queue-5.10/ext4-avoid-crash-when-inline-data-creation-follows-dio-write.patch queue-5.10/can-kvaser_usb_leaf-fix-tx-queue-out-of-sync-after-restart.patch queue-5.10/alsa-usb-audio-fix-null-dererence-at-error-path.patch queue-5.10/jbd2-wake-up-journal-waiters-in-fifo-order-not-lifo.patch queue-5.10/ext4-fix-check-for-block-being-out-of-directory-size.patch queue-5.10/ftrace-properly-unset-ftrace_hash_fl_mod.patch queue-5.10/block-fix-inflight-statistics-of-part0.patch queue-5.10/powercap-intel_rapl-use-standard-energy-unit-for-spr-dram-rapl-domain.patch queue-5.10/livepatch-fix-race-between-fork-and-klp-transition.patch