Re: [PATCH 1/2] exec: Add KUnit test for bprm_stack_limits()

2024-05-20 Thread kernel test robot
s/20240520-101851 base: https://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git for-next/execve patch link: https://lore.kernel.org/r/20240520021615.741800-1-keescook%40chromium.org patch subject: [PATCH 1/2] exec: Add KUnit test for bprm_stack_limits() config: nios2-allmodconfig (https://d

Re: [PATCH 1/2] exec: Add KUnit test for bprm_stack_limits()

2024-05-20 Thread kernel test robot
e: https://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git for-next/execve patch link: https://lore.kernel.org/r/20240520021615.741800-1-keescook%40chromium.org patch subject: [PATCH 1/2] exec: Add KUnit test for bprm_stack_limits() config: i386-randconfig-004-20240520 (https://download.01.o

[PATCH 1/2] exec: Add KUnit test for bprm_stack_limits()

2024-05-19 Thread Kees Cook
Since bprm_stack_limits() operates with very limited side-effects, add it as the first exec.c KUnit test. Add to Kconfig and adjust MAINTAINERS file to include it. Tested on 64-bit UML: $ tools/testing/kunit/kunit.py run exec Signed-off-by: Kees Cook --- Cc: Eric Biederman Cc: Justin Stitt Cc: