Posix shared memory problem

Garrett Wollman wollman at bimajority.org
Mon May 11 16:35:46 UTC 2009


<<On Mon, 11 May 2009 11:25:37 +0200, Lothar Scholz <scholz at scriptolutions.com> said:

> Some idiots started to think about this as a file path. But it isn't
> and it shouldn't.

Actually, it really should be.  Ask a security person or a
virtualization person to explain why an unnecessary multiplicity of
namespaces is a bad idea.

> If i have to find a useable filefile location anyway the whole
> function does not make any sense, then i can directly use mmap.

But of course you won't get the same behavior, because open()/mmap()
guarantees that the backing store will get updated.  That's why
there's a separate interface.

-GAWollman


More information about the freebsd-arch mailing list