Process and shm stuff