diff options
Diffstat (limited to 'tests/seccomp-filter-v.c')
-rw-r--r-- | tests/seccomp-filter-v.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/seccomp-filter-v.c b/tests/seccomp-filter-v.c index e419c6cb7..34ab3b58f 100644 --- a/tests/seccomp-filter-v.c +++ b/tests/seccomp-filter-v.c @@ -95,7 +95,7 @@ main(void) tprintf("%s", ""); static const char kill_stmt_txt[] = - "BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_KILL)"; + "BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_KILL_THREAD)"; struct sock_filter *const filter = tail_memdup(filter_c, sizeof(filter_c)); struct sock_filter *const big_filter = @@ -136,7 +136,8 @@ main(void) prog->filter = big_filter; prog->len = BPF_MAXINSNS + 1; tprintf("seccomp(SECCOMP_SET_MODE_FILTER, %s, {len=%u, filter=[", - "SECCOMP_FILTER_FLAG_TSYNC|0xfffffffe", prog->len); + "SECCOMP_FILTER_FLAG_TSYNC|SECCOMP_FILTER_FLAG_LOG|0xfffffffc", + prog->len); for (i = 0; i < BPF_MAXINSNS; ++i) { if (i) tprintf(", "); |