[Swan] valgrind and ioctl 0x89f3
D. Hugh Redelmeier
hugh at mimosa.com
Thu Mar 7 07:16:54 EET 2013
Valgrind sometimes issues the following warning on Pluto:
==17548== Warning: noted but unhandled ioctl 0x89f3 with no size/direction hints
This means that valgrind doesn't know (hasn't been told) what this
ioctl is.
Well it appears that there are a lot of them.
/usr/include/bits/ioctls.h:103:#define SIOCDEVPRIVATE 0x89F0 /* to 89FF */
/usr/include/linux/if_frad.h:38:#define DLCI_SET_CONF (SIOCDEVPRIVATE + 3)
/usr/include/linux/if_tunnel.h:11:#define SIOCCHGTUNNEL (SIOCDEVPRIVATE + 3)
/usr/include/linux/if_eql.h:31:#define EQL_SETSLAVECFG (SIOCDEVPRIVATE + 3)
/usr/include/linux/if_cablemodem.h:18:#define SIOCSCMFREQUENCY SIOCDEVPRIVATE+3 /* set cable modem frequency */
/usr/include/linux/irda.h:167:#define SIOCSMEDIABUSY (SIOCDEVPRIVATE + 3)
/usr/include/linux/isdn.h:62:#define SIOCSDEBSERINT (SIOCDEVPRIVATE + 3)
/usr/include/linux/if_slip.h:25:#define SIOCGOUTFILL (SIOCDEVPRIVATE+3) /* Get outfill timeout */
Clearly which one we're using depends on the device. In fact, the
code does not seem to reference any of these constants, so it isn't
clear who's calling which ioctl.
BTW, this definition
#define SIOCSCMFREQUENCY SIOCDEVPRIVATE+3 /* set cable modem frequency */
should be changed to
#define SIOCSCMFREQUENCY (SIOCDEVPRIVATE+3) /* set cable modem frequency */
More information about the Swan
mailing list