summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/dri/dri2.c
diff options
context:
space:
mode:
authorMatt Whitlock <[email protected]>2016-10-01 23:49:42 -0400
committerNicolai Hähnle <[email protected]>2016-10-04 11:08:55 +0200
commit5d0069eca2c5e29ef9255f9b0e70d4daefd10ce8 (patch)
treef570c8583e64f8b2cbd2510c70825d72d2241a61 /src/gallium/state_trackers/dri/dri2.c
parentc8fd7d060d000a89f08f690ec72349ab97ae41bc (diff)
gallium/auxiliary: replace call to dup(2) with fcntl(F_DUPFD_CLOEXEC)
Without this fix, duplicated file descriptors leak into child processes. See commit aaac913e901229d11a1894f6aaf646de6b1a542c for one instance where the same fix was employed. Cc: <[email protected]> Signed-off-by: Matt Whitlock <[email protected]> Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers/dri/dri2.c')
0 files changed, 0 insertions, 0 deletions