No description
Find a file
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
bin Import NetBSD csh(1) 2015-09-29 18:15:52 +00:00
common inet: do not link against libc 2015-06-07 14:38:12 +00:00
crypto Importing crypto libraries 2015-10-07 23:37:12 +02:00
distrib Split minix distribution set 2015-10-12 11:25:54 +02:00
docs Add PTYFS, Unix98 pseudo terminal support 2015-06-23 17:43:46 +00:00
etc Split minix distribution set 2015-10-12 11:25:54 +02:00
external pkg_install: Set default paths as expected on MINIX 2015-10-09 15:49:42 +02:00
games Import games/caesar and games/rot13 2015-04-15 09:47:27 +02:00
gnu Update download urls in fetch.sh 2014-08-07 14:27:32 +02:00
include New sources layout 2014-07-31 16:00:30 +02:00
lib libc: fix needless malloc failures 2015-10-28 01:13:04 +00:00
libexec Import NetBSD rcmd, rcp, rsh, rshd 2015-09-23 12:03:06 +00:00
minix New image framework generation 2015-10-10 19:09:35 +02:00
releasetools Split minix distribution set 2015-10-12 11:25:54 +02:00
sbin Import makefs from NetBSD 2015-10-07 12:39:44 +02:00
share Split minix distribution set 2015-10-12 11:25:54 +02:00
sys New image framework generation 2015-10-10 19:09:35 +02:00
tests Importing crypto libraries 2015-10-07 23:37:12 +02:00
tools Add installboot to host tools 2015-10-08 12:10:51 +02:00
usr.bin Importing crypto libraries 2015-10-07 23:37:12 +02:00
usr.sbin Add installboot to host tools 2015-10-08 12:10:51 +02:00
.gitignore gitignore: ignore some more generated files 2012-12-06 13:29:20 +00:00
.gitreview build:update 'git review' config to match gerrit.minix3.org 2014-07-28 17:05:15 +02:00
build.sh Importing netbsd clang -- pristine 2014-07-28 17:05:57 +02:00
LICENSE Fix parameter parsing in cut 2010-01-21 10:16:05 +00:00
Makefile INIT died problem / build system robustness 2014-08-28 08:52:50 +02:00
Makefile.inc Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC) 2014-07-28 17:05:06 +02:00