Received: by 2002:a05:622a:251a:b0:39a:b4a2:e86 with SMTP id cm26csp3163850qtb; Mon, 24 Oct 2022 07:10:06 -0700 (PDT) X-Google-Smtp-Source: AMsMyM777/JqE5R3h4MnP3bWDT5meTrQ9fhVrvorPFPNuXY+ks4RQ7Lbuzo7xfkn7oZEitxGHnww X-Received: by 2002:a17:907:74a:b0:77e:9455:b4e3 with SMTP id xc10-20020a170907074a00b0077e9455b4e3mr28252379ejb.471.1666620505093; Mon, 24 Oct 2022 07:08:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666620505; cv=none; d=google.com; s=arc-20160816; b=s/MckJ3JDJBYzZmaCl0fn6e+0kC3hIGDfdRviiTy6/bjz2OSFsfp3I3H9m5ie6UERJ JtCzGJNaYFmrJrLwhdCRLtfZFWC+2Ldzwj4VapvQGL8tm9x/9COyJM4xQLJt1K92aIQB T8ZktnqdRQwedGKlxw/K/9oWm1Y0cIVec5Vhb/Rr0LHcKyOmYnFKr01Xjqg3AgFCnLcp T4f6Vr1MaE9wlad9PY/qAV8z70b1gkqz5+WZAQmGIWFikwbERP/azj8WTQEObsZSH1Wk c6e2zdsHHygGqUW7Drdi8sXxFXU44GZIlQSfKzku6oG/jKXQTeWmtj4IIA/pJZinHklr YzHw== 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=SV20j36YBtmCMBO6hyVOtbbyAhX+h+AVVBda30RRb8g=; b=aMKFs/ZRlimc6LI4z87hs32gTDlXAqTnC1CIvaYDirBI0igK6D8Ylb40YVwydzJbNp Ue6jZdZQuR5J01Mc5Shj+gEe4Xaj1HvUsVcNCMws3ll5zf4kfHeTClc3Oy6qecWkY+o/ NovDrT8k1d6WjNdbobMWwokNGD/6nNuJwo55UlthQT4k8KmerDqW0tIJfnl6SVCkvX7m JlzCJbtlz+aNPNQHtFSW8LXaJnchFhV5ZHRgUDlps7KCryrGVjy+s1IFlmD2dTSXsSJR D4StjCSXevXDskZ5iyrlhhYR+H1sxKZBaubVprg41pTZjNNarICoKS8d82QctipoVgKs 7Wug== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=sVyYn3ga; 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 n15-20020aa7d04f000000b0046109fd5943si6242499edo.544.2022.10.24.07.08.00; Mon, 24 Oct 2022 07:08:25 -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=sVyYn3ga; 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 S233959AbiJXM3F (ORCPT + 99 others); Mon, 24 Oct 2022 08:29:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45036 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233814AbiJXM2T (ORCPT ); Mon, 24 Oct 2022 08:28:19 -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 37DD513EBA; Mon, 24 Oct 2022 05:01:54 -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 A6243B811A5; Mon, 24 Oct 2022 11:57:37 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 03728C433D6; Mon, 24 Oct 2022 11:57:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1666612656; bh=TaOMZ641qK5g+ToI/uLs8Ny1TZ131P0sMACZ7/5HZuc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=sVyYn3gabMWebxyhSToh6n4xjm3vcq00/nmsI+gw2jghGDs/tcu7n/klRXis+jc7Y W3oNVMO3qhBqPlD+AfGoNnOitALfas3sS/PZSfoYz4/IZaGS4xOPj7xlM2yFSioR6x HmkWsgeNTGuMh90G/A/7tOWVnr0we55KvXxVNUEQ= 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 4.19 069/229] selinux: use "grep -E" instead of "egrep" Date: Mon, 24 Oct 2022 13:29:48 +0200 Message-Id: <20221024113001.309912679@linuxfoundation.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221024112959.085534368@linuxfoundation.org> References: <20221024112959.085534368@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.6 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 @@ -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