commit | 9e92f6d46233171898fc7d0487a04e5b78e44234 | [log] [tgz] |
---|---|---|
author | Luiz Capitulino <lcapitulino@redhat.com> | Tue Jan 08 19:26:26 2013 -0200 |
committer | Michael Roth <mdroth@linux.vnet.ibm.com> | Mon Jan 14 12:00:35 2013 -0600 |
tree | 400fcf75f6d84554821b6e40215a3c5a734895a9 | |
parent | 6ffacc5d3ddf2e3227aae2a8cc5c15627265f727 [diff] |
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>