Hello, Miklos. Sorry about the extra long delay. I was buried alive
under bugs and regressions with SLE11 release date nearing and all.
Miklos Szeredi wrote:
Thanks.
Hmmm... I'll try to find out whether I can use f_flags. There was
something that prevented it from working properly. I'll dig.
Read/write already passes @offset, so the only thing required is an
extra flag there. I mainly wanted a way for a CUSE server to veto lseek
with proper error and still think it's better to have this as we don't
really know what wacky users are out there. What do you think about an
extra flag?
Sure thing.
For now, I'll limit ioctl to CUSE. Hmmm... Yeah, limiting ioctl to
well-formatted ones sounds like a good idea.
Cool.
Alright.
For most it would work, I suppose, but there are all sorts of wonky
users out in the wild (and quite a few that we don't have source access
to) and different configurations, so I think it's better to appear as
proper character device if it is a character device. It will also help
udev and other desktop thingies deal with devices implemented in userland.
Thanks.
--
tejun
--