aboutsummaryrefslogtreecommitdiff
path: root/drivers/virtio/virtio_balloon.c
diff options
context:
space:
mode:
authorAlex Williamson <alex.williamson@redhat.com>2013-08-22 10:33:41 -0600
committerAlex Williamson <alex.williamson@redhat.com>2013-08-22 10:33:41 -0600
commit5d042fbdbb2df46c9185942a0c6fe280906ba70c (patch)
tree87483859f6ac5cdd04209e6e0b16ec131766232c /drivers/virtio/virtio_balloon.c
parenta5d550703d2c2f0f9fc5fd4a249efa8984dc9353 (diff)
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 <ydroneaud@opteya.com> Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'drivers/virtio/virtio_balloon.c')
0 files changed, 0 insertions, 0 deletions