Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp3885841rwi; Sat, 22 Oct 2022 01:33:14 -0700 (PDT) X-Google-Smtp-Source: AMsMyM79Fnp+wJwO8m6PcwHjhgJ80VCMKhY3CLIdGmvvq1SFTcTnokFkTrdrVzZwR4IN2kZA/gQc X-Received: by 2002:a63:874a:0:b0:46e:bcc0:c69d with SMTP id i71-20020a63874a000000b0046ebcc0c69dmr5466874pge.89.1666427593712; Sat, 22 Oct 2022 01:33:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666427593; cv=none; d=google.com; s=arc-20160816; b=SWQ2V84HjnJGuVJZitt/F6S60Pk7LlvyiZLk/jHqyFfu5/MXpi2skBam7wQzWF4myy Tc5x8gKWUKJegRQoi9dEFJxgvEGbHrmXgblIgwaYIVXdu0n6+dpBEwrduxJXC8Zqiyp4 V9IyMzTGJAXFfO7Qyq0aDn6+zfk/6eudUZM8NBDEBfGijC9MLBPt9QyyDaW8MGD480v0 e65M7/FyZ9NLQn3f+bB1nOEwzR34L+LU5xN2sao1w6TV3FYBf6ksY8Kfp8MmLXKnKF0a d7KOUM2cyYv/dINnuSJKCw2+5LMImnH9NG2eyxUGsQc8XIhF3mu+d7PvQM2l2HmItgfM HyZw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=YCRKJCfcbu79sBq4qIZn4FIjwAspe2hJvwsrrGU6Z2c=; b=grU/8GaROrYZL/m2Nl73lUr0IcamOMxyJ8PvThjmXFp8epUMeVpGpTLZiTsIoajnbm sGaOvn95PhkB/Yn4dq3K3+QHy5V5yV+hBXALYFp7bGW4tkmmRiYstJORoMSq/JqH5vNy y54x3dsu7+xbk4v2wSrCuJ+djpvrJVoPdCDHRtB3ILV3tch0HMuY+s6XpvRO19JyQwcY DpocTF4Q8B/8+wCch6fQlgEYgy0iwQzrSLcR7VvyjDOtXZppvLxRar46MM1gm3TrtGAZ rMWxAsUP4RasM9M10b+6S30FbciMpE+jnj36HY2vEv8ONcSikjxQYNQpxk5UqKw8RK72 LAUQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=kTB7Coq+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 17-20020a17090a001100b0020ac15764f6si8310143pja.176.2022.10.22.01.33.01; Sat, 22 Oct 2022 01:33:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=kTB7Coq+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231479AbiJVHqc (ORCPT + 99 others); Sat, 22 Oct 2022 03:46:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47744 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231534AbiJVHoa (ORCPT ); Sat, 22 Oct 2022 03:44:30 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 599F8253BD0; Sat, 22 Oct 2022 00:43:04 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 3EA85B82DB2; Sat, 22 Oct 2022 07:41:58 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id AF17FC433D6; Sat, 22 Oct 2022 07:41:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1666424517; bh=QOgwnGXtJ5WnEebGLcaB/JmKLZooNWI4me6Yyig3MGY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=kTB7Coq+cCptmTFDhM/lC0tCQ1sogRKv5VKiUe8H2zt7Q/hsDOitOFFb0HEJ0Tfqh Bn/9LauPGNhBFxRmysHUaHlSJA9QNSWcMeggK6wxs23foRq0O0nBk5F2SYpG1DEzn9 sbmZKtKevVLcorh6EjagJJqYP3GCqv1530x5htC0= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Paul Moore , Stephen Smalley , Eric Paris , selinux@vger.kernel.org Subject: [PATCH 5.19 176/717] selinux: use "grep -E" instead of "egrep" Date: Sat, 22 Oct 2022 09:20:55 +0200 Message-Id: <20221022072446.704393717@linuxfoundation.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221022072415.034382448@linuxfoundation.org> References: <20221022072415.034382448@linuxfoundation.org> User-Agent: quilt/0.67 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Greg Kroah-Hartman 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 Cc: Stephen Smalley Cc: Eric Paris Cc: selinux@vger.kernel.org Signed-off-by: Greg Kroah-Hartman [PM: tweak to remove vdso reference, cleanup subj line] Signed-off-by: Paul Moore Signed-off-by: Greg Kroah-Hartman --- 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