Skip to contentSkip to conversation

semanage_fcontext_get_by_idx

SEMANAGE Ivan Gyurdiev 1 participant 1 message Jan 4, 2006 SELinux security module

lore
Share & tools
lore
#0 lore raw

Funny thing... without this none of the swig wrappers are generated for policy file_contexts.

libsemanage/src/semanageswig.i +3 -0
diff -Naurp --exclude man --exclude-from excludes old/libsemanage/src/semanageswig.i new/libsemanage/src/semanageswig.i
@@ -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];
 	}