selinux/libsepol/include/sepol
Christian Göttsche d034a3e660 libsepol: rework permission enabled check
Check the class is defined once, and not for every permission via
is_perm_enabled(). Also pass the class datum to avoid an unnecessary
name lookup.

Signed-off-by: Christian Göttsche <cgzones@googlemail.com>
Acked-by: James Carter <jwcart2@gmail.com>
2024-06-14 09:10:49 -04:00
..
policydb libsepol: rework permission enabled check 2024-06-14 09:10:49 -04:00
boolean_record.h
booleans.h libsepol: Drop deprecated functions 2020-10-19 22:11:39 +02:00
context.h
context_record.h
debug.h
errcodes.h libsepol: enclose macro parameters and replacement lists in parentheses 2022-08-09 09:52:06 -04:00
handle.h
ibendport_record.h
ibendports.h
ibpkey_record.h
ibpkeys.h
iface_record.h
interfaces.h
kernel_to_cil.h
kernel_to_conf.h
module.h
module_to_cil.h
node_record.h
nodes.h
policydb.h
port_record.h
ports.h
sepol.h
user_record.h
users.h libsepol: Drop deprecated functions 2020-10-19 22:11:39 +02:00