From: Jean PIHET Date: Mon, 23 Nov 2009 16:03:32 +0000 (+0100) Subject: ARM: 5793/1: ARM: Check put_user fail in do_signal when enable OABI_COMPAT X-Git-Tag: v2.6.32~36^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3336f4f08e0dad7a2b6493c80b49b685141d53ad;p=pandora-kernel.git ARM: 5793/1: ARM: Check put_user fail in do_signal when enable OABI_COMPAT Using OABI, the call to put_user in do_signal can fail causing the calling app to hang. The solution is to check if put_user fails and force the app to seg fault in that case. Tested with multiple sleeping apps/threads (using the nanosleep syscall) and suspend/resume. Signed-off-by: janboe Signed-off-by: Jean Pihet Signed-off-by: Russell King --- Reading git-diff-tree failed