Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp1493033imm; Fri, 27 Jul 2018 19:27:16 -0700 (PDT) X-Google-Smtp-Source: AAOMgpc+KaY5dKGDvcNUrNmhcsV0OnnMWnkoBaSXEuYdwYnCltXY4krlqJehIelCPRuJLo/c7Om8 X-Received: by 2002:a65:448c:: with SMTP id l12-v6mr7918377pgq.277.1532744836229; Fri, 27 Jul 2018 19:27:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532744836; cv=none; d=google.com; s=arc-20160816; b=rT7jtnyIjfT0KSaGVjMhdFJeIMynnD3qhYGnDIRHvAw2Q7WPDCdencD3l+z4oN8zzq qqV3m8aUHNktj99xi9P8A0V0XEgbNR00Fy7eCCU7tbRChmYNsY3sHIVe6Q13ZFjTG47s k40o61NcOXP65GtS3u0/MAgfb6Jl3Kr3TglLtu/AqhKHJECJHyrRajJoYvhknLkujsvC VIkWtaMaXu+oEy0R89Vd28/JTe7ILqyLk6Yh0c4pb2mIWvCKnTb+pAM5PsrPOYrzpsZN w1bgEYhlOYPsTjFNedZaTVeSpg5hUk7xxEMh1ny/KhVEENuA4w3UV5RBJXb9KXf5bEye WubQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=sfd0rPdHC3nDBgvzDBCaSO+2J1yVOM+0VtsLjeIEoA4=; b=df3nRnsY+/nMODD/FeK1qz52MeGNNf90KY9DiiDWmSUvmUWGTnyZMxntEndsQRphrh 7vlmVfjRqK1gv0jK+ws45ivd5QLJeyPlQcxGWWy3r76gLZ9tsy3BEBo501Sk5wyWfgZe OJ4gMNtfQXL0dmGefEr6nGvGxXOW6msG0QV4JNBTy8MB3aH79l0Z4YlCA75RUn0CKXbs z7QiBXM5QMKgu7Icv4vnoJZZI+QruZswQbAhQlpnLsNdLzZnmGD66MtJ+XiUqU8nwoOb dqyx0CC+c6mjyJFgHdy4lkd702sKTMZqzcbcRjrbqmOvJbCo13zivzUgeNhcS4bfDEa/ iZVA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y18-v6si4839681pll.82.2018.07.27.19.27.01; Fri, 27 Jul 2018 19:27:16 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389431AbeG1DuO (ORCPT + 99 others); Fri, 27 Jul 2018 23:50:14 -0400 Received: from mga07.intel.com ([134.134.136.100]:51072 "EHLO mga07.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389093AbeG1DuO (ORCPT ); Fri, 27 Jul 2018 23:50:14 -0400 X-Amp-Result: UNSCANNABLE X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga105.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 27 Jul 2018 19:25:35 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.51,412,1526367600"; d="scan'208";a="61365710" Received: from bee.sh.intel.com (HELO bee) ([10.239.97.14]) by orsmga006.jf.intel.com with ESMTP; 27 Jul 2018 19:25:31 -0700 Received: from kbuild by bee with local (Exim 4.84_2) (envelope-from ) id 1fjEvC-000Ggs-PE; Sat, 28 Jul 2018 10:25:30 +0800 Date: Sat, 28 Jul 2018 10:24:42 +0800 From: kbuild test robot To: Eric Richter Cc: kbuild-all@01.org, linux-integrity , linux-security-module , linux-efi , linux-kernel , David Howells , Seth Forshee , Justin Forbes , Nayna Jain , Mimi Zohar Subject: [RFC PATCH] ima: arch_policy_rules can be static Message-ID: <20180728022442.GA100797@lkp-g5> References: <20180725233200.761-2-erichte@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180725233200.761-2-erichte@linux.vnet.ibm.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: lkp@intel.com X-SA-Exim-Scanned: No (on bee); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fixes: b4c0791e0fac ("ima: add support for arch specific policies") Signed-off-by: kbuild test robot --- ima_policy.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/security/integrity/ima/ima_policy.c b/security/integrity/ima/ima_policy.c index b47db4d..e1f2ffd 100644 --- a/security/integrity/ima/ima_policy.c +++ b/security/integrity/ima/ima_policy.c @@ -195,8 +195,8 @@ static struct ima_rule_entry secure_boot_rules[] __ro_after_init = { }; /* An array of architecture specific rules */ -struct ima_rule_entry **arch_policy_rules __ro_after_init; -struct ima_rule_entry *arch_policy_entry __ro_after_init; +static struct ima_rule_entry **arch_policy_rules __ro_after_init; +static struct ima_rule_entry *arch_policy_entry __ro_after_init; static LIST_HEAD(ima_default_rules); static LIST_HEAD(ima_policy_rules);