The doubt which I have is there is a sys_fork() method which gets called when fork() system call is invoked. But from userspace is there any way in which we can make execute this code path, because if we make use of fork() it will call clone() sys call and follow that code path. What I am trying to figure out is that is that code (sys_fork() ) is redundant now or is something still using it.
Regards,
Rohan.
On Wed, Sep 7, 2011 at 5:44 PM, Darshan Ghumare <darshan.ghumare@xxxxxxxxx> wrote:
On Wed, Sep 7, 2011 at 5:38 PM, rohan puri <rohan.puri15@xxxxxxxxx> wrote:
Every time a fork() is callled in any user-space code, it internally invokes the clone() sys call, But if we linux kernel source code there is a system call by name fork().
So, what i really want to know is that, is there any case in which this syscall is getting called, or this code is deprecated.
Have a look at this link,
Regards,
Rohan
_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
--
Darshan®
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@xxxxxxxxxxxxxxxxx http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies