[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]
Re: malloc question
On Thu, 1 Jun 2000, Arun Sharma wrote:
+ On Fri, Jun 02, 2000 at 09:54:23AM +0530, Sharad Joshi wrote:
+ > If applications are ill behaved, do we need to change the kernel sources,
+ > or is it better to fix the applications?
+ malloc(3) is not implemented in the kernel. All kernel interfaces are
+ in man section 2. libc stuff is in section 3.
+ brk(2) is the kernel interface, which remains unchanged.
Ok, i agree. But theres no need to change the standard libraries behavior
I was wrong when i said it was 2.2.14 kernel. It was actually
2.2.6. Checked on 2.2.13 too, /usr/include/stdlib seems to be completly
different. So no MALLOC_0_RETURNS_NULL and all that now.