Interpretation of values reported by nm

Holgi Holgi at altger.UUCP
Wed Jul 13 00:06:33 AEST 1988


In article <1025 at sdcc12.ucsd.EDU> mp1 at sdcc12.ucsd.EDU (Leroy Dorman) writes:
>In article <4650 at killer.UUCP>, richardh at killer.UUCP (Richard Hargrove) writes:
>> I nm /system5, ALL of the addresses, except for u, begin with 0x02.
>> Specifically, proc is 0x0228365a, v is 0x022027ec, etc.
>                          ^^^^
>			  ----  Segment selector
>			      ^^^^
>			      -------  Offset in selector.
>You can't use these directly as offsets into physical memory
>device.

Right, but if you use /dev/kmem (as richardh) you access the kernel virtual
memory (different to /dev/mem) and that works.
I've done it that way and I've got the uid, pid, ppid out of that 'garbage'
but does anyone know the right format to interpret all values ??



More information about the Comp.unix.microport mailing list