Messages in this thread | | | Date | Mon, 11 Aug 1997 11:38:28 +0200 (MET DST) | From | Ingo Molnar <> | Subject | Re: chdir for cloned tasks? |
| |
On Sun, 10 Aug 1997, Bill Hawes wrote:
> I understand what the CLONE_FS flag does -- my question was whether such > a cloned task, when it makes a system call to sys_chdir, should get a > private copy. The present sys_chdir code doesn't check whether the task > is a clone or not, so one clone changing directory would change it for > all clones. > > Is this the intended behavior?
yes, whats the problem with it? Also, sys_chdir() should _not_ check wether this is a 'clone' or not. This kind of special-casing makes those two-tier threading systems so ugly ...
-- mingo
| |