lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:	Wed, 7 Oct 2009 15:10:33 -0400
From:	Hayawardh V <hayawardh@...il.com>
To:	linux-kernel@...r.kernel.org
Cc:	Ashwin Chaugule <ashwin.chaugule@...il.com>
Subject: Query about process address space

Hi,

generally the text segment of the program gets mapped into the virtual
address starting at
0x8048000 ....

but in the case of certain programs like sshd, apache, postgres, when
I examine the proc/pid/maps, I get that the program is mapped higher
in memory (ie) in the mmap space.
eg: cat /proc/sshd/maps

...
b7fd2000-b7fd3000 r--p 0001a000 08:01 5144607    /lib/ld-2.8.90.so
b7fd3000-b7fd4000 rw-p 0001b000 08:01 5144607    /lib/ld-2.8.90.so
b7fd4000-b8038000 r-xp 00000000 08:01 656219     /usr/sbin/sshd
b8039000-b803a000 r--p 00064000 08:01 656219     /usr/sbin/sshd
b803a000-b803b000 rw-p 00065000 08:01 656219     /usr/sbin/sshd
b803b000-b8040000 rw-p 00000000 00:00 0
b8779000-b87be000 rw-p 00000000 00:00 0          [heap]
bfeed000-bff02000 rw-p 00000000 00:00 0          [stack]

(on linux-2.6.30)

This seems to be the mmap space. Why do programs mmap themselves in
higher memory? Or is there some other reason and is this not the mmap space?

Thanks,
Hayawardh
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ