]> www.infradead.org Git - users/jedix/linux-maple.git/commit
exec: Add KUnit test for bprm_stack_limits()
authorKees Cook <kees@kernel.org>
Mon, 20 May 2024 00:17:59 +0000 (17:17 -0700)
committerKees Cook <kees@kernel.org>
Wed, 19 Jun 2024 20:13:55 +0000 (13:13 -0700)
commit60371f43e56bfad1f438621fae286e1de5bb6877
tree32dea290ec0851b4a59732c449c5a685e59c1884
parent3545deff0ec7a37de7ed9632e262598582b140e9
exec: Add KUnit test for bprm_stack_limits()

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

Link: https://lore.kernel.org/lkml/20240520021615.741800-1-keescook@chromium.org/
Signed-off-by: Kees Cook <kees@kernel.org>
MAINTAINERS
fs/Kconfig.binfmt
fs/exec.c
fs/exec_test.c [new file with mode: 0644]