seccomp_enable: fix unused default_action parameter

This commit is contained in:
Albert S. 2019-11-10 12:10:37 +01:00
父節點 069349eaf6
當前提交 338e578350
共有 1 個文件被更改,包括 1 次插入1 次删除

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