mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-12-28 18:54:55 +00:00
190b9110c2
Introduce a new %run_nomprotect substitution to run tests that do not work with MPROTECT enabled. This uses paxctl via a wrapper on NetBSD, and evaluates to plain %run on other systems. Differential Revision: https://reviews.llvm.org/D71513
4 lines
49 B
Bash
4 lines
49 B
Bash
#!/bin/sh
|
|
/usr/sbin/paxctl +m "${1}"
|
|
exec "${@}"
|