From: Paul Moore Date: Thu, 10 Apr 2008 14:48:14 +0000 (-0400) Subject: SELinux: Add network port SID cache X-Git-Tag: v2.6.26-rc1~1157^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3e11217263d0521e212cb8a017fbc2a1514db78f;p=pandora-kernel.git SELinux: Add network port SID cache Much like we added a network node cache, this patch adds a network port cache. The design is taken almost completely from the network node cache which in turn was taken from the network interface cache. The basic idea is to cache entries in a hash table based on protocol/port information. The hash function only takes the port number into account since the number of different protocols in use at any one time is expected to be relatively small. Signed-off-by: Paul Moore Acked-by: Stephen Smalley Signed-off-by: James Morris --- Reading git-diff-tree failed