CVS commit: src/tests/usr.bin/id

2019-08-15 Thread Kamil Rytarowski
Module Name:src
Committed By:   kamil
Date:   Thu Aug 15 08:22:52 UTC 2019

Modified Files:
src/tests/usr.bin/id: Makefile

Log Message:
Avoid symbol clashes in tests/usr.bin/id under MKSANITIZER

Remove symbol conflicts for:

 - __getpwnam50
 - __getpwuid50
 - getgrgid
 - getgrouplist
 - getgroups


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/tests/usr.bin/id/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/tests/usr.bin/id

2019-08-15 Thread Kamil Rytarowski
Module Name:src
Committed By:   kamil
Date:   Thu Aug 15 08:22:52 UTC 2019

Modified Files:
src/tests/usr.bin/id: Makefile

Log Message:
Avoid symbol clashes in tests/usr.bin/id under MKSANITIZER

Remove symbol conflicts for:

 - __getpwnam50
 - __getpwuid50
 - getgrgid
 - getgrouplist
 - getgroups


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/tests/usr.bin/id/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/usr.bin/id/Makefile
diff -u src/tests/usr.bin/id/Makefile:1.1 src/tests/usr.bin/id/Makefile:1.2
--- src/tests/usr.bin/id/Makefile:1.1	Sat Mar 17 16:33:14 2012
+++ src/tests/usr.bin/id/Makefile	Thu Aug 15 08:22:52 2019
@@ -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 @@ SRCS=		id.c pwgr.c
 
 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