Use memfd on FreeBSD 13, shm_open(SHM_ANON) on older versions
/dev/shm usually does not exist on FreeBSD, so the mkostemp call was failing. FreeBSD 13 offers memfd support complete with seals, use it.
Loading
Please register or sign in to comment