Re: where to look at userspace implementation of fork() and clone()? | |
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] | |
On Fri, Apr 25, 2008 at 7:39 AM, Peter Teoh <htmldeveloper@xxxxxxxxx> wrote: > I did not tried the glibc approach. > > But to answer how the specific transition from fork() to sys_fork() > (in kernel) is made: > > In /lib/libc.so.6: > > objdump -t libc.so.6 | grep fork > > show that fork() API is implemented inside this file. > > Then objdump -d to disassemble the file, and search for fork: > > 44153710 <__fork>: > 44153710: 55 push %ebp > 44153711: 89 e5 mov %esp,%ebp > 44153713: 57 push %edi > 44153714: 56 push %esi > 44153715: 53 push %ebx > > 44153937: b8 f0 00 00 00 mov $0xf0,%eax ========> for sys_fork(). $0xf0 is not the syscall number for fork()? -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx Please read the FAQ at http://kernelnewbies.org/FAQ
[Newbies FAQ] [Kernel List] [Site Home] [IETF Annouce] [Git] [Networking] [Security] [Bugtraq] [Rubini] [Photo] [Yosemite] [MIPS Linux] [ARM Linux] [Linux Security] [Linux Networking] [Linux RAID] [Linux SCSI] [Linux ACPI] [DDR & Rambus] [UNIX Filesystems] [Linux Resources]
![]() |
![]() |