Module Name: src
Committed By: martin
Date: Mon Aug 19 15:47:00 UTC 2019
Modified Files:
src/tests/rump/modautoload [netbsd-9]: Makefile
Log Message:
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
To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.8.16.1 src/tests/rump/modautoload/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/tests/rump/modautoload/Makefile
diff -u src/tests/rump/modautoload/Makefile:1.8 src/tests/rump/modautoload/Makefile:1.8.16.1
--- src/tests/rump/modautoload/Makefile:1.8 Fri Oct 14 16:02:35 2016
+++ src/tests/rump/modautoload/Makefile Mon Aug 19 15:47:00 2019
@@ -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+= sysctlbyname.c
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>