News for hackers. Stuff that matters.
Re:Don’t use environment variables for configuration by icedchai on Thursday April 01, 2021 @12:50PM (#26662979)
The environment is inherited by child processes. I think that is a very important difference.
Re:Don’t use environment variables for configuration by zokier on Thursday April 01, 2021 @06:17PM (#26666906)
Of the relevant Linux syscalls neither fork or clone touch argv or environ at all, on the other hand execve requires passing both argv and envp explicitly