by the8472 · 11y ago · 0 comments
how about this one?
fopen + mmap + unlink
Afaik windows APIs forbid deleting mmaped files.
open rw, set length, mmap from two 2 processes to have shared memory, unlink & close.
expected behavior is to have a chunk of shared memory without the tempfile in the directory tree