From 3d4470c14a57b0b9ae74060370be53469e95d6a1 Mon Sep 17 00:00:00 2001 From: Nick Kralevich Date: Tue, 22 Oct 2013 12:06:36 -0700 Subject: [PATCH] change wording on text relocation message. The current message is too alarmist. Change-Id: I53e8eadca239f867b4e6b9c193eba96e267950c3 --- linker/linker.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/linker/linker.cpp b/linker/linker.cpp index 196acb6d5..4f05c7a86 100755 --- a/linker/linker.cpp +++ b/linker/linker.cpp @@ -1688,8 +1688,8 @@ static bool soinfo_link_image(soinfo* si) { * phdr_table_protect_segments() after all of them are applied * and all constructors are run. */ - DL_WARN("%s has text relocations. This is wasting memory and is " - "a security risk. Please fix.", si->name); + DL_WARN("%s has text relocations. This is wasting memory and prevents " + "security hardening. Please fix.", si->name); if (phdr_table_unprotect_segments(si->phdr, si->phnum, si->load_bias) < 0) { DL_ERR("can't unprotect loadable segments for \"%s\": %s", si->name, strerror(errno));