Module Name: src
Committed By: kamil
Date: Sat Aug 17 04:04:29 UTC 2019
Modified Files:
src/tests/rump/modautoload: Makefile
Log Message:
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.9 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.9
--- src/tests/rump/modautoload/Makefile:1.8 Fri Oct 14 16:02:35 2016
+++ src/tests/rump/modautoload/Makefile Sat Aug 17 04:04:28 2019
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2016/10/14 16:02:35 christos Exp $
+# $NetBSD: Makefile,v 1.9 2019/08/17 04:04:28 kamil 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>