Re: copy_from_user() fixu

Chris Wedgwood (chris@cybernet.co.nz)
Tue, 25 Aug 1998 19:28:42 +1200


On Tue, Aug 25, 1998 at 05:26:02PM +1000, Richard Gooch wrote:

> > OK... then if this is necessary for some people, it should be
> > per-process with a sysctl setting the value for newly created
> > processes (0 - EFAULT, 1 - segfault, 2 - from parent, etc) with a
> > default to EFAULT.
>
> Yep. If it has to be done, make it optional and retain the current
> behaviour as the default.

I m pretty sure it can be, and if Linus thinks the 50 bytes or so it
will take is acceptable, I'll provide a patch, but its not really a
2.2.x thing.

-cw

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html