seccomp.h | seccomp.h | |||
---|---|---|---|---|
skipping to change at line 40 | skipping to change at line 40 | |||
#ifdef __cplusplus | #ifdef __cplusplus | |||
extern "C" { | extern "C" { | |||
#endif | #endif | |||
/* | /* | |||
* version information | * version information | |||
*/ | */ | |||
#define SCMP_VER_MAJOR 2 | #define SCMP_VER_MAJOR 2 | |||
#define SCMP_VER_MINOR 1 | #define SCMP_VER_MINOR 1 | |||
#define SCMP_VER_MICRO 0 | #define SCMP_VER_MICRO 1 | |||
/* | /* | |||
* types | * types | |||
*/ | */ | |||
/** | /** | |||
* Filter context/handle | * Filter context/handle | |||
*/ | */ | |||
typedef void * scmp_filter_ctx; | typedef void *scmp_filter_ctx; | |||
/** | /** | |||
* Filter attributes | * Filter attributes | |||
*/ | */ | |||
enum scmp_filter_attr { | enum scmp_filter_attr { | |||
_SCMP_FLTATR_MIN = 0, | _SCMP_FLTATR_MIN = 0, | |||
SCMP_FLTATR_ACT_DEFAULT = 1, /**< default filter action */ | SCMP_FLTATR_ACT_DEFAULT = 1, /**< default filter action */ | |||
SCMP_FLTATR_ACT_BADARCH = 2, /**< bad architecture action */ | SCMP_FLTATR_ACT_BADARCH = 2, /**< bad architecture action */ | |||
SCMP_FLTATR_CTL_NNP = 3, /**< set NO_NEW_PRIVS on filter load */ | SCMP_FLTATR_CTL_NNP = 3, /**< set NO_NEW_PRIVS on filter load */ | |||
_SCMP_FLTATR_MAX, | _SCMP_FLTATR_MAX, | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||