shm_ipc: Sync commit

This version includes rings and pipes and what not and compiles.
Still, a few rough edges remain.