Solar Designer fixed the ioctl reporting code to report multiple matches (if that is the case). Previously, depending on bsearch(3) implementation, strace could favor audio ioctls over terminal ones where the numbers conflict (on Linux), even though the terminal ioctls are obviously far more common. Now it will report them like this: ioctl(0, TCGETS or SNDCTL_TMR_TIMEBASE, {B9600 opost isig icanon echo ...}) = 0
Created attachment 94712 [details] proposed patch
I've put this patch in.
Applied in strace-4.5.1
An errata has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on the solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2003-294.html