Subject: Re: Syscall number space
To: Steven M.Bellovin <smb@cs.columbia.edu>
From: Jason Thorpe <thorpej@shagadelic.org>
List: tech-kern
Date: 08/26/2007 21:33:23
On Aug 26, 2007, at 8:11 PM, Steven M. Bellovin wrote:

> On Sun, 26 Aug 2007 19:54:04 -0700
> Darren Reed <darrenr@NetBSD.org> wrote:
>
>
>> What do we do when we run out of system calls available to us?
>> (ie 0-512 is all "allocated")
>
> The obvious hack is to make 511 (or whichever) a metacall, where the
> first parameter is an int with the extended number....

There is no need for that.  512 simply enables [lastSystemCall 
+1...512) slots to map to ENOSYS by applying a mask in low-level code.

It's not really a limit at all.

-- thorpej