aboutsummaryrefslogtreecommitdiffstats
path: root/bpf.h
diff options
context:
space:
mode:
Diffstat (limited to 'bpf.h')
-rw-r--r--bpf.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/bpf.h b/bpf.h
index 9404c949..db66223b 100644
--- a/bpf.h
+++ b/bpf.h
@@ -48,7 +48,6 @@ enum {
#define SECCOMP_RET_KILL 0x00000000U /* kill the task immediately */
#define SECCOMP_RET_TRAP 0x00030000U /* return SIGSYS */
#define SECCOMP_RET_ERRNO 0x00050000U /* return -1 and set errno */
-#define SECCOMP_RET_LOG 0x7ffc0000U /* allow after logging */
#define SECCOMP_RET_ALLOW 0x7fff0000U /* allow */
#define SECCOMP_RET_DATA 0x0000ffffU /* mask for return value */
@@ -173,9 +172,6 @@ static inline size_t set_bpf_instr(struct sock_filter *instr,
set_bpf_stmt((_block), BPF_RET+BPF_K, \
SECCOMP_RET_ERRNO | ((_errno) & SECCOMP_RET_DATA))
-#define set_bpf_ret_log(_block) \
- set_bpf_stmt((_block), BPF_RET+BPF_K, SECCOMP_RET_LOG)
-
#define set_bpf_ret_allow(_block) \
set_bpf_stmt((_block), BPF_RET+BPF_K, SECCOMP_RET_ALLOW)