brk(2) trouble
Momchil Velikov
velco@fadata.bg
Fri Nov 22 00:16:00 GMT 2002
>>>>> "Roland" == Roland McGrath <roland@redhat.com> writes:
Roland> The Linux versions do not enforce a __minbrk value, so getting that
Roland> initialized is not an issue. I think a brk(&_start) will just happily eat
Roland> your text and data mappings in Linux.
Yes. The problem is that ``__brk (0)'' does the same on NetBSD. Thus,
``__minbrk'' has to be initialized to something and I have trouble
finding the right place to initialize ``__minbrk'' as well as finding
the right value.
~velco
More information about the Libc-alpha
mailing list