←back to thread

62 points hiAndrewQuinn | 2 comments | | HN request time: 0.448s | source
1. pizlonator ◴[] No.44392636[source]
The reason why this might be a bad idea is that /dev/shm is used for shm_open(3).

So in theory some program might pass a name to shm_open that collides with whatever you put in /dev/shm.

Unlikely but possible

replies(1): >>44392672 #
2. layer8 ◴[] No.44392672[source]
How is that different from two unrelated programs using shm_open with conflicting file names? Such programs need to ensure unique names anyway.