mirror of
https://github.com/xemu-project/xemu.git
synced 2025-02-12 15:38:21 +00:00
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
This commit is contained in:
parent
86c4a9f513
commit
12bc92ab8a
@ -978,6 +978,8 @@ static abi_long do_socket(int domain, int type, int protocol)
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
if (domain == PF_NETLINK)
|
||||||
|
return -EAFNOSUPPORT; /* do not NETLINK socket connections possible */
|
||||||
return get_errno(socket(domain, type, protocol));
|
return get_errno(socket(domain, type, protocol));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user