]> git.proxmox.com Git - qemu.git/commit - qemu-char.c
qemu-char: Add MSG_CMSG_CLOEXEC flag to recvmsg
authorCorey Bryant <coreyb@linux.vnet.ibm.com>
Tue, 14 Aug 2012 20:43:42 +0000 (16:43 -0400)
committerKevin Wolf <kwolf@redhat.com>
Wed, 15 Aug 2012 08:48:57 +0000 (10:48 +0200)
commit06138651f3347a4ad7527d48b1ccbeae89f9e7f6
tree1d3b6ef01875511ab5ca852641d40e1e225d4c93
parent03834e22abafbc8dc4052d46a5ccd6dd135a54a3
qemu-char: Add MSG_CMSG_CLOEXEC flag to recvmsg

Set the close-on-exec flag for the file descriptor received
via SCM_RIGHTS.

Signed-off-by: Corey Bryant <coreyb@linux.vnet.ibm.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
qemu-char.c