freebsd-src/contrib
Enji Cooper 736b383c89 MFstable/11 r310506:
MFC r309837:

Change the process limits for RLIMIT_MEMLOCK to RLIM_INFINITY when
executing :mincore_resid

The default process limits in FreeBSD is 64kB for unprivileged users,
which empirically is too low to run the :mincore_resid testcase.

Process limits are inherited, so even though the default limit for
root users is RLIM_INFINITY, the inherited limit with "sudo" with the
default login.conf will be 64kB.

Use setrlimit to set rlim_max for RLIMIT_MEMLOCK to RLIM_INFINITY to
avoid ENOMEM issues when calling mlock to wire the mmap'ed address
space.

setrlimit requires root access to increase rlim_max, so require root
privileges when running the test

Discovered when executing the tests with sudo, e.g.
"sudo kyua test -k /usr/tests/lib/libc/sys/Kyuafile mincore_test"
2016-12-24 13:00:19 +00:00
..
amd MFC r308493, r308619: Update amd from am-utils 6.1.5 to 6.2. 2016-12-23 22:42:14 +00:00
apr MFC: r269851,r272076,r274884,r282328,r285644,r286503,r286504,r286505, 2015-10-12 04:57:36 +00:00
apr-util MFC: r269851,r272076,r274884,r282328,r285644,r286503,r286504,r286505, 2015-10-12 04:57:36 +00:00
atf MFC r299496: 2016-06-10 14:51:11 +00:00
binutils MFC r310132: 2016-12-21 15:39:16 +00:00
bmake bmake 20151220 2016-01-04 20:05:40 +00:00
bsnmp MFC r299834: 2016-06-08 17:59:21 +00:00
byacc MFC: r274460, r274475 2015-01-12 20:14:31 +00:00
bzip2
com_err
compiler-rt
dialog
diff MFC r283869 (by araujo) 2016-03-09 17:40:33 +00:00
dtc
ee MFC: r277328: 2015-04-16 00:44:05 +00:00
expat MFC r302305: MFV r302260: expat 2.2.0. 2016-07-07 04:59:58 +00:00
file MFC r308420: MFV r308392: file 5.29. 2016-12-11 07:37:20 +00:00
flex
gcc MFC r300301, r300319: 2016-06-10 22:07:17 +00:00
gcclibs MFC r305430: 2016-09-11 14:19:06 +00:00
gdb MFC r277608, r277656, r277659: 2015-01-28 02:25:48 +00:00
gdtoa
gperf
groff MFC r309796: 2016-12-12 07:01:05 +00:00
hyperv/tools MFC 308201 2016-11-11 08:04:24 +00:00
ipfilter MFC r304953: 2016-08-31 18:00:41 +00:00
jemalloc Fix known issues which blow up the process after dlopen("libthr.so") 2015-01-18 11:54:20 +00:00
ldns MFH (r276605, r282089): upgrade to latest Unbound 2015-07-06 13:23:27 +00:00
ldns-host
less MFC r293190: MFV r293125: less v481. 2016-01-18 19:13:54 +00:00
libarchive Partial MFC r309300: 2016-12-08 01:07:00 +00:00
libbegemot
libc-pwcache
libc-vis
libc++ Pull in r228705 from upstream libc++ trunk (by Eric Fiselier): 2016-10-31 18:37:44 +00:00
libcxxrt MFC r303400: libcxxrt: fix demangling of wchar_t 2016-08-01 16:16:48 +00:00
libexecinfo
libgnuregex
libpcap Merge 272659: 2015-01-26 03:26:37 +00:00
libreadline
libstdc++
libucl MFC: r295159, kill foreign VCS files. 2016-02-11 00:27:04 +00:00
libyaml
llvm Merge r309860 from stable/9, as this also applies to stable/10: 2016-12-14 17:27:44 +00:00
mdocml MFC 278320,278336,278830,285621: 2016-02-01 23:07:31 +00:00
mknod
mtree
ncurses
netbsd-tests MFstable/11 r310506: 2016-12-24 13:00:19 +00:00
netcat MFC r288303: MFV r288243: nc from OpenBSD 5.8. 2016-01-18 19:42:05 +00:00
ngatm
ntp MFC r308957: MFV r308954: 2016-11-22 16:23:20 +00:00
nvi
ofed MFC 304854: cxgbe/iw_cxgbe: Various fixes to the iWARP driver. 2016-12-03 00:18:38 +00:00
one-true-awk MFC r305365 2016-09-06 00:32:33 +00:00
openbsm MFH: 292432,r292433,r292434 2016-01-04 16:32:21 +00:00
openpam MFH (r262530): fix is_upper() predicate (almost two years late...) 2016-01-16 19:48:03 +00:00
openresolv MFC r282434: 2015-05-11 01:33:34 +00:00
opie
pam_modules/pam_passwdqc
pf MFC r293015: 2016-01-03 17:23:16 +00:00
pjdfstest MFC r296766: 2016-03-22 19:29:55 +00:00
pnpinfo
sendmail MFC: Reminder to check tools/build/mk/OptionalObsoleteFiles.inc on new 2015-08-08 16:30:20 +00:00
serf MFC: r269851,r272076,r274884,r282328,r285644,r286503,r286504,r286505, 2015-10-12 04:57:36 +00:00
smbfs MFC r295118: 2016-03-12 18:36:13 +00:00
sqlite3 MFC r304747: 2016-08-29 12:57:28 +00:00
subversion MFC r309356: svn 1.9.4 -> 1.9.5 2016-12-03 20:30:25 +00:00
tcp_wrappers MFC r272947, r272950: 2015-01-17 01:20:28 +00:00
tcpdump MFC r285275 (only the part that fixes PR 199568): 2015-07-18 01:29:27 +00:00
tcsh
telnet Merge r309638 from head: 2016-12-06 18:52:18 +00:00
texinfo
tnftp MFC r305085: 2016-09-07 18:33:18 +00:00
top MFC r300395: 2016-06-12 05:57:42 +00:00
traceroute MFC r283784: 2015-06-03 17:45:45 +00:00
tzcode MFC r306852 2016-10-15 12:38:21 +00:00
tzdata MFC r309544: 2016-12-10 11:37:05 +00:00
unbound MFH (r296659): the IPv6 address of the L root changed earlier this year 2016-12-10 20:23:16 +00:00
unvis
vis
wpa
xz MFC: xz 5.2.2. 2015-12-22 08:03:23 +00:00