selinux: use "grep -E" instead of "egrep"
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 20 Sep 2022 17:12:52 +0000 (19:12 +0200)
committerPaul Moore <paul@paul-moore.com>
Tue, 20 Sep 2022 18:08:04 +0000 (14:08 -0400)
commitc969bb8dbaf2f3628927eae73e7c579a74cf1b6e
tree4fa5bdff622ad98b8291f9a833e2eb753ef60b16
parent09b71adab09570fcc715ff31a6835d0e445e4a54
selinux: use "grep -E" instead of "egrep"

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@paul-moore.com>
Cc: Stephen Smalley <stephen.smalley.work@gmail.com>
Cc: Eric Paris <eparis@parisplace.org>
Cc: selinux@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
[PM: tweak to remove vdso reference, cleanup subj line]
Signed-off-by: Paul Moore <paul@paul-moore.com>
scripts/selinux/install_policy.sh