RE: Avoiding programmer invariant violations (was: Re: FreeBSD Kernel buffer overflow)

2004-09-18 Thread gerarra
>I'd suggest that we need to look at this in two ways: > >(1) There's a compile-time INVARIANT that needs to be maintained by >developers in adding new system calls. When building the kernel, it >would be useful to have a compile-time assertion that causes a kernel >compile to fail if

Avoiding programmer invariant violations (was: Re: FreeBSD Kernel buffer overflow)

2004-09-18 Thread Robert Watson
On Sat, 18 Sep 2004 [EMAIL PROTECTED] wrote: > Here i report a patch different from Giorgos' one. The approch is > completely different: working on syscall_register() function in > kern/kern_syscalls.c file. I'd suggest that we need to look at this in two ways: (1) There's a compile-time INVARI