seccomp_enable: fix unused default_action parameter

Este commit está contenido en:
Albert S. 2019-11-10 12:10:37 +01:00
padre 069349eaf6
commit 338e578350

2
qssb.h
Ver fichero

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