Subject: Re: sys_sbrk()? sys_sstk()?
To: Anders Magnusson <email@example.com>
From: Perry E. Metzger <firstname.lastname@example.org>
Date: 10/15/2001 16:01:40
Anders Magnusson <email@example.com> writes:
> > How, exactly, would we replace sbrk with mmap()? By keeping a s3kr1t
> > global that's the highest address that has ever been returned and
> > mapping there with MAP_FIXED? There are myriad other icky issues.
> Main question: Must the sbrk() call be still around?
Unfortunately it is part of a number of standards, but there is
certainly no reason it has to be a syscall.