public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Shaochun Wang <scwang@ios.ac.cn>
To: Gentoo <gentoo-user@lists.gentoo.org>
Subject: [gentoo-user] How to disable stack randomization?
Date: Fri, 3 Aug 2007 21:15:18 +0800	[thread overview]
Message-ID: <20070803131518.GA12893@localhost> (raw)

Every time I execute the same program, its stack starts at a different
address. After some studying, I know it is caused by stack randomization
in kernel. Although stack randomization impedes stack buffer overflow,
it introduces some nondeterminism.

Does anyone know how to disable it? 
Thank you in advance.

-- 
Shaochun Wang <scwang@ios.ac.cn>

Jabber:	fungusw@jabber.org
-- 
gentoo-user@gentoo.org mailing list



             reply	other threads:[~2007-08-03 13:24 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-03 13:15 Shaochun Wang [this message]
2007-08-03 18:15 ` [gentoo-user] How to disable stack randomization? Ryan Sims
2007-08-03 19:42 ` Norberto Bensa
2007-08-06  2:18 ` Shaochun Wang

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=20070803131518.GA12893@localhost \
    --to=scwang@ios.ac.cn \
    --cc=gentoo-user@lists.gentoo.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