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

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?

  reply	other threads:[~2005-05-14  5:30 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 [this message]
2005-05-16 17:33       ` Kylene Hall
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=20050513223003.4f9dc539.akpm@osdl.org \
    --to=akpm@osdl.org \
    --cc=greg@kroah.com \
    --cc=kjhall@us.ibm.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®