sysv_shm: allow attaching to REMOVED shm segments
authorJoris Giovannangeli <joris@giovannangeli.fr>
Sun, 2 Nov 2014 18:08:18 +0000 (19:08 +0100)
committerJoris Giovannangeli <joris@giovannangeli.fr>
Sun, 2 Nov 2014 18:08:18 +0000 (19:08 +0100)
commitf3d8ed4c064a96eba679886f11904b110742f92b
treef0fb99073d064d108ca6d525e375dd562e9debc6
parente3440f963d168fa3ccb25daabd2beebd240133f5
sysv_shm: allow attaching to REMOVED shm segments

 * Add kern.ipc.shm_allow_removed to allow for this behavior

 * chrome relies on this behavior

Taken-from: FreeBSD
sys/kern/sysv_shm.c