All of lore.kernel.org
 help / color / mirror / Atom feed
From: Franck Bui-Huu <vagabon.xyz@gmail.com>
To: Jiri Kosina <jkosina@suse.cz>
Cc: Andrew Morton <akpm@linux-foundation.org>, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] i386 and x86_64: randomize brk()
Date: Mon, 03 Sep 2007 19:38:23 +0200	[thread overview]
Message-ID: <46DC468F.1000300@gmail.com> (raw)
In-Reply-To: <Pine.LNX.4.64.0709031201380.16753@jikos.suse.cz>

Hi,

Jiri Kosina wrote:
> > 

[snip]

> > +/* overriden by architectures supporting brk randomization */
> > +void __weak arch_randomize_brk(struct mm_struct *mm) { }

I was actually suggesting in my last email:

	unsigned long randomize_brk(unsigned long brk)

therefore arch specific code don't have to know about implementation
details ie how to retrieve brk values from a mm. And it also matches
the prototype of arch_align_stack().

		Franck




  reply	other threads:[~2007-09-03 17:38 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-30 13:47 [PATCH] i386 and x86_64: randomize brk() Jiri Kosina
2007-08-30 14:01 ` Mike Frysinger
2007-08-30 14:21   ` Jiri Kosina
2007-08-30 14:26     ` Mike Frysinger
2007-08-30 15:10       ` Jiri Kosina
2007-08-30 15:33         ` Franck Bui-Huu
2007-08-31  1:05         ` Andrew Morton
2007-08-31 11:56           ` Jiri Kosina
2007-09-01 20:19           ` Franck Bui-Huu
2007-09-02 20:28             ` Andrew Morton
2007-09-03  9:34               ` Jiri Kosina
2007-09-03 10:03                 ` Jiri Kosina
2007-09-03 17:38                   ` Franck Bui-Huu [this message]
2007-09-03 20:44                     ` Jiri Kosina
  -- strict thread matches above, loose matches on Subject: below --
2007-08-22 16:05 Jiri Kosina
2007-08-22 22:58 ` Andrew Morton
2007-08-22 23:04   ` Jiri Kosina

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=46DC468F.1000300@gmail.com \
    --to=vagabon.xyz@gmail.com \
    --cc=akpm@linux-foundation.org \
    --cc=jkosina@suse.cz \
    --cc=linux-kernel@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.