Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/tests/rump/modautoload needs mprotect disable since it loads...



details:   https://anonhg.NetBSD.org/src/rev/bb0e83ba0b5d
branches:  trunk
changeset: 347482:bb0e83ba0b5d
user:      christos <christos%NetBSD.org@localhost>
date:      Sat Aug 27 14:21:07 2016 +0000

description:
needs mprotect disable since it loads kernel code and relocates it.

diffstat:

 tests/rump/modautoload/Makefile |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (17 lines):

diff -r 18dac04d5725 -r bb0e83ba0b5d tests/rump/modautoload/Makefile
--- a/tests/rump/modautoload/Makefile   Sat Aug 27 14:19:47 2016 +0000
+++ b/tests/rump/modautoload/Makefile   Sat Aug 27 14:21:07 2016 +0000
@@ -1,9 +1,11 @@
-#      $NetBSD: Makefile,v 1.4 2016/08/20 17:06:18 christos Exp $
+#      $NetBSD: Makefile,v 1.5 2016/08/27 14:21:07 christos Exp $
 #
 
 TESTSDIR=      ${TESTSBASE}/rump/modautoload
-
+.include <bsd.init.mk>
+NOPIE=yes
 TESTS_C=       t_modautoload
+PAXCTL_FLAGS=  +m
 
 SRCS.t_modautoload+=   t_modautoload.c
 



Home | Main Index | Thread Index | Old Index