nning / linux-pax-flags

Deactivates PaX flags for several binaries to work with PaX enabled kernels.
7 stars 6 forks source link

Add wine64-preloader with the same options as wine-preloader #5

Closed fishilico closed 10 years ago

fishilico commented 10 years ago

When launching 64-bits Windows executable with wine, wine64 is invoked. This fails with a grsec kernel because wine64 can't load the program into memory (error message: "wine: Invalid parameter.", exit code 87).

After doing paxctl -cpsmxer /usr/bin/wine64-preloader wine64 works fine. Could you add /usr/bin/wine64-preloader near /usr/bin/wine-preloader in simple.conf?

On my system (Archlinux) /usr/bin/wine64 doesn't need PT_PAX_FLAGS to work fine with the programs I'm using, unlike what is currently set for /usr/bin/wine.

nning commented 10 years ago

Thanks for reporting! (It seemed, /usr/bin/wine really does not need any PaX features deactivated.)