[EMAIL PROTECTED] wrote:

> +     /* Ensure that bad return addresses don't end up in an infinite
> +      * loop, due to speculative loads/reads. This needs to be done after
> +      * the signal has been sent.
> +      */
> +     if (trapnr == VEC_CPLB_I_M && sig != SIGTRAP)
> +             fp->pc = SAFE_USER_INSTRUCTION;
> +

Do we have a testcase for the infinite loop?  I'm slightly worried that
even after this checkin it may be causing confusion in user space.


Bernd
-- 
This footer brought to you by insane German lawmakers.
Analog Devices GmbH      Wilhelm-Wagenfeld-Str. 6      80807 Muenchen
Sitz der Gesellschaft Muenchen, Registergericht Muenchen HRB 40368
Geschaeftsfuehrer Thomas Wessel, William A. Martin, Margaret Seif
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
http://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits

Reply via email to