st/xa: replace call to dup(2) with fcntl(F_DUPFD_CLOEXEC)
Without this fix, duplicated file descriptors leak into child processes. See commit aaac913e for one instance where the same fix was employed. Cc: <mesa-stable@lists.freedesktop.org> Signed-off-by:Matt Whitlock <freedesktop@mattwhitlock.name> Reviewed-by:
Nicolai Hähnle <nicolai.haehnle@amd.com>
Showing