Re: fork() source code

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

 



Hi,

>In glibc, see ./sysdeps/unix/sysv/linux/i386/clone.S, where the
>registers are set up and the "int 0x80" instruction is used to trap
>into the O.S. system call handler.
>
>The clone system call is how forking is done nowadays.

Ah, I see. That seems to be the real identity I longed for.
I tried parsing Makefile of glibc. But it was difficult for me.
There are several clone.* or fork.* though in glibc sources, 
are other clone.c, clone.S, fork.c or fork.S used in real?

Regards,
Shinpei Kato
--
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