From 0ef784044111a4853c31d6865f4ad54c2369fd8b Mon Sep 17 00:00:00 2001 From: George Kennedy Date: Mon, 25 Jul 2022 21:48:17 +0000 Subject: pkg/csource: fix const sock_filter const sock_filter needs to be const struct sock_filter Signed-off-by: George Kennedy --- executor/android/x86_64_app_policy.h | 2 +- executor/android/x86_64_system_policy.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'executor') diff --git a/executor/android/x86_64_app_policy.h b/executor/android/x86_64_app_policy.h index 1c9247ee3..858d9e8f8 100644 --- a/executor/android/x86_64_app_policy.h +++ b/executor/android/x86_64_app_policy.h @@ -3,7 +3,7 @@ // File autogenerated by genseccomp.py from Android U - edit at your peril!! -const sock_filter x86_64_app_filter[] = { +const struct sock_filter x86_64_app_filter[] = { BPF_JUMP(BPF_JMP|BPF_JGE|BPF_K, 0, 0, 114), BPF_JUMP(BPF_JMP|BPF_JEQ|BPF_K, 202, 112, 0), //futex BPF_JUMP(BPF_JMP|BPF_JEQ|BPF_K, 16, 111, 0), //ioctl diff --git a/executor/android/x86_64_system_policy.h b/executor/android/x86_64_system_policy.h index 2cbb79185..bbf81fa4e 100644 --- a/executor/android/x86_64_system_policy.h +++ b/executor/android/x86_64_system_policy.h @@ -3,7 +3,7 @@ // File autogenerated by genseccomp.py from Android U - edit at your peril!! -const sock_filter x86_64_system_filter[] = { +const struct sock_filter x86_64_system_filter[] = { BPF_JUMP(BPF_JMP|BPF_JGE|BPF_K, 0, 0, 100), BPF_JUMP(BPF_JMP|BPF_JEQ|BPF_K, 202, 98, 0), //futex BPF_JUMP(BPF_JMP|BPF_JEQ|BPF_K, 16, 97, 0), //ioctl -- cgit mrf-deployment