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=-2.3 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_PASS,URIBL_BLOCKED,USER_AGENT_MUTT 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 C99F6C67790 for ; Sat, 28 Jul 2018 02:25:38 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 8B5BE20862 for ; Sat, 28 Jul 2018 02:25:38 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 8B5BE20862 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=intel.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389447AbeG1DuO (ORCPT ); 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); From mboxrd@z Thu Jan 1 00:00:00 1970 From: fengguang.wu@intel.com (kbuild test robot) Date: Sat, 28 Jul 2018 10:24:42 +0800 Subject: [RFC PATCH] ima: arch_policy_rules can be static In-Reply-To: <20180725233200.761-2-erichte@linux.vnet.ibm.com> References: <20180725233200.761-2-erichte@linux.vnet.ibm.com> Message-ID: <20180728022442.GA100797@lkp-g5> To: linux-security-module@vger.kernel.org List-Id: linux-security-module.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); -- To unsubscribe from this list: send the line "unsubscribe linux-security-module" in the body of a message to majordomo at vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html