diff options
author | Eric Paris <eparis@redhat.com> | 2011-04-28 15:11:21 -0400 |
---|---|---|
committer | Eric Paris <eparis@redhat.com> | 2011-04-28 15:15:53 -0400 |
commit | 2463c26d50adc282d19317013ba0ff473823ca47 (patch) | |
tree | e92438150bb380c0dc0867b00f1ae89f73646b2a /mm/internal.h | |
parent | 3f058ef7787e1b48720622346de9a5317aeb749a (diff) | |
download | linux-3.10-2463c26d50adc282d19317013ba0ff473823ca47.tar.gz linux-3.10-2463c26d50adc282d19317013ba0ff473823ca47.tar.bz2 linux-3.10-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 'mm/internal.h')
0 files changed, 0 insertions, 0 deletions