lkml.org 
[lkml]   [2004]   [Dec]   [15]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
FromArnd Bergmann <>
SubjectRe: unregister_ioctl32_conversion and modules. ioctl32 revisited.
DateWed, 15 Dec 2004 17:45:31 +0100
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[]
lookup?

 Arnd <><


[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2005-03-22 14:08    [from the cache]
©2003-2008