From 5d042fbdbb2df46c9185942a0c6fe280906ba70c Mon Sep 17 00:00:00 2001 From: Alex Williamson Date: Thu, 22 Aug 2013 10:33:41 -0600 Subject: [PATCH] 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 Signed-off-by: Alex Williamson --- Reading git-format-patch failed