Re: [GIT] Sparc

From: David Miller
Date: Fri Sep 24 2010 - 00:48:42 EST


From: Al Viro <viro@xxxxxxxxxxxxxxxxxx>
Date: Thu, 23 Sep 2010 00:12:19 +0100

> OK... sparc32 question: just what the !@#!@# happens if sun4c_rett_stackchk
> find (%fp & 7) != 0? We go to ret_trap_user_stack_is_bolixed, which
> tries to page in the underlying page. OK, suppose it's already there and
> readable; we return without doing anything - and go to signal_p. Which finds
> itself with nothing to do, and %fp is *still* buggered. Spin ad infinitum?
> srmmu_rett_stackchk will do the same, BTW...

That's a bug.

Likely all of the window_*_fault() routines should force a SIGILL when
the stack is mis-aligned.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/