Re: [BKPATCH] more copy_{to,from}_user fixes

Arnaldo Carvalho de Melo (acme@conectiva.com.br)
Sun, 2 Jun 2002 05:06:50 -0300


Em Mon, Jun 03, 2002 at 06:07:09PM +1000, Rusty Russell escreveu:
> In message <20020602070110.GJ19932@conectiva.com.br> you write:
> > Linus, some more, please consider pulling from:
> >
> > http://kernel-acme.bkbits.net:8080/copy_to_from_user-2.5
> >
> > I stopped this (re)audit when 544 were still to be reviewed. Bedtime 8)
>
> Heh... Was this on 2.5.20? If so, you're fast 8)

yes 8)

> I didn't bother to check for anything other than "I use the return
> value in a non-binary way": that's enough to keep me busy and
> frustrated.
>
> Not checking at all can keep code much simpler sometimes, too.
> (And more codepaths, more bugs.)

humm, but if it can fail...

- Arnaldo
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/