On Tue, 16 Jan 2001, Peter Samuelson wrote:
> [Ingo Molnar]
> > - probably the most radical solution is what i suggested, to
> > completely avoid the unique-mapping of file structures to an integer
> > range, and use the address of the file structure (and some cookies)
> > as an identification.
>
> Careful, these must cast to non-negative integers, without clashing.
if you read my (radical) proposal, the identification is based on a kernel
pointer and a 256-bit random integer. So non-negative integers are not
needed. (file-IO system-calls would be modified to detect if 'Unix file
descriptors' or pointers to 'native file descriptors' are passed to them,
so this is truly radical.)
Ingo
-
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/
- [patch] sendpath() support, 2.4.0-test3/-ac9 Ingo Molnar
- Re: [patch] sendpath() support, 2.4.0-test3/-ac9 dean gaudet
- Re: [patch] sendpath() support, 2.4.0-test3/-ac9 Linus Torvalds
- 'native files', 'object fingerprints' [was: sendpat... Ingo Molnar
- Re: 'native files', 'object fingerprints' [was: sen... Andi Kleen
- Re: 'native files', 'object fingerprints' [was: sen... Ingo Molnar
- Re: 'native files', 'object fingerprints' [was: sen... Andi Kleen
- O_ANY [was: Re: 'native files', 'object fingerprin... Ingo Molnar
- Re: O_ANY [was: Re: 'native files', 'object finger... Ingo Molnar
- Re: O_ANY [was: Re: 'native files', 'object finger... Peter Samuelson
- Re: O_ANY [was: Re: 'native files', 'object finger... Ingo Molnar
- Re: O_ANY [was: Re: 'native files', 'object finger... Felix von Leitner
- Re: O_ANY [was: Re: 'native files', 'object finger... Andi Kleen
- Re: O_ANY [was: Re: 'native files', 'object finger... Mitchell Blank Jr
- Re: 'native files', 'object fingerprints' [was: sen... Jamie Lokier
- Re: 'native files', 'object fingerprints' [was: sen... Felix von Leitner
- Re: 'native files', 'object fingerprints' [was: sen... Linus Torvalds
- Re: 'native files', 'object fingerprints' [was: sen... dean gaudet
- Re: 'native files', 'object fingerprints' [was: sen... Pavel Machek
- Re: 'native files', 'object fingerprints' [was: sen... Pavel Machek
- Re: [patch] sendpath() support, 2.4.0-test3/-ac9 Ingo Molnar

