selinux/libsepol
Christian Göttsche 52e5c306f5 libsepol: move unchanged data out of loop
Perform the lookup whether the class is in the current scope once, and
not for every permission.
This also ensures the class is checked to be in the current scope if
there are no permissions attached.

Signed-off-by: Christian Göttsche <cgzones@googlemail.com>
Acked-by: James Carter <jwcart2@gmail.com>
2024-06-13 16:32:49 -04:00
..
cil libsepol/cil: Fix detected RESOURCE_LEAK (CWE-772) 2024-05-01 16:50:31 -04:00
fuzz libsepol/fuzz: handle empty and non kernel policies 2023-12-06 13:32:50 -05:00
include checkpolicy, libsepol: Fix potential double free of mls_level_t 2024-03-04 10:01:59 -05:00
man Do not automatically install Russian translations 2023-08-16 13:33:47 -04:00
src libsepol: move unchanged data out of loop 2024-06-13 16:32:49 -04:00
tests libsepol/tests: Update the order of neverallow test results 2023-11-21 08:55:45 -05:00
utils libsepol/utils: improve wording 2022-07-06 15:57:24 -04:00
.gitignore libsepol: add policy utilities 2022-04-12 13:09:19 -04:00
LICENSE docs: provide a top level LICENSE file 2022-10-05 08:20:38 -04:00
Makefile
VERSION Update VERSIONs to 3.7-rc2 for release. 2024-06-05 20:28:35 +02:00