* Tue Aug 3 2010 Dan Walsh <dwalsh@redhat.com> 3.3.6-5

- Add port support to setools python
This commit is contained in:
Dan Walsh 2010-08-03 17:28:12 -04:00
commit 9f7395e762

View file

@ -1463,7 +1463,7 @@ diff -up setools-3.3.7/python/setools/Makefile.in.python setools-3.3.7/python/se
+.NOEXPORT:
diff -up setools-3.3.7/python/setools/seinfo.c.python setools-3.3.7/python/setools/seinfo.c
--- setools-3.3.7/python/setools/seinfo.c.python 2010-07-30 15:02:10.000000000 -0400
+++ setools-3.3.7/python/setools/seinfo.c 2010-08-03 16:49:15.000000000 -0400
+++ setools-3.3.7/python/setools/seinfo.c 2010-08-03 17:27:28.000000000 -0400
@@ -0,0 +1,754 @@
+/**
+ * @file
@ -1536,7 +1536,7 @@ diff -up setools-3.3.7/python/setools/seinfo.c.python setools-3.3.7/python/setoo
+{
+ int retval = -1;
+ PyObject *dict = PyDict_New();
+ const qpol_type_t *atotr_datum = NULL;
+ const qpol_type_t *attr_datum = NULL;
+ qpol_iterator_t *iter = NULL;
+ const char *attr_name = NULL, *type_name = NULL;
+ qpol_policy_t *q = apol_policy_get_qpol(policydb);