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
_______________________________________________
Linux-streams mailing list
[email protected]
http://gsyc.escet.urjc.es/mailman/listinfo/linux-streams