SELinux: calculate and print hashtab stats with a generic function
authorEric Paris <eparis@redhat.com>
Thu, 28 Apr 2011 19:11:21 +0000 (15:11 -0400)
committerEric Paris <eparis@redhat.com>
Thu, 28 Apr 2011 19:15:52 +0000 (15:15 -0400)
commitbe30b16d43f4781406de0c08c96501dae4cc5a77
tree957792a2eae5f16a87b79f4ca8aa434b6fa9c7de
parent03a4c0182a156547edd5f2717c1702590fe36bbf
SELinux: calculate and print hashtab stats with a generic function

We have custom debug functions like rangetr_hash_eval and symtab_hash_eval
which do the same thing.  Just create a generic function that takes the name
of the hash table as an argument instead of having custom functions.

Signed-off-by: Eric Paris <eparis@redhat.com>
Reviewed-by: James Morris <jmorris@namei.org>
security/selinux/ss/policydb.c
This page took 0.025799 seconds and 5 git commands to generate.