diff options
author | 2011-08-30 09:19:17 +0000 | |
---|---|---|
committer | 2011-11-28 11:42:08 +1100 | |
commit | 1d54cf2b973a6265789b382b7d305771321b9b57 (patch) | |
tree | 8103c4c2accf96fd40cb1fb32ee9797aa97d17ed /tools/perf/scripts/python | |
parent | Merge remote-tracking branch 'kumar/next' into next (diff) | |
download | linux-dev-1d54cf2b973a6265789b382b7d305771321b9b57.tar.xz linux-dev-1d54cf2b973a6265789b382b7d305771321b9b57.zip |
powerpc: Implement CONFIG_STRICT_DEVMEM
As described in the help text in the patch, this token restricts general
access to /dev/mem as a way of increasing the security. Specifically, access
to exclusive IOMEM and kernel RAM is denied unless CONFIG_STRICT_DEVMEM is
set to 'n'.
Implement the 'devmem_is_allowed()' interface for Powerpc. It will be
called from range_is_allowed() when userpsace attempts to access /dev/mem.
This patch is based on an earlier patch from Steve Best and with input from
Paul Mackerras and Scott Wood.
[BenH] Fixed a typo or two and removed the generic change which should
be submitted as a separate patch
Signed-off-by: Sukadev Bhattiprolu <sukadev@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions