All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Richard B. Johnson" <root@chaos.analogic.com>
To: Linux kernel <linux-kernel@vger.kernel.org>
Subject: mmap strangeness in 2.4.22
Date: Thu, 9 Oct 2003 10:56:37 -0400 (EDT)	[thread overview]
Message-ID: <Pine.LNX.4.53.0310091055470.1274@chaos> (raw)


I have a shared memory segment called 0xdeadface,
shown below.

When active, readable, writable, etc., it shows up
in /proc/NNN/maps as (deleted). How/why would this
be?

Also, `cat mem` in any /proc/NNN subdirectory returns
"No such process" when `cat` tries to read it.


Output from cat /proc/MYPID/maps:

08048000-0804b000 r-xp 00000000 08:11 457876     /root/Message-Based/monitor/monitor
0804b000-0804c000 rw-p 00002000 08:11 457876     /root/Message-Based/monitor/monitor
0804c000-08075000 rwxp 00000000 00:00 0
40000000-40013000 r-xp 00000000 08:11 393742     /root/Message-Based/clib/ld.so
40013000-40014000 rw-p 00012000 08:11 393742     /root/Message-Based/clib/ld.so
40014000-40015000 rw-p 00000000 00:00 0
40015000-4001c000 r-xp 00000000 08:11 964822     /root/Message-Based/lib/llib.so
4001c000-4001d000 rw-p 00006000 08:11 964822     /root/Message-Based/lib/llib.so
4001d000-40030000 r-xp 00000000 08:11 394079     /root/Message-Based/clib/crt.so
40030000-40031000 rw-p 00012000 08:11 394079     /root/Message-Based/clib/crt.so
40031000-400d2000 rw-s 00000000 00:04 0          /SYSVdeadface (deleted)
bfffe000-c0000000 rwxp fffff000 00:00 0

Cheers,
Dick Johnson
Penguin : Linux version 2.4.22 on an i686 machine (797.90 BogoMips).
            Note 96.31% of all statistics are fiction.



                 reply	other threads:[~2003-10-09 14:56 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=Pine.LNX.4.53.0310091055470.1274@chaos \
    --to=root@chaos.analogic.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 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.