From: Jagger Date: Wed, 4 May 2016 23:18:14 +0000 (+0200) Subject: Add KILL as a synonym for DENY X-Git-Tag: 1.2~67 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=27f7bf9a8cc7948f9cc02bbd7795b68909b690f0;p=platform%2Fupstream%2Fnsjail.git Add KILL as a synonym for DENY --- diff --git a/seccomp/bpf-helper.h b/seccomp/bpf-helper.h index 29c7071..a2cf094 100644 --- a/seccomp/bpf-helper.h +++ b/seccomp/bpf-helper.h @@ -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))