diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2016-04-14 11:18:57 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-04-14 12:55:32 -0700 |
commit | 4046d6e81f33b7ef50d6668b78076d54c5e066b6 (patch) | |
tree | 82e71d01a1deffd840e034c19f9c5bc4d8495c63 /include | |
parent | 90de6800c240dfe089e254116a7c055e70b709fd (diff) | |
download | op-kernel-dev-4046d6e81f33b7ef50d6668b78076d54c5e066b6.zip op-kernel-dev-4046d6e81f33b7ef50d6668b78076d54c5e066b6.tar.gz |
Revert "x86: remove the kernel code/data/bss resources from /proc/iomem"
This reverts commit c4004b02f8e5b9ce357a0bb1641756cc86962664.
Sadly, my hope that nobody would actually use the special kernel entries
in /proc/iomem were dashed by kexec. Which reads /proc/iomem explicitly
to find the kernel base address. Nasty.
Anyway, that means we can't do the sane and simple thing and just remove
the entries, and we'll instead have to mask them out based on permissions.
Reported-by: Zhengyu Zhang <zhezhang@redhat.com>
Reported-by: Dave Young <dyoung@redhat.com>
Reported-by: Freeman Zhang <freeman.zhang1992@gmail.com>
Reported-by: Emrah Demir <ed@abdsec.com>
Reported-by: Baoquan He <bhe@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions