On Thu, 2017-07-27 at 15:10 +0200, Petr Lautrbach wrote:
> Signed-off-by: Petr Lautrbach
Thanks, applied all 4 patches.
> ---
> python/sepolicy/sepolicy/manpage.py | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/python/sepolicy/sepolicy/manpage.py
> b/python/sepolicy/sepolicy/manpage.
Signed-off-by: Petr Lautrbach
---
python/sepolicy/test_sepolicy.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/python/sepolicy/test_sepolicy.py b/python/sepolicy/test_sepolicy.py
index 304e56f6..6d60d6f6 100644
--- a/python/sepolicy/test_sepolicy.py
+++ b/python/sepolicy/t
Fixes:
File "python/sepolicy/sepolicy/manpage.py", line 373, in _gen_css
print("%s has been created") % style_css
TypeError: unsupported operand type(s) for %: 'NoneType' and 'str'
Signed-off-by: Petr Lautrbach
---
python/sepolicy/sepolicy/manpage.py | 4 ++--
1 file changed, 2 insertions(
Signed-off-by: Petr Lautrbach
---
python/sepolicy/sepolicy/manpage.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/python/sepolicy/sepolicy/manpage.py
b/python/sepolicy/sepolicy/manpage.py
index 6df6f431..4d846364 100755
--- a/python/sepolicy/sepolicy/manpage.py
+++ b/python/sepolicy/sepo
SETools4 and Python 3 versions of map() and filter() uses iterators to
generates query results and these iterators can't be imply re-used. It
makes manpage and transitions operations really slow as they do lot of queries.
This patch changes it in the way that it caches results in lists for all
typ
On Wed, 2017-07-26 at 13:02 -0700, Tom Cherry via Selinux wrote:
> There are two problems with lookup_common() and therefore
> selabel_lookup() and related functions that this patch fixes:
>
> 1) A race with the lazy compilation of regexes. Since the struct
> regex_data is allocated and assigned