Subject: Re: sys_sbrk()? sys_sstk()?
To: Anders Magnusson <ragge@ludd.luth.se>
From: Perry E. Metzger <perry@piermont.com>
List: tech-kern
Date: 10/15/2001 16:01:40
Anders Magnusson <ragge@ludd.luth.se> 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.

Perry