13 lines
388 B
Diff
13 lines
388 B
Diff
|
Index: qemu-0.9.0/linux-user/syscall.c
|
||
|
===================================================================
|
||
|
--- qemu-0.9.0.orig/linux-user/syscall.c
|
||
|
+++ qemu-0.9.0/linux-user/syscall.c
|
||
|
@@ -791,6 +791,7 @@ static long do_socket(int domain, int ty
|
||
|
break;
|
||
|
}
|
||
|
#endif
|
||
|
+ if(domain == PF_NETLINK) return -EAFNOSUPPORT;
|
||
|
return get_errno(socket(domain, type, protocol));
|
||
|
}
|
||
|
|