Received: by 10.223.164.202 with SMTP id h10csp216153wrb; Mon, 13 Nov 2017 05:25:33 -0800 (PST) X-Google-Smtp-Source: AGs4zMZ3bGzWnXWzonRzqHn1K9xxIYnSq8JVYwVX0FnD+OVB3VDpMHFroVB//u3BViftsiLQOksP X-Received: by 10.159.231.15 with SMTP id w15mr9130287plq.436.1510579532967; Mon, 13 Nov 2017 05:25:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510579532; cv=none; d=google.com; s=arc-20160816; b=DNnQ3dGGJhhq3aoMyiskaLQQ6R2abwKtyfxt+30FyWqOf7/+DrxMHHLOP4jgyptb8z rbJm1ZVgCGa9fYFeAWEF8cRvW/r+RqcZGo4UrcAv+zusv9PfGlRyNN7op/H6SKsAYk68 T704XFqmoGwlQPtOlpr+MAlIHiGTSKHqHY2+Q3NxkW5N+Kc7r2YzJbddP836Qv75w7sw Dd5bkDDkefJlVTssXH4w5AZR2rw+MNjwgDcPL6cyvAM3/RatCGdwKdZMKNBrtMuQncli esziPVh6iPBangsynoD7R/omiVnGlEpvedtRrlpP+vezdoTbtfKDQceGz6zV2Nk9Za0O NcPg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=EC5GuCQV0lAdOd6qtQxQjS8VDVODGa3Wbo59VGzOOPI=; b=atACZH3UnPJbBP7FR2wDHad817T5UYK0wqsmtovSU5tgk0EuXQomeRmutTqjimMtRU BXTyBHFwoK9Zq7vcz3UOzeKXP/o0GPu/YTBAyqPtXGs6x2PEnzKgFJgsBV/Pk7osWDqg xSJ0MLG6lwhBuvmUfRLXSXh51EoKvO0dcJP2B7AOD0dF/RF1YYvm9swb0aBJCYf8SBL8 64TmlBSNk2lRue5IoxBwaOZ4D+N9eJUC8bbTsO9qdtdDMbe0YxFH7/6/GvnYTePPS+0G z4MdDB9VBHlW1nfpLzA4Zn4EdiA94Yoib7WAqwi5E1ebU4WyQAHzuTRkR2w6hbuNv18I /31g== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u131si6308372pgb.489.2017.11.13.05.25.19; Mon, 13 Nov 2017 05:25:32 -0800 (PST) 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753852AbdKMNXc (ORCPT + 95 others); Mon, 13 Nov 2017 08:23:32 -0500 Received: from mail.linuxfoundation.org ([140.211.169.12]:50074 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754512AbdKMNAx (ORCPT ); Mon, 13 Nov 2017 08:00:53 -0500 Received: from localhost (LFbn-1-12253-150.w90-92.abo.wanadoo.fr [90.92.67.150]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id DD5ACAA5; Mon, 13 Nov 2017 13:00:52 +0000 (UTC) From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, John Johansen , Sasha Levin Subject: [PATCH 4.9 34/87] apparmor: fix undefined reference to `aa_g_hash_policy Date: Mon, 13 Nov 2017 13:55:51 +0100 Message-Id: <20171113125618.423762252@linuxfoundation.org> X-Mailer: git-send-email 2.15.0 In-Reply-To: <20171113125615.304035578@linuxfoundation.org> References: <20171113125615.304035578@linuxfoundation.org> User-Agent: quilt/0.65 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.9-stable review patch. If anyone has any objections, please let me know. ------------------ From: John Johansen [ Upstream commit 3ccb76c5dfe0d25c1d0168d5b726d0b43d19a485 ] The kernel build bot turned up a bad config combination when CONFIG_SECURITY_APPARMOR is y and CONFIG_SECURITY_APPARMOR_HASH is n, resulting in the build error security/built-in.o: In function `aa_unpack': (.text+0x841e2): undefined reference to `aa_g_hash_policy' Signed-off-by: John Johansen Signed-off-by: Sasha Levin Signed-off-by: Greg Kroah-Hartman --- security/apparmor/lsm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/security/apparmor/lsm.c +++ b/security/apparmor/lsm.c @@ -671,9 +671,9 @@ enum profile_mode aa_g_profile_mode = AP module_param_call(mode, param_set_mode, param_get_mode, &aa_g_profile_mode, S_IRUSR | S_IWUSR); -#ifdef CONFIG_SECURITY_APPARMOR_HASH /* whether policy verification hashing is enabled */ bool aa_g_hash_policy = IS_ENABLED(CONFIG_SECURITY_APPARMOR_HASH_DEFAULT); +#ifdef CONFIG_SECURITY_APPARMOR_HASH module_param_named(hash_policy, aa_g_hash_policy, aabool, S_IRUSR | S_IWUSR); #endif From 1583939321420282349@xxx Mon Nov 13 08:37:29 +0000 2017 X-GM-THRID: 1583939321420282349 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread