[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1580736077.5585.4.camel@linux.ibm.com>
Date: Mon, 03 Feb 2020 08:21:17 -0500
From: Mimi Zohar <zohar@...ux.ibm.com>
To: Joe Perches <joe@...ches.com>,
Shuah Khan <skhan@...uxfoundation.org>, jmorris@...ei.org,
serge@...lyn.com, mpe@...erman.id.au, erichte@...ux.ibm.com,
nayna@...ux.ibm.com, yuehaibing@...wei.com
Cc: linux-security-module@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] security/integrity: Include __func__ in messages for
easier debug
On Wed, 2020-01-29 at 19:08 -0800, Joe Perches wrote:
> On Wed, 2020-01-29 at 19:01 -0700, Shuah Khan wrote:
> > Change messages to messages to make it easier to debug. The following
> > error message isn't informative enough to figure out what failed.
> > Change messages to include function information.
> >
> > Signed-off-by: Shuah Khan <skhan@...uxfoundation.org>
> > ---
> > .../integrity/platform_certs/load_powerpc.c | 14 ++++++++------
> > security/integrity/platform_certs/load_uefi.c | 17 ++++++++++-------
> > 2 files changed, 18 insertions(+), 13 deletions(-)
> >
> > diff --git a/security/integrity/platform_certs/load_powerpc.c b/security/integrity/platform_certs/load_powerpc.c
>
> perhaps instead add #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
> so all the pr_<level> logging is more specific.
>
> This would prefix all pr_<level> output with "integrity: "
Agreed. Joe, could you post a patch with a proper patch description
for this?
thanks,
Mimi
Powered by blists - more mailing lists