lkml.org 
[lkml]   [1999]   [Jan]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: Adding checkpointing API to Linux kernel
    On Sat, 23 Jan 1999, Olaf Titz wrote:

    > > PS: How many things would break if we forced ioctls to _always_ pass
    > >
    > > struct foo {
    > > int len;
    > > char data[len];
    > > } ?
    >
    > At the user level, everything would break. ;-) But perhaps it would be
    > possible to redefine just the ioctl syscall (to take an additional
    > length parameter, perhaps) and let the library sort it out? This way
    > user programs would remain compatible.
    >
    > Olaf
    >

    It "would have been" ideal if the original ioctl() parameter passing
    was done like this. DEC called it a $DESCRIPTOR. Every sys-call had
    a length, followed by a type, followed by whatever...

    However, since we emulate Unix, to do this thing at this late date
    means that the length of every one of those structures has to be known
    to the C library interface. This may not be Good(tm).

    Cheers,
    Dick Johnson
    ***** FILE SYSTEM WAS MODIFIED *****
    Penguin : Linux version 2.1.131 on an i686 machine (400.59 BogoMips).
    Warning : It's hard to remain at the trailing edge of technology.
    Wisdom : It's not a Y2K problem. It's a Y2Day problem.



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

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