mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-25 12:15:32 +03:00
12 lines
296 B
Bash
12 lines
296 B
Bash
#!/bin/sh
|
|
|
|
if grep -qw PaX /proc/$$/status 2>/dev/null; then
|
|
cat >&2 <<-EOF
|
|
!!
|
|
!! ruby-ffi does not work on kernel with PaX, unless you disable MPROTECT
|
|
!! for ruby binary. If you're aware of security implications, execute:
|
|
!!
|
|
!! apk add paxmark && paxmark -m /usr/bin/ruby
|
|
!!
|
|
EOF
|
|
fi
|