Received: by 10.192.165.156 with SMTP id m28csp797617imm; Mon, 16 Apr 2018 08:52:38 -0700 (PDT) X-Google-Smtp-Source: AIpwx48xV0fab9javZc9MDHyDb3BvQGqy05iouHsM+myNidv0o/IrzL2jW2JYsP4EInPHVduh9y+ X-Received: by 10.98.87.7 with SMTP id l7mr22118602pfb.148.1523893958811; Mon, 16 Apr 2018 08:52:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523893958; cv=none; d=google.com; s=arc-20160816; b=xiVUe/eDfV2VPzRCtpYp+bZ20i2DqQ7/iPOz9SscpIv4AEov4fIeCNb5XQL6JBARxA oHmiQpB4Y7GGU9iGkzxxYQwemN9sawBkV1CU33XGtf6PUWnowan5c3DL9PD5+LmCLImu hju7BCpD3ckPZM41H7WvxBeohumugSXi/CgrDbF/0XWK8Bs5HRh97PXCZJulzj0pCLIO L/DJUjPBfRyWTIwNZE8k1C33rXVXG4o8G6MLikVNeovjif2YdDxUQcFsQf1XrZV7ZMU7 avvu8x3ejJE8FBVBL437HTQBhq8rCoYjiefCQ4p1DjpOriFceiLm+K1biJQpvmLRd8wu wy/Q== 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:dmarc-filter:arc-authentication-results; bh=laadOlRteZH9gnhc9th9rIl+Tj/Ip9euY5IPvVwv/EE=; b=D1wnTEujv6mhW6HQLrRlIpxMto6AZWdiJ/puC+kWYyqA3Zbqohpacwv/MmPsT473N0 uFsAqkIS88zeNAgfXMc5JePxoRde6kTkk46FjtUGG20upNUp+fB94Tf0iySCmuMv1HWT qy7f2hrV+mGd/fJRNm19SYppTRlVnG1QRwfmQJCXM1KJSAfbItErUbDcTF1KTjgqOILI r/6hCpf7Eu0+cssK+YyQj3lmLQ8r3UAejFla0CagOR9rtFLhY1e3JX1hOzp4y9M4X1lg Q6ianiKOgsP5uDA2fUVecFZR7aG3WA58yrUm+jBHKPGk01eI7vMA9+jmN0EhbjOA85PA 37vg== 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 d17si9507328pgo.310.2018.04.16.08.52.25; Mon, 16 Apr 2018 08:52:38 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751270AbeDPPvN (ORCPT + 99 others); Mon, 16 Apr 2018 11:51:13 -0400 Received: from mail.kernel.org ([198.145.29.99]:57094 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751169AbeDPPvM (ORCPT ); Mon, 16 Apr 2018 11:51:12 -0400 Received: from redbean (ip5f5adbe2.dynamic.kabel-deutschland.de [95.90.219.226]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 7AE3421776; Mon, 16 Apr 2018 15:51:10 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 7AE3421776 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=jeyu@kernel.org Date: Mon, 16 Apr 2018 17:51:05 +0200 From: Jessica Yu To: Jia Zhang Cc: linux-kernel@vger.kernel.org Subject: Re: [PATCH 2/2] module: Allow to always show the status of modsign Message-ID: <20180416155105.vbog5ynqk2p2ogz3@redbean> References: <1523418814-6857-1-git-send-email-zhang.jia@linux.alibaba.com> <1523418814-6857-2-git-send-email-zhang.jia@linux.alibaba.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <1523418814-6857-2-git-send-email-zhang.jia@linux.alibaba.com> X-OS: Linux redbean 4.15.3-200.fc26.x86_64 x86_64 User-Agent: NeoMutt/20180323 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org +++ Jia Zhang [11/04/18 11:53 +0800]: >The sig_enforce parameter could be always shown to reflect the >current status of modsign. For the case of CONFIG_MODULE_SIG_FORCE=y, >this modification does nothing harmless. > >Signed-off-by: Jia Zhang Both patches look fine to me. Queued on modules-next. Thanks, Jessica >--- > kernel/module.c | 2 -- > 1 file changed, 2 deletions(-) > >diff --git a/kernel/module.c b/kernel/module.c >index f695474..1e3337b 100644 >--- a/kernel/module.c >+++ b/kernel/module.c >@@ -274,9 +274,7 @@ static void module_assert_mutex_or_preempt(void) > } > > static bool sig_enforce = IS_ENABLED(CONFIG_MODULE_SIG_FORCE); >-#ifndef CONFIG_MODULE_SIG_FORCE > module_param(sig_enforce, bool_enable_only, 0644); >-#endif /* !CONFIG_MODULE_SIG_FORCE */ > > /* > * Export sig_enforce kernel cmdline parameter to allow other subsystems rely >-- >1.8.3.1 >