diff options
| author | George Kennedy <george.kennedy@oracle.com> | 2022-07-25 21:48:17 +0000 |
|---|---|---|
| committer | Aleksandr Nogikh <wp32pw@gmail.com> | 2022-09-21 11:46:22 +0200 |
| commit | 0ef784044111a4853c31d6865f4ad54c2369fd8b (patch) | |
| tree | 4953f04949775a549bd61043736322af41f1cff4 /executor/android | |
| parent | 97471de4a3c64605bbd90d91688947a2d7fa1d66 (diff) | |
pkg/csource: fix const sock_filter
const sock_filter needs to be const struct sock_filter
Signed-off-by: George Kennedy <george.kennedy@oracle.com>
Diffstat (limited to 'executor/android')
| -rw-r--r-- | executor/android/x86_64_app_policy.h | 2 | ||||
| -rw-r--r-- | executor/android/x86_64_system_policy.h | 2 |
2 files changed, 2 insertions, 2 deletions
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 |
