Re: AUDIT: copy_from_user is a deathtrap.

Rusty Russell
2002-05-17T12:55:55Z

In message <E178hJt-0006Rb-00@the-village.bc.nu> you write:
> > No, the 400+ are all of form:
> >
> > /* of course this returns 0 or -EFAULT! */
> > return copy_from_user(xxx);
>
> So lets verify and fix them. Post the list to the kenrel janitors

Again, like we did 12 months ago you mean?

We could do that, or, we could fix the actual problem, which is the
HUGE FUCKING BEARTRAP WHICH CATCHES EVERY SINGLE NEW PROGRAMMER ON THE
WAY THROUGH.

Not fixing earlier was criminal, not fixing it today is insane.
Rusty.
--
Anyone who quotes me in their sig is an idiot. -- Rusty Russell.