diff options
author | Paul Moore <paul@paul-moore.com> | 2016-02-24 12:37:16 -0500 |
---|---|---|
committer | Paul Moore <paul@paul-moore.com> | 2016-02-24 12:40:35 -0500 |
commit | 316cd55265c32005bbb507856d4ac2c7deb89200 (patch) | |
tree | 675b9a094fd6565cf59d7bacc78cb1a82671df34 | |
parent | 8ed78c3859f476d302995b43d6739f3341f5b37d (diff) | |
download | libseccomp-316cd55265c32005bbb507856d4ac2c7deb89200.tar.gz |
system: fix the SECCOMP_SET_MODE_STRICT define
Reported-by: Jan Engelhardt <jengelh@inai.de>
Signed-off-by: Paul Moore <paul@paul-moore.com>
-rw-r--r-- | src/system.h | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/system.h b/src/system.h index 95384aa..eea9973 100644 --- a/src/system.h +++ b/src/system.h @@ -47,13 +47,6 @@ struct db_filter_col; #define SECCOMP_MODE_STRICT 1 /* uses hard-coded filter. */ #define SECCOMP_MODE_FILTER 2 /* uses user-supplied filter. */ -/* Valid operations for seccomp syscall. */ -#define SECCOMP_SET_MODE_STRICT 0 -#define SECCOMP_SET_MODE_FILTER 1 - -/* Valid flags for SECCOMP_SET_MODE_FILTER */ -#define SECCOMP_FILTER_FLAG_TSYNC 1 - /* * All BPF programs must return a 32-bit value. * The bottom 16-bits are for optional return data. @@ -103,7 +96,7 @@ typedef struct sock_filter bpf_instr_raw; #endif /* operations for the seccomp() syscall */ -#ifndef SECCOMP_MODE_STRICT +#ifndef SECCOMP_SET_MODE_STRICT #define SECCOMP_SET_MODE_STRICT 0 #endif #ifndef SECCOMP_SET_MODE_FILTER |