4 ms·
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 wh
by pizlonator 1y ago
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
- layer8 1y agoHow is that different from two unrelated programs using shm_open with conflicting file names? Such programs need to ensure unique names anyway.
- pizlonator 1y agoExpecting a program to do that is one thing. Expecting yourself to do that when you use /dev/sum is another