[PATCH] check put_user fail in do_signal when enable OABI_COMPACT

Nicolas Pitre nico at fluxnic.net
Wed Oct 28 12:13:28 EDT 2009


On Wed, 28 Oct 2009, Jean Pihet wrote:

> On Tuesday 27 October 2009 20:35:31 Nicolas Pitre wrote:
> > Well, the commit message is certainly wrong. There is no copying of
> > restart_syscall to user stack anymore.
> Ok thanks for reviewing it! Here is a respin of the patch. Only the commit 
> description has been touched.
[...]
> Using OABI, the call to put_user in do_signal can fail. In that case
> flush_icache page faults and the calling app goes in an infinite loop.

Still wrong.  Why flush_icache?


Nicolas



More information about the linux-arm-kernel mailing list