OSDN Git Service

Support all architectures in seccomp
authorPaul Lawrence <paullawrence@google.com>
Fri, 17 Feb 2017 18:22:03 +0000 (10:22 -0800)
committerPaul Lawrence <paullawrence@google.com>
Mon, 13 Mar 2017 18:26:50 +0000 (18:26 +0000)
commit89fa81fda34f760549fedb120a2c683b283e90a3
tree25e729ce9e8b9d9e30167b39c219b0f44fa5d6ae
parente429bf2f696282537efb577feb7cb9fd534e7ace
Support all architectures in seccomp

Test: Make sure arm, x86, x86_64, mips, mips64 emulators boot
      Make sure sailfish still boots
      Ran CTS test from
      https://android-review.googlesource.com/#/c/348671/3 and it passed
      The instructions for how to run mips emulators above worked, but
      the CTS tests did not seem to actually run.

Change-Id: Iddee5acdb19ed32c7bd4657573313ca439cf6a49
libc/SECCOMP_WHITELIST.TXT
libc/seccomp/Android.bp
libc/seccomp/arm_policy.cpp
libc/seccomp/mips64_policy.cpp [new file with mode: 0644]
libc/seccomp/mips_policy.cpp [new file with mode: 0644]
libc/seccomp/seccomp_bpfs.h
libc/seccomp/seccomp_policy.cpp
libc/seccomp/x86_64_policy.cpp [new file with mode: 0644]
libc/seccomp/x86_policy.cpp [new file with mode: 0644]
libc/tools/genseccomp.py
libc/tools/test_genseccomp.py