[lkml]   [1998]   [Aug]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: copy_from_user() fix
Followup to:  <199808250429.OAA10383@vindaloo.atnf.CSIRO.AU>
By author: Richard Gooch <>
In newsgroup:
> Jamie Lokier writes:
> > On Tue, Aug 25, 1998 at 01:45:12AM +0100, Jamie Lokier wrote:
> > > Will I don't agree with the feature either, all we're talking about is
> > > adding one line to the page fault handler: send_sig(SIGSEGV). Nothing
> > > else needs to change, does it?
> >
> > I just changed my mind.
> >
> > I bet no applications at all currently check for EFAULT from system
> > calls, unless they're really weird and are doing it to behave _as if_
> > they'd received SIGSEGV. Actually I bet they don't bother because every
> > syscall would need to be wrapped. I'm theorising that this could screw
> > up Wine in some unusual but valid cases.
> Well, you're wrong. I do have applications that explicitely check for
> EFAULT. I *don't* want them to receive SEGV.

So, what happens if the libc/kernel interface is changed? You're
screwed, because your code is broken.

PGP: 2047/2A960705 BA 03 D3 2C 14 A8 A8 BD 1E DF FE 69 EE 35 BD 74
See for web page and full PGP public key
I am Bahá'í -- ask me about it or see
"To love another person is to see the face of God." -- Les Misérables

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:44    [W:0.079 / U:0.680 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site