posix: clean up shared memory code

At first I rewrote this to use the shm_*() family of
functions, but that doesn't work on OS X.  Now I've just
cleaned up some bits and added an extra print to help with
the below bug.

BUG=16371

Review URL: http://codereview.chromium.org/204024

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26361 0039d316-1c4b-4281-b951-d872f2087c98


CrOS-Libchrome-Original-Commit: abd97e42913a8713d53c4361840022a4eaa74e8c
2 files changed
tree: 9858127024272736b2c10735d5449050fa497c11
  1. base/
  2. build/
  3. ipc/
  4. testing/