[PATCH]: linux ioctls not implemented - advice?

Roman Divacky rdivacky at freebsd.org
Tue Jul 24 20:41:08 UTC 2007


On Tue, Jul 24, 2007 at 10:19:24PM +0200, Roman Divacky wrote:
> > Two attempts to use ioctl 0x8938 and four attempts to use ioctl 0x8933 every 
> > time I start the executable (regardless of login attempts).
> > 
> > The message is fairly explanatory; my question is what can I do about it? Is 
> > there a canonical list of Linux ioctls anywhere that would tell me what this 
> > binary is trying to do? From the behavior I'm seeing and from looking at 
> > linux_ioctl.h I suspect that they belong in the "socket" category, but that's 
> > as far as I've gotten.
> 
> #define SIOCGIFINDEX    0x8933          /* name -> if_index mapping     */
> #define SIOCGIFCOUNT    0x8938          /* get number of devices */
> 
> I might look at at. should not be that hard to implement those. are you willing to test
> patches?

www.vlakno.cz/~rdivacky/linux_socket.patch

please report back... also.. it would be nice if this patch does not work
that you can provide me strace from real linux. the second ioctl is not
implemented on linux and I am not sure how to fake that..

thnx


More information about the freebsd-emulation mailing list