linux-kernel  

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

Peter Samuelson
Tue, 16 Jan 2001 04:02:02 -0800

[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.

>       fd = open(...,O_ANY);

I like this idea, but call it O_ALLOCANYFD.

Peter
-
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/