[LTP] [PATCH v4 2/2] execl01.c: set stack to unlimited

Wei Gao via ltp
2024-01-23T02:21:01Z

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},
+ {}
+ },
};