From: Daniel J Walsh <dwalsh@redhat.com>
To: Joshua Brindle <method@gentoo.org>
Cc: Stephen Smalley <sds@tycho.nsa.gov>,
Steve Grubb <sgrubb@redhat.com>, SE Linux <selinux@tycho.nsa.gov>
Subject: Re: Real simple cache that removes most of the lookups in mcstrans
Date: Wed, 17 May 2006 12:21:00 -0400 [thread overview]
Message-ID: <446B4D6C.3070605@redhat.com> (raw)
In-Reply-To: <446B3E11.6040302@gentoo.org>
Joshua Brindle wrote:
> Daniel J Walsh wrote:
>> Joshua Brindle wrote:
>>> Daniel J Walsh wrote:
>>>> Basically check if the previous lookup was the same context, if yes
>>>> return the same translation. Otherwise do the lookup.
>>>>
>>>> Also included Russells patch for avcstat.
>>> Is this used on MLS? If so this cache needs to be cleared on policy
>>> reload for proper revocation of translation access. Further, this
>>> has no way of checking to see if the actual translations changed
>>> between the last query and this one.
>> Yes, you mean translation change, I think. Since I do not see where
>> policy reload would effect this. We could add some kind of timer to
>> this, but refreshing the cache is a small problem, but this same
>> problem existed with shared libraries.
>>
> Because on an MLS system the server will be deciding whether or not
> you have permission to see a particular translation and a policy
> reload would affect that. The same problem did exist with the shared
> libraries but we aren't using them anymore :) the server should be
> smart enough to handle this. If client side caching is really desired
> it needs to work like an avc where you can get flush notifications
> from the server.
One suggestion I have heard is to allow the administrator to turn off
the cache, perhaps via /etc/selinux/config???
--
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.
next prev parent reply other threads:[~2006-05-17 16:21 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-05-17 10:45 Real simple cache that removes most of the lookups in mcstrans Daniel J Walsh
2006-05-17 12:26 ` Steve Grubb
2006-05-17 13:52 ` Joshua Brindle
2006-05-17 15:03 ` Daniel J Walsh
2006-05-17 15:15 ` Joshua Brindle
2006-05-17 16:21 ` Daniel J Walsh [this message]
2006-05-17 17:09 ` Joshua Brindle
2006-05-17 17:30 ` Steve Grubb
2006-05-17 17:32 ` Joshua Brindle
2006-05-19 13:32 ` Russell Coker
2006-05-19 13:51 ` Joshua Brindle
2006-05-19 14:07 ` Stephen Smalley
2006-05-19 14:40 ` Russell Coker
2006-05-20 21:47 ` Joshua Brindle
2006-05-21 3:31 ` Russell Coker
2006-05-22 18:04 ` Stephen Smalley
2006-05-17 16:22 ` James Antill
[not found] ` <1147879972.3469.139.camel@code.and.org>
2006-05-17 16:19 ` Daniel J Walsh
2006-05-17 16:56 ` James Antill
2006-05-17 17:06 ` Stephen Smalley
2006-05-18 16:21 ` Daniel J Walsh
2006-05-17 18:22 ` Daniel J Walsh
2006-05-22 20:45 ` Stephen Smalley
2006-05-17 18:35 ` Resent with correct patch Daniel J Walsh
2006-05-17 18:44 ` Stephen Smalley
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=446B4D6C.3070605@redhat.com \
--to=dwalsh@redhat.com \
--cc=method@gentoo.org \
--cc=sds@tycho.nsa.gov \
--cc=selinux@tycho.nsa.gov \
--cc=sgrubb@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.