]> 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)
commit99be6e08c52c49619427b30b6e6f52c4074f4282
treed8fb1817068df408e6a009df9050159aebdd95c4
parentba45b3fcc309efbff0906ebc63d01c93742efc26
/proc/iomem: only expose physical resource addresses to privileged users

In commit 9bfce212b9893 ("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