HomeFreeBSD

t_setrlimit: Adjust resource limit to 20M

Description

t_setrlimit: Adjust resource limit to 20M

With ASLR enabled by default, RLIMIT_STACK test fails due to the fact
that default stack gap can be as big as 15M. Because of that the
resource limit of 4M results in test program receiving SIGSEGV
immediately after exiting the setrlimit syscall. Since the idea of this
test is to check if rlim_cur does not extend past rlim_max, adjusting
the resource limit to 20M should not invalidate the test results.

Obtained from: Semihalf
Sponsored by: Alstom Group
Differential revision: https://reviews.freebsd.org/D33116

Details

Provenance
dgr_semihalf.comAuthored on Dec 20 2021, 5:27 AM
wmaCommitted on Dec 20 2021, 5:28 AM
Differential Revision
D33116: t_setrlimit: Adjust resource limit to 20M.
Parents
rG18048b6e3cb6: Eliminate key press requirement "show vmopag" command output.
Branches
Unknown
Tags
Unknown
Reverted By
rG4b97eef0bb3e: Revert "t_setrlimit: Adjust resource limit to 20M"