Ele persistirá, deve ser explicitamente excluído com shmctl IPC_RMID
Mark the segment to be destroyed. The segment will actually be destroyed only after the last process detaches it ... The caller must be the owner or creator of the segment, or be privileged.