Guardian Digital Inc. >
Mailing List Archives >
Linux Kernel Mailing List Archive
On Middeweken 15 Dezember 2004 17:12, Andi Kleen wrote:
> > If the dasd driver now implements an ioctl_compat() method, who will
> > call the standard conversion handlers?
> How about just calling back to a special function from these
> special ioctl handlers?
Sorry, I don't understand. AFAICS, if the driver does not have a
ioctl_compat() file op, it will only be called for those ioctl numbers
that are registered in fs/compat_ioctl.c, but not for the ones that were
added by a third party module.
If it has a ioctl_compat() function, it can handle its own ioctls including
those that are dynamically added, but not any generic ones that have static
conversion functions in fs/compat_ioctl.c. Do you mean it should call back
from its private ioctl_compat() function to the global ioctl32_hash_table
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to email@example.com
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
- application/pgp-signature attachment: signature