Re: how to add 32/64 compatible ioctls at runtime via module?

From: Chris Friesen
Date: Tue Dec 14 2004 - 12:48:27 EST


Mikael Pettersson wrote:

register_ioctl32_conversion(ioctl, handler)

tells your 64-bit kernel that the given ioctl, when issued by
a 32-bit mode task, should be routed to the given handler.
The handler can be NULL, in which case the ioctl is routed to
the normal handler via the filp.

Excellent. Thanks very much.

Chris
-
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/