summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortduehr <td@matasano.com>2016-11-11 09:34:22 -0600
committerGitHub <noreply@github.com>2016-11-11 09:34:22 -0600
commitcd1ea5c3cbfe7a433098064a755a47dee039731c (patch)
tree23be5d5773dfdd423d9ba11b43f293b6ca3b6cbf
parentd73b7baecaab71edea54d538f0c8b018da8821a7 (diff)
parentf6b589406d6660c97b1fff73e4b590801142f52d (diff)
downloadffi-cd1ea5c3cbfe7a433098064a755a47dee039731c.tar.gz
Merge pull request #533 from srse/gentoo_hint_for_readme
Updated README.md
-rw-r--r--README.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/README.md b/README.md
index ec4a57f..8ab8efa 100644
--- a/README.md
+++ b/README.md
@@ -43,6 +43,8 @@ At a minimum, you will need:
* A C compiler (e.g. Xcode on OSX, gcc on everything else)
* libffi development library - this is commonly in the libffi-dev or libffi-devel
+On Linux systems running with [PaX](https://en.wikipedia.org/wiki/PaX) (Gentoo, Alpine, etc.) FFI may trigger `mprotrect` errors. You may need to disable [mprotect](https://en.wikibooks.org/wiki/Grsecurity/Appendix/Grsecurity_and_PaX_Configuration_Options#Restrict_mprotect.28.29) for ruby (`paxctl -m [/path/to/ruby]`) for the time being until a solution is found.
+
## Installation
From rubygems: