NetBSD-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: ulimit -d/-m do not actually work
"Jonathan A. Kollasch" <jakllsch%kollasch.net@localhost> writes:
> This is normal with modern anonymous memory allocations for malloc.
It seems like a clear bug; the point of limits is to constrain a
program, and the program is in effect unconstrained.
POSIX says that if the limit is exceed, malloc shall fail:
https://pubs.opengroup.org/onlinepubs/9799919799/functions/setrlimit.html
I can see the point that malloc does not use the 'data segment'.
Home |
Main Index |
Thread Index |
Old Index