Active dbase: missed handle.h changes
I need to work on reducing my exclusion list...
libsemanage/src/handle.h +8 -1
@@ -76,7 +76,7 @@ struct semanage_handle {struct semanage_policy_table * funcs;/* Object databases */ -#define DBASE_COUNT 9 +#define DBASE_COUNT 10#define DBASE_LOCAL_USERS 0#define DBASE_LOCAL_PORTS 1
@@ -88,6 +88,8 @@ struct semanage_handle {#define DBASE_POLICY_PORTS 6#define DBASE_POLICY_INTERFACES 7#define DBASE_POLICY_BOOLEANS 8 + +#define DBASE_ACTIVE_BOOLEANS 9dbase_config_t dbase[DBASE_COUNT ]; };
@@ -136,5 +138,10 @@ dbase_config_t* semanage_bool_dbase_poli return &handle->dbase[DBASE_POLICY_BOOLEANS]; } +static inline +dbase_config_t *semanage_bool_dbase_active (semanage_handle_t * handle) { +return &handle->dbase[DBASE_ACTIVE_BOOLEANS ]; +} +#endif