[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20151123101944.GA32300@e104818-lin.cambridge.arm.com>
Date: Mon, 23 Nov 2015 10:19:45 +0000
From: Catalin Marinas <catalin.marinas@....com>
To: Dan Williams <dan.j.williams@...el.com>
Cc: linux-kernel@...r.kernel.org, linux-arch@...r.kernel.org,
Russell King <linux@....linux.org.uk>,
Kees Cook <keescook@...omium.org>,
Arnd Bergmann <arnd@...db.de>, linux-nvdimm@...ts.01.org,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
"H. Peter Anvin" <hpa@...or.com>,
Heiko Carstens <heiko.carstens@...ibm.com>,
Will Deacon <will.deacon@....com>,
"David S. Miller" <davem@...emloft.net>,
Ingo Molnar <mingo@...hat.com>,
Benjamin Herrenschmidt <benh@...nel.crashing.org>,
Martin Schwidefsky <schwidefsky@...ibm.com>,
Andrew Morton <akpm@...ux-foundation.org>,
Thomas Gleixner <tglx@...utronix.de>,
linux-arm-kernel@...ts.infradead.org
Subject: Re: [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@....com>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists