Re: Regarding process creation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



phirince philip (phirince@xxxxxxxxx) wrote:
> Hi all,
>         I was going through the implementation of fork system call.
> Nowhere did i find the task_struct of the newly created process being added
> to the current process's (i.e parent's) children list.
> can somebody point me to the place where this is done?
> Thanks,
> Phirince

Hi,

Perhaps it could help:

	http://lxr.linux.no/source/kernel/fork.c?v=2.6.18#L157
	http://lxr.linux.no/source/include/linux/sched.h?v=2.6.18#L1315

Have a nice day,

	Christophe

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux