]> git.proxmox.com Git - mirror_ubuntu-zesty-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)
commit51d7b120418e99d6b3bf8df9eb3cc31e8171dee4
treed8fb1817068df408e6a009df9050159aebdd95c4
parentab0fa82b2df96ddadb327ac39f26b5d80cb3d104
/proc/iomem: only expose physical resource addresses to privileged users

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