Re: copy_from_user() fix

Ulrich Drepper (drepper@cygnus.com)
25 Aug 1998 10:34:46 -0700


Andi Kleen <ak@muc.de> writes:

> On the other other hand SIGSEGV instead of EFAULT is handy to debug
> newly writen programs, so it would be nice as a optional feature. One
> possible way to do that is to make "syscall_error" a weak symbol,

You should look at the sources more closely before suggesting this.
For the PIC libc there is no single syscall_error function since this
would add to high costs for the normal path. In this case it is a
local label.

-- 
---------------.      drepper at gnu.org  ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Cygnus Solutions `--' drepper at cygnus.com   `------------------------

- 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