[LTP] [PATCH v4 2/2] execl01.c: set stack to unlimited
Wei Gao
wegao@suse.com
Tue Jan 23 03:19:28 CET 2024
Signed-off-by: Wei Gao <wegao@suse.com>
Reviewed-by: Petr Vorel <pvorel@suse.cz>
---
testcases/kernel/syscalls/execl/execl01.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/testcases/kernel/syscalls/execl/execl01.c b/testcases/kernel/syscalls/execl/execl01.c
index 9268d4976..dfefd1fa8 100644
--- a/testcases/kernel/syscalls/execl/execl01.c
+++ b/testcases/kernel/syscalls/execl/execl01.c
@@ -35,4 +35,8 @@ static struct tst_test test = {
.forks_child = 1,
.child_needs_reinit = 1,
.test_all = verify_execl,
+ .ulimit = (const struct tst_ulimit_val[]) {
+ {RLIMIT_STACK, RLIM_INFINITY},
+ {}
+ },
};
--
2.35.3
More information about the ltp
mailing list