etnaviv: replace all dup() with os_dupfd_cloexec()
authorEric Engestrom <eric@engestrom.ch>
Fri, 5 Jun 2020 08:22:29 +0000 (10:22 +0200)
committerMarge Bot <eric+marge@anholt.net>
Thu, 18 Jun 2020 02:09:56 +0000 (02:09 +0000)
commitbd5cf70d3db711c31a2f2fca4eb05e20c185e38c
treee2ff0e60bcedda267da4ec6bf5cc687f82e4f294
parent419b446e1e05bfa5bae310656ee8a89f84489d5e
etnaviv: 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/etnaviv/drm/etnaviv_device.c
src/gallium/drivers/etnaviv/etnaviv_fence.c