Re: looking for document for system calls

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

 



If you don't mind buying a book for it, project 5 and its explaination 
in the book "Kernel Projects for Linux" has the details.
Overall it is a pretty good book to start with.

Amit


Luís Henriques wrote:

> 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/
>>
> 


-
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