Subject: Re: boundary checks on system call
To: Jun-ichiro itojun Hagino <itojun@iijlab.net>
From: Jason R Thorpe <thorpej@wasabisystems.com>
List: tech-kern
Date: 11/11/2002 10:38:53
On Tue, Nov 12, 2002 at 03:04:16AM +0900, Jun-ichiro itojun Hagino wrote:

 > 	i see, i see that on the code.  i still think it safer to have
 > 	e_nsysent outside, to avoid mistakes that happen when syscall table
 > 	size is not 2^n.  thanks anyways.

The sycall table is always 2^n.  It is an invariant depended on my some
machine-dependent code.

-- 
        -- Jason R. Thorpe <thorpej@wasabisystems.com>