]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r309373 (by bdrewery)
authorasomers <asomers@FreeBSD.org>
Fri, 12 Jan 2018 00:25:56 +0000 (00:25 +0000)
committerasomers <asomers@FreeBSD.org>
Fri, 12 Jan 2018 00:25:56 +0000 (00:25 +0000)
commit8cd3cd41198e213b44c5a38f9045a99e81a7e10f
tree793ab30bc362fdeced63cbbc4b316276efb2bc65
parent0f4e2a5635669ba0bd562c39561ec2b2f1702a2d
MFC 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.

Sponsored by:   Dell EMC Isilon
Differential Revision:  https://reviews.freebsd.org/D8689
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]