Ensure shared memory is read only

Prevents the following vulnerability:
http://www.juniper.net/security/auto/vulnerabilities/vuln17587.html
Merge pull request #9 from CenterForOpenScience/shared-mem

Ensure shared memory is read only