Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp6540616ybv; Wed, 12 Feb 2020 14:26:42 -0800 (PST) X-Google-Smtp-Source: APXvYqxtD1shWWHosns6FbrswjZFEfnDMq5UZA793f892kb8RpKHisp186nWgn6lCQjSr4Qnf8vr X-Received: by 2002:aca:5083:: with SMTP id e125mr961006oib.96.1581546402679; Wed, 12 Feb 2020 14:26:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581546402; cv=none; d=google.com; s=arc-20160816; b=kgq6lpX4D0maosZ9BlhYwU7jql7HL/1G1RBGUIlg1nxH3p/jutwcgIwFeCdH3xhjTu Ry/nEeNNbThyOYK27mmUGsTD6VJHczfZwi/yuifu2OxXUSy9Yfp/+j5TmkJjYBBACT7i ClPFQzas2yGYI/LvFpGau4f7wsuMX6nCBSvBpLtNhjqTV3a45hXB8IntCgSkFFARZg/P moCNoSiCIhdWiv/YQfQk18P8n/NTMc3eF2yRmsXL0qoW70OgBLejD6TtFq9Ge40i+1dM 0wMDL6FpiRwS0/Rg8rjTs/nBbGyfBIzVc5qTjCvq5uX+bpiCfCXQzS/EyWZkc49UMK3d 9onw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature:dkim-filter; bh=EK492kUpferPtd3ir32dLEL2sG+uHfaicrUji4e0uDo=; b=giWDV7KlUp96v1Slp+cKMU7ds3aEvRb5wxhmjsfEtKfPXY0XYm8GmX1r9TZkC0Q7wP BjUGGFUkFiIyX5OHTO513Wt7AZ9rkypMRa+DE8oRWewPhjNYdi6XCABifpyfZczca3K4 Xrg5uqewuO/NlMgC85iUic3X2uYRWln6fUuhsdcUAudI54pOxdVs0Flzsvgy+1XFUJ/z zQfL2Ck9qttJ6UjlbZ/6ADuzHDvc2OYEjglGJTJCyTEkZFBBCgvtl/VgprZCUpjTIusQ PCSzJvu/dovphxSHXwoqf8sad2gyDVBuZr592uyFMhGq4pV+itLrsYW7CiomlSMb5flW eqTQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux.microsoft.com header.s=default header.b=pCKkrMly; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linux.microsoft.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i124si225344oif.214.2020.02.12.14.26.30; Wed, 12 Feb 2020 14:26:42 -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; dkim=pass header.i=@linux.microsoft.com header.s=default header.b=pCKkrMly; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linux.microsoft.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729230AbgBLWZU (ORCPT + 99 others); Wed, 12 Feb 2020 17:25:20 -0500 Received: from linux.microsoft.com ([13.77.154.182]:46070 "EHLO linux.microsoft.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727564AbgBLWZU (ORCPT ); Wed, 12 Feb 2020 17:25:20 -0500 Received: from [10.137.112.97] (unknown [131.107.147.225]) by linux.microsoft.com (Postfix) with ESMTPSA id 601FE20B9C02; Wed, 12 Feb 2020 14:25:19 -0800 (PST) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 601FE20B9C02 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1581546319; bh=EK492kUpferPtd3ir32dLEL2sG+uHfaicrUji4e0uDo=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=pCKkrMlySrkSHXPiF1TAQtj9W/1MGhSzjq6QV0x6wLdndbAs/krqJT63bgwl9X56r iBQoAIiDKhRvVlSmallft66lsgoRw5bY3UWHSAzGTA5lZi6h5oR8uIGxZhEcm94gPI nyr3s15WlQLhYLpQTDSTYR3IgxVJu2vL+NNJVhCA= Subject: Re: [PATCH v3 1/3] IMA: Update KBUILD_MODNAME for IMA files to ima To: Mimi Zohar , joe@perches.com, skhan@linuxfoundation.org, linux-integrity@vger.kernel.org Cc: sashal@kernel.org, nramas@linux.microsoft.com, linux-kernel@vger.kernel.org References: <20200211231414.6640-1-tusharsu@linux.microsoft.com> <20200211231414.6640-2-tusharsu@linux.microsoft.com> <1581518950.8515.51.camel@linux.ibm.com> From: Tushar Sugandhi Message-ID: Date: Wed, 12 Feb 2020 14:25:19 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 MIME-Version: 1.0 In-Reply-To: <1581518950.8515.51.camel@linux.ibm.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2020-02-12 6:49 a.m., Mimi Zohar wrote: > On Tue, 2020-02-11 at 15:14 -0800, Tushar Sugandhi wrote: >> Log statements from ima_mok.c, ima_asymmetric_keys.c, and >> ima_queue_keys.c are prefixed with the respective file names >> and not with the string "ima". > > Before listing the specific filenames, the patch description should > provide a generic explanation of the problem.  For example, the kernel > Makefile "obj-$CONFIG_XXXX" specifies object files which may be built > as loadable kernel modules[1]. > Thanks Mimi. I will update the patch description in the next iteration. > Mimi > > [1] Refer to Documentation/kbuild/makefiles.rst > >> >> This change fixes the log statement prefix to be consistent with the rest >> of the IMA files. >> >> Signed-off-by: Tushar Sugandhi >> Reviewed-by: Lakshmi Ramasubramanian >> --- >> security/integrity/ima/Makefile | 6 +++--- >> 1 file changed, 3 insertions(+), 3 deletions(-) >> >> diff --git a/security/integrity/ima/Makefile b/security/integrity/ima/Makefile >> index 064a256f8725..67dabca670e2 100644 >> --- a/security/integrity/ima/Makefile >> +++ b/security/integrity/ima/Makefile >> @@ -11,6 +11,6 @@ ima-y := ima_fs.o ima_queue.o ima_init.o ima_main.o ima_crypto.o ima_api.o \ >> ima-$(CONFIG_IMA_APPRAISE) += ima_appraise.o >> ima-$(CONFIG_IMA_APPRAISE_MODSIG) += ima_modsig.o >> ima-$(CONFIG_HAVE_IMA_KEXEC) += ima_kexec.o >> -obj-$(CONFIG_IMA_BLACKLIST_KEYRING) += ima_mok.o >> -obj-$(CONFIG_IMA_MEASURE_ASYMMETRIC_KEYS) += ima_asymmetric_keys.o >> -obj-$(CONFIG_IMA_QUEUE_EARLY_BOOT_KEYS) += ima_queue_keys.o >> +ima-$(CONFIG_IMA_BLACKLIST_KEYRING) += ima_mok.o >> +ima-$(CONFIG_IMA_MEASURE_ASYMMETRIC_KEYS) += ima_asymmetric_keys.o >> +ima-$(CONFIG_IMA_QUEUE_EARLY_BOOT_KEYS) += ima_queue_keys.o