Re: chdir for cloned tasks?

Bill Hawes (whawes@star.net)
Mon, 11 Aug 1997 11:51:16 -0400


Ingo Molnar wrote:
> yes, whats the problem with it?

No problem at all -- I was just checking.

Originally I was looking for races to the sort

pwd = current->fs->pwd;
do_some_blocking_operation;
do_something_with_pwd;

which could fail for cloned tasks. But all uses of pwd seem to be done
safely anyway.

Regards,
Bill