]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
kunit/usercopy: Disable testing on !CONFIG_MMU
authorKees Cook <kees@kernel.org>
Wed, 19 Jun 2024 20:25:17 +0000 (13:25 -0700)
committerShuah Khan <skhan@linuxfoundation.org>
Tue, 2 Jul 2024 16:11:40 +0000 (10:11 -0600)
commit4d6cf248325f686f256f2446f3f9d5fbab6e4356
treea1425c854d4365cb9a37479ce979115a6d28fe1c
parentcf6219ee889fb304cf8192c707ad280d93baafc7
kunit/usercopy: Disable testing on !CONFIG_MMU

Since arch_pick_mmap_layout() is an inline for non-MMU systems, disable
this test there.

Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202406160505.uBge6TMY-lkp@intel.com/
Signed-off-by: Kees Cook <kees@kernel.org>
Reviewed-by: Rae Moar <rmoar@google.com>
Reviewed-by: David Gow <davidgow@google.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
lib/kunit/user_alloc.c
lib/usercopy_kunit.c
mm/util.c