Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Fedora This forum is for the discussion of the Fedora Project.


  Search this Thread
Old 10-15-2004, 10:17 AM   #1
Registered: Oct 2004
Posts: 61

Rep: Reputation: 15
the procudre of implementation of system call in kernel 2.6 with example

i am trying to implement a system call in fedora kernel 2.6.
i have entered into sys.c file my simple code of addition and after that i have included in entry.S and unistd.h files the system call name with their nos.
then i have created a file called user_space.h in linux/include/linux directory which contains the code of linking of unistd.h and the system call with their paramaters.
then after this i have compiled my kernel and created a user program which includes the linkage file path and the values.
after doing all this i am getting a error as teh system call nos is not matching.
i want to know where shall i place the system call decelaration ie in which directory


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
new kernel system call Ephracis Programming 1 05-06-2005 10:23 AM
System Call Implementation GodSendDeath *BSD 3 04-11-2005 05:06 PM
system call to get the kernel version appas Programming 2 10-06-2004 03:51 AM
Adding new System Call to Kernel kurt_ram Linux - General 1 10-22-2002 03:59 PM
system call implementation.. modular approach udayan Programming 0 05-13-2002 11:46 AM > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 11:23 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration