diff options
author | Konstantin Khlebnikov <khlebnikov@yandex-team.ru> | 2015-09-09 01:00:07 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-09-09 01:35:28 +0300 |
commit | 1c90308e7a77af6742a97d1021cca923b23b7f0d (patch) | |
tree | 6b328205937da8bd5d7682975695665f40bef892 /Documentation/mtd | |
parent | 356515e7b64c2629f686109d426baaf868cdf7e8 (diff) | |
download | linux-1c90308e7a77af6742a97d1021cca923b23b7f0d.tar.xz |
pagemap: hide physical addresses from non-privileged users
This patch makes pagemap readable for normal users and hides physical
addresses from them. For some use-cases PFN isn't required at all.
See http://lkml.kernel.org/r/1425935472-17949-1-git-send-email-kirill@shutemov.name
Fixes: ab676b7d6fbf ("pagemap: do not leak physical addresses to non-privileged userspace")
Signed-off-by: Konstantin Khlebnikov <khlebnikov@yandex-team.ru>
Cc: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com>
Reviewed-by: Mark Williamson <mwilliamson@undo-software.com>
Tested-by: Mark Williamson <mwilliamson@undo-software.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'Documentation/mtd')
0 files changed, 0 insertions, 0 deletions