From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.2 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id F3ABDC433E0 for ; Wed, 10 Mar 2021 14:41:33 +0000 (UTC) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 625FD64EB7 for ; Wed, 10 Mar 2021 14:41:33 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 625FD64EB7 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=intel.com Authentication-Results: mail.kernel.org; spf=tempfail smtp.mailfrom=linux-audit-bounces@redhat.com Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-11-VjkrG73WPiqsuLSqrRsdoQ-1; Wed, 10 Mar 2021 09:41:30 -0500 X-MC-Unique: VjkrG73WPiqsuLSqrRsdoQ-1 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id BFE9281746A; Wed, 10 Mar 2021 14:41:26 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id A261E1002F12; Wed, 10 Mar 2021 14:41:26 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id 846CF5002E; Wed, 10 Mar 2021 14:41:24 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.rdu2.redhat.com [10.11.54.5]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 129Jkuq5022571 for ; Tue, 9 Mar 2021 14:46:56 -0500 Received: by smtp.corp.redhat.com (Postfix) id 8E9F79D47F; Tue, 9 Mar 2021 19:46:56 +0000 (UTC) Received: from mimecast-mx02.redhat.com (mimecast03.extmail.prod.ext.rdu2.redhat.com [10.11.55.19]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 895159D47C for ; Tue, 9 Mar 2021 19:46:53 +0000 (UTC) Received: from us-smtp-1.mimecast.com (us-smtp-1.mimecast.com [207.211.31.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 5A5628551FE for ; Tue, 9 Mar 2021 19:46:53 +0000 (UTC) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-5-1sLi6mBIPIqbx2CEaK4QtQ-1; Tue, 09 Mar 2021 14:46:47 -0500 X-MC-Unique: 1sLi6mBIPIqbx2CEaK4QtQ-1 IronPort-SDR: 0NVSwvwP0BaU+88i0tesz/2N7NLIS/5trxp3Ddzg13bxYogKRtpKyJ6U9GeY8Q7cevXhokDxE4 GvZjPaBsxQcw== X-IronPort-AV: E=McAfee;i="6000,8403,9917"; a="168224781" X-IronPort-AV: E=Sophos;i="5.81,236,1610438400"; d="scan'208";a="168224781" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Mar 2021 11:46:42 -0800 IronPort-SDR: AxQyp0CSpeKmjgegg1rRi7DDWn6V4RWA8fjoj0nsPvsFR5cfR1AJbzJTiTqRDuVHhAVOvBQYfZ 3uKC2BXCQ8qg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.81,236,1610438400"; d="scan'208";a="588558665" Received: from lkp-server01.sh.intel.com (HELO 3e992a48ca98) ([10.239.97.150]) by orsmga005.jf.intel.com with ESMTP; 09 Mar 2021 11:46:39 -0800 Received: from kbuild by 3e992a48ca98 with local (Exim 4.92) (envelope-from ) id 1lJiJT-0001n3-4t; Tue, 09 Mar 2021 19:46:39 +0000 Date: Wed, 10 Mar 2021 03:46:32 +0800 From: kernel test robot To: Casey Schaufler , casey.schaufler@intel.com, jmorris@namei.org, linux-security-module@vger.kernel.org, selinux@vger.kernel.org Subject: [RFC PATCH] LSM: audit_sig_lsm can be static Message-ID: <20210309194632.GA104254@1cfea093ef28> References: <20210309144243.12519-13-casey@schaufler-ca.com> MIME-Version: 1.0 In-Reply-To: <20210309144243.12519-13-casey@schaufler-ca.com> X-Patchwork-Hint: ignore User-Agent: Mutt/1.10.1 (2018-07-13) X-Mimecast-Impersonation-Protect: Policy=CLT - Impersonation Protection Definition; Similar Internal Domain=false; Similar Monitored External Domain=false; Custom External Domain=false; Mimecast External Domain=false; Newly Observed Domain=false; Internal User Name=false; Custom Display Name List=false; Reply-to Address Mismatch=false; Targeted Threat Dictionary=false; Mimecast Threat Dictionary=false; Custom Threat Dictionary=false X-Scanned-By: MIMEDefang 2.79 on 10.11.54.5 X-loop: linux-audit@redhat.com X-Mailman-Approved-At: Wed, 10 Mar 2021 09:41:22 -0500 Cc: john.johansen@canonical.com, kbuild-all@lists.01.org, linux-audit@redhat.com X-BeenThere: linux-audit@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Linux Audit Discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-audit-bounces@redhat.com Errors-To: linux-audit-bounces@redhat.com X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=linux-audit-bounces@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Disposition: inline Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Reported-by: kernel test robot Signed-off-by: kernel test robot --- audit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/audit.c b/kernel/audit.c index c061331046956..c32df242a3726 100644 --- a/kernel/audit.c +++ b/kernel/audit.c @@ -125,7 +125,7 @@ static u32 audit_backlog_wait_time = AUDIT_BACKLOG_WAIT_TIME; /* The identity of the user shutting down the audit system. */ static kuid_t audit_sig_uid = INVALID_UID; static pid_t audit_sig_pid = -1; -struct lsmblob audit_sig_lsm; +static struct lsmblob audit_sig_lsm; /* Records can be lost in several ways: 0) [suppressed in audit_alloc] -- Linux-audit mailing list Linux-audit@redhat.com https://listman.redhat.com/mailman/listinfo/linux-audit