11e9676ce1d156e8af8169f28f9b22a3ffc21905 |
|
03-May-2017 |
Petr Lautrbach <plautrba@redhat.com> |
sepolicy: info() should provide attributes for a TYPE "attributes" used to be there when sepolicy.info() used setools3 Signed-off-by: Petr Lautrbach <plautrba@redhat.com>
/external/selinux/python/sepolicy/sepolicy/__init__.py
|
471e6b0fc968c66edd95a36be000bb2537a7bf71 |
|
03-May-2017 |
Petr Lautrbach <plautrba@redhat.com> |
sepolicy: setools.*Query wants a list in ruletype This fixes a problem introduced in 18410c86 where ruletype is specified as a string not a list. Fixes: >>> sepolicy.get_all_role_allows() Traceback (most recent call last): File "/usr/lib64/python3.6/site-packages/setools/policyrep/util.py", line 60, in lookup return cls(value) File "/usr/lib64/python3.6/enum.py", line 291, in __call__ return cls.__new__(cls, value) File "/usr/lib64/python3.6/enum.py", line 533, in __new__ return cls._missing_(value) File "/usr/lib64/python3.6/enum.py", line 546, in _missing_ raise ValueError("%r is not a valid %s" % (value, cls.__name__)) ValueError: 'a' is not a valid RBACRuletype Signed-off-by: Petr Lautrbach <plautrba@redhat.com>
/external/selinux/python/sepolicy/sepolicy/__init__.py
|
54eb348c0cfcf14150c5fe62a823bb799bb16f34 |
|
03-May-2017 |
Petr Lautrbach <plautrba@redhat.com> |
sepolicy: Don't return filter(), use [ ] notation instead filter() changed it's behavior among python 2 and python 3 Signed-off-by: Petr Lautrbach <plautrba@redhat.com>
/external/selinux/python/sepolicy/sepolicy/__init__.py
|
8fe1b0ca27652cf6b7c588d2ff7792f8e942939f |
|
09-Dec-2016 |
Vit Mojzis <vmojzis@redhat.com> |
python/sepolicy/sepolicy: optimise sepolicy gui loading Significantly speed up sepolicy gui loading by aggregating setools queries. Signed-off-by: Vit Mojzis <vmojzis@redhat.com>
/external/selinux/python/sepolicy/sepolicy/__init__.py
|
48dc232627d60e65b8b343036bc847df3bbef2ad |
|
31-Oct-2016 |
Stephen Smalley <sds@tycho.nsa.gov> |
Move policycoreutils/{sepolicy,audit2allow,semanage,scripts/chcat*} and sepolgen to python. Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
/external/selinux/python/sepolicy/sepolicy/__init__.py
|