Hello Olof Johansson, Kees Cook,
I'd like you to do a code review. Please visit
https://gerrit.chromium.org/gerrit/21107
to review the following change.
Change subject: CHROMIUM: arch/arm: move secure_computing into trace; respect return code
......................................................................
CHROMIUM: arch/arm: move secure_computing into trace; respect return code
(I will post this upstream after the 3.5 merge window)
There is very little difference in the TIF_SECCOMP and TIF_SYSCALL_TRACE
patsh in entry-common.S. In order to add support for
CONFIG_HAVE_ARCH_SECCOMP_FILTER without mangling the assembly too
badly, seccomp was moved into the syscall_trace() handler.
Additionally, the return value for secure_computing() is now checked
and a -1 value will result in the system call being skipped.
Change-Id: I0b241909a1a0a13774cfb113c654420322dcb825
Signed-off-by: Will Drewry <
w...@chromium.org>
BUG=chromium-os:27878
TEST=compiles for arm. Need to test on a live machine.
---
M arch/arm/kernel/entry-common.S
M arch/arm/kernel/ptrace.c
2 files changed, 4 insertions(+), 6 deletions(-)
git pull ssh://
gerrit.chromium.org:29418/chromiumos/third_party/kernel refs/changes/07/21107/1
--
To view, visit
https://gerrit.chromium.org/gerrit/21107
To unsubscribe, visit
https://gerrit.chromium.org/gerrit/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Id1bd39d603f410d94874761ed4d9673d7d28ff62
Gerrit-PatchSet: 1
Gerrit-Project: chromiumos/third_party/kernel
Gerrit-Branch: chromeos-3.2
Gerrit-Owner: Will Drewry <
w...@chromium.org>
Gerrit-Reviewer: Kees Cook <
kees...@chromium.org>
Gerrit-Reviewer: Olof Johansson <
ol...@chromium.org>