Skip to content
Snippets Groups Projects
Commit 56e16b2a authored by Will Drewry's avatar Will Drewry Committed by Iliyan Malchev
Browse files

CHROMIUM: ARM: arch/arm: 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 lightweight check to arm_syscall()
to make sure that ARM behaves the same way.

Signed-off-by: default avatarWill Drewry <wad@chromium.org>
TEST=building on tegra2 now. Will live test with seccomp testsuite. It was through SIGILL.
BUG=chromium-os:27878

Change-Id: Ie3896b54e9bfa21c22e0df456a47ad03c8d0aa3f
Reviewed-on: https://gerrit.chromium.org/gerrit/21251


Reviewed-by: default avatarKees Cook <keescook@chromium.org>
Reviewed-by: default avatarWill Drewry <wad@chromium.org>
Tested-by: default avatarWill Drewry <wad@chromium.org>
Signed-off-by: default avatarSasha Levitskiy <sanek@google.com>
parent 49a863eb
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment