FS#42405 - [libffi] consider enabling EMUTRAMP compatibility feature

Attached to Project: Arch Linux
Opened by Daniel Micay (thestinger) - Thursday, 16 October 2014, 14:25 GMT
Last edited by Bartłomiej Piotrowski (Barthalion) - Sunday, 26 October 2014, 11:00 GMT
Task Type Feature Request
Category Packages: Core
Status Closed
Assigned To Bartłomiej Piotrowski (Barthalion)
Architecture All
Severity Very Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No


libffi has support for making use of PaX's EMUTRAMP rather than injecting executable code at runtime. The feature is tiny so it would be nice to make it available by passing --enable-pax_emutramp to configure. In the past it lacked runtime detection, but now it checks /proc/self/status so there are no drawbacks to turning it on.

I think the previous lack of runtime detection is why there's a configure flag at all. The similar SELinux support is enabled by default.

This task depends upon

Closed by  Bartłomiej Piotrowski (Barthalion)
Sunday, 26 October 2014, 11:00 GMT
Reason for closing:  Implemented
Additional comments about closing:  libffi 3.1-3