linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Guoheyi <guoheyi@huawei.com>
To: Mike Waychison <mikew@google.com>
Cc: <linux-kernel@vger.kernel.org>,
	wanghaibin 00208455 <wanghaibin.wang@huawei.com>,
	Thomas Gleixner <tglx@linutronix.de>,
	"Greg Kroah-Hartman" <gregkh@linuxfoundation.org>
Subject: firmware: dmi-sysfs: why is the access mode of dmi sysfs entries restricted to 0400?
Date: Wed, 4 Dec 2019 15:31:22 +0800	[thread overview]
Message-ID: <42bb2db8-66e0-3df4-75b7-98b2b2bcfca8@huawei.com> (raw)

Hi,

Why is the access mode of dmi sysfs entries restricted to 0400? Is it 
for security concern? If it is, which information do we consider as privacy?

We would like to fetch CPU information from non-root application, is 
there feasible way to do that?

Any advice is appreciated.

Thanks,

Heyi



             reply	other threads:[~2019-12-04  7:40 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-04  7:31 Guoheyi [this message]
2019-12-04  7:41 ` firmware: dmi-sysfs: why is the access mode of dmi sysfs entries restricted to 0400? Greg Kroah-Hartman
2019-12-04  9:01   ` Guoheyi
2019-12-04  9:29     ` Greg Kroah-Hartman
2019-12-06  2:04       ` Guoheyi

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=42bb2db8-66e0-3df4-75b7-98b2b2bcfca8@huawei.com \
    --to=guoheyi@huawei.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mikew@google.com \
    --cc=tglx@linutronix.de \
    --cc=wanghaibin.wang@huawei.com \
    /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;
as well as URLs for NNTP newsgroup(s).