Extending /proc/*/maps

Ryan Johnson ryan.johnson@cs.utoronto.ca
Wed May 11 14:15:00 GMT 2011


On 11/05/2011 9:20 AM, Corinna Vinschen wrote:
> On May 11 08:53, Ryan Johnson wrote:
>> On 11/05/2011 6:31 AM, Corinna Vinschen wrote:
>>> - I replaced the call to GetMappedFileNameEx with a call to
>>>    NtQueryVirtualMemory (MemorySectionName).  This avoids to add another
>>>    dependency to psapi.  I intend to get rid of them entirely, if
>>>    possible.
>> Nice. One issue: I tried backporting your change to my local tree,
>> and the compiler complains that PMEMORY_SECTION_NAME isn't defined;
>> the changelog says you updated ntdll.h to add it, but the online
>> definition in w32api was last updated 9 months ago by 'duda.' Did it
>> perhaps slip past the commit?
> The compiler shouldn't complain because we only use the definitions
> from ntdll.h and nothing else from w32api/include/ddk (except in rare
> cases, see fhandler_tape.cc, fhandler_serial.cc).
>
> Sometimes I apply new stuff to w32api as well on an "as it comes along"
> base, but usually it's not the Cygwin project which maintains these
> files.
Ah... there are two ntdll.h, and I looked at the one in w32api/include 
instead of cygwin. All is well.

Ryan



More information about the Cygwin-patches mailing list