FFI fails if /tmp is mounted 'noexec'
-------------------------------------

                 Key: JRUBY-6063
                 URL: https://jira.codehaus.org/browse/JRUBY-6063
             Project: JRuby
          Issue Type: Bug
            Reporter: Jordan Sissel
            Assignee: Thomas E Enebo


Seems like using ffi on linux systems with /tmp mounted 'noexec' fails because 
ffi wants to load unpacked library code from /tmp - this is blocked if /tmp is 
mounted noexec on linux and other platforms.

Specific error:

{noformat}
java.lang.UnsatisfiedLinkError: /tmp/jffi5467061479768940408.tmp: 
/tmp/jffi5467061479768940408.tmp: failed to map segment from shared object: 
Operation not permitted
{noformat}



--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to