Re: f_ops flag to speed up compatible ioctls in linux kernel

Roland Dreier
2004-09-01T23:14:00Z

Roland> Yes, this is exactly right. One issue raised by this
Roland> thread is that the ioctl32 compatibility code only allows
Roland> one compatibility handler per ioctl number. It seems that
Roland> this creates all sorts of possibilities for mayhem because
Roland> it makes the ioctl namespace global in scope in some
Roland> situations. Does anyone have any thoughts on if/how this
Roland> should be addressed?

Michael> Thats what my original patch attempts to address
Michael> http://www.uwsg.indiana.edu/hypermail/linux/kernel/0409.0/0025.html
Michael> What do you think?

That patch seems somewhat orthogonal to the issue I raised. You're
just fixing the problem for devices that don't use the ioctl32 compat
layer.

- Roland