From: Markus Gothe <markus.gothe@27m.se>
To: Franck Bui-Huu <vagabon.xyz@gmail.com>
Cc: Ralf Baechle <ralf@linux-mips.org>,
nigel@mips.com, linux-mips <linux-mips@linux-mips.org>
Subject: Re: Useless stack randomization patch
Date: Wed, 26 Sep 2007 16:22:31 +0200 [thread overview]
Message-ID: <46FA6B27.6050204@27m.se> (raw)
In-Reply-To: <46FA6846.2080704@gmail.com>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Franck Bui-Huu wrote:
> 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
>
I think you mean this in specific:
"/* This yields a string that ld.so will use to load implementation
specific libraries for optimization. This is more specific in
intent than poking at uname or /proc/cpuinfo.
For the moment, we have only optimizations for the Intel generations,
but that could change... */
#define ELF_PLATFORM (NULL)"
Right?
- --
_______________________________________
Mr Markus Gothe
Software Engineer
Phone: +46 (0)13 21 81 20 (ext. 1046)
Fax: +46 (0)13 21 21 15
Mobile: +46 (0)73 718 72 80
Diskettgatan 11, SE-583 35 Linköping, Sweden
www.27m.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFG+msl6I0XmJx2NrwRCBm0AJ99yMRx1Kkre9bPa3y9lkV+xHSvVwCcC6qP
5AoYOLF7HLEOPrnr8fIhBuk=
=+uD/
-----END PGP SIGNATURE-----
next prev parent reply other threads:[~2007-09-26 14:23 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-26 14:10 Useless stack randomization patch Franck Bui-Huu
2007-09-26 14:22 ` Markus Gothe [this message]
2007-09-26 14:27 ` Franck Bui-Huu
2007-09-26 15:04 ` Ralf Baechle
2007-09-26 15:20 ` Franck Bui-Huu
2007-09-27 14:57 ` Ralf Baechle
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=46FA6B27.6050204@27m.se \
--to=markus.gothe@27m.se \
--cc=linux-mips@linux-mips.org \
--cc=nigel@mips.com \
--cc=ralf@linux-mips.org \
--cc=vagabon.xyz@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox