Re: [Qemu-devel] [PATCH 2/2] qemu-ga: add ga_open_logfile()

2013-01-08 Thread Eric Blake
On 01/08/2013 02:26 PM, Luiz Capitulino wrote: > This function sets O_CLOEXEC on the log file fd so that it isn't > leaked to executed processes. > > Signed-off-by: Luiz Capitulino > --- > qga/main.c | 17 +++-- > 1 file changed, 15 insertions(+), 2 deletions(-) Reviewed-by: Eric Bl

[Qemu-devel] [PATCH 2/2] qemu-ga: add ga_open_logfile()

2013-01-08 Thread Luiz Capitulino
This function sets O_CLOEXEC on the log file fd so that it isn't leaked to executed processes. Signed-off-by: Luiz Capitulino --- qga/main.c | 17 +++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/qga/main.c b/qga/main.c index e4245cc..15be74f 100644 --- a/qga/main