[PATCH 0/3] libnvdimm: fix physical address disclosure

From: Dan Williams
Date: Tue Sep 26 2017 - 19:03:39 EST


Physical address information should be restricted to root. This is
consistent with the policy of /proc/iomem and /sys/firmware/acpi/tables.

---

Dan Williams (3):
libnvdimm, region : make 'resource' attribute only readable by root
libnvdimm, namespace: make 'resource' attribute only readable by root
libnvdimm, pfn: make 'resource' attribute only readable by root


drivers/nvdimm/namespace_devs.c | 2 +-
drivers/nvdimm/pfn_devs.c | 8 ++++++++
drivers/nvdimm/region_devs.c | 8 ++++++--
3 files changed, 15 insertions(+), 3 deletions(-)