diff options
Diffstat (limited to 'src/pseccomp.h')
-rw-r--r-- | src/pseccomp.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/pseccomp.h b/src/pseccomp.h index 0bb5b2c..70fe3de 100644 --- a/src/pseccomp.h +++ b/src/pseccomp.h @@ -3,12 +3,16 @@ #include <seccomp.h> +#define PS_ALLOW 0x1 +#define PS_MINIMUM 0x2 + typedef struct pseccomp_ctx { + unsigned flags; scmp_filter_ctx sfilter; } pseccomp_ctx; -int pseccomp_init(pseccomp_ctx **ctx, unsigned int defact_allow); +int pseccomp_init(pseccomp_ctx **ctx, unsigned flags); void pseccomp_free(pseccomp_ctx **ctx); |