lkml.org 
[lkml]   [2015]   [Nov]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/2] arch: consolidate CONFIG_STRICT_DEVM in lib/Kconfig.debug
On Sat, Nov 21, 2015 at 07:57:02PM -0800, Dan Williams wrote:
> diff --git a/arch/arm64/Kconfig.debug b/arch/arm64/Kconfig.debug
> index 04fb73b973f1..e13c4bf84d9e 100644
> --- a/arch/arm64/Kconfig.debug
> +++ b/arch/arm64/Kconfig.debug
> @@ -14,20 +14,6 @@ config ARM64_PTDUMP
> kernel.
> If in doubt, say "N"
>
> -config STRICT_DEVMEM
> - bool "Filter access to /dev/mem"
> - depends on MMU
> - help
> - If this option is disabled, you allow userspace (root) access to all
> - of memory, including kernel and userspace memory. Accidental
> - access to this is obviously disastrous, but specific access can
> - be used by people debugging the kernel.
> -
> - If this option is switched on, the /dev/mem file only allows
> - userspace access to memory mapped peripherals.
> -
> - If in doubt, say Y.
> -
> config PID_IN_CONTEXTIDR
> bool "Write the current PID to the CONTEXTIDR register"
> help

For arm64:

Acked-by: Catalin Marinas <catalin.marinas@arm.com>


\
 
 \ /
  Last update: 2015-11-23 11:41    [W:0.096 / U:0.700 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site