26d90674c2
dup() will leak the new FD into any child process after fork(). Signed-off-by: Simon Ser <contact@emersion.fr> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26203>