OpenCloudOS-Kernel/arch
Stephen Kitt 53944f171a mm: remove HARDENED_USERCOPY_FALLBACK
This has served its purpose and is no longer used.  All usercopy
violations appear to have been handled by now, any remaining instances
(or new bugs) will cause copies to be rejected.

This isn't a direct revert of commit 2d891fbc3b ("usercopy: Allow
strict enforcement of whitelists"); since usercopy_fallback is
effectively 0, the fallback handling is removed too.

This also removes the usercopy_fallback module parameter on slab_common.

Link: https://github.com/KSPP/linux/issues/153
Link: https://lkml.kernel.org/r/20210921061149.1091163-1-steve@sk2.org
Signed-off-by: Stephen Kitt <steve@sk2.org>
Suggested-by: Kees Cook <keescook@chromium.org>
Acked-by: Kees Cook <keescook@chromium.org>
Reviewed-by: Joel Stanley <joel@jms.id.au>	[defconfig change]
Acked-by: David Rientjes <rientjes@google.com>
Cc: Christoph Lameter <cl@linux.com>
Cc: Pekka Enberg <penberg@kernel.org>
Cc: Joonsoo Kim <iamjoonsoo.kim@lge.com>
Cc: Vlastimil Babka <vbabka@suse.cz>
Cc: James Morris <jmorris@namei.org>
Cc: "Serge E . Hallyn" <serge@hallyn.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2021-11-06 13:30:43 -07:00
..
alpha memblock: use memblock_free for freeing virtual pointers 2021-11-06 13:30:41 -07:00
arc memblock: allow to specify flags with memblock_add_node() 2021-11-06 13:30:42 -07:00
arm memblock: rename memblock_free to memblock_phys_free 2021-11-06 13:30:41 -07:00
arm64 memblock: rename memblock_free to memblock_phys_free 2021-11-06 13:30:41 -07:00
csky csky: Make HAVE_TCM depend on !COMPILE_TEST 2021-10-16 07:20:12 +08:00
h8300 Merge branch 'akpm' (patches from Andrew) 2021-09-08 12:55:35 -07:00
hexagon Merge branch 'akpm' (patches from Andrew) 2021-09-08 12:55:35 -07:00
ia64 memblock: allow to specify flags with memblock_add_node() 2021-11-06 13:30:42 -07:00
m68k memblock: allow to specify flags with memblock_add_node() 2021-11-06 13:30:42 -07:00
microblaze Microblaze patches for 5.15-rc1 2021-09-08 16:02:13 -07:00
mips memblock: allow to specify flags with memblock_add_node() 2021-11-06 13:30:42 -07:00
nds32 ftrace/nds32: Update the proto for ftrace_trace_function to match ftrace_stub 2021-10-27 13:00:17 -04:00
nios2 nios2: Make NIOS2_DTB_SOURCE_BOOL depend on !COMPILE_TEST 2021-10-27 09:29:07 -05:00
openrisc Merge branch 'akpm' (patches from Andrew) 2021-09-08 12:55:35 -07:00
parisc asm-generic: build fixes for v5.15 2021-10-08 11:57:54 -07:00
powerpc mm: remove HARDENED_USERCOPY_FALLBACK 2021-11-06 13:30:43 -07:00
riscv memblock: use memblock_free for freeing virtual pointers 2021-11-06 13:30:41 -07:00
s390 memblock: allow to specify flags with memblock_add_node() 2021-11-06 13:30:42 -07:00
sh memblock: rename memblock_free to memblock_phys_free 2021-11-06 13:30:41 -07:00
sparc memblock: use memblock_free for freeing virtual pointers 2021-11-06 13:30:41 -07:00
um memblock: use memblock_free for freeing virtual pointers 2021-11-06 13:30:41 -07:00
x86 x86: remove memory hotplug support on X86_32 2021-11-06 13:30:42 -07:00
xtensa xtensa: xtfpga: Try software restart before simulating CPU reset 2021-10-05 12:19:05 -07:00
.gitignore
Kconfig Merge branch 'akpm' (patches from Andrew) 2021-09-08 12:55:35 -07:00