libselinux/libselinux-rhat.patch

23 lines
852 B
Diff
Raw Normal View History

diff --exclude-from=exclude -N -u -r nsalibselinux/src/selinuxswig.i libselinux-1.30.1/src/selinuxswig.i
--- nsalibselinux/src/selinuxswig.i 2006-01-04 10:37:35.000000000 -0500
+++ libselinux-1.30.1/src/selinuxswig.i 2006-04-11 14:23:41.000000000 -0400
@@ -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);