Skip to content

Commit

Permalink
Disable MMAP workaround for Selinux
Browse files Browse the repository at this point in the history
  • Loading branch information
dbussink committed Jul 15, 2013
1 parent d6d686e commit 06e672b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions vendor/libffi/src/closures.c
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,12 @@
/* When defined to 1 check for SELinux and if SELinux is active,
don't attempt PROT_EXEC|PROT_WRITE mapping at all, as that
might cause audit messages. */
/*
We disable this on Rubinius since it causes crashes. The JIT
needs to be able to create these mappings anyway, so it doesn't
create an additional depedency in FFI.
# define FFI_MMAP_EXEC_SELINUX 1
*/
# endif
#endif

Expand Down

0 comments on commit 06e672b

Please sign in to comment.