Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/ldd Disable SANITIZER for ldd(1)
details: https://anonhg.NetBSD.org/src/rev/be85c5fb4458
branches: trunk
changeset: 320049:be85c5fb4458
user: kamil <kamil%NetBSD.org@localhost>
date: Thu Jun 21 10:41:45 2018 +0000
description:
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.
diffstat:
usr.bin/ldd/build/Makefile | 4 +++-
usr.bin/ldd/elf32/Makefile | 4 +++-
usr.bin/ldd/elf32_compat/Makefile | 4 +++-
usr.bin/ldd/elf64/Makefile | 4 +++-
4 files changed, 12 insertions(+), 4 deletions(-)
diffs (44 lines):
diff -r ae568324f220 -r be85c5fb4458 usr.bin/ldd/build/Makefile
--- a/usr.bin/ldd/build/Makefile Thu Jun 21 10:37:49 2018 +0000
+++ b/usr.bin/ldd/build/Makefile Thu Jun 21 10:41:45 2018 +0000
@@ -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
diff -r ae568324f220 -r be85c5fb4458 usr.bin/ldd/elf32/Makefile
--- a/usr.bin/ldd/elf32/Makefile Thu Jun 21 10:37:49 2018 +0000
+++ b/usr.bin/ldd/elf32/Makefile Thu Jun 21 10:41:45 2018 +0000
@@ -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>
diff -r ae568324f220 -r be85c5fb4458 usr.bin/ldd/elf32_compat/Makefile
--- a/usr.bin/ldd/elf32_compat/Makefile Thu Jun 21 10:37:49 2018 +0000
+++ b/usr.bin/ldd/elf32_compat/Makefile Thu Jun 21 10:41:45 2018 +0000
@@ -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>
diff -r ae568324f220 -r be85c5fb4458 usr.bin/ldd/elf64/Makefile
--- a/usr.bin/ldd/elf64/Makefile Thu Jun 21 10:37:49 2018 +0000
+++ b/usr.bin/ldd/elf64/Makefile Thu Jun 21 10:41:45 2018 +0000
@@ -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>
Home |
Main Index |
Thread Index |
Old Index