mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-15 12:54:27 +00:00
Revert "t_setrlimit: Adjust resource limit to 20M"
This reverts commit 4f741801d8
.
As per discussion in PR: 260303 the reverted patch covered the
real issue with a fixed address of the top of the stack.
This commit is contained in:
parent
2ffb13149c
commit
4b97eef0bb
|
@ -554,11 +554,7 @@ ATF_TC_BODY(setrlimit_stack, tc)
|
|||
atf_tc_skip("https://bugs.freebsd.org/259969");
|
||||
|
||||
/* Ensure soft limit is not bigger than hard limit */
|
||||
#ifdef __FreeBSD__
|
||||
res.rlim_cur = res.rlim_max = 20971520;
|
||||
#else
|
||||
res.rlim_cur = res.rlim_max = 4192256;
|
||||
#endif
|
||||
ATF_REQUIRE(setrlimit(RLIMIT_STACK, &res) == 0);
|
||||
ATF_REQUIRE(getrlimit(RLIMIT_STACK, &res) == 0);
|
||||
ATF_CHECK(res.rlim_cur <= res.rlim_max);
|
||||
|
|
Loading…
Reference in a new issue