Reported by John Hughes.
Current definition of SHM_LOCK_DEST flag is 023420 (octal)
Further due to this flag the SHM node down code assumes shm_ids semaphore is held, but in fact is not always the case and could race causing memory corruption.
please ignore previous comment. bug is not fixed.
checked into CVS on 5-March