mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Arjan van de Ven <arjan@infradead.org>
To: "Joshua Hudson" <joshudson@gmail.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Executable file format, locating stack?
Date: Sat, 1 Dec 2007 12:42:42 -0800	[thread overview]
Message-ID: <20071201124242.63110111@laptopd505.fenrus.org> (raw)
In-Reply-To: <bda6d13a0712011009k13fe4e41u46dcdecd26fca037@mail.gmail.com>

On Sat, 1 Dec 2007 10:09:28 -0800
"Joshua Hudson" <joshudson@gmail.com> wrote:

> Is there an executable file format that can specify things like where
> the stack ends up?
> Yes, I really do care. I want to put the stack at the top of virtual
> address space rather than randomized.

just set the personality with setarch if you don't want randomisation.

Why is it that you can't cope with randomization? You'll have SOME
randomziation no matter what because each glibc compile will have a
slightly different footprint on the stack before your app gets to it,
as do the various environment variables and kernel AT_ variables.



-- 
If you want to reach me at my work email, use arjan@linux.intel.com
For development, discussion and tips for power savings, 
visit http://www.lesswatts.org

      reply	other threads:[~2007-12-01 20:43 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-01 18:09 Joshua Hudson
2007-12-01 20:42 ` Arjan van de Ven [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=20071201124242.63110111@laptopd505.fenrus.org \
    --to=arjan@infradead.org \
    --cc=joshudson@gmail.com \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®