Messages in this thread | | | Date | Fri, 22 Jan 1999 09:12:05 -0600 | From | Michael Elizabeth Chastain <> | Subject | Re: 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/
| |