]> git.baikalelectronics.ru Git - kernel.git/commit
/proc/iomem: only expose physical resource addresses to privileged users
authorLinus Torvalds <torvalds@linux-foundation.org>
Thu, 14 Apr 2016 19:05:37 +0000 (12:05 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 14 Apr 2016 19:56:09 +0000 (12:56 -0700)
commit3c6150ba316630eb1878cab6d0c37766e2cdf673
treed8fb1817068df408e6a009df9050159aebdd95c4
parentaa2ba73bd5eb28565269131a2aa07bfb32db31f8
/proc/iomem: only expose physical resource addresses to privileged users

In commit 17db9a4b4a596 ("x86: remove the kernel code/data/bss resources
from /proc/iomem") I was hoping to remove the phyiscal kernel address
data from /proc/iomem entirely, but that had to be reverted because some
system programs actually use it.

This limits all the detailed resource information to properly
credentialed users instead.

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/resource.c