Directory isolation for POSIX IPC?

Aaron Rainbolt arraybolt3@gmail.com
Sun Nov 8 16:52:43 GMT 2026


On Sun, 8 Nov 2026 09:57:37 -0300
Cristian Rodriguez <yo@cristianrodriguez.net> wrote:

> On Sun, Nov 8, 2026 at 1:19 AM Aaron Rainbolt <arraybolt3@gmail.com>
> wrote:
> 
> > At the moment, there is no similar mechanism for/dev/shm.  
> 
> TemporaryFileSystem=/dev/shm:mode=1777,size=512M
> 
> or something for  POSIX IPC.
> 
> PrivateIPC=yes
> 
> for the sysv one.

Perhaps I should have clarified; there is no similar mechanism *like
TMPDIR, in glibc,* for /dev/shm (and similar dirs under other Unixes).
Doing this in systemd is nice for system services but not a good
solution for user applications or user services (as both
TemporaryFileSystem and PrivateIPC are only available for system
services in systemd), and also not a good solution for systems using
some other init system.

--
Aaron
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 358 bytes
Desc: OpenPGP digital signature
URL: <https://sourceware.org/pipermail/libc-alpha/attachments/20261108/451eda02/attachment.sig>


More information about the Libc-alpha mailing list