Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src



On Tue, Dec 20, 2011 at 03:39:36PM +0000, Reinoud Zandijk wrote:
> Currently the MAP_NOSYSCALLS is only implemented for x86 but other
> architectures are easy to adapt; see the sys/arch/x86/x86/syscall.c patch.
> Port maintainers are encouraged to add them for their processor ports too.
> When this feature is not yet implemented for an architecture the
> MAP_NOSYSCALLS is simply ignored with virtually no cpu cost..

If MAP_NOSYSCALLS is not implemented, perhaps mmap(2) should fail with
EOPNOTSUPP?  After all, the program that uses MAP_NOSYSCALLS probably
depends on it to work.

Dave

-- 
David Young
dyoung%pobox.com@localhost    Urbana, IL    (217) 721-9981


Home | Main Index | Thread Index | Old Index