freedreno: replace all dup() with os_dupfd_cloexec()
authorEric Engestrom <eric@engestrom.ch>
Fri, 5 Jun 2020 08:22:47 +0000 (10:22 +0200)
committerMarge Bot <eric+marge@anholt.net>
Thu, 18 Jun 2020 02:09:56 +0000 (02:09 +0000)
commit9ca2a4e6fc9d059a024ba8da20891ccf79ba659d
tree571a9fa020e30e677ea279b692c0eb77d6c3fd9e
parentbd5cf70d3db711c31a2f2fca4eb05e20c185e38c
freedreno: replace all dup() with os_dupfd_cloexec()

Signed-off-by: Eric Engestrom <eric@engestrom.ch>
Reviewed-by: Kristian H. Kristensen <hoegsberg@google.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5369>
src/freedreno/drm/freedreno_device.c
src/freedreno/vulkan/tu_android.c
src/gallium/drivers/freedreno/freedreno_fence.c