Re: 'native files', 'object fingerprints' [was: sendpath()]

Felix von Leitner (leitner@convergence.de)
Tue, 16 Jan 2001 15:27:56 +0100


Thus spake Ingo Molnar (mingo@elte.hu):
> But even user-space code could use 'native files', via the following, safe
> mechanizm:

[something reminiscient of a token from a capability system]

> (this 'fingerprint' mechanizm can be used for any object, not only files.)

One good thing about tokens is that file handles can be implemented on
top of them in user space.

On the other hand, there already are mechanisms to pass file descriptors
around and so on, so you don't gain anything tangible from your efford.

I would advise reading some text books about capability systems, there
is a lot to be learned here. But retrofitting something like this on an
existing kernel is probably not a very good idea. Experience shows that
you can't "un-bloat" a piece of software by introducing a few elegant
concepts. The compatibility stuff eats most of the benefits.

Felix
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/