[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20100923.214856.43029525.davem@davemloft.net>
Date: Thu, 23 Sep 2010 21:48:56 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: viro@...IV.linux.org.uk
Cc: torvalds@...ux-foundation.org, akpm@...ux-foundation.org,
sparclinux@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [GIT] Sparc
From: Al Viro <viro@...IV.linux.org.uk>
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists