seccomp_enable: fix unused default_action parameter
This commit is contained in:
父節點
069349eaf6
當前提交
338e578350
2
qssb.h
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 = {
|
||||
|
載入中…
新增問題並參考
Block a user