Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Oct 1998 15:03:10 +0200
From:      Martin Cracauer <cracauer@cons.org>
To:        freebsd-emulation@FreeBSD.ORG
Subject:   Linux /proc/*/maps emulation
Message-ID:  <19981001150310.A7259@cons.org>

next in thread | raw e-mail | index | archive | help
Moinmoin,

I have a Linux application (Franz Allegro Common Lisp 5.0) that needs
/proc/*/maps

Output from sshd on Linux-2.1.119:
/proc/168(oskar)19% cat maps
08048000-08076000 r-xp 00000000 08:02 81595      /usr/local/sbin/sshd1
08076000-08079000 rw-p 0002d000 08:02 81595      /usr/local/sbin/sshd1
08079000-08082000 rwxp 00000000 00:00 0
40000000-40006000 r-xp 00000000 08:02 4074       /lib/ld-linux.so.1
40006000-40007000 rw-p 00005000 08:02 4074       /lib/ld-linux.so.1
40007000-40008000 rw-p 00000000 00:00 0
4000a000-4008c000 r-xp 00000000 08:02 4078       /lib/libc.so.5.4.33
4008c000-40092000 rw-p 00081000 08:02 4078       /lib/libc.so.5.4.33
40092000-400c5000 rw-p 00000000 00:00 0
bfffd000-c0000000 rwxp ffffe000 00:00 0

If I'm not mistaken, this is just a list of mmaped' segments provided
by the linker.

I don't know enough about linking to proceed. It's a fifo, but I don't
know what is connected to the other end. The kernel - why? ld.so? If
so, why can Linux ld.so work in FreeBSD's Linux emulation that has no
procfs/*/maps

I'd welcome hints how to proceed.

Thanks
	Martin
-- 
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Martin Cracauer <cracauer@cons.org> http://www.cons.org/cracauer
  Tel.: (private) +4940 5221829 Fax.: (private) +4940 5228536
  Paper: (private) Waldstrasse 200, 22846 Norderstedt, Germany

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-emulation" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19981001150310.A7259>