sbrk(2) broken

Dag-Erling Smørgrav des at des.no
Thu Jan 3 11:21:09 PST 2008


Jason Evans <jasone at freebsd.org> writes:
> [sbrk is broken]

The real question is why we would revert perfectly good code (jemalloc)
from using a modern interface to using one that has been obsolete for
twenty years, and marked as such in the man page for seven years.

If rwatson@ wants malloc() to respect resource limits, he can bloody
well fix mmap().  Until he does, the datasize limit is a joke anyway, as
anyone can circumvent it by either using mmap() instead of malloc() or
setting _malloc_options before calling malloc().

DES
-- 
Dag-Erling Smørgrav - des at des.no


More information about the freebsd-current mailing list