Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 03-24-2006, 02:32 PM   #1
Pratik H Pandya
LQ Newbie
Registered: Jun 2005
Location: India
Distribution: RedHat 9.0,Fedora core 3
Posts: 22

Rep: Reputation: 15
how to add another system call in to the kernel??

Hello Friends,

I've got a problem here, i'm using redhat 9(kernel 2.4.20-8 ) and i want to add my own system call i've gone through the procedure given on following page.

although the description is based on 2.2 kernel i just wanted to add it and i tried it

but when i tried to recompile my kernel it gives me

undefined reference to sys_mysyscall

i dont know where it goes wrong plz any one tell me the procedure. what should i do??

Thank you in advance for ur suggesstions.
-Pratik H Pandya
Old 03-26-2006, 03:02 AM   #2
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Ubuntu/WSL
Posts: 9,788

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Originally Posted by Pratik H Pandya
i want to add my own system call
Why ?
You shouldn't, there are already enough system calls ...


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
add new system call linux_lover2005 Programming 2 10-14-2006 02:37 AM
To add our own system call,compilation problem hegdeshashi Linux - Networking 1 01-28-2006 12:13 AM
kernel : how to add sys call through modules only? pinkeshzaveri Programming 1 09-14-2005 04:17 AM
how to add my own system call in RedHat linux9.0(2.4.7-20kernel) tyler28 Programming 0 06-15-2005 05:06 AM
Error when add a new system call in RH9.0. GreenStar Linux - Newbie 2 11-01-2003 02:52 PM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 03:46 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