kernel_thread() causes segfault

Manoj Nayak manojnayak2005 at gmail.com
Tue Mar 22 09:45:48 EDT 2016


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20160322/687ef0ce/attachment.html 


More information about the Kernelnewbies mailing list