Date: Mon, 14 Apr 2008 09:51:19 +1000 (EST) From: James Morris To: Stephen Smalley cc: Paul Moore , selinux@tycho.nsa.gov Subject: Re: [PATCH v3 2/2] SELinux: Add network port SID cache In-Reply-To: <1207938494.21223.936.camel@moss-spartans.epoch.ncsc.mil> Message-ID: References: <20080410144452.8521.39381.stgit@flek.lan> <20080410144814.8521.18725.stgit@flek.lan> <1207938494.21223.936.camel@moss-spartans.epoch.ncsc.mil> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-selinux@tycho.nsa.gov List-Id: selinux@tycho.nsa.gov On Fri, 11 Apr 2008, Stephen Smalley wrote: > > On Thu, 2008-04-10 at 10:48 -0400, Paul Moore wrote: > > 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 Applied to for-akpm. -- James Morris -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with the words "unsubscribe selinux" without quotes as the message.