From: "Franck Bui-Huu" <vagabon.xyz@gmail.com>
To: "Ralf Baechle" <ralf@linux-mips.org>
Cc: nigel@mips.com, linux-mips <linux-mips@linux-mips.org>
Subject: Re: [PATCH] User stack pointer randomisation
Date: Thu, 19 Jul 2007 17:16:09 +0200 [thread overview]
Message-ID: <cda58cb80707190816u3ec05063pc702d2250cfabc7@mail.gmail.com> (raw)
In-Reply-To: <469F5BD9.3080601@innova-card.com>
On 7/19/07, Franck Bui-Huu <vagabon.xyz@gmail.com> wrote:
> if (!(current->personality & ADDR_NO_RANDOMIZE) && randomize_va_space)
actually this condition can be replaced by this simpler one:
if (current->flags & PF_RANDOMIZE)
since PF_RANDOMIZE flag is raised if and only if the old condition is true.
At this point do you prefer a patch to amend these modifications or to
replace the old one ?
Sorry for the annoyance.
--
Franck
prev parent reply other threads:[~2007-07-19 15:16 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-19 12:04 [PATCH] User stack pointer randomisation Franck Bui-Huu
2007-07-19 12:20 ` Nigel Stephens
2007-07-19 12:36 ` Franck Bui-Huu
2007-07-19 12:30 ` Ralf Baechle
2007-07-19 12:40 ` Franck Bui-Huu
2007-07-19 15:16 ` Franck Bui-Huu [this message]
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=cda58cb80707190816u3ec05063pc702d2250cfabc7@mail.gmail.com \
--to=vagabon.xyz@gmail.com \
--cc=linux-mips@linux-mips.org \
--cc=nigel@mips.com \
--cc=ralf@linux-mips.org \
/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