Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tests Disable PAX mprotect to make just-in-time-compile test...
details: https://anonhg.NetBSD.org/src/rev/217900b35613
branches: trunk
changeset: 345390:217900b35613
user: hannken <hannken%NetBSD.org@localhost>
date: Tue May 24 10:16:34 2016 +0000
description:
Disable PAX mprotect to make just-in-time-compile tests work again.
Ok: Christos Zoulas
diffstat:
tests/lib/libbpfjit/Makefile | 4 +++-
tests/net/bpfjit/Makefile | 4 +++-
2 files changed, 6 insertions(+), 2 deletions(-)
diffs (36 lines):
diff -r 6364d6b07c57 -r 217900b35613 tests/lib/libbpfjit/Makefile
--- a/tests/lib/libbpfjit/Makefile Tue May 24 09:55:57 2016 +0000
+++ b/tests/lib/libbpfjit/Makefile Tue May 24 10:16:34 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2014/06/25 19:13:27 alnsn Exp $
+# $NetBSD: Makefile,v 1.6 2016/05/24 10:16:34 hannken Exp $
.include <bsd.own.mk>
.include <../../../external/bsd/sljit/Makefile.inc>
@@ -9,6 +9,8 @@
TESTS_C+= t_extmem
TESTS_C+= t_cop
+PAXCTL_FLAGS= +m
+
# XXX this variable doesn't belong to here
LIBBPFJITDIR!= cd ${NETBSDSRCDIR}/lib/libbpfjit && ${PRINTOBJDIR}
diff -r 6364d6b07c57 -r 217900b35613 tests/net/bpfjit/Makefile
--- a/tests/net/bpfjit/Makefile Tue May 24 09:55:57 2016 +0000
+++ b/tests/net/bpfjit/Makefile Tue May 24 10:16:34 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2014/07/09 13:50:48 alnsn Exp $
+# $NetBSD: Makefile,v 1.5 2016/05/24 10:16:34 hannken Exp $
#
.include <bsd.own.mk>
@@ -10,6 +10,8 @@
TESTS_C+= t_extmem
TESTS_C+= t_mbuf
+PAXCTL_FLAGS= +m
+
LDADD+= -lrumpnet_bpfjit -lrumpkern_sljit
LDADD+= -lrumpdev_bpf -lrumpnet_net -lrumpnet
LDADD+= -lrump -lrumpuser -lpthread
Home |
Main Index |
Thread Index |
Old Index