seccomp_enable: fix unused default_action parameter

This commit is contained in:
Albert S. 2019-11-10 12:10:37 +01:00
parent 069349eaf6
commit 338e578350
1 changed files with 1 additions and 1 deletions

2
qssb.h
View File

@ -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 = {