d034a3e660
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> |
||
---|---|---|
.. | ||
policydb | ||
boolean_record.h | ||
booleans.h | ||
context.h | ||
context_record.h | ||
debug.h | ||
errcodes.h | ||
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 |