Re: compat_ioctl question

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Arnd Bergmann <arnd@...>
Cc: Linux Kernel Mailing List <linux-kernel@...>
Date: Thursday, April 26, 2007 - 6:42 pm

Arnd Bergmann wrote:

drivers/char/synclink.c
drivers/char/synclinkmp.c
drivers/char/synclink_gt.c
drivers/char/pcmcia/synclink_cs.c

All use the same set of ioctl() codes that
are peculiar to the synclink drivers.

Defining compat_ioctl() seems to be the best way, but
that will require modifying the base tty code to allow
the individual tty drivers to register compat_ioctl().

Currently the tty file ops do not include that and
tty_io.c does not register a compat_ioctl(), instead
relying on compat_ioctl.h and compat_ioctl.c

--
Paul

-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
compat_ioctl question, Paul Fulghum, (Thu Apr 26, 4:51 pm)
Re: compat_ioctl question, Andi Kleen, (Thu Apr 26, 8:38 pm)
Re: compat_ioctl question, Arnd Bergmann, (Thu Apr 26, 5:37 pm)
Re: compat_ioctl question, Paul Fulghum, (Thu Apr 26, 6:42 pm)
Re: compat_ioctl question, Arnd Bergmann, (Thu Apr 26, 6:08 pm)
[PATCH] tty add compat_ioctl method, Paul Fulghum, (Wed May 2, 1:52 pm)
Re: [PATCH] tty add compat_ioctl method, Arnd Bergmann, (Wed May 2, 5:55 pm)
Re: [PATCH] tty add compat_ioctl method, Paul Fulghum, (Wed May 2, 7:03 pm)
Re: [PATCH] tty add compat_ioctl method, Arnd Bergmann, (Wed May 2, 6:28 pm)
Re: compat_ioctl question, Paul Fulghum, (Thu Apr 26, 7:15 pm)