lkml.org 
[lkml]   [2001]   [Jan]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From

    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 majordomo@vger.kernel.org
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 13:22    [W:0.020 / U:0.716 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site