[PATCH 3/4] arch/arm: allow a scno of -1 to not cause a SIGILL

2012-11-01 Thread Kees Cook
From: Will Drewry 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 lightweight check to arm_syscall() to make sure that ARM behaves the same way. Signed-off-by: Will Drewry Signed-off-by: K

[PATCH 3/4] arch/arm: allow a scno of -1 to not cause a SIGILL

2012-11-01 Thread Kees Cook
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 o

[PATCH 3/4] arch/arm: allow a scno of -1 to not cause a SIGILL

2012-11-08 Thread Kees Cook
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 o

[PATCH 3/4] arch/arm: allow a scno of -1 to not cause a SIGILL

2012-11-10 Thread Kees Cook
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 o

[PATCH 3/4] arch/arm: allow a scno of -1 to not cause a SIGILL

2012-10-29 Thread Kees Cook
From: Will Drewry 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 lightweight check to arm_syscall() to make sure that ARM behaves the same way. Signed-off-by: Will Drewry Signed-off-by: K

Re: [PATCH 3/4] arch/arm: allow a scno of -1 to not cause a SIGILL

2012-11-01 Thread Russell King - ARM Linux
On Thu, Nov 01, 2012 at 12:46:38PM -0700, Kees Cook wrote: > From: Will Drewry > > 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 lightweight check to arm_syscall() > to make sure tha

Re: [PATCH 3/4] arch/arm: allow a scno of -1 to not cause a SIGILL

2012-11-01 Thread Kees Cook
On Thu, Nov 1, 2012 at 1:25 PM, Russell King - ARM Linux wrote: > On Thu, Nov 01, 2012 at 12:46:38PM -0700, Kees Cook wrote: >> From: Will Drewry >> >> On tracehook-friendly platforms, a system call number of -1 falls >> through without running much code or taking much action. >> >> ARM is differ