lkml.org 
[lkml]   [1999]   [Jan]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Adding checkpointing API to Linux kernel
Hi Pavel,

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

Everything would break. Remember that lots of programs use terminal
control ioctls.

So far I've seen two design ideas. One is an new 'nioctl' system call
which takes 'len' as a fourth parameter. The other is to add
'ioctl_register' and 'ioctl_unregister' to the kernel, so that the
kernel knows this information and can export it, even though the
information is not present in the API.

Michael

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