While using i386 X applications on ppc I had to find out that netlink
communication is not endianness-aware (X apps just hang forever waiting
for a reply on a netlink socket). Because it is basically only used for
programs that are not really supposed to be emulated (like udev afaik)
there should be no problem to just shut it off.

Alex
Index: qemu/linux-user/syscall.c
===================================================================
--- qemu.orig/linux-user/syscall.c
+++ qemu/linux-user/syscall.c
@@ -898,6 +906,7 @@ static long do_socket(int domain, int ty
         break;
     }
 #endif
+    if(domain == PF_NETLINK) return -EAFNOSUPPORT; /* do not make NETLINK 
socket connections possible */
     return get_errno(socket(domain, type, protocol));
 }
 

Reply via email to