On Tue, 16 Jan 2001, Ingo Molnar wrote:
>
> yep, correct. But take a look at the trick it does with file descriptors,
> i believe it could be a useful way of doing things. It basically
> privatizes a struct file, without inserting it into the enumerated file
> descriptors. This shows that 'native files' are possible: file struct
> without file descriptor integers mapped to them.
That's nothing new: the exec() code does exactly the same.
In fact, there's a function for it: filp_open() and filp_close(). Which do
a better job of it than your private implementation did, I suspect.
I don't think your object fingerprints are anything more generic than the
current file descriptors.
Linus
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/
- Re: 'native files', 'object fingerprint... Andi Kleen
- O_ANY [was: Re: 'native files', 'objec... Ingo Molnar
- Re: O_ANY [was: Re: 'native files', 'o... Ingo Molnar
- Re: O_ANY [was: Re: 'native files', 'o... Peter Samuelson
- Re: O_ANY [was: Re: 'native files', 'o... Ingo Molnar
- Re: O_ANY [was: Re: 'native files', 'o... Felix von Leitner
- Re: O_ANY [was: Re: 'native files', 'o... Andi Kleen
- Re: O_ANY [was: Re: 'native files', 'o... Mitchell Blank Jr
- Re: 'native files', 'object fingerprint... Jamie Lokier
- Re: 'native files', 'object fingerprint... Felix von Leitner
- Re: 'native files', 'object fingerprint... Linus Torvalds
- Re: 'native files', 'object fingerprint... dean gaudet
- Re: 'native files', 'object fingerprint... Pavel Machek
- Re: 'native files', 'object fingerprint... Pavel Machek
- Re: [patch] sendpath() support, 2.4.0-t... Ingo Molnar
- Re: [patch] sendpath() support, 2.4.0-t... dean gaudet
- Re: Is sendfile all that sexy? dean gaudet
- Re: Is sendfile all that sexy? Ingo Molnar
- Re: Is sendfile all that sexy? Albert D. Cahalan
- Re: Is sendfile all that sexy? Linus Torvalds
- Re: Is sendfile all that sexy? Felix von Leitner

