diff options
author | 2011-04-28 15:11:21 -0400 | |
---|---|---|
committer | 2011-04-28 15:15:53 -0400 | |
commit | 2463c26d50adc282d19317013ba0ff473823ca47 (patch) | |
tree | e92438150bb380c0dc0867b00f1ae89f73646b2a /lib/flex_array.c | |
parent | SELinux: generic hashtab entry counter (diff) | |
download | wireguard-linux-2463c26d50adc282d19317013ba0ff473823ca47.tar.xz wireguard-linux-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 <eparis@redhat.com>
Reviewed-by: James Morris <jmorris@namei.org>
Diffstat (limited to 'lib/flex_array.c')
0 files changed, 0 insertions, 0 deletions