On Thursday 18 October 2001 04:54 pm, Hong Hsu wrote: I'm interested in that too! First: after adding an entry to the unistd.h is it necessary to recompile the kernel? And then? How applications can use the new sys call? > The Ori Pomerantz's LKM Programming Guide is great document, but little > old. A couple of question for adding new system call I would like to > ask: > > 1. After adding an entry in include/asm-i386/unistd.h and #insmod > my_newsyscall.o how the userland application can find the new system > call, my_syscall(), rather than show linking error: undefined reference > my_syscall(). Do I have to recompile the kernel? I am missing > something here for procedure of adding system call. > > 2. Is there a newer document which explains procedure of system call as > I couldn't find it in FAQ. > > Thanks for the help, > -Hong > > > - > Kernelnewbies: Help each other learn about the Linux kernel. > Archive: http://mail.nl.linux.org/kernelnewbies/ > IRC Channel: irc.openprojects.net / #kernelnewbies > Web Page: http://www.kernelnewbies.org/ -- Luís Henriques - Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ IRC Channel: irc.openprojects.net / #kernelnewbies Web Page: http://www.kernelnewbies.org/