Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp6394545ybv; Tue, 18 Feb 2020 16:08:45 -0800 (PST) X-Google-Smtp-Source: APXvYqxAl1bMnhL/Du1W2KvpKg7g1vAafQ7yZkt5t6zMAK3Ai3rOFZD0dsd3DWdSSSmnp7h5TYHv X-Received: by 2002:a9d:6b12:: with SMTP id g18mr17181926otp.211.1582070925730; Tue, 18 Feb 2020 16:08:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582070925; cv=none; d=google.com; s=arc-20160816; b=V9YbyLc3tSdxocNq7fjz4exhQRoYvc9JuFrRlKfC/niq5z7Zy2iHQXTYNp8Ju8W93k BgtgFdA7xup+hUw6DwGgbGz2+rLz41H0ncNtX7VWVCctIGuskyav/fhescnL2Cr+NDW8 69xYSQrhzWREDTA39Vr4dUcbEvKT3lTSGUqSJqWBPbSswQstrrBNy2cwsZqSeODfHnEh WuS6u5DbyvC3t1oIgRb4IEK3rOU+OY8Bis4ezg/iIgE//Dj0ajV6meGgnsk+bOiJcKf9 pk632X9Vf+EUwEBCt+MF2afVu+87S34tayWUGhs1ip8OmCNRl4l4J5LonTfrTRrMzBMl Hu7w== 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=UT3TrhMzxCCip80EgbqalVA8034WZCrq8uLhLeB3VQg=; b=Ro8JPwQnCUx0/P09EScRNntFwfxi5rlCRzkuuPBI/HfaGuOhgD3f98x8XGR/N7O6v+ mEbeOyB7uTfmH4V3P/6uWrEhkL9v1wwVwC3CULGR1kYPXHc8JlO7Dg4z80lDTczpSmp3 mXJh2sHNOyEXWkx95ri+qltJ/eLWhQbmoh4y/hNfOK49TDjdyVCikVe8RPwQDjJ4UBlH B7XRlb7u0cJ4AiU5Vq5VutD18XOYh2b1mEmCzIF3ave5sOvSBUIF92y3pNnKUgPtcS78 qoinvGJFDSH1SDjICpThkTYBprQ+EvYuQ4rcRKlR1wlAm8MzFcNqNUh+05YWHU/7oQAs a/DA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux.microsoft.com header.s=default header.b=RP35KWjm; 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 l5si208598otf.37.2020.02.18.16.08.33; Tue, 18 Feb 2020 16:08:45 -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=RP35KWjm; 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 S1727910AbgBSAGX (ORCPT + 99 others); Tue, 18 Feb 2020 19:06:23 -0500 Received: from linux.microsoft.com ([13.77.154.182]:44374 "EHLO linux.microsoft.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726415AbgBSAGW (ORCPT ); Tue, 18 Feb 2020 19:06:22 -0500 Received: from tusharsu-Ubuntu.corp.microsoft.com (unknown [131.107.147.225]) by linux.microsoft.com (Postfix) with ESMTPSA id 74E4F20B9C02; Tue, 18 Feb 2020 16:06:21 -0800 (PST) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 74E4F20B9C02 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1582070781; bh=UT3TrhMzxCCip80EgbqalVA8034WZCrq8uLhLeB3VQg=; h=From:To:Cc:Subject:Date:From; b=RP35KWjmK2GFDkIyBlJLJs1+sHTDTHTyov/LsVHgK8HK9FySzcuetUOcXfqUEbRC4 DqnUF666iT69/ClpA3mLw0wBrEZA0fcl4LUxt/wsgdtterQETbkOL6wGai1epJ0072 E2PGxNMj/gAZMOJ0qkOSsY8WqPKWyv1uGZeAeA3s= 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 v5 0/3] integrity: improve log messages Date: Tue, 18 Feb 2020 16:06:08 -0800 Message-Id: <20200219000611.28141-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 integrity 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