]> git.baikalelectronics.ru Git - kernel.git/commit
SELinux: drop useless (and incorrect) AVTAB_MAX_SIZE
authorEric Paris <eparis@redhat.com>
Wed, 13 Oct 2010 21:50:19 +0000 (17:50 -0400)
committerJames Morris <jmorris@namei.org>
Wed, 20 Oct 2010 23:12:57 +0000 (10:12 +1100)
commit3484f9c7eb336626283813fd40c1de613ab3930e
tree86f297ed90f988d46e6bb8c56a60fbc3b3eb8d66
parentdd67b4c0ddcef4e9f3a365d04c29f4ff7d9e6fd0
SELinux: drop useless (and incorrect) AVTAB_MAX_SIZE

AVTAB_MAX_SIZE was a define which was supposed to be used in userspace to
define a maximally sized avtab when userspace wasn't sure how big of a table
it needed.  It doesn't make sense in the kernel since we always know our table
sizes.  The only place it is used we have a more appropiately named define
called AVTAB_MAX_HASH_BUCKETS, use that instead.

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