lkml.org 
[lkml]   [1998]   [Jun]   [24]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
FromKeith Owens <>
SubjectDuplicate ioctls in sound and tty
DateWed, 24 Jun 1998 18:52:48 +1000
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 12:43    [from the cache]
©2003-2008