We help IT Professionals succeed at work.

Adding System Calls to Linux 2.6 on x86

911 Views
Last Modified: 2013-12-15
I am trying to add a system call to a 2.6.31 kernel (on a Fedora install if that's relevant). I have downloaded fresh sources from kernel.org. I have been following tutorials found online, but they do not seem to be working--or perhaps I am doing it wrong :)

I am looking for an explanation of the locations and/or files needed to be modified to successfully add a system call to the aforementioned kernel. I would appreciate responses from kernel hackers who are certain of the methods. Please do not post links to tutorials unless you are confident that they describe the method. I have been Googling my butt off and following any tutorials I could find, so any links you post may have already been attempted :)

Please note, this is a school project, so I am not looking for the specifics of how to add the call (which lines to add to a particular file), rather I would like to confirm which files are affected when attempting to add a system call (and probably more importantly, which directories contain those files).
Comment
Watch Question

Commented:
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION
CERTIFIED EXPERT
Most Valuable Expert 2011
Top Expert 2015

Author

Commented:
Cool. The second link was informative. I believe my partner actually go the calls working now, but I'll grant you the points.

Thanks!

Gain unlimited access to on-demand training courses with an Experts Exchange subscription.

Get Access
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Empower Your Career
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Unlock the solution to this question.
Join our community and discover your potential

Experts Exchange is the only place where you can interact directly with leading experts in the technology field. Become a member today and access the collective knowledge of thousands of technology experts.

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.