vfio: Add O_CLOEXEC flag to vfio device fd
vfio: Add O_CLOEXEC flag to vfio device fd

Add the default O_CLOEXEC flag for device file descriptors.  This is
generally considered a safer option as it allows the user a race free
option to decide whether file descriptors are inherited across exec,
with the default avoiding file descriptor leaks.

Reported-by: Yann Droneaud <32f7bf5a1f07a8b363256f1773dbeada59d65244@opteya.com>
Signed-off-by: Alex Williamson <7469de9b95ba379e2656fa9677689657c47a7690@redhat.com>

KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs