minix/lib/libc
David van Moolenbroek 2e23f1755e libc: fix needless malloc failures
The NetBSD libc malloc implementation performs its own out-of-memory
check, presumably for performance reasons.  The check makes a strong
assumption about the address space layout, which is that memory-
mapped pages are always located above the heap.  However, this
assumption does not necessarily hold on MINIX3, thus resulting in
malloc reporting an out-of-memory condition without the system
actually being out of memory at all.  Evidence suggests that in
particular dynamically linked (i.e., pkgsrc) binaries were affected
by this issue - most notably git.

Change-Id: If542fbace0a1cce12aa9e075d51992cbbbf26e94
2015-10-28 01:13:04 +00:00
..
arch Fix unused variable warnings 2015-03-18 07:49:03 +01:00
atomic Libraries updates and cleanup 2013-01-14 11:36:26 +01:00
cdb mmap: accept non-PROT_WRITE MAP_SHARED mappings 2014-07-28 17:05:20 +02:00
citrus Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC) 2014-07-28 17:05:06 +02:00
compat Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC) 2014-07-28 17:05:06 +02:00
compat-43 Stub for setpgid 2014-07-28 17:05:24 +02:00
compiler_rt ARM: can build with llvm, switch to EABI 2014-12-12 13:04:56 +01:00
db Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC) 2014-07-28 17:05:06 +02:00
dlfcn ARM: can build with llvm, switch to EABI 2014-12-12 13:04:56 +01:00
gdtoa Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC) 2014-07-28 17:05:06 +02:00
gen PM: add support for wait4(2) 2015-09-29 18:15:28 +00:00
gmon Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC) 2014-07-28 17:05:06 +02:00
hash Libraries updates and cleanup 2013-01-14 11:36:26 +01:00
iconv Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC) 2014-07-28 17:05:06 +02:00
include Remove support for call profiling 2014-09-30 12:39:03 +00:00
inet Libraries updates and cleanup 2013-01-14 11:36:26 +01:00
isc Libraries updates and cleanup 2013-01-14 11:36:26 +01:00
locale Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC) 2014-07-28 17:05:06 +02:00
md Libraries updates and cleanup 2013-01-14 11:36:26 +01:00
misc Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC) 2014-07-28 17:05:06 +02:00
nameser Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC) 2014-07-28 17:05:06 +02:00
net New sources layout 2014-07-31 16:00:30 +02:00
nls mmap: accept non-PROT_WRITE MAP_SHARED mappings 2014-07-28 17:05:20 +02:00
pkgconfig merge libminlib with libc 2014-08-28 18:49:19 +02:00
quad Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC) 2014-07-28 17:05:06 +02:00
regex Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC) 2014-07-28 17:05:06 +02:00
resolv Fix unused variable warnings 2015-03-18 07:49:03 +01:00
rpc Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC) 2014-07-28 17:05:06 +02:00
softfloat Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC) 2014-07-28 17:05:06 +02:00
ssp Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC) 2014-07-28 17:05:06 +02:00
stdio Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC) 2014-07-28 17:05:06 +02:00
stdlib libc: fix needless malloc failures 2015-10-28 01:13:04 +00:00
string Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC) 2014-07-28 17:05:06 +02:00
sys Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC) 2014-07-28 17:05:06 +02:00
termios Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC) 2014-07-28 17:05:06 +02:00
thread-stub Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC) 2014-07-28 17:05:06 +02:00
time isofs: do not link against libc 2015-06-07 17:01:45 +00:00
tls Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC) 2014-07-28 17:05:06 +02:00
uuid Libraries updates and cleanup 2013-01-14 11:36:26 +01:00
yp Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC) 2014-07-28 17:05:06 +02:00
Makefile ARM: can build with llvm, switch to EABI 2014-12-12 13:04:56 +01:00
Makefile.inc Drop minix-malloc & friends 2014-09-08 17:30:18 +02:00
libcincludes.mk Full switch to clang/ELF. Drop ack. Simplify. 2012-02-14 14:52:02 +01:00
shlib_version Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC) 2014-07-28 17:05:06 +02:00