[SCM] Samba Shared Repository - branch v3-2-test updated - initial-v3-2-unstable-713-g7a911b3

Rafal Szczesniak mimir at samba.org
Tue Dec 18 11:13:23 GMT 2007

On Tue, Dec 18, 2007 at 11:51:02AM +0100, Volker Lendecke wrote:
> On Tue, Dec 18, 2007 at 11:33:30AM +0100, Rafal Szczesniak wrote:
> > I thought gencache was originally implemented for this reason :-)
> There's two reasons why I did not use gencache for this:
> First, it's tdb, so there are syscalls around. I want this
> to be very fast, so I want to avoid those.

Yes, I've figured that.
> Second, and this is the more important one: When we share
> this we might have a potential information leak between
> processes. For some information (sid2uid and friends) this
> might be uncritical, but for other stuff like the stat cache
> this might be a bit more sensitive.

Which is why I thought it might be useful to have an in-memory
cache using the same api/mechanisms like gencache, but not employing
tdb as the actual backend.

Rafal Szczesniak
Samba Team member   http://www.samba.org
Likewise Software   http://www.likewisesoftware.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.samba.org/archive/samba-technical/attachments/20071218/76a94143/attachment.bin

More information about the samba-technical mailing list