semanage_fcontext_get_by_idx
Funny thing... without this none of the swig wrappers are generated for policy file_contexts.
libsemanage/src/semanageswig.i +3 -0
@@ -61,6 +61,9 @@ semanage_bool_t *semanage_bool_by_idx(semanage_bool_t **list, int n) { return list[n]; } + semanage_fcontext_t *semanage_fcontext_by_idx(semanage_fcontext_t **list, int n) { + return list[n]; + } char *char_by_idx(char **list, int n) { return list[n]; }