commit | f01dd5904519574017a4938ffb4424b31ba79cf3 | [log] [tgz] |
---|---|---|
author | Christian Göttsche <cgzones@googlemail.com> | Fri Jul 28 17:19:31 2023 +0200 |
committer | Paul Moore <paul@paul-moore.com> | Fri Jul 28 14:09:24 2023 -0400 |
tree | 687f311a9ca609cabea34daf570bdc90c4edd7d7 | |
parent | 19c5b015d1b9122393151134879dcfcf0ae6057a [diff] |
selinux: move debug functions into debug configuration avtab_hash_eval() and hashtab_stat() are only used in policydb.c when the configuration SECURITY_SELINUX_DEBUG is enabled. Move the function definitions under that configuration as well and provide empty definitions in case SECURITY_SELINUX_DEBUG is disabled, to avoid using #ifdef in the callers. Signed-off-by: Christian Göttsche <cgzones@googlemail.com> Signed-off-by: Paul Moore <paul@paul-moore.com>