Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 97187563 authored by AKASHI Takahiro's avatar AKASHI Takahiro Committed by Daniel Kurtz
Browse files

arm64: add seccomp support



secure_computing() is called first in syscall_trace_enter() so that
a system call will be aborted quickly without doing succeeding syscall
tracing if seccomp rules want to deny that system call.

On compat task, syscall numbers for system calls allowed in seccomp mode 1
are different from those on normal tasks, and so _NR_seccomp_xxx_32's need
to be redefined.

Signed-off-by: default avatarAKASHI Takahiro <takahiro.akashi@linaro.org>
Signed-off-by: default avatarWill Deacon <will.deacon@arm.com>
(cherry picked from commit a1ae65b219416a72c15577bd4c8c11174fffbb8b)
Signed-off-by: default avatarDaniel Kurtz <djkurtz@google.com>
parent 65714cfa
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment