Skip to contentSkip to conversation

fs/tests: exec: Remove bad test vector

PATCH New Kees Cook 1 participant 1 message Mar 18

Subsystems (2)
lore
Share & tools
lore

Kees Cook

author maintainer
#0 lore raw

PATCH 1/1 fs/tests: exec: Remove bad test vector

Drop an unusable test in the bprm stack limits.

Fixes 60371f43e56b ("exec: Add KUnit test for bprm_stack_limits()")
---
 fs/tests/exec_kunit.c | 3 ---
 1 file changed, 3 deletions(-)
fs/tests/exec_kunit.c +0 -3
index f412d1a0f6bb..1c32cac098cf 100644
@@ -94,9 +94,6 @@ static const struct bprm_stack_limits_result bprm_stack_limits_results[] = {
 	{ { .p = ULONG_MAX, .rlim_stack.rlim_cur = 4 * (_STK_LIM / 4 * 3 + sizeof(void *)),
 	    .argc = 0, .envc = 0 },
 	  .expected_argmin = ULONG_MAX - (_STK_LIM / 4 * 3) + sizeof(void *) },
-	{ { .p = ULONG_MAX, .rlim_stack.rlim_cur = 4 * (_STK_LIM / 4 *  + sizeof(void *)),
-	    .argc = 0, .envc = 0 },
-	  .expected_argmin = ULONG_MAX - (_STK_LIM / 4 * 3) + sizeof(void *) },
 	{ { .p = ULONG_MAX, .rlim_stack.rlim_cur = 4 * _STK_LIM,
 	    .argc = 0, .envc = 0 },
 	  .expected_argmin = ULONG_MAX - (_STK_LIM / 4 * 3) + sizeof(void *) },
Signature · 1 line
2.34.1