lkml.org 
[lkml]   [1999]   [Jan]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: Adding checkpointing API to Linux kernel
    From
    Date
    Pavel Machek <pavel@bug.ucw.cz> writes:

    >
    > PS: How many things would break if we forced ioctls to _always_ pass
    >
    > struct foo {
    > int len;
    > char data[len];
    > } ?
    >

    Most things, I guess... :-) That's like changing the semantics of any
    more or less standard system call.

    OTOH, what can be done is to change all Linux-specific ioctl's to take
    a structure above and to leave the cross-platform ones intact (like
    BSD screen ctl etc). Then, a program in question would have an ugly
    table which would store lengths of the 3rd arg based on an ioctl
    number - still better than nothing.

    --
    Alexander L. Belikoff
    Bloomberg L.P. / BFM Financial Research Ltd.
    abel@vallinor4.com, abel@bfr.co.il

    -
    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:5.320 / U:0.768 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site