shmat() with fixed address
I'm using Ubuntu 10.04 on a 64bit machine.
In my shmat() call, I want to assign fixed memory address to shmaddr variable. I have no idea which address value to give. Some where in the net I read we can make use of sysproc info to know the user space addresses, but could not figure out how to get that, please help on this.
void *shmat(int shmid, const void *shmaddr, int shmflg);
the reason I want to use fixed address is to build linked list on the shmget() returned memory and my other process will map into fixed address and access the linked list.