mm: clarify CONFIG_PAGE_POISONING and usage
authorKees Cook <[email protected]>
Wed, 22 Aug 2018 04:53:10 +0000 (21:53 -0700)
committerLinus Torvalds <[email protected]>
Wed, 22 Aug 2018 17:52:44 +0000 (10:52 -0700)
commit8c9a134cae6f8d66f35321b07baa202f75ef2199
tree904ddde917ef7f993e5e1031a0ddfe03632870f7
parenta670468f5e0b5fad4db6e4d195f15915dc2a35c1
mm: clarify CONFIG_PAGE_POISONING and usage

The Kconfig text for CONFIG_PAGE_POISONING doesn't mention that it has to
be enabled explicitly.  This updates the documentation for that and adds a
note about CONFIG_PAGE_POISONING to the "page_poison" command line docs.
While here, change description of CONFIG_PAGE_POISONING_ZERO too, as it's
not "random" data, but rather the fixed debugging value that would be used
when not zeroing.  Additionally removes a stray "bool" in the Kconfig.

Link: http://lkml.kernel.org/r/20180725223832.GA43733@beast
Signed-off-by: Kees Cook <[email protected]>
Reviewed-by: Andrew Morton <[email protected]>
Cc: Jonathan Corbet <[email protected]>
Cc: Laura Abbott <[email protected]>
Cc: Naoya Horiguchi <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Documentation/admin-guide/kernel-parameters.txt
mm/Kconfig.debug