From: Kees Cook Date: Thu, 15 Nov 2012 21:12:17 +0000 (+0100) Subject: ARM: 7579/1: arch/allow a scno of -1 to not cause a SIGILL X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~53^2~1^4~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ad75b51459ae076a0d406391496f81b897bf6992;p=pandora-kernel.git ARM: 7579/1: arch/allow a scno of -1 to not cause a SIGILL On tracehook-friendly platforms, a system call number of -1 falls through without running much code or taking much action. ARM is different. This adds a short-circuit check in the trace path to avoid any additional work, as suggested by Russell King, to make sure that ARM behaves the same way as other platforms. Signed-off-by: Kees Cook Acked-by: Will Drewry Reviewed-by: Will Deacon Signed-off-by: Russell King --- Reading git-diff-tree failed