mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Udo A. Steinberg" <us15@os.inf.tu-dresden.de>
To: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: Linux 2.2. ELF loader mystery
Date: Sat, 10 Jan 2004 15:13:37 +0100	[thread overview]
Message-ID: <20040110151337.4de136ed@argon.inf.tu-dresden.de> (raw)
In-Reply-To: <20040110145329.36ecaa38@argon.inf.tu-dresden.de>

[-- Attachment #1: Type: text/plain, Size: 749 bytes --]

On Sat, 10 Jan 2004 14:53:29 +0100 Udo A. Steinberg (UAS) wrote:

UAS> results in the following memory map after startup:
UAS> 
UAS> 00001000-000a8000 rwxp 00000000 03:07 62988      /tmp/prog
UAS> 000ba000-000bf000 rwxp 000a7000 03:07 62988      /tmp/prog
UAS> bffff000-c0000000 rwxp 00000000 00:00 0

To illustrate my point, below is what the memory map for the exact same
binary looks like on 2.6. The VMA in question is the one between
0xa8000 and 0xba000, which 2.2. kernels don't zero-allocate.

00001000-000a8000 rwxp 00000000 03:07 62988      /tmp/prog
000a8000-000ba000 rwxp 00000000 00:00 0 
000ba000-000bf000 rwxp 000a7000 03:07 62988      /tmp/prog
bffff000-c0000000 rwxp 00000000 00:00 0 
ffffe000-fffff000 ---p 00000000 00:00 0 

-Udo.

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2004-01-10 14:13 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-10 13:53 Udo A. Steinberg
2004-01-10 14:13 ` Udo A. Steinberg [this message]
2004-01-10 14:59 ` John Reiser
2004-01-10 15:19   ` Udo A. Steinberg
2004-01-10 16:24     ` John Reiser

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=20040110151337.4de136ed@argon.inf.tu-dresden.de \
    --to=us15@os.inf.tu-dresden.de \
    --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®