public inbox for linuxppc-dev@ozlabs.org 
 help / color / mirror / Atom feed
From: Michael Ellerman <mpe@ellerman•id.au>
To: Oliver O'Halloran <oohall@gmail•com>
Cc: Andrew Donnellan <andrew.donnellan@au1•ibm.com>,
	Matt Brown <matthew.brown.dev@gmail•com>,
	linuxppc-dev@lists•ozlabs.org
Subject: Re: [PATCH v3] powerpc/powernv: add hdat attribute to sysfs
Date: Tue, 28 Feb 2017 14:14:37 +1100	[thread overview]
Message-ID: <8760jvqa5e.fsf@concordia.ellerman.id.au> (raw)
In-Reply-To: <CAOSf1CF2-E6eV5bf95qr-uYxcxEdhpLevWbmHW97virJhNxS4g@mail.gmail.com>

Oliver O'Halloran <oohall@gmail•com> writes:

> On Mon, Feb 27, 2017 at 9:56 PM, Michael Ellerman <mpe@ellerman•id.au> wrote:
>> Matt Brown <matthew.brown.dev@gmail•com> writes:
>>> diff --git a/arch/powerpc/platforms/powernv/opal-hdat.c b/arch/powerpc/platforms/powernv/opal-hdat.c
>>> new file mode 100644
>>> index 0000000..3315dd3
>>> --- /dev/null
>>> +++ b/arch/powerpc/platforms/powernv/opal-hdat.c
>>> @@ -0,0 +1,65 @@
>> ...
>>> +
>>> +
>>> +/* HDAT attribute for sysfs */
>>> +static struct bin_attribute hdat_attr = {
>>> +     .attr = {.name = "hdat", .mode = 0444},
>>                                          ^^^^
>> ajd and oohal report to my office.
>
> I don't think there's anything in the HDAT that's sensitive. That
> said, this might not be true in the future so making it only readable
> by root might be a good idea.

Right. What's sensitive can also change over time, in addition to the
actual content changing without our knowledge.

This is also firmly a debugging thing, so unless there's a compelling
reason why it should be world readable then it shouldn't be.

So 0400 please.

cheers

  reply	other threads:[~2017-02-28  3:14 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-24  6:20 [PATCH v3] powerpc/powernv: add hdat attribute to sysfs Matt Brown
2017-02-27  1:59 ` Andrew Donnellan
2017-02-27  2:13   ` Oliver O'Halloran
2017-02-27 10:52   ` Michael Ellerman
2017-02-27 10:56 ` Michael Ellerman
2017-02-27 11:41   ` Oliver O'Halloran
2017-02-28  3:14     ` Michael Ellerman [this message]
2017-02-28 23:18   ` Andrew Donnellan

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=8760jvqa5e.fsf@concordia.ellerman.id.au \
    --to=mpe@ellerman$(echo .)id.au \
    --cc=andrew.donnellan@au1$(echo .)ibm.com \
    --cc=linuxppc-dev@lists$(echo .)ozlabs.org \
    --cc=matthew.brown.dev@gmail$(echo .)com \
    --cc=oohall@gmail$(echo .)com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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