LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-08-2013, 12:09 AM   #1
fatcomp
LQ Newbie
 
Registered: Oct 2012
Posts: 6

Rep: Reputation: Disabled
add new system call to kernel 3.6


Dear Sir/Madam,

I am new in the programming of kerenel. I would like to add new system call to the fedora (kernel 3.6). I tried the information avaliable on the net about kernel before 3.6, but I couldn't useful link for 3.6. Can any body help (detailed steps)?

Thanks in advance
 
Old 11-08-2013, 12:24 AM   #2
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
The specifics changed in kernel v3.3. Any instructions you have for 3.3 or higher should work with 3.6.

Here are a couple of links:

* http://stackoverflow.com/questions/9...nux-kernel-3-3

* http://linuxfornaveen.blogspot.com/2...to-latest.html

* http://forums.fedoraforum.org/showthread.php?t=290658
 
Old 11-08-2013, 01:36 AM   #3
fatcomp
LQ Newbie
 
Registered: Oct 2012
Posts: 6

Original Poster
Rep: Reputation: Disabled
Thanks for your quick answer I used the following website:
http://xathrya.web.id/blog/2012/10/1...o-linux-3-6-1/
and test for one function (mycall) but I get -1 I don't why??
 
Old 11-08-2013, 02:18 AM   #4
fatcomp
LQ Newbie
 
Registered: Oct 2012
Posts: 6

Original Poster
Rep: Reputation: Disabled
What do I select in the make menuconfig, so my system call will work properly?

Last edited by fatcomp; 11-08-2013 at 10:14 AM.
 
Old 12-11-2013, 03:16 AM   #5
xathrya
LQ Newbie
 
Registered: Nov 2012
Posts: 2

Rep: Reputation: Disabled
Hi,

Make sure all you give the correct number for system call. The syscall number should be unique and not overlapping each other.

Quote:
Originally Posted by fatcomp View Post
Thanks for your quick answer I used the following website:
http://xathrya.web.id/blog/2012/10/1...o-linux-3-6-1/
and test for one function (mycall) but I get -1 I don't why??
 
  


Reply



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
Help! In how to add a system call using a built-in kernel in Slackware SlackBuddy Slackware 5 09-30-2011 03:24 AM
add a system call in 2.6.36 kernel coolsandyforyou Linux - Kernel 2 12-17-2010 10:13 AM
How to add a system call in 2.6.x kernel SungWon Chung Linux - Kernel 2 11-26-2007 09:32 PM
Add New System Call in RH9 kernel-2.4.20-8 kamal_h_mehta Programming 0 04-08-2006 08:51 AM
how to add another system call in to the kernel?? Pratik H Pandya Programming 1 03-26-2006 02:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:59 AM.

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