5 Jan
2003
5 Jan
'03
2:45 p.m.
In dlls/ntdlls/virtual.c around line 1033 in NtAllocateVirtualMemory: NTSTATUS res=anon_mmap_aligned( &base, size,VIRTUAL_GetUnixProt( vprot ), 0 ); if (res) return res; Why is mmap used here rather than just a malloc/calloc to the OS ? If I can convert this call to a calloc then the ADDRESS_SPACE_LIMIT test will pass on Solaris. Can someone give me some insight here ? Bob