manish regmi (manish_regmi@hotmail.com) wrote: > >On Mon, 5 Jul 2004, so usp wrote: > > > >> I have looked into a lot of source files, but I?m not > >> finding the sys_fork function. Isn?t it supposed to be > >> into fork.c? There I just found the do_fork(). So, > >> where is the sys_fork() syscall function? > > > >Generic answer: > > > >$ cd linux > >$ make tags > >$ vi -t sys_fork > > > >Specific answer: > > > >You'll find that the sys_fork function is in architecture > >specific code, because it is slightly different on the > >different architectures... > > > >cheers, > > > >Rik > > For i386, > see arch/i386/kernel/process.c I can say: LXR is a good entry point to search this kind of information. Use it ;) http://lxr.linux.no/search?v=2.6.5&string=sys_fork Have a good day :) -- Regards Christophe * GNU/Linux & UNIX developer and network administrator * Membre RotomaLUG (http://www.rotomalug.org) * Registered User #271267 * Email: c.lucas@ifrance.com * Web Site: http://odie.mcom.fr/~clucas/ -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/