提交 12bc92ab 编写于 作者: B balrog

Do not make NETLINK socket connections possible (Alexander Graf).


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3488 c046a42c-6fe2-441c-8c8c-71466251a162
上级 86c4a9f5
......@@ -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));
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册