https://bugs.winehq.org/show_bug.cgi?id=47198
--- Comment #40 from Andrew Wesie awesie@gmail.com --- (In reply to Andrew Wesie from comment #39)
This patch is better than the previous ones because it is simpler and does not require patching libc. It is also worse than the previous ones because it is more of a hack and moves us further away from a real Windows environment.
I forgot to mention that the alternative patch may require users to disable vdso32 via echo 0 > /proc/sys/abi/vsyscall32. This is because sysenter / syscall do not restore the %cs selector, but reset it to the default value.