diff options
author | Jean PIHET <jpihet@mvista.com> | 2009-11-23 17:03:32 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2009-11-23 17:28:23 +0000 |
commit | 3336f4f08e0dad7a2b6493c80b49b685141d53ad (patch) | |
tree | 803eba990a210afc012f92c3ace18ec9ad43cc80 /arch/arm/mach-s3c2410/pm-h1940.S | |
parent | cefbf4ea629427af2fb4709bab9fe126dcddc234 (diff) | |
download | blackbird-op-linux-3336f4f08e0dad7a2b6493c80b49b685141d53ad.tar.gz blackbird-op-linux-3336f4f08e0dad7a2b6493c80b49b685141d53ad.zip |
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 <janboe.ye at gmail.com>
Signed-off-by: Jean Pihet <jpihet@mvista.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-s3c2410/pm-h1940.S')
0 files changed, 0 insertions, 0 deletions