lkml.org 
[lkml]   [1998]   [Jun]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectDuplicate ioctls in sound and tty
Date
strace-3.1-3 claimed that bash was doing ioctl SNDCTL_TMR_START on the
terminal. Turns out that include/asm-i386/ioctls.h defines 0x5402 to
be TCSETS, include/linux/soundcard.h defines SNDCTL_TMR_START as "_IO
('T', 2)" which also maps to 0x5402. Strange thing is that strace gets
the termios structure decode right, even though the ioctl name is
wrong. 2.0.34, glibc (Redhat 5.0).

Changing one of the ioctls to remove the duplicate would break existing
binaries, either tty or sound. Is it worth it?


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu

\
 
 \ /
  Last update: 2005-03-22 13:43    [W:2.754 / U:0.008 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site