Re: filedesc copying in fork()

2006-10-02 Thread John Baldwin
On Sunday 01 October 2006 12:35, Divacky Roman wrote: > hi > > I am trying to implement CLONE_FS in linuxolator clone(). This flags > is used when we want the newly created thread share root/cwd/umask. > > In FreeBSD we have a flags to fork1() RFFDG/RFCFDG. The first one > tells fork1() to copy t

filedesc copying in fork()

2006-10-01 Thread Divacky Roman
hi I am trying to implement CLONE_FS in linuxolator clone(). This flags is used when we want the newly created thread share root/cwd/umask. In FreeBSD we have a flags to fork1() RFFDG/RFCFDG. The first one tells fork1() to copy the filedesc from old proc to the new one. The later says we should c