1

the virtual memory addresses returned by shmat() points different hardware memory locations

view story
linux-howto

http://stackoverflow.com – I have two processes, each can take the same shmid from shmget(). In these two processes, shmat() gives different memory addresses. The addresses are always the same for each of the process: Process1: 0x41b31000 Process2: 0x4017d000 I do not think the addresses are virtual addreses as stated the answer which is written in the question below, beside, if these addresses are virtual addresses, these have to point the same hardware address. However, the content of these addresses is not same. I'm cross compiling for ARM Processor, my program is running without error or problem in x86 Debian (HowTos)