This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: brk(2) trouble
- From: Momchil Velikov <velco at fadata dot bg>
- To: Roland McGrath <roland at redhat dot com>
- Cc: libc-alpha at sources dot redhat dot com
- Date: 22 Nov 2002 09:40:10 +0200
- Subject: Re: brk(2) trouble
- References: <200211220151.gAM1p4x26932@magilla.sf.frob.com>
>>>>> "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