mm/slab: remove HAVE_HARDENED_USERCOPY_ALLOCATOR
authorVlastimil Babka <vbabka@suse.cz>
Tue, 23 May 2023 07:26:35 +0000 (09:26 +0200)
committerVlastimil Babka <vbabka@suse.cz>
Wed, 24 May 2023 13:38:17 +0000 (15:38 +0200)
commitd2e527f0d8d1124b1fab93e2e7b2c6a114c0e5a2
treedcb50532d07591052402090550cde585d8b055df
parent8040cbf5e1da2fe86558239b92927a947c79ecd6
mm/slab: remove HAVE_HARDENED_USERCOPY_ALLOCATOR

With SLOB removed, both remaining allocators support hardened usercopy,
so remove the config and associated #ifdef.

Signed-off-by: Vlastimil Babka <vbabka@suse.cz>
Reviewed-by: David Hildenbrand <david@redhat.com>
Reviewed-by: Lorenzo Stoakes <lstoakes@gmail.com>
Reviewed-by: Kees Cook <keescook@chromium.org>
Acked-by: David Rientjes <rientjes@google.com>
Acked-by: Hyeonggon Yoo <42.hyeyoo@gmail.com>
mm/Kconfig
mm/slab.h
security/Kconfig