Subject: Re: conditional symbolic links
To: None <dejan@cdfsga.fnal.gov>
From: Bill Sommerfeld <sommerfeld@orchard.medford.ma.us>
List: current-users
Date: 11/12/1993 11:41:59
This worked on Domain/OS because the equivalent of namei() was in user
space on that system (and thus, it had access to the environment).
The kernel knows nothing of environment variables except that they're
a secondary set of parameters passed to a program across exec().
To get it to work, you would need to add a new system call invoked out
of setenv() & putenv() (to track environment changes), fix exec to
keep a copy of the environment in system space (most likely in wired
memory... blargh), and hunt down and fix all the code which
manipulates environ directly.
- Bill
------------------------------------------------------------------------------