From 338e578350b8e631169029e47944ad3bd90f89d1 Mon Sep 17 00:00:00 2001 From: Albert S Date: Sun, 10 Nov 2019 12:10:37 +0100 Subject: [PATCH] seccomp_enable: fix unused default_action parameter --- qssb.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qssb.h b/qssb.h index 7141adb..1fe8837 100644 --- a/qssb.h +++ b/qssb.h @@ -320,7 +320,7 @@ static int seccomp_enable(int *syscalls, int per_syscall, int default_action) ++syscalls; } - struct sock_filter da = BPF_STMT(BPF_RET+BPF_K, SECCOMP_RET_KILL); + struct sock_filter da = BPF_STMT(BPF_RET+BPF_K, default_action); filter[current_filter_index] = da; struct sock_fprog prog = {