Hi all,

We know that each file descriptor fd, has an associated 'struct file'. How is
the 'struct file' copied/cloned at fork?

Are all fields of 'struct file' inherited by child? I want to know if
there is a function
which takes a struct file* and creates a consistent copy/clone of it.

thanks,
Daniel.

_______________________________________________
Kernelnewbies mailing list
[email protected]
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Reply via email to