summary refs log tree commit diff
path: root/pkgs/development/compilers/rustc/patches/grsec.patch
blob: 84582ab7d70f4637c7d38ec1d0cb45b1de596ad6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
diff --git a/src/test/run-make/relocation-model/Makefile b/src/test/run-make/relocation-model/Makefile
index 2fcdd32..2d9ddb0 100644
--- a/src/test/run-make/relocation-model/Makefile
+++ b/src/test/run-make/relocation-model/Makefile
@@ -5,9 +5,11 @@ all:
 	$(call RUN,foo)
 
 	$(RUSTC) -C relocation-model=default foo.rs
+	paxctl -czexm $(TMPDIR)/foo
 	$(call RUN,foo)
 
 	$(RUSTC) -C relocation-model=static foo.rs
+	paxctl -czexm $(TMPDIR)/foo
 	$(call RUN,foo)
 
 	$(RUSTC) -C relocation-model=default --crate-type=dylib foo.rs