mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Kylene Hall <kjhall@us.ibm.com>
To: Andrew Morton <akpm@osdl.org>
Cc: greg@kroah.com, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] tpm: improve output in sysfs files when the TPM fails
Date: Mon, 16 May 2005 12:33:06 -0500 (CDT)	[thread overview]
Message-ID: <Pine.LNX.4.62.0505161230240.6712@localhost.localdomain> (raw)
In-Reply-To: <20050513223003.4f9dc539.akpm@osdl.org>

On Fri, 13 May 2005, Andrew Morton wrote:

> Kylene Hall <kjhall@us.ibm.com> wrote:
> >
> >  On Thu, 12 May 2005, Greg KH wrote:
> >  > On Thu, May 12, 2005 at 05:20:22PM -0500, Kylene Hall wrote:
> >  > > When the TPM is in a disabled or deactivated state the sysfs pcrs and 
> >  > > pubek files will appear empty.  To remove any confusion this might cause, 
> >  > > the files will instead contain the error the TPM returned (also indicative 
> >  > > of what state the TPM is in and what actions might be needed to change 
> >  > > that state).
> >  > 
> >  > No, sysfs files are not error logs.  Please use the standard system wide
> >  > error log for this (syslog).
> >  > 
> >  > Why not just change the mode of the sysfs file instead, or delete it
> >  > entirely in this case?
> > 
> >  Ok, instead of putting error information in the sysfs file this new patch 
> >  will put an error entry in syslog.  The sysfs files can't easily be 
> >  removed in these cases as the driver does not know this information and it 
> >  can be changed by commands sent to the TPM from userspace.
> 
> Will this change permit unprivileged users to create large amounts of
> syslog output?  If so, this is considered poor form.
> 
> IOW: please confirm that the relevant sysfs files are root-read-only?
> 
> 

Please back this patch out since it is undesirable to use the sysfs 
file or syslog for the error reporting for various reasons and is 
desirable to keep the files not root-read-only.  The status of the TPM can 
be gleaned from other sources.

Thanks,
Kylie  

  reply	other threads:[~2005-05-16 17:42 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-12 22:20 Kylene Hall
2005-05-12 22:55 ` Greg KH
2005-05-13 19:25   ` Kylene Hall
2005-05-14  5:30     ` Andrew Morton
2005-05-16 17:33       ` Kylene Hall [this message]
2005-06-14 15:00       ` Kylene Jo Hall

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.LNX.4.62.0505161230240.6712@localhost.localdomain \
    --to=kjhall@us.ibm.com \
    --cc=akpm@osdl.org \
    --cc=greg@kroah.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®