]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r309373:
authorngie <ngie@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 10 Feb 2017 02:57:37 +0000 (02:57 +0000)
committerngie <ngie@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 10 Feb 2017 02:57:37 +0000 (02:57 +0000)
commit5e257687bc2320152ecf9384a04b9c93b8e9a817
treef9ad05c66447833aaf962ca03b436624b05cf501
parent982bf9c6ce13a1964e459f1d8aef6d85b1880f4e
MFC r309373:
r309373 (by bdrewery):

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.

git-svn-id: svn://svn.freebsd.org/base/stable/10@313517 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
contrib/netbsd-tests/lib/libc/sys/t_mlock.c
contrib/netbsd-tests/lib/libc/sys/t_setrlimit.c
lib/libc/tests/sys/Makefile
lib/libc/tests/sys/mlock_helper.c [new file with mode: 0644]