usercopy: Remove HARDENED_USERCOPY_PAGESPAN
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Mon, 10 Jan 2022 23:15:30 +0000 (23:15 +0000)
committerKees Cook <keescook@chromium.org>
Wed, 13 Apr 2022 19:15:52 +0000 (12:15 -0700)
commit1109a5d907015005cdbe9eaa4fec40213e2f9010
treea671d6240ee6101982c23a606912cfc0f12788ac
parentab502103ae3ce4c0fc393e598455efede3e523c9
usercopy: Remove HARDENED_USERCOPY_PAGESPAN

There isn't enough information to make this a useful check any more;
the useful parts of it were moved in earlier patches, so remove this
set of checks now.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Acked-by: Kees Cook <keescook@chromium.org>
Reviewed-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Kees Cook <keescook@chromium.org>
Link: https://lore.kernel.org/r/20220110231530.665970-5-willy@infradead.org
mm/usercopy.c
security/Kconfig