Source-Changes-HG archive

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

[src/netbsd-9]: src/tests/rump/modautoload Pull up following revision(s) (req...



details:   https://anonhg.NetBSD.org/src/rev/85a1b6a18a50
branches:  netbsd-9
changeset: 458218:85a1b6a18a50
user:      martin <martin%NetBSD.org@localhost>
date:      Mon Aug 19 15:47:00 2019 +0000

description:
Pull up following revision(s) (requested by kamil in ticket #91):

        tests/rump/modautoload/Makefile: revision 1.9

Avoid symbol clashes in test/rump/modautoload/t_modautoload with sanitizers

Set SANITIZER_RENAME_SYMBOL.t_modautoload to:

 * sysctlbyname
 * sysctlgetmibinfo

diffstat:

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

diffs (19 lines):

diff -r 2ea1361b7ec1 -r 85a1b6a18a50 tests/rump/modautoload/Makefile
--- a/tests/rump/modautoload/Makefile   Mon Aug 19 15:43:54 2019 +0000
+++ b/tests/rump/modautoload/Makefile   Mon Aug 19 15:47:00 2019 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.8 2016/10/14 16:02:35 christos Exp $
+#      $NetBSD: Makefile,v 1.8.16.1 2019/08/19 15:47:00 martin Exp $
 #
 
 .include <bsd.init.mk>
@@ -29,4 +29,9 @@
 SRCS.t_modautoload+=           sysctlgetmibinfo.c
 CPPFLAGS+=     -DRUMP_ACTION
 
+SANITIZER_RENAME_CLASSES+=             t_modautoload
+SANITIZER_RENAME_FILES.t_modautoload+= ${SRCS.t_modautoload}
+SANITIZER_RENAME_SYMBOL.t_modautoload+=        sysctlbyname
+SANITIZER_RENAME_SYMBOL.t_modautoload+=        sysctlgetmibinfo
+
 .include <bsd.test.mk>



Home | Main Index | Thread Index | Old Index