Subject: Re: sys_sbrk()? sys_sstk()?
To: Anders Magnusson <firstname.lastname@example.org>
From: Perry E. Metzger <email@example.com>
Date: 10/15/2001 16:01:40
Anders Magnusson <firstname.lastname@example.org> 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.