Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp2388448ybv; Fri, 14 Feb 2020 17:50:02 -0800 (PST) X-Google-Smtp-Source: APXvYqxzKnzF4iCQL2mcs0J9EaB6ocEyEsfNJAkWOvKgpYOjQZdgfdG5DRuEoUK8K0H2ZSz2z+As X-Received: by 2002:a9d:5d07:: with SMTP id b7mr4662471oti.209.1581731402572; Fri, 14 Feb 2020 17:50:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581731402; cv=none; d=google.com; s=arc-20160816; b=yTLNAnbPUeam0Y+cfdNeNPKfsFe36Sw8qZWr3B5lEvnvSt6IuVqgrQHznzcC8+Ap6b ksX4Qm2p2QdQT0WM4X64SQNe3kwac/rLKurzAV/lfmiJAnTDYmYiWLu9PXCpNRHkGi4S +12yWMlIBdpeQSQLyQsv6beoksfKvJmimmmPZiIs/YEdajQstRvnWx3GEVhK6x/ymGCc +Wk+WVEix5Gwo+y3WMDeodABgmiJFrnhJY0vV7WJDBzemVm8H6M9DE0AkoR79iJyzq1w CBM6O7zg/ZgEV50kas+L3gt1eKXsGeI9vISPWpewYevyD1k3++QHG8csn01FgSictyoA qaiw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:dkim-filter; bh=Hde/bKh9d001mm0uPgjU5M8y2bAWp3+eaOklA6nBSbE=; b=ofZZHE8ktM/ayuFacCxqNCJSD2kZHBy9/k6EpDUx28dF2VHDi5n/TD9Q83xoe+9gYO iAm6dHjY767Q+IV8hDPv/8LwYmUzlSEQUMfWyoVxz2BJ4y9Ht79iGfks5KcgMtRwyvF4 kx2JyLzPzqvkZZjTy0qgFIh0z26JwK8FkGnHzdltHpDN5dt6QKMX1le4PZEzUrf6Y4ER LMNjqYpvNO+p8+AaKnApsJDC3FLEkSJTzaIfvbSRh33yNvSNKblj0OUG3AmU1PZDGrZy fuD0cp7p66Q2C5uxXP8zH9EvwwsOAV7h8xww9UKR3bh81bWWTfDb9/YG1xOxxcTb5nPZ DFeQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux.microsoft.com header.s=default header.b=o8d6BzII; 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 w17si3325854oiw.127.2020.02.14.17.49.50; Fri, 14 Feb 2020 17:50:02 -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=o8d6BzII; 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 S1728192AbgBOBsO (ORCPT + 99 others); Fri, 14 Feb 2020 20:48:14 -0500 Received: from linux.microsoft.com ([13.77.154.182]:57470 "EHLO linux.microsoft.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727943AbgBOBrt (ORCPT ); Fri, 14 Feb 2020 20:47:49 -0500 Received: from tusharsu-Ubuntu.corp.microsoft.com (unknown [131.107.147.225]) by linux.microsoft.com (Postfix) with ESMTPSA id F287820B9C02; Fri, 14 Feb 2020 17:47:48 -0800 (PST) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com F287820B9C02 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1581731269; bh=Hde/bKh9d001mm0uPgjU5M8y2bAWp3+eaOklA6nBSbE=; h=From:To:Cc:Subject:Date:From; b=o8d6BzII36wuqVnhoJJVRNtK3RvovHbWuvJ/9UEsdlrzABOCASxnvXJdm0+GjkyuP nKg9FMuqOIYt539U99ropVPaiJSkGFwsozvWcYpe/zZnhMarTP7nsaTrdQgymH+Grx L0ToBmo/hm+nD1At8UPaa7NcHis+fGR1/0T6rwlk= From: Tushar Sugandhi To: zohar@linux.ibm.com, joe@perches.com, skhan@linuxfoundation.org, linux-integrity@vger.kernel.org Cc: sashal@kernel.org, nramas@linux.microsoft.com, linux-kernel@vger.kernel.org Subject: [PATCH v4 0/3] IMA: improve log messages Date: Fri, 14 Feb 2020 17:47:06 -0800 Message-Id: <20200215014709.3006-1-tusharsu@linux.microsoft.com> X-Mailer: git-send-email 2.17.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The log messages from IMA subsystem should be consistent for better diagnosability and discoverability. This patch set improves the logging by removing duplicate log formatting macros, adding a consistent prefix to the log messages, and adding new log messages where necessary. Tushar Sugandhi (3): add log prefix add log message to process_buffer_measurement failure conditions add module 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(-) -- 2.17.1