logoalt Hacker News

NewJazztoday at 6:59 PM1 replyview on HN

The env is technically still kind of a file on linux at least (through /proc).

Sometimes I feel like stdin or an unlinked memory mapped file might be the best location for this stuff. Wish Linux had a cloexec+1 option, where an fd is closed after two execs, so you can set up a child process for success.


Replies

tptacektoday at 7:11 PM

Only in the sense that everything is technically a kind of a file given access to proc.