History log of /freebsd-src/contrib/netbsd-tests/lib/libc/sys/t_setrlimit.c (Results 1 – 11 of 11)
Revision Date Author Comments
# 7bd2df8c 14-Jan-2022 Mark Johnston <markj@FreeBSD.org>

Revert "Disable flaky test lib.libc.sys.setrlimit_test.setrlimit_stack"

The stack gap implementation is disabled by default now, so the test
passes.

This reverts commit dad71022bd7a8f95ab2ba656bec6

Revert "Disable flaky test lib.libc.sys.setrlimit_test.setrlimit_stack"

The stack gap implementation is disabled by default now, so the test
passes.

This reverts commit dad71022bd7a8f95ab2ba656bec61e2424a1c3c5.

PR: 259969
MFC after: 1 week
Sponsored by: The FreeBSD Foundation

show more ...


# 4b97eef0 20-Dec-2021 Marcin Wojtas <mw@FreeBSD.org>

Revert "t_setrlimit: Adjust resource limit to 20M"

This reverts commit 4f741801d86089a1c5d631ba1e0f1421cdcf7a7e.

As per discussion in PR: 260303 the reverted patch covered the
real issue with a fix

Revert "t_setrlimit: Adjust resource limit to 20M"

This reverts commit 4f741801d86089a1c5d631ba1e0f1421cdcf7a7e.

As per discussion in PR: 260303 the reverted patch covered the
real issue with a fixed address of the top of the stack.

show more ...


# 4f741801 20-Dec-2021 Dawid Gorecki <dgr@semihalf.com>

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

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

show more ...


# dad71022 28-Nov-2021 Li-Wen Hsu <lwhsu@FreeBSD.org>

Disable flaky test lib.libc.sys.setrlimit_test.setrlimit_stack

PR: 259969
Sponsored by: The FreeBSD Foundation


# 63d1fd59 14-Jan-2017 Enji Cooper <ngie@FreeBSD.org>

Merge content currently under test from ^/vendor/NetBSD/tests/dist/@r312123

Sponsored by: Dell EMC Isilon


# dca7cc98 04-Jan-2017 Enji Cooper <ngie@FreeBSD.org>

setrlimit_basic: don't leak buf; free it on completion

MFC after: 3 days
Reported by: Coverity
CID: 978311


# 710542df 01-Dec-2016 Bryan Drewery <bdrewery@FreeBSD.org>

Fix setrlimit_test:setrlimit_memlock when the system has exceeded vm.max_wired.

This uses the same fix as r294894 did for the mlock test. The code from
that commit is moved into a common object fil

Fix setrlimit_test:setrlimit_memlock when the system has exceeded vm.max_wired.

This uses the same fix as r294894 did for the mlock test. The code from
that commit is moved into a common object file which PROGS supports
building first.

Sponsored by: Dell EMC Isilon
Differential Revision: https://reviews.freebsd.org/D8689

show more ...


# 640235e2 12-Aug-2016 Enji Cooper <ngie@FreeBSD.org>

Checkpoint initial integration work

- Some of the lib/libc and lib/thr tests fail
- lib/msun/exp_test:exp2_values now passes with clang 3.8.0

The Makefiles in contrib/netbsd-tests were pruned as th

Checkpoint initial integration work

- Some of the lib/libc and lib/thr tests fail
- lib/msun/exp_test:exp2_values now passes with clang 3.8.0

The Makefiles in contrib/netbsd-tests were pruned as they have no value

Sponsored by: EMC / Isilon Storage Division

show more ...


# 70d69ef1 23-Oct-2014 Enji Cooper <ngie@FreeBSD.org>

Fix a typo (__FreeBSD__ -> __NetBSD__ when omitting setrlimit_nthr)


# 928eb3af 23-Oct-2014 Enji Cooper <ngie@FreeBSD.org>

- Omit setrlimit_nthr testcase on FreeBSD (requires lwp.h, et al)
- Expect overflow with rlim_max at INT64_MAX, not UINT64_MAX (rlim_t is int64_t
on FreeBSD)

In collaboration with: pho
Sponsored by:

- Omit setrlimit_nthr testcase on FreeBSD (requires lwp.h, et al)
- Expect overflow with rlim_max at INT64_MAX, not UINT64_MAX (rlim_t is int64_t
on FreeBSD)

In collaboration with: pho
Sponsored by: EMC / Isilon Storage Division

show more ...


# 57718be8 02-Oct-2014 Enji Cooper <ngie@FreeBSD.org>

Import the NetBSD test suite from ^/vendor/NetBSD/tests/09.30.2014_20.45 ,
minus the vendor Makefiles

Provide directions for how to bootstrap the vendor sources in
FREEBSD-upgrade

MFC after 2 weeks

Import the NetBSD test suite from ^/vendor/NetBSD/tests/09.30.2014_20.45 ,
minus the vendor Makefiles

Provide directions for how to bootstrap the vendor sources in
FREEBSD-upgrade

MFC after 2 weeks
Discussed with: rpaulo
Sponsored by: EMC / Isilon Storage Division

show more ...