Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp6537946ybv; Wed, 12 Feb 2020 14:23:04 -0800 (PST) X-Google-Smtp-Source: APXvYqxl1hAmiWxd29ijHBTBumZ3wtDA9jT8mHq99Zq/Ul+tXI+9EZ0RFr2g8DJOQR4EMnmWTjbM X-Received: by 2002:a9d:6653:: with SMTP id q19mr11196468otm.94.1581546183961; Wed, 12 Feb 2020 14:23:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581546183; cv=none; d=google.com; s=arc-20160816; b=HGoJUTVDQ3BNEDsuMlGcJPriZ5/47sGHB2q33HddDTYB7jnXyQpw0fXNgrp3VLYk85 g+BHL5EXK3SOoa5NT8Vnuq7fUjUWUUQ6zmypIojuwCwBYsbn5IiwOByGM70y9VEEY3h/ swO03mQWm8yDhGI3VVCDVHB5ynDMQudspRZaVkBYEowXkY1JaJZ3VBO+JcermHyAH8iB tOEiSPcwQpmTzgnvD5d2dBuKxnO83FjZalMH95RzMCTFpQNMVS5nNT6DZ3C+Klh6sv1N 8jEn4Jeebn46Ju7lqvGWqcdUcvcZkhGHuAXypsuAjqh+nzVpKGRnktkdvx9su+9Qmjk6 IvXA== 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=Gfu4834khvWd5NyU28yO95P+YwjE64NeIVO9DnT21f8=; b=wC4/IdIlJaHZgfCGMF3cIOX0faIKzVtLoW142ec29LWj5LIrRTDL9bp36pdNHbjMUN /YKUgiJvCeWRHIZNJHvBdyoBYPmTESt/ViLi7gXHysWkC0LUw9WNC6hmDJuF7+/OtbAk FrF/Evt698hGy8fwoS9Aa749PGjg4EK3EwZwWxGgFZPfdiCjbDRVX713h1/AJhGBq6OA /hiioENS5TKshC0abL2zV8uvT1reIARsdh2ZZzMMDXV4uwtO5hIQEohD9sm9FS6zBcl3 QcRFmPP5rb+8LK/8p9kBro1N5zrWPQB3a8SNsJ3wllItESTX8COBvYyA1bT/EJC2G+aW urGg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux.microsoft.com header.s=default header.b=WkUUywFK; 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 l23si73939otj.302.2020.02.12.14.22.50; Wed, 12 Feb 2020 14:23:03 -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=WkUUywFK; 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 S1728603AbgBLWWl (ORCPT + 99 others); Wed, 12 Feb 2020 17:22:41 -0500 Received: from linux.microsoft.com ([13.77.154.182]:45106 "EHLO linux.microsoft.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727564AbgBLWWl (ORCPT ); Wed, 12 Feb 2020 17:22:41 -0500 Received: from [10.137.112.97] (unknown [131.107.147.225]) by linux.microsoft.com (Postfix) with ESMTPSA id 336432010ADE; Wed, 12 Feb 2020 14:22:40 -0800 (PST) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 336432010ADE DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1581546160; bh=Gfu4834khvWd5NyU28yO95P+YwjE64NeIVO9DnT21f8=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=WkUUywFKYC7RryjuGd40mQ/FV4j+fINQ+zFxsDHVh79zh5hEnQHdvjb3ybijJLW/d 1JrSenIX6wU6tE+cbz5RBrdGJ7wiKCNOT2DqgsUOgKO3yXO/Blz5w5MoGc3KgDxC57 xbYN8LDWOrpTi+8iVI8B73fAHEEyk1XpPjgTDOts= Subject: Re: [PATCH v3 0/3] IMA: improve log messages in 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> <1581521009.8515.72.camel@linux.ibm.com> From: Tushar Sugandhi Message-ID: <3a2b7a5e-5759-2f29-80bb-e71dda8e5cec@linux.microsoft.com> Date: Wed, 12 Feb 2020 14:22:39 -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: <1581521009.8515.72.camel@linux.ibm.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2020-02-12 7:23 a.m., Mimi Zohar wrote: > Hi Tushar, > > "in IMA" is redundant in the above Subject line. > Thanks Mimi. I will fix it in the next iteration. > On Tue, 2020-02-11 at 15:14 -0800, Tushar Sugandhi wrote: >> Some files under IMA prefix the log statement with the respective file >> names and not with the string "ima". This is not consistent with the rest >> of the IMA files. >> >> The function process_buffer_measurement() does not have log messages for >> failure conditions. >> >> The #define for formatting log messages, pr_fmt, is duplicated in the >> files under security/integrity. >> >> This patchset addresses the above issues. > > The cover letter should provide a summary of the problem(s) being > addressed by the individual patches, not a repetition of the > individual patch descriptions. > Thanks. I will fix the cover letter description in the next iteration. > Mimi > >> >> Tushar Sugandhi (3): >> add log prefix to ima_mok.c, ima_asymmetric_keys.c, ima_queue_keys.c >> add log message to process_buffer_measurement failure conditions >> add module name and base name prefix to log statements >> >> security/integrity/digsig.c | 2 -- >> security/integrity/digsig_asymmetric.c | 2 -- >> security/integrity/evm/evm_crypto.c | 2 -- >> security/integrity/evm/evm_main.c | 2 -- >> security/integrity/evm/evm_secfs.c | 2 -- >> security/integrity/ima/Makefile | 6 +++--- >> security/integrity/ima/ima_asymmetric_keys.c | 2 -- >> security/integrity/ima/ima_crypto.c | 2 -- >> security/integrity/ima/ima_fs.c | 2 -- >> security/integrity/ima/ima_init.c | 2 -- >> security/integrity/ima/ima_kexec.c | 1 - >> security/integrity/ima/ima_main.c | 5 +++-- >> security/integrity/ima/ima_policy.c | 2 -- >> security/integrity/ima/ima_queue.c | 2 -- >> security/integrity/ima/ima_queue_keys.c | 2 -- >> security/integrity/ima/ima_template.c | 2 -- >> security/integrity/ima/ima_template_lib.c | 2 -- >> security/integrity/integrity.h | 6 ++++++ >> 18 files changed, 12 insertions(+), 34 deletions(-) >>