Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tests/usr.bin/id Avoid symbol clashes in tests/usr.bin/id un...
details: https://anonhg.NetBSD.org/src/rev/6e0dc412b75e
branches: trunk
changeset: 964744:6e0dc412b75e
user: kamil <kamil%NetBSD.org@localhost>
date: Thu Aug 15 08:22:52 2019 +0000
description:
Avoid symbol clashes in tests/usr.bin/id under MKSANITIZER
Remove symbol conflicts for:
- __getpwnam50
- __getpwuid50
- getgrgid
- getgrouplist
- getgroups
diffstat:
tests/usr.bin/id/Makefile | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diffs (20 lines):
diff -r 8cefaf83d571 -r 6e0dc412b75e tests/usr.bin/id/Makefile
--- a/tests/usr.bin/id/Makefile Thu Aug 15 08:17:32 2019 +0000
+++ b/tests/usr.bin/id/Makefile Thu Aug 15 08:22:52 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2012/03/17 16:33:14 jruoho Exp $
+# $NetBSD: Makefile,v 1.2 2019/08/15 08:22:52 kamil Exp $
NOMAN= # defined
@@ -17,4 +17,10 @@
COPTS.id.c += -Wno-format-nonliteral
+SANITIZER_RENAME_SYMBOL+= __getpwnam50
+SANITIZER_RENAME_SYMBOL+= __getpwuid50
+SANITIZER_RENAME_SYMBOL+= getgrgid
+SANITIZER_RENAME_SYMBOL+= getgrouplist
+SANITIZER_RENAME_SYMBOL+= getgroups
+
.include <bsd.test.mk>
Home |
Main Index |
Thread Index |
Old Index