commit | be30b16d43f4781406de0c08c96501dae4cc5a77 | [log] [tgz] |
---|---|---|
author | Eric Paris <eparis@redhat.com> | Thu Apr 28 15:11:21 2011 -0400 |
committer | Eric Paris <eparis@redhat.com> | Thu Apr 28 15:15:52 2011 -0400 |
tree | 957792a2eae5f16a87b79f4ca8aa434b6fa9c7de | |
parent | 03a4c0182a156547edd5f2717c1702590fe36bbf [diff] |
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>