diff options
-rw-r--r-- | linux-user/syscall.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/linux-user/syscall.c b/linux-user/syscall.c index cf39f15350..6d1997e09a 100644 --- a/linux-user/syscall.c +++ b/linux-user/syscall.c @@ -978,6 +978,8 @@ static abi_long do_socket(int domain, int type, int protocol) break; } #endif + if (domain == PF_NETLINK) + return -EAFNOSUPPORT; /* do not NETLINK socket connections possible */ return get_errno(socket(domain, type, protocol)); } |