From: Alex Williamson Date: Thu, 22 Aug 2013 16:33:41 +0000 (-0600) Subject: vfio: Add O_CLOEXEC flag to vfio device fd X-Git-Tag: v3.12-rc1~86^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5d042fbdbb2df46c9185942a0c6fe280906ba70c;p=pandora-kernel.git 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-diff-tree failed