From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53799) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aPdzB-0005rd-17 for qemu-devel@nongnu.org; Sat, 30 Jan 2016 17:27:20 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aPdzA-0004Ev-9l for qemu-devel@nongnu.org; Sat, 30 Jan 2016 17:27:16 -0500 Received: from smtp1-g21.free.fr ([212.27.42.1]:20786) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aPdzA-0004Ep-3Z for qemu-devel@nongnu.org; Sat, 30 Jan 2016 17:27:16 -0500 From: Laurent Vivier Date: Sat, 30 Jan 2016 23:26:59 +0100 Message-Id: <1454192820-5095-3-git-send-email-laurent@vivier.eu> In-Reply-To: <1454192820-5095-1-git-send-email-laurent@vivier.eu> References: <1454192820-5095-1-git-send-email-laurent@vivier.eu> Subject: [Qemu-devel] [PATCH RFC 2/3] linux-user: support netlink protocol NETLINK_KOBJECT_UEVENT List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Riku Voipio Cc: Laurent Vivier , qemu-devel@nongnu.org, agraf@suse.de This is the protocol used by udevd to manage kernel events. Signed-off-by: Laurent Vivier --- linux-user/syscall.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/linux-user/syscall.c b/linux-user/syscall.c index a1ed2f5..790ae49 100644 --- a/linux-user/syscall.c +++ b/linux-user/syscall.c @@ -2572,6 +2572,9 @@ static abi_long do_socket(int domain, int type, int protocol) case NETLINK_ROUTE: fd_trans_register(ret, &target_netlink_route_trans); break; + case NETLINK_KOBJECT_UEVENT: + /* nothing to do: messages are strings */ + break; default: close(ret); ret = -EPFNOSUPPORT; -- 2.5.0