From: Eric Paris Date: Thu, 28 Apr 2011 19:11:21 +0000 (-0400) Subject: SELinux: put name based create rules in a hashtable X-Git-Tag: v3.0-rc1~309^2^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2463c26d50adc282d19317013ba0ff473823ca47;p=pandora-kernel.git 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 Reviewed-by: James Morris --- Reading git-diff-tree failed