FreeBSD Kernel buffer overflow

David Schultz das at FreeBSD.ORG
Thu Sep 16 22:29:11 PDT 2004


On Fri, Sep 17, 2004, gerarra at tin.it wrote:
> 
> >
> >If we put your patch in but as a KASSERT then anyone ruinning with 
> >debugging turned on
> >(and no-one in their right mind would write a kernel module without 
> >turning on debugging, right?)
> >will immediatly find the problem.
> >
> 
> What you can't understand is that having a limit about arguments is wrong
> (it's not documented too). Why limiting to 8 and not to 20? or 65? i don't
> understand...
> In my opinion a patch would be better (and even quicker respect KASSERT).

Hey, until recently, Linux on i386 required a special case for any
syscall with over 4 arguments.  Supporting 8 makes us twice as good!  ;-)


More information about the freebsd-hackers mailing list