Re: /proc//maps API addition - seek to address

2005-01-16 Thread Prasanna Meda
Jeremy Fitzhardinge wrote: > It would be terribly useful to have some way of > lseeking /proc//maps to the entry of a particular address. So, if > you want to find the information about a mapping containing address > 0x12345678, it would set the file position to (say) the entry of > 0x1200-0x

Re: /proc//maps API addition - seek to address

2005-01-16 Thread John Richard Moser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jeremy Fitzhardinge wrote: > It would be terribly useful to have some way of > lseeking /proc//maps to the entry of a particular address. So, if > you want to find the information about a mapping containing address > 0x12345678, it would set the fil

/proc//maps API addition - seek to address

2005-01-16 Thread Jeremy Fitzhardinge
It would be terribly useful to have some way of lseeking /proc//maps to the entry of a particular address. So, if you want to find the information about a mapping containing address 0x12345678, it would set the file position to (say) the entry of 0x1200-0x2000. I haven't looked at how /pr