An ebuild patch to enable recent versions of wine to run without further modification on systems with mprotect from PAX enabled. Reproducible: Always Steps to Reproduce: 1. Emerge wine on a pax system w/ mprotect 2. try to run wine Actual Results: wine is killed by the kernel mprotect feature for trying to execute in anonymous memory Expected Results: wine should run without trouble I had a version this working on a 1.1.2 ebuild modified from the stock 1.1.0 ebuild. I can't get 1.1.3 to build, but that is a different issue.
Created attachment 164071 [details, diff] A patch to the ebuild for app-emulation/wine this should enable wine to run on hardened systems without modification, however it is not production ready I think, in that there are likely apps that would remain broken.
Comment on attachment 164071 [details, diff] A patch to the ebuild for app-emulation/wine not the way to go ... find the real issue and address it
*** This bug has been marked as a duplicate of bug 164814 ***