Files
twx-linux/drivers
Dan Williams 54a8d930b9 libnvdimm, namespace: make 'resource' attribute only readable by root
commit c1fb354207 upstream.

For the same reason that /proc/iomem returns 0's for non-root readers
and acpi tables are root-only, make the 'resource' attribute for
namespace devices only readable by root. Otherwise we disclose physical
address information.

Fixes: bf9bccc14c ("libnvdimm: pmem label sets and namespace instantiation")
Reported-by: Dave Hansen <dave.hansen@linux.intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-11-30 08:37:23 +00:00
..
…
…
2017-11-24 08:32:25 +01:00
…
…
…
…
…
…
2017-10-18 09:20:41 +02:00
…
2017-10-12 11:27:33 +02:00
2017-11-08 10:06:29 +01:00
…
…
…
…
…
…
…
…
2017-04-21 09:30:07 +02:00
…
…
…
…
…
…
…