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

Remove symbol conflicts for:

 - __getpwnam50
 - __getpwuid50
 - getgrgid
 - getgrouplist
 - getgroups
This commit is contained in:
kamil 2019-08-15 08:22:52 +00:00
parent 1101023c0c
commit 825c3698b4

View File

@ -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 <bsd.test.mk>