Module Name: src
Committed By: kamil
Date: Thu Jun 21 10:41:46 UTC 2018
Modified Files:
src/usr.bin/ldd/build: Makefile
src/usr.bin/ldd/elf32: Makefile
src/usr.bin/ldd/elf32_compat: Makefile
src/usr.bin/ldd/elf64: Makefile
Log Message:
Disable SANITIZER for ldd(1)
These utilities (elf32, elf32_compat, elf64, liblldb) share code with the
ELF dynamic loader that is not being sanitized and its symbols are
installed into sanitized programs (in particular __tls_get_addr()).
Additionally libldd is used in rescue that is not expected to be sanitized
as of today.
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/usr.bin/ldd/build/Makefile
cvs rdiff -u -r1.9 -r1.10 src/usr.bin/ldd/elf32/Makefile
cvs rdiff -u -r1.1 -r1.2 src/usr.bin/ldd/elf32_compat/Makefile
cvs rdiff -u -r1.8 -r1.9 src/usr.bin/ldd/elf64/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.bin/ldd/build/Makefile
diff -u src/usr.bin/ldd/build/Makefile:1.2 src/usr.bin/ldd/build/Makefile:1.3
--- src/usr.bin/ldd/build/Makefile:1.2 Sun Mar 2 03:55:19 2014
+++ src/usr.bin/ldd/build/Makefile Thu Jun 21 10:41:45 2018
@@ -1,4 +1,6 @@
-# $NetBSD: Makefile,v 1.2 2014/03/02 03:55:19 matt Exp $
+# $NetBSD: Makefile,v 1.3 2018/06/21 10:41:45 kamil Exp $
+
+NOSANITIZER= # defined
.include <bsd.own.mk> # for MKDYNAMICROOT definition
Index: src/usr.bin/ldd/elf32/Makefile
diff -u src/usr.bin/ldd/elf32/Makefile:1.9 src/usr.bin/ldd/elf32/Makefile:1.10
--- src/usr.bin/ldd/elf32/Makefile:1.9 Sun Mar 2 03:55:19 2014
+++ src/usr.bin/ldd/elf32/Makefile Thu Jun 21 10:41:46 2018
@@ -1,4 +1,6 @@
-# $NetBSD: Makefile,v 1.9 2014/03/02 03:55:19 matt Exp $
+# $NetBSD: Makefile,v 1.10 2018/06/21 10:41:46 kamil Exp $
+
+NOSANITIZER= # defined
.include <bsd.own.mk>
.include <bsd.init.mk>
Index: src/usr.bin/ldd/elf32_compat/Makefile
diff -u src/usr.bin/ldd/elf32_compat/Makefile:1.1 src/usr.bin/ldd/elf32_compat/Makefile:1.2
--- src/usr.bin/ldd/elf32_compat/Makefile:1.1 Sun Dec 13 08:50:56 2009
+++ src/usr.bin/ldd/elf32_compat/Makefile Thu Jun 21 10:41:46 2018
@@ -1,4 +1,6 @@
-# $NetBSD: Makefile,v 1.1 2009/12/13 08:50:56 mrg Exp $
+# $NetBSD: Makefile,v 1.2 2018/06/21 10:41:46 kamil Exp $
+
+NOSANITIZER= # defined
.include <bsd.own.mk>
.include <bsd.init.mk>
Index: src/usr.bin/ldd/elf64/Makefile
diff -u src/usr.bin/ldd/elf64/Makefile:1.8 src/usr.bin/ldd/elf64/Makefile:1.9
--- src/usr.bin/ldd/elf64/Makefile:1.8 Thu Aug 28 12:23:29 2014
+++ src/usr.bin/ldd/elf64/Makefile Thu Jun 21 10:41:46 2018
@@ -1,4 +1,6 @@
-# $NetBSD: Makefile,v 1.8 2014/08/28 12:23:29 joerg Exp $
+# $NetBSD: Makefile,v 1.9 2018/06/21 10:41:46 kamil Exp $
+
+NOSANITIZER= # defined
.include <bsd.own.mk>