summaryrefslogtreecommitdiffstats
path: root/crypto/cast_common.c
diff options
context:
space:
mode:
authorStephen Smalley <sds@tycho.nsa.gov>2015-03-24 21:54:16 +0100
committerPaul Moore <pmoore@redhat.com>2015-04-07 02:16:20 +0200
commitba39db6e0519aa8362dbda6523ceb69349a18dc3 (patch)
tree0111ac00baee2c56dafd947f989264fa798b2c72 /crypto/cast_common.c
parentselinux: reconcile security_netlbl_secattr_to_sid() and mls_import_netlbl_cat() (diff)
downloadlinux-ba39db6e0519aa8362dbda6523ceb69349a18dc3.tar.xz
linux-ba39db6e0519aa8362dbda6523ceb69349a18dc3.zip
selinux: convert avtab hash table to flex_array
Previously we shrank the avtab max hash buckets to avoid high order memory allocations, but this causes avtab lookups to degenerate to very long linear searches for the Fedora policy. Convert to using a flex_array instead so that we can increase the buckets without such limitations. This change does not alter the max hash buckets; that is left to a separate follow-on change. Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov> Signed-off-by: Paul Moore <pmoore@redhat.com>
Diffstat (limited to 'crypto/cast_common.c')
0 files changed, 0 insertions, 0 deletions