Add KILL as a synonym for DENY
This commit is contained in:
parent
88e81e3e4b
commit
27f7bf9a8c
@ -45,6 +45,8 @@ void seccomp_bpf_print(struct sock_filter *filter, size_t count);
|
||||
BPF_STMT(BPF_RET+BPF_K, SECCOMP_RET_ALLOW)
|
||||
#define DENY \
|
||||
BPF_STMT(BPF_RET+BPF_K, SECCOMP_RET_KILL)
|
||||
#define KILL \
|
||||
BPF_STMT(BPF_RET+BPF_K, SECCOMP_RET_KILL)
|
||||
#define ERRNO(val) \
|
||||
BPF_STMT(BPF_RET+BPF_K, SECCOMP_RET_ERRNO | (val & SECCOMP_RET_DATA))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user