diff options
author | Daniel Verkamp <dverkamp@chromium.org> | 2022-03-19 02:17:45 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2022-03-19 02:17:45 +0000 |
commit | 8c817617752eee19a0fa61c433ca6ad426606bc6 (patch) | |
tree | f99504fdf3545dc0fea3fc9410dbfab062224730 | |
parent | be5ad6dab0881ca9d0d30f3546c87bb992c2905a (diff) | |
parent | a8485bef11b7d201f117c2c5a83720dbe84d287b (diff) | |
download | minijail-8c817617752eee19a0fa61c433ca6ad426606bc6.tar.gz |
tools/compile_seccomp_policy: align BPF buffer am: 7e146a20db am: a42d408afc am: a8485bef11
Original change: https://android-review.googlesource.com/c/platform/external/minijail/+/1852508
Change-Id: I3031dc76c3b5c11d0ce8571668d3ab15503ebaa1
-rwxr-xr-x | tools/compile_seccomp_policy.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/compile_seccomp_policy.py b/tools/compile_seccomp_policy.py index 3487357..2219ae5 100755 --- a/tools/compile_seccomp_policy.py +++ b/tools/compile_seccomp_policy.py @@ -45,7 +45,7 @@ HEADER_TEMPLATE = """/* DO NOT EDIT GENERATED FILE */ #define MJ_SECCOMP_%(upper_name)s_H #include <stdint.h> -static const unsigned char %(name)s_binary_seccomp_policy[] = { +static const unsigned char %(name)s_binary_seccomp_policy[] __attribute__((__aligned__(4))) = { %(program)s }; |