mirror of
https://github.com/SerenityOS/serenity
synced 2026-05-09 00:22:43 +02:00
This is racy in userspace and non-racy in kernelspace so let's keep it in kernelspace. The behavior change where CLOEXEC is preserved when dup2() is called with (old_fd == new_fd) was good though, let's keep that.