2026-09-20 03:48 UTC
@zwol@masto.hackers.town fmemopen, i can't imagine so, since you allocate the buffer yourself. but i think memfd_create would since it creates something in the kernel and it's explicit that you can pass the fd around?
Replies (1)
-
@eevee@slime.global 2026-09-20 04:01
@zwol@masto.hackers.town "Once all references to the file are dropped, it is automatically released." yeah that's pretty straightforward, it's not tied to the process acts like a regular file rather than /dev/null though. also linux-specific