SELinux: generic hashtab entry counter
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)
commit3f058ef7787e1b48720622346de9a5317aeb749a
tree3cfdfa068b6eae4716f3be7d02f44bbd15e64573
parentbe30b16d43f4781406de0c08c96501dae4cc5a77
SELinux: generic hashtab entry counter

Instead of a hashtab entry counter function only useful for range
transition rules make a function generic for any hashtable to use.

Signed-off-by: Eric Paris <eparis@redhat.com>
Reviewed-by: James Morris <jmorris@namei.org>
security/selinux/ss/policydb.c