Python changes for libselinux
t_output_helper is going away.
matchpathcon did not work.
src/selinuxswig.i +3 -2
@@ -29,8 +29,9 @@ $1 = &temp; } %typemap(argout) security_context_t * { - $result = t_output_helper($result, PyString_FromString(*$1)); + $result = SWIG_Python_AppendOutput($result, PyString_FromString(*$1)); } +%typedef unsigned mode_t; extern int is_selinux_enabled(void); extern int is_selinux_mls_enabled(void);
@@ -114,6 +115,6 @@ } %typemap(argout) char ** { - $result = t_output_helper($result, PyString_FromString(*$1)); + $result = SWIG_Python_AppendOutput($result, PyString_FromString(*$1)); } extern int getseuserbyname(const char *linuxuser, char **seuser, char **level);