> My kernel is 3.4.0 and android is 4.2.2, now I input the
> cat /proc/self/maps
> in the console, the output is:
>
> 4005e000-40083000 r-xp 00000000 00:0f 916        /system/bin/mksh
> 40083000-40084000 r--p 00000000 00:00 0
> 40084000-40085000 r--p 00025000 00:0f 916        /system/bin/mksh
> 40085000-40086000 rw-p 00026000 00:0f 916        /system/bin/mksh
> 40086000-4008a000 rw-p 00000000 00:00 0
> 4008a000-40098000 r-xp 00000000 00:0f 950        /system/bin/linker
> 40099000-4009a000 r--p 0000e000 00:0f 950        /system/bin/linker
> 4009a000-4009b000 rw-p 0000f000 00:0f 950        /system/bin/linker
> 4009b000-400a5000 rw-p 00000000 00:00 0
> 400a5000-400eb000 r-xp 00000000 00:0f 1241       /system/lib/libc.so
> 400eb000-400ec000 ---p 00000000 00:00 0
> 400ec000-400ee000 r--p 00046000 00:0f 1241       /system/lib/libc.so
> 400ee000-400f0000 rw-p 00048000 00:0f 1241       /system/lib/libc.so
> 400f0000-400fb000 rw-p 00000000 00:00 0
> 400fb000-40103000 r--s 00000000 00:0a 472        /dev/__properties__
> (deleted)
> 41dcf000-41dd7000 rw-p 00000000 00:00 0          [heap]
> bee48000-bee69000 rw-p 00000000 00:00 0          [stack]
> ffff0000-ffff1000 r-xp 00000000 00:00 0          [vectors]
>
> so, where does the address space from 0 to x40000000 go?

Its not mapped and available for user space program to use it.
The reason it might start from 0x40000000 or any random location is
may be because of ASLR.
You can find more details here:
https://groups.google.com/forum/#!topic/android-security-discuss/Af71Z2QYdMo

Thanks.

-- 
-- 
unsubscribe: android-kernel+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-kernel
--- 
You received this message because you are subscribed to the Google Groups 
"Android Linux Kernel Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-kernel+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to