]> git.proxmox.com Git - qemu.git/commit
qemu-ga: add ga_open_logfile()
authorLuiz Capitulino <lcapitulino@redhat.com>
Tue, 8 Jan 2013 21:26:26 +0000 (19:26 -0200)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Mon, 14 Jan 2013 18:00:35 +0000 (12:00 -0600)
commit9e92f6d46233171898fc7d0487a04e5b78e44234
tree400fcf75f6d84554821b6e40215a3c5a734895a9
parent6ffacc5d3ddf2e3227aae2a8cc5c15627265f727
qemu-ga: add ga_open_logfile()

This function sets O_CLOEXEC on the log file fd so that it isn't
leaked to executed processes.

Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Acked-by: Amos Kong <akong@redhat.com>
Tested-by: Amos Kong <akong@redhat.com>
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
qga/main.c