platform_external_selinux/python
Vit Mojzis d8eb8b309f python/sepolicy: Cache conditional rule queries
Commit 7506771e4b
"add missing booleans to man pages" dramatically slowed down
"sepolicy manpage -a" by removing caching of setools rule query.
Re-add said caching and update the query to only return conditional
rules.

Before commit 7506771e:
 #time sepolicy manpage -a
 real	1m43.153s
 # time sepolicy manpage -d httpd_t
 real	0m4.493s

After commit 7506771e:
 #time sepolicy manpage -a
 real   1h56m43.153s
 # time sepolicy manpage -d httpd_t
 real	0m8.352s

After this commit:
 #time sepolicy manpage -a
 real	1m41.074s
 # time sepolicy manpage -d httpd_t
 real	0m7.358s

Signed-off-by: Vit Mojzis <vmojzis@redhat.com>
Acked-by: James Carter <jwcart2@gmail.com>
2023-02-06 15:38:58 +01:00
..
audit2allow python: Fix typo in audit2allow.1 example 2022-11-21 14:28:31 -05:00
chcat python: Harden tools against "rogue" modules 2022-11-09 07:53:27 -05:00
po Update translations 2023-02-06 15:34:01 +01:00
semanage Correct misc typos 2023-01-11 08:45:08 -05:00
sepolgen Update VERSIONs to 3.5-rc2 for release. 2023-01-15 15:40:55 -08:00
sepolicy python/sepolicy: Cache conditional rule queries 2023-02-06 15:38:58 +01:00
LICENSE docs: provide a top level LICENSE file 2022-10-05 08:20:38 -04:00
Makefile Split po/ translation files into the relevant sub-directories 2022-04-06 10:52:41 +02:00
VERSION Update VERSIONs to 3.5-rc2 for release. 2023-01-15 15:40:55 -08:00