★ wanayoo — archive 1999 http://www.kernelnotes.org/patch/21-p0761.htmlNouvelle recherche | Portail wanayoo

Filenames in /proc//maps for 2.1.48

Alain Knaff (alknaff@innet.lu)
Sun Aug 10 23:07:00 1997

[Home] [Linux 2.0] [Linux 2.1] [Information] [Software] [Distributions] [Links]

21-proc-pid-48.patch
The new links in /proc/<pid>/fd are cute. The following patch adds the same feature to /proc/<pid>/maps:

> cat /proc/self/maps
08048000-0804e000 r-xp 00000000 03:0b 36967      /usr/bin/cat
0804e000-0804f000 rw-p 00005000 03:0b 36967      /usr/bin/cat
0804f000-08051000 rwxp 00000000 00:00 0
40000000-40006000 r-xp 00000000 03:0b 2487       /lib/ld-linux.so.1.9.4
40006000-40007000 rw-p 00005000 03:0b 2487       /lib/ld-linux.so.1.9.4
40007000-40008000 rw-p 00000000 00:00 0
4000b000-40010000 r-xp 00000000 03:0b 2424       /lib/uncompress.o
40010000-40012000 rw-p 00004000 03:0b 2424       /lib/uncompress.o
40012000-40013000 rw-p 00000000 00:00 0
40013000-4009d000 r-xp 00000000 03:0b 2422       /lib/libc.so.5.4.33
4009d000-400a2000 rw-p 00089000 03:0b 2422       /lib/libc.so.5.4.33
400a2000-400d5000 rw-p 00000000 00:00 0
bfffd000-c0000000 rwxp ffffe000 00:00 0




[Home] [Up] [Search] [FeedBack]

Copyleft © The LinuxHQ Project. Licensed under the GNU Public License.