looking for document for system calls

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

 




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/


[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