Re: duplicated ioctl32 handler
Steve Schefter <[email protected]> Mon, 13 Feb 2006 11:46:46 -0500
| Newsgroups | gmane.linux.kernel.streams |
|---|---|
| Organization | The Software Group Limited |
| Message-ID | <[email protected]> |
Brian F. G. Bidulock wrote: > - For LiS I will rip the ioctl conversion hash table and the cdrom > conversion functions from the system map and override the CDROM > ioctls with a function that checks for character or block device and > then either calls the CDROM conversion or calls the STREAMS > conversions. > > - For Linux Fast-STREAMS I will take the same approach before kernel > 2.6.11. For kernel 2.6.11 and beyond I will define the compat_ioctl > file operation to perform device specific conversions. (LiS cannot > handle unlocked ioctls so this approach is pointless for LiS.) Why does LiS need the kernel lock for ioctls? What about using compat_ioctl() for LiS and have the underlying function grab the kernel lock before it does anything else? Steve ------------------------------------------------------------------------ Steve Schefter phone: +1 705 725 9999 x26 The Software Group Limited fax: +1 705 725 9666 642 Welham Road, email: [email protected] Barrie, Ontario CANADA L4N 9A1 Web: www.wanware.com