Re: [libvirt] [PATCH] Fix F_DUPFD_CLOEXEC operation args

2013-06-11 Thread Paolo Bonzini
Il 03/05/2013 06:12, Daniel P. Berrange ha scritto: From: Daniel P. Berrange berra...@redhat.com The F_DUPFD_CLOEXEC operation with fcntl() expects a single int argument, specifying the minimum FD number for the newly dup'd file descriptor. We were not specifying that causing random stack

Re: [libvirt] [PATCH] Fix F_DUPFD_CLOEXEC operation args

2013-06-11 Thread Cole Robinson
On 06/11/2013 10:51 AM, Paolo Bonzini wrote: Il 03/05/2013 06:12, Daniel P. Berrange ha scritto: From: Daniel P. Berrange berra...@redhat.com The F_DUPFD_CLOEXEC operation with fcntl() expects a single int argument, specifying the minimum FD number for the newly dup'd file descriptor. We

[libvirt] [PATCH] Fix F_DUPFD_CLOEXEC operation args

2013-05-03 Thread Daniel P. Berrange
From: Daniel P. Berrange berra...@redhat.com The F_DUPFD_CLOEXEC operation with fcntl() expects a single int argument, specifying the minimum FD number for the newly dup'd file descriptor. We were not specifying that causing random stack data to be accessed as the FD number. Sometimes that

Re: [libvirt] [PATCH] Fix F_DUPFD_CLOEXEC operation args

2013-05-03 Thread Eric Blake
On 05/03/2013 04:12 AM, Daniel P. Berrange wrote: From: Daniel P. Berrange berra...@redhat.com The F_DUPFD_CLOEXEC operation with fcntl() expects a single int argument, specifying the minimum FD number for the newly dup'd file descriptor. We were not specifying that causing random stack

Re: [libvirt] [PATCH] Fix F_DUPFD_CLOEXEC operation args

2013-05-03 Thread Eric Blake
On 05/03/2013 06:06 AM, Eric Blake wrote: On 05/03/2013 04:12 AM, Daniel P. Berrange wrote: From: Daniel P. Berrange berra...@redhat.com The F_DUPFD_CLOEXEC operation with fcntl() expects a single int argument, specifying the minimum FD number for the newly dup'd file descriptor. We were not