|
From: Allen P. <pul...@co...> - 2008-06-12 17:00:50
|
> Ioctl is a broken interface because the third argument is > unstructured data. It may be an integer value, or it may be > a pointer to a structure of unknown length or it may be a > structure with pointers to other structures. Also it may be > an input, output or both. because of this it's basically > impossible to implement a fuse interface for it. Or you could simply decide what the 3rd arg should be for the purposes of a FUSE ioctl. Maybe a pointer to an input/output buffer where the first int is the buffer length? Then it would no longer do anything and everything, but it would be able to do some useful things. |