[Bug 174933] [linux] if_nameindex fail in linuxulator enviroment (PF_NETLINK needed)
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=174933 Alex S changed: What|Removed |Added CC||iwt...@gmail.com --- Comment #5 from Alex S --- (In reply to pete from comment #4) > The issue is their DRM seems to trigger this bug > and the app is unable to authenticate against their license servers. > as it'll probably prevent other issues with linuxulator networking PF_NETLINK is only tangentially related to networking, it's a yet another (kernel) event notification mechanism stuffed into the socket API for some reason. Probably to work with epoll. It's very unlikely to be the cause of your issue. -- You are receiving this mail because: You are the assignee for the bug. ___ freebsd-emulation@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-emulation To unsubscribe, send any mail to "freebsd-emulation-unsubscr...@freebsd.org"
[Bug 174933] [linux] if_nameindex fail in linuxulator enviroment (PF_NETLINK needed)
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=174933 --- Comment #6 from p...@nomadlogic.org --- (In reply to Alex S from comment #5) Interesting, I thought it looked related because I am seeing this when running the binary through truss which looked very similar to Martin's original post: 89106: linux_socket(0x2,0x2,0x0) = 11 (0xb) 89106: linux_socket(0x10,0x3,0x0)ERR#-97 'Address family not supported by protocol family' 89106: write(1,"Failed to get if_nameindex: 97\n",31) = 31 (0x1f) In terms of the binary I unfortunately do not have much visibility into how they build it due to it being proprietary, but if this isn't related it'd be really appreciated if you could me in a better direction to debug this. -- You are receiving this mail because: You are the assignee for the bug. ___ freebsd-emulation@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-emulation To unsubscribe, send any mail to "freebsd-emulation-unsubscr...@freebsd.org"
[Bug 174933] [linux] if_nameindex fail in linuxulator enviroment (PF_NETLINK needed)
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=174933 --- Comment #7 from Alex S --- (In reply to pete from comment #6) Hmm… Judging by the installer/demo disassembly, this syscall comes from the function named GetMACAddressLIN, so intent is clear enough. The code mostly involves socket(AF_INET, SOCK_DGRAM, IPPROTO_IP) + SIOCGIFFLAGS and SIOCGIFHWADDR ioctls. However, there is also if_nameindex (obviously), which is internally implemented in glibc with a PF_NETLINK socket. X-Plane is probably only interested there in the name of the first returned interface. (Disclaimer: I'm not actually good at reading assembly by any measure.) If you are willing to spend your time on application-specific hacks, you should try writing LD_PRELOADable variants for if_nameindex and if_freenameindex. Either stub them or get the necessary information from linsysfs at /sys/class/net. -- You are receiving this mail because: You are the assignee for the bug. ___ freebsd-emulation@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-emulation To unsubscribe, send any mail to "freebsd-emulation-unsubscr...@freebsd.org"