On 31/07/07, Ravid Baruch Naali <[EMAIL PROTECTED]> wrote: > > I missed understood one thing do you want to add a system call to any file > descriptor > or just have a way to inquire some data or operate from/on the kernel?
The ideal system call interface would take an open file descriptor and an additional parameter and operate on the open file descriptor. Barring that, I suppose the ioctl will take the file descriptor and the other parameter inside a struct pointed to by the ioctl parameter. Thanks, --Amos