commit | 2463c26d50adc282d19317013ba0ff473823ca47 | [log] [tgz] |
---|---|---|
author | Eric Paris <eparis@redhat.com> | Thu Apr 28 15:11:21 2011 -0400 |
committer | Eric Paris <eparis@redhat.com> | Thu Apr 28 15:15:53 2011 -0400 |
tree | e92438150bb380c0dc0867b00f1ae89f73646b2a | |
parent | 3f058ef7787e1b48720622346de9a5317aeb749a [diff] |
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>