diff options
Diffstat (limited to 'xlat/seccomp_ops.h')
-rw-r--r-- | xlat/seccomp_ops.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/xlat/seccomp_ops.h b/xlat/seccomp_ops.h index 3fd0dc661..b6f0e2a3c 100644 --- a/xlat/seccomp_ops.h +++ b/xlat/seccomp_ops.h @@ -5,6 +5,9 @@ #if !(defined(SECCOMP_SET_MODE_FILTER) || (defined(HAVE_DECL_SECCOMP_SET_MODE_FILTER) && HAVE_DECL_SECCOMP_SET_MODE_FILTER)) # define SECCOMP_SET_MODE_FILTER 1 #endif +#if !(defined(SECCOMP_GET_ACTION_AVAIL) || (defined(HAVE_DECL_SECCOMP_GET_ACTION_AVAIL) && HAVE_DECL_SECCOMP_GET_ACTION_AVAIL)) +# define SECCOMP_GET_ACTION_AVAIL 2 +#endif #ifdef IN_MPERS @@ -16,6 +19,7 @@ static const struct xlat seccomp_ops[] = { XLAT(SECCOMP_SET_MODE_STRICT), XLAT(SECCOMP_SET_MODE_FILTER), + XLAT(SECCOMP_GET_ACTION_AVAIL), XLAT_END }; |