Maybe you would appreciate more something like that: ===================================
> cat kern_syscalls.diff --- kern_syscalls.c Sat Sep 18 13:42:21 2004 +++ kern_syscalls2.c Sun Sep 19 14:59:27 2004 @@ -58,6 +58,12 @@ syscall_register(int *offset, struct sysent *new_sysent, struct sysent *old_sysent) { + +#ifdef __i386__ + if (new_sysent->sy_narg < 0 || new_sysent->sy_narg > i386_SYS_ARGS) + return E2BIG; +#endif + if (*offset == NO_SYSCALL) { int i; _______________________________________________ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"