Well, being serious here, I have a library that is bug-free, but I
can't depend on application writers to sustain my level of
perfection. So, so help these lesser beings, I trap EFAULT in my
library and yield a more meaningful diagnostic than a mere EFAULT or
SEGV.
> > Someone just pointed out that it really cannot -- you can hack to
> > make it raise the signal, but the signal context will be all wrong.
>
> 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.
Regards,
Richard....
-
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