mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-09 06:00:15 +02:00
When an anonymous FD is passed to execveat that has the CLOEXEC flag set, then binfmt_misc fails with ENOENT. Workaround this limitation by duplicating the FD, stripping its CLOEXEC flag in the process. For #5234