Received: by 2002:a05:6358:bb9e:b0:b9:5105:a5b4 with SMTP id df30csp4486142rwb; Tue, 6 Sep 2022 08:10:31 -0700 (PDT) X-Google-Smtp-Source: AA6agR6nRay46JzEC0OhzMt/xx4yFa8csz1yj5ttrvlSw1EM7t3IGYq5KHxiiTLks87gpZg9vE34 X-Received: by 2002:a63:1e16:0:b0:430:5c4a:a3b5 with SMTP id e22-20020a631e16000000b004305c4aa3b5mr25744317pge.37.1662477031471; Tue, 06 Sep 2022 08:10:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662477031; cv=none; d=google.com; s=arc-20160816; b=v0JX2PoznS9Vi0Tp6EiUbi9cm2g9gnpUAE0B4g3tqVlaWZV65D/G7rPUjd9GbF5h7k E9hv8K0wrhcJGjJ6ukBqbcPtTKLvUMlFzo1t0H1pLfrYvIZCAe7yODxTnUTvh2rNoZ9q xarpJewFM0xeMii0YMtE894RhWlkmm/Ig0rMm+gz7S3qhhFvGiGMfR+oG/s0sRxUr47X RnvvteCmqpz8jkQdLRR6flH1SR5bff2RquHFso/FmX12N+xByktP8tW8nPiACFIsyozm vADlnAHHE6w9P+0YJLraH24DGe4jVwMHUcYRq4g7L9XyloxH+CwNqol0KQu+KZxnzcpg Bqig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from; bh=tTDEgOMurh3xzV6Tnijf/x1c7wLNWoMWsn4zSzDQxr4=; b=uv/lDR29mkuoaWLcqEYIcqPnZhn0BiiMVQR9U1opbOYpQ2WrBjA++EjWIMNV/Nr6Of 8UIsZghFnd0WdFkuib6dYX8ikL0RUh/ocRZie7AjXbZZd4EyfSWuW85cUL2Q0gD1xmyC j4jJUnM5sY0hhQUeVKI0b5kwtJb931N9jtjGjnq13cKCiMpyH9/F/mp+n15nINInsgx+ DlMgtfQvFUGuE+kcCFHfrdEyiQIzh4a8Kf5nEEWgiSeIRmh5tavK4GCss04u+G8PkZFC 8gbksTqteiVT/g29lsiJQPTRtcl4xvzEQX47nwCWIK0aVGdVw8sQNtu5/sUj7it0dfzD Rj/g== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id me6-20020a17090b17c600b001fe0682652esi16755724pjb.184.2022.09.06.08.10.18; Tue, 06 Sep 2022 08:10:31 -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; 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=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240039AbiIFN2m (ORCPT + 99 others); Tue, 6 Sep 2022 09:28:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44576 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239238AbiIFN2g (ORCPT ); Tue, 6 Sep 2022 09:28:36 -0400 Received: from szxga02-in.huawei.com (szxga02-in.huawei.com [45.249.212.188]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B26B374B8C for ; Tue, 6 Sep 2022 06:28:35 -0700 (PDT) Received: from dggpeml500023.china.huawei.com (unknown [172.30.72.57]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4MMR1J3btRzZchQ; Tue, 6 Sep 2022 21:24:04 +0800 (CST) Received: from ubuntu1804.huawei.com (10.67.174.58) by dggpeml500023.china.huawei.com (7.185.36.114) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.24; Tue, 6 Sep 2022 21:28:33 +0800 From: Xiu Jianfeng To: , CC: , Subject: [PATCH -next] audit: remove selinux_audit_rule_update() declaration Date: Tue, 6 Sep 2022 21:25:08 +0800 Message-ID: <20220906132508.112248-1-xiujianfeng@huawei.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.67.174.58] X-ClientProxiedBy: dggems704-chm.china.huawei.com (10.3.19.181) To dggpeml500023.china.huawei.com (7.185.36.114) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 selinux_audit_rule_update() has been renamed to audit_update_lsm_rules() since commit d7a96f3a1ae2 ("Audit: internally use the new LSM audit hooks"), so remove it. Signed-off-by: Xiu Jianfeng --- kernel/audit.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/kernel/audit.h b/kernel/audit.h index d6eb7b59c791..c57b008b9914 100644 --- a/kernel/audit.h +++ b/kernel/audit.h @@ -245,8 +245,6 @@ struct audit_netlink_list { int audit_send_list_thread(void *_dest); -extern int selinux_audit_rule_update(void); - extern struct mutex audit_filter_mutex; extern int audit_del_rule(struct audit_entry *entry); extern void audit_free_rule_rcu(struct rcu_head *head); -- 2.17.1