Remove the sysv IPC shared memory code in favor of using files instead.
Remove the sysv IPC shared memory code in favor of using files instead.

This fixes an issue with resmon not correctly cleaning up the shared memory
segments when it dies.

Currently no locking is done on the file to prevent reading of a partial
status dump. This needs fixing.

Also, the file is deleted immediately after opening. This deals with the issue
of having a stale file around if resmon dies and also limits the ability of
somebody to inject invalid data into the file.

git-svn-id: 5610e2b2d3cff4cd6e39b9ae708365c0aaf72914@367 8c0face9-b7db-6ec6-c4b3-d5f7145c7d55

omniti-labs/resmon,omniti-labs/resmon