Break global IPC locks

Release: 20020711

Developer: Mingming Cao

Patched against: linux-2.5.25, linux-2.4.18

Changelog:

Breaks three global IPC locks for semaphores, messages queues and shared memory segments respectively into one lock per semaphore id/message queue id/shared memory id.