March 22, 2016
1:45 p.m.
Process has files_struct and fs_struct in task_struct. Two thread's task_struct can point to same files_struct and fs_struct if we do the changes through a new system call. Please check the following URL. http://lxr.free-electrons.com/source/kernel/fork.c#L993 Regards Manoj Nayak