Re: [PATCH RESEND] x86: mm: refer to the intended config STRICT_DEVMEM in a comment

From: Kees Cook
Date: Fri Jul 08 2022 - 13:49:32 EST


On Thu, 7 Jul 2022 13:54:42 +0200, Lukas Bulwahn wrote:
> Commit a4866aa81251 ("mm: Tighten x86 /dev/mem with zeroing reads") adds a
> comment to the function devmem_is_allowed() referring to a non-existing
> config STRICT_IOMEM, whereas the comment very likely intended to refer to
> the config STRICT_DEVMEM, as the commit adds some behavior for the config
> STRICT_DEVMEM.
>
> Most of the initial analysis was actually done by Dave Hansen in the
> email thread below (see Link).
>
> [...]

Applied to for-next/hardening, thanks!

[1/1] x86: mm: refer to the intended config STRICT_DEVMEM in a comment
https://git.kernel.org/kees/c/c09327d5673e

--
Kees Cook