Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The fact that the Linux kernel does not track environment variables of the processes is not a "fundamental". The setenv/getenv could very well have been syscalls, it's simply a design decision that they are not. One can make a kernel with such tracking, and it'd still be POSIX compliant as long as you supply setenv(3)/getenv(3) wrappers with expected signatures in your system libc.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: