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

From: Roland Dreier
Date: Wed Sep 01 2004 - 11:11:26 EST


Albert> Per-command parameters included?

Albert> People really do want private syscalls. An ioctl is that,
Albert> in a namespace defined by the file descriptor. So ioctl()
Albert> provides local scope to something that would otherwise be
Albert> global.

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

- Roland
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/