Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2922485imu; Sun, 9 Dec 2018 12:38:59 -0800 (PST) X-Google-Smtp-Source: AFSGD/Woazy+fLGLCpgGh2QaOjDmmgsn34Z90mPiHDDDFEYGmHyxvFcYor6YK8ym1x915CZzfBrC X-Received: by 2002:a62:cd44:: with SMTP id o65mr9835939pfg.222.1544387939889; Sun, 09 Dec 2018 12:38:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544387939; cv=none; d=google.com; s=arc-20160816; b=Hj37OtK8JhXR7JD3Hi+vSPe8gVQwUAKWGFCNooggLxIw2RWMm2VqUXeKJAU1nkBV2N TMfjbJs/hN9HpM6UrBiMjEjInfzNChj+b4EcZ+cBh9BupQJrMH4ZoqG5r/gcPTaWjP2c vS8Sr/sshjPg5YhOttZyf0+bEdy4IynknMWeBy8fvayKV/zg8zWA7BLoofluiLIh11nO WcNmFdx6VkPNQuI//lwajaQlCp8JcAIf1EJEtEzXQk8r0mzk0yVbVV/61gLHYrvHrZkY YZ9vDnOzdbqhxR7g/bB5bRxj+htsLVV9TBRPu5sykW+yEA64HYKRnowVYz0Gr+rw595S 8FMg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from; bh=UrPhyiBsQj6G9Ff0XiZjD8yJi+UGBvXk2EQ4Wy4n9B0=; b=qA99e3vY7kl88zvpL3wDtKLsb2Zee6Up1g3MPYWra+4BLoUEV+h8O24WTFj6CJHxJ4 Fz1dney8T4vK74VDujRqUF1fzCBSjKX8gC47KORe3a3vm17IIa2M9V8WHgwPhlp3PrHM LVhJVrKQFhu8H6xJ9JE7Abi+e0+6CFZdL6mBlYWPnOERzSseLLTSO5uvEFeAt1h0LIW8 VEoheXkJvn01s7LP6cYxyMWNh4eE0LtvE6lkx4WOJSVNTFeK+7bbXPpQtJsiUjAfSoqA G6jNVY+70R1176XyBMRs5mHy4rzBeQiavpecwfDN3eMepxOvXubdV/NTZwTLXra9p5Ea UNDw== 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 x14si8042698plr.378.2018.12.09.12.38.44; Sun, 09 Dec 2018 12:38:59 -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 S1726319AbeLIUhw (ORCPT + 99 others); Sun, 9 Dec 2018 15:37:52 -0500 Received: from mail.windriver.com ([147.11.1.11]:32998 "EHLO mail.windriver.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726219AbeLIUhw (ORCPT ); Sun, 9 Dec 2018 15:37:52 -0500 Received: from ALA-HCA.corp.ad.wrs.com ([147.11.189.40]) by mail.windriver.com (8.15.2/8.15.1) with ESMTPS id wB9KbgXI020427 (version=TLSv1 cipher=AES128-SHA bits=128 verify=FAIL); Sun, 9 Dec 2018 12:37:42 -0800 (PST) Received: from yow-cube1.wrs.com (128.224.56.98) by ALA-HCA.corp.ad.wrs.com (147.11.189.40) with Microsoft SMTP Server id 14.3.408.0; Sun, 9 Dec 2018 12:37:41 -0800 From: Paul Gortmaker To: CC: , Paul Gortmaker , Mimi Zohar , James Morris , "Serge E. Hallyn" , Subject: [PATCH 4/5] security: integrity: make evm_main explicitly non-modular Date: Sun, 9 Dec 2018 15:36:32 -0500 Message-ID: <1544387793-32309-5-git-send-email-paul.gortmaker@windriver.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1544387793-32309-1-git-send-email-paul.gortmaker@windriver.com> References: <1544387793-32309-1-git-send-email-paul.gortmaker@windriver.com> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The Makefile/Kconfig entry controlling compilation of this code is: obj-$(CONFIG_EVM) += evm.o evm-y := evm_main.o evm_crypto.o evm_secfs.o security/integrity/evm/Kconfig:config EVM security/integrity/evm/Kconfig: bool "EVM support" ...meaning that it currently is not being built as a module by anyone. Lets remove the couple traces of modular infrastructure use, so that when reading the driver there is no doubt it is builtin-only. We also delete the MODULE_LICENSE tag etc. since all that information is already contained at the top of the file in the comments. Cc: Mimi Zohar Cc: James Morris Cc: "Serge E. Hallyn" Cc: linux-ima-devel@lists.sourceforge.net Cc: linux-security-module@vger.kernel.org Signed-off-by: Paul Gortmaker --- security/integrity/evm/evm_main.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/security/integrity/evm/evm_main.c b/security/integrity/evm/evm_main.c index 7f3f54d89a6e..5ecaa3d6fe0b 100644 --- a/security/integrity/evm/evm_main.c +++ b/security/integrity/evm/evm_main.c @@ -16,7 +16,7 @@ #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt -#include +#include #include #include #include @@ -592,6 +592,3 @@ static int __init init_evm(void) } late_initcall(init_evm); - -MODULE_DESCRIPTION("Extended Verification Module"); -MODULE_LICENSE("GPL"); -- 2.7.4