aboutsummaryrefslogtreecommitdiffstats
path: root/lib/flex_array.c
diff options
context:
space:
mode:
authorEric Paris <[email protected]>2011-04-28 19:11:21 +0000
committerEric Paris <[email protected]>2011-04-28 19:15:53 +0000
commit2463c26d50adc282d19317013ba0ff473823ca47 (patch)
treee92438150bb380c0dc0867b00f1ae89f73646b2a /lib/flex_array.c
parentSELinux: generic hashtab entry counter (diff)
downloadkernel-2463c26d50adc282d19317013ba0ff473823ca47.tar.gz
kernel-2463c26d50adc282d19317013ba0ff473823ca47.zip
SELinux: put name based create rules in a hashtable
To shorten the list we need to run if filename trans rules exist for the type of the given parent directory I put them in a hashtable. Given the policy we are expecting to use in Fedora this takes the worst case list run from about 5,000 entries to 17. Signed-off-by: Eric Paris <[email protected]> Reviewed-by: James Morris <[email protected]>
Diffstat (limited to 'lib/flex_array.c')
0 files changed, 0 insertions, 0 deletions