diff options
Diffstat (limited to 'tests/53-sim-binary_tree.c')
-rw-r--r-- | tests/53-sim-binary_tree.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/53-sim-binary_tree.c b/tests/53-sim-binary_tree.c index 291b7c5..4aa5f13 100644 --- a/tests/53-sim-binary_tree.c +++ b/tests/53-sim-binary_tree.c @@ -98,6 +98,20 @@ int main(int argc, char *argv[]) goto out; } + rc = seccomp_arch_remove(ctx, SCMP_ARCH_NATIVE); + if (rc != 0) + goto out; + + rc = seccomp_arch_add(ctx, SCMP_ARCH_AARCH64); + if (rc != 0) + goto out; + rc = seccomp_arch_add(ctx, SCMP_ARCH_PPC64LE); + if (rc != 0) + goto out; + rc = seccomp_arch_add(ctx, SCMP_ARCH_X86_64); + if (rc != 0) + goto out; + rc = seccomp_attr_set(ctx, SCMP_FLTATR_CTL_OPTIMIZE, 2); if (rc < 0) goto out; |