Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-9]: src/tests/usr.bin/id Pull up following revision(s) (requested...



details:   https://anonhg.NetBSD.org/src/rev/e9152b4ba538
branches:  netbsd-9
changeset: 962812:e9152b4ba538
user:      martin <martin%NetBSD.org@localhost>
date:      Fri Aug 16 19:15:45 2019 +0000

description:
Pull up following revision(s) (requested by kamil in ticket #63):

        tests/usr.bin/id/Makefile: revision 1.2

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 f5ed8f98bc3f -r e9152b4ba538 tests/usr.bin/id/Makefile
--- a/tests/usr.bin/id/Makefile Fri Aug 16 19:14:29 2019 +0000
+++ b/tests/usr.bin/id/Makefile Fri Aug 16 19:15:45 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2012/03/17 16:33:14 jruoho Exp $
+# $NetBSD: Makefile,v 1.1.36.1 2019/08/16 19:15:45 martin 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