linux-mips
[Top] [All Lists]

[PATCH Resend 2/2] MIPS: Randomize PIE load address

To: linux-mips@linux-mips.org, ralf@linux-mips.org, linux-kernel@vger.kernel.org
Subject: [PATCH Resend 2/2] MIPS: Randomize PIE load address
From: David Daney <ddaney.cavm@gmail.com>
Date: Thu, 10 Nov 2011 10:49:50 -0800
Cc: David Daney <david.daney@cavium.com>
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; bh=vy/gDek8POt2mp/YcikOdyYMdgIlG4FvCR2+SLUZYrs=; b=J7eHFdo474YZd+8lPDflTHH5Dvt6TQqwHdyuWoiSMxivOvy9YlhimKrMRaRBa5WmX3 VACh9FxLm+Kb17dei3CzM1wraO6rL+xJPLoZN1/8BOp5mg/ymMiuC8XK+RmWgWqPsZMM ONRVCboP0WNJK0ywDy4jTZHn8kiwetCbokmOo=
In-reply-to: <1320950990-10827-1-git-send-email-david.daney@cavium.com>
References: <1320950990-10827-1-git-send-email-david.daney@cavium.com>
Sender: linux-mips-bounce@linux-mips.org
... by selecting ARCH_BINFMT_ELF_RANDOMIZE_PIE

Signed-off-by: David Daney <david.daney@cavium.com>
---
 arch/mips/Kconfig |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
index 8f1b76a..64934ad 100644
--- a/arch/mips/Kconfig
+++ b/arch/mips/Kconfig
@@ -25,6 +25,7 @@ config MIPS
        select GENERIC_IRQ_SHOW
        select HAVE_ARCH_JUMP_LABEL
        select IRQ_FORCED_THREADING
+       select ARCH_BINFMT_ELF_RANDOMIZE_PIE
 
 menu "Machine selection"
 
-- 
1.7.2.3


<Prev in Thread] Current Thread [Next in Thread>