Revert "Move seccomp policy to bionic"
This reverts commit 06a32206c5430321dd3fc02b70acbf99383786c1.
Reverting build-breaking change
Change-Id: Ib3698bca8f905033a9c7f22bc2fa9f7e7bf75873
diff --git a/libc/tools/test_genseccomp.py b/libc/tools/test_genseccomp.py
index 5b2f14f..de1e5fe 100755
--- a/libc/tools/test_genseccomp.py
+++ b/libc/tools/test_genseccomp.py
@@ -107,8 +107,8 @@
#include <linux/filter.h>
#include <errno.h>
- #include "seccomp_bpfs.h"
- const sock_filter arm_filter[] = {
+ #include "seccomp_policy.h"
+ const struct sock_filter arm_filter[] = {
line1
line2
};
@@ -136,8 +136,8 @@
#include <linux/filter.h>
#include <errno.h>
- #include "seccomp_bpfs.h"
- const sock_filter arm_filter[] = {
+ #include "seccomp_policy.h"
+ const struct sock_filter arm_filter[] = {
BPF_JUMP(BPF_JMP|BPF_JGE|BPF_K, 3, 0, 3),
BPF_JUMP(BPF_JMP|BPF_JGE|BPF_K, 140, 1, 0),
BPF_JUMP(BPF_JMP|BPF_JGE|BPF_K, 4, 2, 1), //read