Skip to content

Commit fd63259

Browse files
authored
Merge pull request #1458 from xen0n/patch-1
Allow running on PaX kernels
2 parents 5201f76 + 29fc2f5 commit fd63259

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

assets/build/install.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,11 @@ cd -
4242
rm -rf /tmp/re2
4343
DEBIAN_FRONTEND=noninteractive apt-get purge -y --auto-remove checkinstall
4444

45+
# PaX-mark ruby
46+
# Applying the mark late here does make the build usable on PaX kernels, but
47+
# still the build itself must be executed on a non-PaX kernel. It's done here
48+
# only for simplicity.
49+
paxctl -Cm `which ruby${RUBY_VERSION}`
4550
# https://en.wikibooks.org/wiki/Grsecurity/Application-specific_Settings#Node.js
4651
paxctl -Cm `which nodejs`
4752

0 commit comments

Comments
 (0)