lkml.org 
[lkml]   [1997]   [Aug]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: chdir for cloned tasks?
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

\
 
 \ /
  Last update: 2005-03-22 13:40    [W:0.047 / U:0.220 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site