linux-mips
[Top] [All Lists]

Useless stack randomization patch

To: Ralf Baechle <ralf@linux-mips.org>
Subject: Useless stack randomization patch
From: Franck Bui-Huu <vagabon.xyz@gmail.com>
Date: Wed, 26 Sep 2007 16:10:14 +0200
Cc: nigel@mips.com, linux-mips <linux-mips@linux-mips.org>
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:user-agent:mime-version:to:cc:subject:content-type:content-transfer-encoding; bh=qco6VHcI5rl2AeLx6dcSSRcUKdxsQ9qOWl9soAZzo/0=; b=sbkyT+mGIWScFCwQGpjB6+gFz9f++Yv3caeFu5TmhF9iLRNKPDdk8qS1MSEFx0Fq16JXAUKr8YYKfGnFj+IVH2HIlDguZLclhgcFk/lfrXg7JMULC8lzTVKmSJQTBNNlcsKmHLrP2y4+XnROOskRk9ZDt+sRa0Ws33WNTG0DVXw=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:user-agent:mime-version:to:cc:subject:content-type:content-transfer-encoding; b=Fn0E7sRQqzaefuOk8SuAsyck+NN8FOQeU0hoqOzmlsttndBlOR4Q5I4OLWk2XqjdBSF2KX74bakWljPF3dbS5NxD4a1Sny0qDh0BTyEEf2p0TqOb2j2Urw3+6BptbgKyS3NRBDyUcJIderDbxI1kNPDoo94lhbYa8rNRPmXoK2s=
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
User-agent: Thunderbird 2.0.0.5 (X11/20070719)
Ralf,

We started stack inside page randomization through commit
941091024ef0f2f7e09eb81201d293ac18833cc8 but it currently does nothing
usefull because ELF_PLATFORM is not defined on MIPS (see
fs/binfm_elf.c, create_elf_tables() for details).

I tried several times to get information on lkml about that dependency
but unfortunately I got no answer.

I'm not sure how ELF_PLATFORM is used by ld.so and I don't think it's
a good idea to define it just for enabling stack randomization.

What do you think ?

thanks
                Franck

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