summaryrefslogtreecommitdiff
path: root/drivers/ide/cs5520.c
diff options
context:
space:
mode:
authorDan Williams <dan.j.williams@intel.com>2017-09-26 21:21:24 +0300
committerDan Williams <dan.j.williams@intel.com>2017-09-28 19:13:06 +0300
commitc1fb3542074fd0c4d901d778bd52455111e4eb6f (patch)
tree1271745a621c28817bced029c293dae3cf6cffe1 /drivers/ide/cs5520.c
parentb8ff981f88df03c72a4de2f6eaa9ce447a10ac03 (diff)
downloadlinux-c1fb3542074fd0c4d901d778bd52455111e4eb6f.tar.xz
libnvdimm, namespace: make 'resource' attribute only readable by root
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: bf9bccc14c05 ("libnvdimm: pmem label sets and namespace instantiation") Cc: <stable@vger.kernel.org> Reported-by: Dave Hansen <dave.hansen@linux.intel.com> Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/ide/cs5520.c')
0 files changed, 0 insertions, 0 deletions